Home
last modified time | relevance | path

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

/external/u-boot/include/u-boot/
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]);
/external/u-boot/common/
Dhash.c63 sha256_context *ctx = malloc(sizeof(sha256_context)); in hash_init_sha256()
72 sha256_update((sha256_context *)ctx, buf, size); in hash_update_sha256()
82 sha256_finish((sha256_context *)ctx, dest_buf); in hash_finish_sha256()
/external/u-boot/lib/
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()
/external/u-boot/drivers/mmc/
Drpmb.c185 sha256_context ctx; in rpmb_hmac()
/external/u-boot/cmd/mvebu/
Dbubt.c532 sha256_context hash256_text; in check_image_header()
/external/curl/src/
Dtool_metalink.c63 # define SHA256_CTX sha256_context