Home
last modified time | relevance | path

Searched refs:sha256_context (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/include/u-boot/
H A Dsha256.h16 } sha256_context; typedef
18 void sha256_starts(sha256_context * ctx);
19 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length);
20 void sha256_finish(sha256_context * ctx, uint8_t digest[SHA256_SUM_LEN]);
/openbmc/u-boot/common/
H A Dhash.c64 sha256_context *ctx = malloc(sizeof(sha256_context)); in hash_init_sha256()
73 sha256_update((sha256_context *)ctx, buf, size); in hash_update_sha256()
83 sha256_finish((sha256_context *)ctx, dest_buf); in hash_finish_sha256()
/openbmc/u-boot/lib/
H A Dsha256.c43 void sha256_starts(sha256_context * ctx) in sha256_starts()
58 static void sha256_process(sha256_context *ctx, const uint8_t data[64]) in sha256_process()
189 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length) in sha256_update()
230 void sha256_finish(sha256_context * ctx, uint8_t digest[32]) in sha256_finish()
266 sha256_context ctx; in sha256_csum_wd()
H A Dtpm-v2.c73 sha256_context ctx_256; in tcg2_create_digest()
/openbmc/u-boot/drivers/mmc/
H A Drpmb.c185 sha256_context ctx; in rpmb_hmac()
/openbmc/u-boot/cmd/mvebu/
H A Dbubt.c532 sha256_context hash256_text; in check_image_header()
/openbmc/u-boot/tools/
H A Dmtk_image.c637 sha256_context ctx; in put_hash()