Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/crypto/
A Dcrypto.c62 static const struct crypto_hash_ops *hash_ops(void *ctx) in hash_ops() function
74 hash_ops(ctx)->free_ctx(ctx); in crypto_hash_free_ctx()
79 hash_ops(dst_ctx)->copy_state(dst_ctx, src_ctx); in crypto_hash_copy_state()
84 return hash_ops(ctx)->init(ctx); in crypto_hash_init()
89 return hash_ops(ctx)->update(ctx, data, len); in crypto_hash_update()
94 return hash_ops(ctx)->final(ctx, digest, len); in crypto_hash_final()
/optee_os-3.20.0/core/drivers/crypto/caam/hash/
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()

Completed in 5 milliseconds