/external/elfutils/src/lib/ |
sha1.h | 45 struct sha1_ctx struct 59 extern void sha1_init_ctx (struct sha1_ctx *ctx); 66 struct sha1_ctx *ctx); 73 struct sha1_ctx *ctx); 82 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf); 91 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
sha.h | 26 typedef struct SHA1_CTX { 37 } SHA1_CTX; 56 void SHA1_init(SHA1_CTX* ctx); 57 void SHA1_update(SHA1_CTX* ctx, const uint8_t* data, uint64_t len); 58 uint8_t* SHA1_final(SHA1_CTX* ctx); 97 SHA1_CTX* sha1_ctx; member in struct:DigestContext
|
/bootable/recovery/ |
verifier.cpp | 203 SHA_CTX sha1_ctx; local 205 SHA_init(&sha1_ctx); 214 if (need_sha1) SHA_update(&sha1_ctx, addr + so_far, size); 225 const uint8_t* sha1 = SHA_final(&sha1_ctx);
|
/external/fio/ |
verify.c | 493 struct fio_sha1_ctx sha1_ctx = { local 499 fio_sha1_init(&sha1_ctx); 500 fio_sha1_update(&sha1_ctx, p, hdr->len - hdr_size(hdr)); 501 fio_sha1_final(&sha1_ctx); 503 if (!memcmp(vh->sha1, sha1_ctx.H, sizeof(sha1))) 508 vc->bad_crc = sha1_ctx.H; 905 struct fio_sha1_ctx sha1_ctx = { local 909 fio_sha1_init(&sha1_ctx); 910 fio_sha1_update(&sha1_ctx, p, len); 911 fio_sha1_final(&sha1_ctx); [all...] |