Searched refs:hash_ops (Results 1 – 2 of 2) sorted by relevance
62 static const struct crypto_hash_ops *hash_ops(void *ctx) in hash_ops() function74 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()
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()
Completed in 6 milliseconds