Home
last modified time | relevance | path

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

/external/avb/libavb/sha/
Dsha512_impl.c61 #define UNPACK64(x, str) \ macro
374 UNPACK64(len_b, ctx->block + pm_len - 8); in avb_sha512_final()
379 UNPACK64(ctx->h[0], &avb_ctx->buf[0]); in avb_sha512_final()
380 UNPACK64(ctx->h[1], &avb_ctx->buf[8]); in avb_sha512_final()
381 UNPACK64(ctx->h[2], &avb_ctx->buf[16]); in avb_sha512_final()
382 UNPACK64(ctx->h[3], &avb_ctx->buf[24]); in avb_sha512_final()
383 UNPACK64(ctx->h[4], &avb_ctx->buf[32]); in avb_sha512_final()
384 UNPACK64(ctx->h[5], &avb_ctx->buf[40]); in avb_sha512_final()
385 UNPACK64(ctx->h[6], &avb_ctx->buf[48]); in avb_sha512_final()
386 UNPACK64(ctx->h[7], &avb_ctx->buf[56]); in avb_sha512_final()
[all …]
Dsha256_impl.c61 #define UNPACK64(x, str) \ macro
387 UNPACK64(len_b, ctx->block + pm_len - 8); in avb_sha256_final()
/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/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()