Lines Matching refs:alg
36 ctx->base.alg->name); in openssl_digest_init()
46 ctx->base.alg->name); in openssl_digest_update()
55 ctx->base.alg->name); in openssl_digest_final()
72 openssl_digest_ctx_create(const struct fsverity_hash_alg *alg, const EVP_MD *md) in openssl_digest_ctx_create() argument
77 ctx->base.alg = alg; in openssl_digest_ctx_create()
92 ASSERT(EVP_MD_size(md) == alg->digest_size); in openssl_digest_ctx_create()
97 static struct hash_ctx *create_sha256_ctx(const struct fsverity_hash_alg *alg) in create_sha256_ctx() argument
99 return openssl_digest_ctx_create(alg, EVP_sha256()); in create_sha256_ctx()
102 static struct hash_ctx *create_sha512_ctx(const struct fsverity_hash_alg *alg) in create_sha512_ctx() argument
104 return openssl_digest_ctx_create(alg, EVP_sha512()); in create_sha512_ctx()
148 static struct hash_ctx *create_crc32c_ctx(const struct fsverity_hash_alg *alg) in create_crc32c_ctx() argument
152 ctx->base.alg = alg; in create_crc32c_ctx()