Lines Matching defs:hash_algo
30 struct hash_algo {
50 * @algo: Pointer to the hash_algo struct
54 int (*hash_init)(struct hash_algo *algo, void **ctxp);
60 * @algo: Pointer to the hash_algo struct
67 int (*hash_update)(struct hash_algo *algo, void *ctx, const void *buf,
74 * @algo: Pointer to the hash_algo struct
81 int (*hash_finish)(struct hash_algo *algo, void *ctx, void *dest_buf,
126 * hash_lookup_algo() - Look up the hash_algo struct for an algorithm
132 * @algop: Pointer to the hash_algo struct if found
136 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop);
139 * hash_progressive_lookup_algo() - Look up hash_algo for prog. hash support
145 * @algop: Pointer to the hash_algo struct if found
150 struct hash_algo **algop);