Home
last modified time | relevance | path

Searched refs:hash_ops (Results 1 – 5 of 5) sorted by relevance

/optee_os/core/drivers/crypto/stm32/
H A Dhash.c17 static const struct crypto_hash_ops hash_ops; variable
26 assert(ctx && ctx->ops == &hash_ops); in to_stm32_hash_ctx()
116 static const struct crypto_hash_ops hash_ops = { variable
172 c->ch_ctx.ops = &hash_ops; in stm32_hash_allocate()
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_hmac.c109 static struct crypto_mac_ops hash_ops = { variable
146 hash->hmac_op.ops = &hash_ops; in sec_hmac_ctx_allocate()
H A Dsec_hash.c506 static struct crypto_hash_ops hash_ops = { variable
628 hash->hash_ctx.ops = &hash_ops; in sec_hash_ctx_allocate()
/optee_os/core/crypto/
H A Dcrypto.c79 static const struct crypto_hash_ops *hash_ops(void *ctx) in hash_ops() function
91 hash_ops(ctx)->free_ctx(ctx); in crypto_hash_free_ctx()
96 hash_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_hash_copy_state()
101 return hash_ops(ctx)->init(ctx); in crypto_hash_init()
106 return hash_ops(ctx)->update(ctx, data, len); in crypto_hash_update()
111 return hash_ops(ctx)->final(ctx, digest, len); in crypto_hash_final()
/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash.c23 static const struct crypto_hash_ops hash_ops; variable
107 assert(ctx && ctx->ops == &hash_ops); in to_hash_ctx()
230 static const struct crypto_hash_ops hash_ops = { variable
271 hash->hash_ctx.ops = &hash_ops; in caam_hash_allocate()