HomeSort by relevance Sort by last modified time
    Searched refs:sha512_ctx (Results 1 - 11 of 11) sorted by null

  /system/core/fs_mgr/
fs_mgr_priv_sha.h 44 SHA512_CTX sha512_ctx; member in class:SHA512Hasher
50 SHA512Hasher() { SHA512_Init(&sha512_ctx); }
53 SHA512_Update(&sha512_ctx, data, data_size);
57 SHA512_Final(hash, &sha512_ctx);
  /external/mmc-utils/3rdparty/hmac_sha/
sha2.h 74 } sha512_ctx; typedef in typeref:struct:__anon30711
76 typedef sha512_ctx sha384_ctx;
100 void sha512_init(sha512_ctx *ctx);
101 void sha512_update(sha512_ctx *ctx, const unsigned char *message,
103 void sha512_final(sha512_ctx *ctx, unsigned char *digest);
hmac_sha2.h 84 sha512_ctx ctx_inside;
85 sha512_ctx ctx_outside;
88 sha512_ctx ctx_inside_reinit;
89 sha512_ctx ctx_outside_reinit;
hmac_sha2.c 344 sizeof(sha512_ctx));
346 sizeof(sha512_ctx));
352 sizeof(sha512_ctx));
354 sizeof(sha512_ctx));
sha2.c 432 void sha512_transf(sha512_ctx *ctx, const unsigned char *message,
530 sha512_ctx ctx;
537 void sha512_init(sha512_ctx *ctx)
555 void sha512_update(sha512_ctx *ctx, const unsigned char *message,
589 void sha512_final(sha512_ctx *ctx, unsigned char *digest)
    [all...]
  /external/vboot_reference/firmware/lib/cryptolib/
sha_utility.c 29 ctx->sha512_ctx = (VB_SHA512_CTX*) VbExMalloc(sizeof(VB_SHA512_CTX));
30 SHA512_init(ctx->sha512_ctx);
48 SHA512_update(ctx->sha512_ctx, data, len);
72 Memcpy(digest, SHA512_final(ctx->sha512_ctx), SHA512_DIGEST_SIZE);
73 VbExFree(ctx->sha512_ctx);
  /external/avb/libavb/
avb_vbmeta_image.c 42 AvbSHA512Ctx sha512_ctx; local
191 avb_sha512_init(&sha512_ctx);
193 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader));
195 &sha512_ctx, auxiliary_block, h.auxiliary_data_block_size);
196 computed_hash = avb_sha512_final(&sha512_ctx);
avb_slot_verify.c 304 AvbSHA512Ctx sha512_ctx; local
305 avb_sha512_init(&sha512_ctx);
306 avb_sha512_update(&sha512_ctx, desc_salt, hash_desc.salt_len);
307 avb_sha512_update(&sha512_ctx, image_buf, hash_desc.image_size);
308 digest = avb_sha512_final(&sha512_ctx);
    [all...]
  /external/syslinux/com32/libutil/
sha512crypt.c 22 struct sha512_ctx { struct
95 sha512_process_block(const void *buffer, size_t len, struct sha512_ctx *ctx)
191 static void sha512_init_ctx(struct sha512_ctx *ctx)
211 static void *sha512_finish_ctx(struct sha512_ctx *ctx, void *resbuf)
242 sha512_process_bytes(const void *buffer, size_t len, struct sha512_ctx *ctx)
333 struct sha512_ctx ctx;
334 struct sha512_ctx alt_ctx;
693 struct sha512_ctx ctx;
  /external/vboot_reference/firmware/lib/cryptolib/include/
sha.h 99 VB_SHA512_CTX* sha512_ctx; member in struct:DigestContext
  /external/fio/
verify.c 530 struct fio_sha512_ctx sha512_ctx = { local
536 fio_sha512_init(&sha512_ctx);
537 fio_sha512_update(&sha512_ctx, p, hdr->len - hdr_size(vc->td, hdr));
539 if (!memcmp(vh->sha512, sha512_ctx.buf, sizeof(sha512)))
544 vc->bad_crc = sha512_ctx.buf;
1078 struct fio_sha512_ctx sha512_ctx = { local
1082 fio_sha512_init(&sha512_ctx);
1083 fio_sha512_update(&sha512_ctx, p, len);
    [all...]

Completed in 2078 milliseconds