Searched refs:sha256_ctx (Results 1 - 12 of 12) sorted by relevance
/external/mmc-utils/3rdparty/hmac_sha/ |
H A D | sha2.h | 67 } sha256_ctx; typedef in typeref:struct:__anon16128 77 typedef sha256_ctx sha224_ctx; 86 void sha256_init(sha256_ctx * ctx); 87 void sha256_update(sha256_ctx *ctx, const unsigned char *message, 89 void sha256_final(sha256_ctx *ctx, unsigned char *digest);
|
H A D | hmac_sha2.h | 60 sha256_ctx ctx_inside; 61 sha256_ctx ctx_outside; 64 sha256_ctx ctx_inside_reinit; 65 sha256_ctx ctx_outside_reinit;
|
H A D | hmac_sha2.c | 172 sizeof(sha256_ctx)); 174 sizeof(sha256_ctx)); 180 sizeof(sha256_ctx)); 182 sizeof(sha256_ctx));
|
H A D | sha2.c | 216 void sha256_transf(sha256_ctx *ctx, const unsigned char *message, 333 sha256_ctx ctx; 340 void sha256_init(sha256_ctx *ctx) 358 void sha256_update(sha256_ctx *ctx, const unsigned char *message, 392 void sha256_final(sha256_ctx *ctx, unsigned char *digest)
|
/external/vboot_reference/firmware/lib/cryptolib/ |
H A D | sha_utility.c | 24 ctx->sha256_ctx = (VB_SHA256_CTX*) VbExMalloc(sizeof(VB_SHA256_CTX)); 25 SHA256_init(ctx->sha256_ctx); 44 SHA256_update(ctx->sha256_ctx, data, len); 66 Memcpy(digest, SHA256_final(ctx->sha256_ctx), SHA256_DIGEST_SIZE); 67 VbExFree(ctx->sha256_ctx);
|
/external/avb/libavb/ |
H A D | avb_vbmeta_image.c | 41 AvbSHA256Ctx sha256_ctx; local 180 avb_sha256_init(&sha256_ctx); 182 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); 184 &sha256_ctx, auxiliary_block, h.auxiliary_data_block_size); 185 computed_hash = avb_sha256_final(&sha256_ctx);
|
H A D | avb_slot_verify.c | 185 AvbSHA256Ctx sha256_ctx; local 186 avb_sha256_init(&sha256_ctx); 187 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len); 188 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size); 189 digest = avb_sha256_final(&sha256_ctx);
|
/external/syslinux/com32/libutil/ |
H A D | sha256crypt.c | 22 struct sha256_ctx { struct 64 sha256_process_block(const void *buffer, size_t len, struct sha256_ctx *ctx) 160 static void sha256_init_ctx(struct sha256_ctx *ctx) 180 static void *sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) 211 sha256_process_bytes(const void *buffer, size_t len, struct sha256_ctx *ctx) 298 struct sha256_ctx ctx; 299 struct sha256_ctx alt_ctx; 626 struct sha256_ctx ctx;
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
H A D | sha.h | 98 VB_SHA256_CTX* sha256_ctx; member in struct:DigestContext
|
/external/fio/ |
H A D | verify.c | 555 struct fio_sha256_ctx sha256_ctx = { local 561 fio_sha256_init(&sha256_ctx); 562 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(vc->td, hdr)); 563 fio_sha256_final(&sha256_ctx); 565 if (!memcmp(vh->sha256, sha256_ctx.buf, sizeof(sha256))) 570 vc->bad_crc = sha256_ctx.buf; 1089 struct fio_sha256_ctx sha256_ctx = { local 1093 fio_sha256_init(&sha256_ctx); 1094 fio_sha256_update(&sha256_ctx, p, len); 1095 fio_sha256_final(&sha256_ctx); [all...] |
/external/curl/src/ |
H A D | tool_metalink.c | 41 # define SHA256_CTX struct sha256_ctx
|
/external/curl/lib/vtls/ |
H A D | gtls.c | 1666 struct sha256_ctx SHA256pw;
|
Completed in 957 milliseconds