Home
last modified time | relevance | path

Searched refs:VB_SHA256_CTX (Results 1 – 3 of 3) sorted by relevance

/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h45 } VB_SHA256_CTX; typedef
60 void SHA256_init(VB_SHA256_CTX* ctx);
61 void SHA256_update(VB_SHA256_CTX* ctx, const uint8_t* data, uint32_t len);
62 uint8_t* SHA256_final(VB_SHA256_CTX* ctx);
98 VB_SHA256_CTX* sha256_ctx;
/external/vboot_reference/firmware/lib/cryptolib/
Dsha256.c111 void SHA256_init(VB_SHA256_CTX *ctx) { in SHA256_init()
129 static void SHA256_transform(VB_SHA256_CTX* ctx, const uint8_t* message, in SHA256_transform()
245 void SHA256_update(VB_SHA256_CTX* ctx, const uint8_t* data, uint32_t len) { in SHA256_update()
277 uint8_t* SHA256_final(VB_SHA256_CTX* ctx) { in SHA256_final()
320 VB_SHA256_CTX ctx; in internal_SHA256()
Dsha_utility.c24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX)); in DigestInit()