Home
last modified time | relevance | path

Searched refs:UNPACK32 (Results 1 – 5 of 5) 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/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 …]