Searched refs:fsverity_hash_alg (Results 1 – 5 of 5) sorted by relevance
9 struct fsverity_hash_alg { struct13 struct hash_ctx *(*create_ctx)(const struct fsverity_hash_alg *alg); argument16 extern const struct fsverity_hash_alg fsverity_hash_algs[];19 const struct fsverity_hash_alg *alg;26 const struct fsverity_hash_alg *find_hash_alg_by_name(const char *name);27 const struct fsverity_hash_alg *find_hash_alg_by_num(unsigned int num);37 static inline struct hash_ctx *hash_create(const struct fsverity_hash_alg *alg) in hash_create()
72 openssl_digest_ctx_create(const struct fsverity_hash_alg *alg, const EVP_MD *md) in openssl_digest_ctx_create()97 static struct hash_ctx *create_sha256_ctx(const struct fsverity_hash_alg *alg) in create_sha256_ctx()102 static struct hash_ctx *create_sha512_ctx(const struct fsverity_hash_alg *alg) in create_sha512_ctx()148 static struct hash_ctx *create_crc32c_ctx(const struct fsverity_hash_alg *alg) in create_crc32c_ctx()162 const struct fsverity_hash_alg fsverity_hash_algs[] = {182 const struct fsverity_hash_alg *find_hash_alg_by_name(const char *name) in find_hash_alg_by_name()198 const struct fsverity_hash_alg *find_hash_alg_by_num(unsigned int num) in find_hash_alg_by_num()
91 const struct fsverity_hash_alg *hash_alg) in compare_fsverity_digest()217 const struct fsverity_hash_alg *hash_alg) in compare_fsverity_digest_pkcs7()339 const struct fsverity_hash_alg *hash_alg) in compare_fsverity_digest_pkcs7()381 const struct fsverity_hash_alg *hash_alg, in sign_data()423 const struct fsverity_hash_alg *hash_alg, in read_signature()
8 const struct fsverity_hash_alg *hash_alg;
24 const struct fsverity_hash_alg *hash_alg; in fsverity_cmd_measure()