Home
last modified time | relevance | path

Searched refs:UNPACK64 (Results 1 – 4 of 4) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2sha512.c61 #define UNPACK64(x, str) \ macro
334 UNPACK64(ctx->h[0], &digest[ 0]); in vb2_sha512_finalize()
335 UNPACK64(ctx->h[1], &digest[ 8]); in vb2_sha512_finalize()
336 UNPACK64(ctx->h[2], &digest[16]); in vb2_sha512_finalize()
337 UNPACK64(ctx->h[3], &digest[24]); in vb2_sha512_finalize()
338 UNPACK64(ctx->h[4], &digest[32]); in vb2_sha512_finalize()
339 UNPACK64(ctx->h[5], &digest[40]); in vb2_sha512_finalize()
340 UNPACK64(ctx->h[6], &digest[48]); in vb2_sha512_finalize()
341 UNPACK64(ctx->h[7], &digest[56]); in vb2_sha512_finalize()
344 UNPACK64(ctx->h[i], &digest[i << 3]); in vb2_sha512_finalize()
/external/avb/libavb/
Davb_sha512.c59 #define UNPACK64(x, str) \ macro
374 UNPACK64(ctx->h[0], &ctx->buf[0]); in avb_sha512_final()
375 UNPACK64(ctx->h[1], &ctx->buf[8]); in avb_sha512_final()
376 UNPACK64(ctx->h[2], &ctx->buf[16]); in avb_sha512_final()
377 UNPACK64(ctx->h[3], &ctx->buf[24]); in avb_sha512_final()
378 UNPACK64(ctx->h[4], &ctx->buf[32]); in avb_sha512_final()
379 UNPACK64(ctx->h[5], &ctx->buf[40]); in avb_sha512_final()
380 UNPACK64(ctx->h[6], &ctx->buf[48]); in avb_sha512_final()
381 UNPACK64(ctx->h[7], &ctx->buf[56]); in avb_sha512_final()
384 UNPACK64(ctx->h[i], &ctx->buf[i << 3]); in avb_sha512_final()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha512.c62 #define UNPACK64(x, str) \ macro
322 UNPACK64(ctx->h[0], &ctx->buf[ 0]); in SHA512_final()
323 UNPACK64(ctx->h[1], &ctx->buf[ 8]); in SHA512_final()
324 UNPACK64(ctx->h[2], &ctx->buf[16]); in SHA512_final()
325 UNPACK64(ctx->h[3], &ctx->buf[24]); in SHA512_final()
326 UNPACK64(ctx->h[4], &ctx->buf[32]); in SHA512_final()
327 UNPACK64(ctx->h[5], &ctx->buf[40]); in SHA512_final()
328 UNPACK64(ctx->h[6], &ctx->buf[48]); in SHA512_final()
329 UNPACK64(ctx->h[7], &ctx->buf[56]); in SHA512_final()
332 UNPACK64(ctx->h[i], &ctx->buf[i << 3]); in SHA512_final()
/external/mmc-utils/3rdparty/hmac_sha/
Dsha2.c78 #define UNPACK64(x, str) \ macro
613 UNPACK64(ctx->h[i], &digest[i << 3]); in sha512_final()
616 UNPACK64(ctx->h[0], &digest[ 0]); in sha512_final()
617 UNPACK64(ctx->h[1], &digest[ 8]); in sha512_final()
618 UNPACK64(ctx->h[2], &digest[16]); in sha512_final()
619 UNPACK64(ctx->h[3], &digest[24]); in sha512_final()
620 UNPACK64(ctx->h[4], &digest[32]); in sha512_final()
621 UNPACK64(ctx->h[5], &digest[40]); in sha512_final()
622 UNPACK64(ctx->h[6], &digest[48]); in sha512_final()
623 UNPACK64(ctx->h[7], &digest[56]); in sha512_final()
[all …]