Lines Matching defs:algo
34 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1()
42 static int hash_update_sha1(struct hash_algo *algo, void *ctx, const void *buf, in hash_update_sha1()
49 static int hash_finish_sha1(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_sha1()
62 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256()
70 static int hash_update_sha256(struct hash_algo *algo, void *ctx, in hash_update_sha256()
77 static int hash_finish_sha256(struct hash_algo *algo, void *ctx, void in hash_finish_sha256()
90 static int hash_init_sha384(struct hash_algo *algo, void **ctxp) in hash_init_sha384()
98 static int hash_update_sha384(struct hash_algo *algo, void *ctx, in hash_update_sha384()
105 static int hash_finish_sha384(struct hash_algo *algo, void *ctx, void in hash_finish_sha384()
118 static int hash_init_sha512(struct hash_algo *algo, void **ctxp) in hash_init_sha512()
126 static int hash_update_sha512(struct hash_algo *algo, void *ctx, in hash_update_sha512()
133 static int hash_finish_sha512(struct hash_algo *algo, void *ctx, void in hash_finish_sha512()
146 static int hash_init_crc16_ccitt(struct hash_algo *algo, void **ctxp) in hash_init_crc16_ccitt()
154 static int hash_update_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_update_crc16_ccitt()
162 static int hash_finish_crc16_ccitt(struct hash_algo *algo, void *ctx, in hash_finish_crc16_ccitt()
173 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32()
181 static int hash_update_crc32(struct hash_algo *algo, void *ctx, in hash_update_crc32()
188 static int hash_finish_crc32(struct hash_algo *algo, void *ctx, void *dest_buf, in hash_finish_crc32()
354 struct hash_algo *algo; in hash_parse_string() local
375 struct hash_algo *algo; in hash_block() local
406 static void store_result(struct hash_algo *algo, const uint8_t *sum, in store_result()
462 static int parse_verify_sum(struct hash_algo *algo, char *verify_str, in parse_verify_sum()
507 static void hash_show(struct hash_algo *algo, ulong addr, ulong len, uint8_t *output) in hash_show()
528 struct hash_algo *algo; local