Lines Matching defs:algo

45 static int hash_init_sha1(struct hash_algo *algo, void **ctxp)  in hash_init_sha1()
53 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1()
60 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1()
73 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256()
81 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256()
88 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256()
101 static int hash_init_sha384(struct hash_algo *algo, void **ctxp) in hash_init_sha384()
109 static int hash_update_sha384(struct hash_algo *algo, void *ctx, in hash_update_sha384()
116 static int hash_finish_sha384(struct hash_algo *algo, void *ctx, void in hash_finish_sha384()
129 static int hash_init_sha512(struct hash_algo *algo, void **ctxp) in hash_init_sha512()
137 static int hash_update_sha512(struct hash_algo *algo, void *ctx, in hash_update_sha512()
144 static int hash_finish_sha512(struct hash_algo *algo, void *ctx, void in hash_finish_sha512()
157 static int hash_init_crc16_ccitt(struct hash_algo *algo, void **ctxp) in hash_init_crc16_ccitt()
165 static int hash_update_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_update_crc16_ccitt()
173 static int hash_finish_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_finish_crc16_ccitt()
184 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32()
192 static int hash_update_crc32(struct hash_algo *algo, void *ctx, in hash_update_crc32()
199 static int hash_finish_crc32(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_crc32()
388 struct hash_algo *algo; in hash_parse_string() local
409 struct hash_algo *algo; in hash_block() local
440 static void store_result(struct hash_algo *algo, const uint8_t *sum, in store_result()
496 static int parse_verify_sum(struct hash_algo *algo, char *verify_str, in parse_verify_sum()
541 static void hash_show(struct hash_algo *algo, ulong addr, ulong len, uint8_t *output) in hash_show()
562 struct hash_algo *algo; local