Home
last modified time | relevance | path

Searched refs:crypto_hash (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash.c88 struct crypto_hash { struct
105 static struct crypto_hash *to_hash_ctx(struct crypto_hash_ctx *ctx) in to_hash_ctx() argument
109 return container_of(ctx, struct crypto_hash, hash_ctx); in to_hash_ctx()
159 struct crypto_hash *hash = to_hash_ctx(ctx); in do_hash_init()
175 struct crypto_hash *hash = to_hash_ctx(ctx); in do_hash_update()
191 struct crypto_hash *hash = to_hash_ctx(ctx); in do_hash_final()
204 struct crypto_hash *hash = to_hash_ctx(ctx); in do_hash_free()
221 struct crypto_hash *hash_src = to_hash_ctx(src_ctx); in do_hash_copy_state()
222 struct crypto_hash *hash_dst = to_hash_ctx(dst_ctx); in do_hash_copy_state()
247 struct crypto_hash *hash = NULL; in caam_hash_allocate()
/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_hash.c60 static struct crypto_hash *to_hash_ctx(struct crypto_hash_ctx *ctx) in to_hash_ctx()
62 return container_of(ctx, struct crypto_hash, hash_ctx); in to_hash_ctx()
304 struct crypto_hash *hash = NULL; in sec_hash_initialize()
373 struct crypto_hash *hash = NULL; in sec_hash_do_update()
422 struct crypto_hash *hash = to_hash_ctx(ctx); in sec_hash_do_final()
442 struct crypto_hash *hash = NULL; in sec_hash_ctx_free()
487 struct crypto_hash *out_hash = NULL; in sec_hash_copy_state()
488 struct crypto_hash *in_hash = NULL; in sec_hash_copy_state()
602 struct crypto_hash *hash = NULL; in sec_hash_ctx_allocate()
H A Dsec_hash.h51 struct crypto_hash { struct