Searched refs:sha512_context (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/include/u-boot/ |
H A D | sha512.h | 17 } sha512_context; typedef 21 void sha512_starts(sha512_context * ctx); 22 void sha512_update(sha512_context *ctx, const uint8_t *input, uint32_t length); 23 void sha512_finish(sha512_context * ctx, uint8_t digest[SHA512_SUM_LEN]); 30 void sha384_starts(sha512_context * ctx); 31 void sha384_update(sha512_context *ctx, const uint8_t *input, uint32_t length); 32 void sha384_finish(sha512_context * ctx, uint8_t digest[SHA384_SUM_LEN]);
|
/openbmc/u-boot/lib/ |
H A D | sha512.c | 193 static void sha512_block_fn(sha512_context *sst, const uint8_t *src, in sha512_block_fn() 202 static void sha512_base_do_update(sha512_context *sctx, in sha512_base_do_update() 238 static void sha512_base_do_finalize(sha512_context *sctx) in sha512_base_do_finalize() 259 void sha384_starts(sha512_context * ctx) in sha384_starts() 272 void sha384_update(sha512_context *ctx, const uint8_t *input, uint32_t length) in sha384_update() 277 void sha384_finish(sha512_context * ctx, uint8_t digest[SHA384_SUM_LEN]) in sha384_finish() 293 sha512_context ctx; in sha384_csum_wd() 323 void sha512_starts(sha512_context * ctx) in sha512_starts() 336 void sha512_update(sha512_context *ctx, const uint8_t *input, uint32_t length) in sha512_update() 341 void sha512_finish(sha512_context * ctx, uint8_t digest[SHA512_SUM_LEN]) in sha512_finish() [all …]
|
H A D | tpm-v2.c | 74 sha512_context ctx_512; in tcg2_create_digest()
|
/openbmc/u-boot/common/ |
H A D | hash.c | 92 sha512_context *ctx = malloc(sizeof(sha512_context)); in hash_init_sha384() 101 sha384_update((sha512_context *)ctx, buf, size); in hash_update_sha384() 111 sha384_finish((sha512_context *)ctx, dest_buf); in hash_finish_sha384() 120 sha512_context *ctx = malloc(sizeof(sha512_context)); in hash_init_sha512() 129 sha512_update((sha512_context *)ctx, buf, size); in hash_update_sha512() 139 sha512_finish((sha512_context *)ctx, dest_buf); in hash_finish_sha512()
|