Home
last modified time | relevance | path

Searched refs:UNPACK32 (Results 1 – 7 of 7) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2sha256.c53 #define UNPACK32(x, str) \ macro
298 UNPACK32(size_b, ctx->block + pm_size - 4); in vb2_sha256_finalize()
304 UNPACK32(ctx->h[i], &digest[i << 2]); in vb2_sha256_finalize()
307 UNPACK32(ctx->h[0], &digest[ 0]); in vb2_sha256_finalize()
308 UNPACK32(ctx->h[1], &digest[ 4]); in vb2_sha256_finalize()
309 UNPACK32(ctx->h[2], &digest[ 8]); in vb2_sha256_finalize()
310 UNPACK32(ctx->h[3], &digest[12]); in vb2_sha256_finalize()
311 UNPACK32(ctx->h[4], &digest[16]); in vb2_sha256_finalize()
312 UNPACK32(ctx->h[5], &digest[20]); in vb2_sha256_finalize()
313 UNPACK32(ctx->h[6], &digest[24]); in vb2_sha256_finalize()
[all …]
D2sha512.c53 #define UNPACK32(x, str) \ macro
329 UNPACK32(size_b, ctx->block + pm_size - 4); in vb2_sha512_finalize()
/external/avb/libavb/
Davb_sha256.c51 #define UNPACK32(x, str) \ macro
370 UNPACK32(len_b, ctx->block + pm_len - 4); in avb_sha256_final()
376 UNPACK32(ctx->h[i], &ctx->buf[i << 2]); in avb_sha256_final()
379 UNPACK32(ctx->h[0], &ctx->buf[0]); in avb_sha256_final()
380 UNPACK32(ctx->h[1], &ctx->buf[4]); in avb_sha256_final()
381 UNPACK32(ctx->h[2], &ctx->buf[8]); in avb_sha256_final()
382 UNPACK32(ctx->h[3], &ctx->buf[12]); in avb_sha256_final()
383 UNPACK32(ctx->h[4], &ctx->buf[16]); in avb_sha256_final()
384 UNPACK32(ctx->h[5], &ctx->buf[20]); in avb_sha256_final()
385 UNPACK32(ctx->h[6], &ctx->buf[24]); in avb_sha256_final()
[all …]
Davb_sha512.c51 #define UNPACK32(x, str) \ macro
369 UNPACK32(len_b, ctx->block + pm_len - 4); in avb_sha512_final()
/external/vboot_reference/firmware/lib/cryptolib/
Dsha256.c54 #define UNPACK32(x, str) \ macro
293 UNPACK32(len_b, ctx->block + pm_len - 4); in SHA256_final()
299 UNPACK32(ctx->h[i], &ctx->buf[i << 2]); in SHA256_final()
302 UNPACK32(ctx->h[0], &ctx->buf[ 0]); in SHA256_final()
303 UNPACK32(ctx->h[1], &ctx->buf[ 4]); in SHA256_final()
304 UNPACK32(ctx->h[2], &ctx->buf[ 8]); in SHA256_final()
305 UNPACK32(ctx->h[3], &ctx->buf[12]); in SHA256_final()
306 UNPACK32(ctx->h[4], &ctx->buf[16]); in SHA256_final()
307 UNPACK32(ctx->h[5], &ctx->buf[20]); in SHA256_final()
308 UNPACK32(ctx->h[6], &ctx->buf[24]); in SHA256_final()
[all …]
Dsha512.c54 #define UNPACK32(x, str) \ macro
317 UNPACK32(len_b, ctx->block + pm_len - 4); in SHA512_final()
/external/mmc-utils/3rdparty/hmac_sha/
Dsha2.c62 #define UNPACK32(x, str) \ macro
410 UNPACK32(len_b, ctx->block + pm_len - 4); in sha256_final()
416 UNPACK32(ctx->h[i], &digest[i << 2]); in sha256_final()
419 UNPACK32(ctx->h[0], &digest[ 0]); in sha256_final()
420 UNPACK32(ctx->h[1], &digest[ 4]); in sha256_final()
421 UNPACK32(ctx->h[2], &digest[ 8]); in sha256_final()
422 UNPACK32(ctx->h[3], &digest[12]); in sha256_final()
423 UNPACK32(ctx->h[4], &digest[16]); in sha256_final()
424 UNPACK32(ctx->h[5], &digest[20]); in sha256_final()
425 UNPACK32(ctx->h[6], &digest[24]); in sha256_final()
[all …]