Searched refs:hash_ops (Results 1 – 5 of 5) sorted by relevance
17 static const struct crypto_hash_ops hash_ops; variable26 assert(ctx && ctx->ops == &hash_ops); in to_stm32_hash_ctx()116 static const struct crypto_hash_ops hash_ops = { variable172 c->ch_ctx.ops = &hash_ops; in stm32_hash_allocate()
109 static struct crypto_mac_ops hash_ops = { variable146 hash->hmac_op.ops = &hash_ops; in sec_hmac_ctx_allocate()
506 static struct crypto_hash_ops hash_ops = { variable628 hash->hash_ctx.ops = &hash_ops; in sec_hash_ctx_allocate()
79 static const struct crypto_hash_ops *hash_ops(void *ctx) in hash_ops() function91 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()
23 static const struct crypto_hash_ops hash_ops; variable107 assert(ctx && ctx->ops == &hash_ops); in to_hash_ctx()230 static const struct crypto_hash_ops hash_ops = { variable271 hash->hash_ctx.ops = &hash_ops; in caam_hash_allocate()