/system/core/fs_mgr/ |
fs_mgr_priv_sha.h | 24 SHA256_CTX sha256_ctx; member in class:SHA256Hasher 30 SHA256Hasher() { SHA256_Init(&sha256_ctx); } 33 SHA256_Update(&sha256_ctx, data, data_size); 37 SHA256_Final(hash, &sha256_ctx);
|
/external/avb/libavb/ |
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);
|
avb_slot_verify.c | 146 AvbSHA256Ctx sha256_ctx; local 147 avb_sha256_init(&sha256_ctx); 148 avb_sha256_update(&sha256_ctx, desc_salt, hash_desc.salt_len); 149 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size); 150 digest = avb_sha256_final(&sha256_ctx); [all...] |
/external/mmc-utils/3rdparty/hmac_sha/ |
sha2.h | 67 } sha256_ctx; typedef in typeref:struct:__anon27999 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);
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
sha.h | 98 VB_SHA256_CTX* sha256_ctx; member in struct:DigestContext
|
/bootable/recovery/ |
verifier.cpp | 210 SHA256_CTX sha256_ctx; local 212 SHA256_Init(&sha256_ctx); 223 if (need_sha256) SHA256_Update(&sha256_ctx, addr + so_far, size); 238 SHA256_Final(sha256, &sha256_ctx);
|
/external/syslinux/com32/libutil/ |
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/fio/ |
verify.c | 467 struct fio_sha256_ctx sha256_ctx = { local 473 fio_sha256_init(&sha256_ctx); 474 fio_sha256_update(&sha256_ctx, p, hdr->len - hdr_size(hdr)); 475 fio_sha256_final(&sha256_ctx); 477 if (!memcmp(vh->sha256, sha256_ctx.buf, sizeof(sha256))) 482 vc->bad_crc = sha256_ctx.buf; 893 struct fio_sha256_ctx sha256_ctx = { local 897 fio_sha256_init(&sha256_ctx); 898 fio_sha256_update(&sha256_ctx, p, len); 899 fio_sha256_final(&sha256_ctx); [all...] |