Home
last modified time | relevance | path

Searched refs:UNPACK32 (Results 1 – 8 of 8) 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/u-boot/lib/libavb/
Davb_sha256.c24 #define UNPACK32(x, str) \ macro
343 UNPACK32(len_b, ctx->block + pm_len - 4); in avb_sha256_final()
349 UNPACK32(ctx->h[i], &ctx->buf[i << 2]); in avb_sha256_final()
352 UNPACK32(ctx->h[0], &ctx->buf[0]); in avb_sha256_final()
353 UNPACK32(ctx->h[1], &ctx->buf[4]); in avb_sha256_final()
354 UNPACK32(ctx->h[2], &ctx->buf[8]); in avb_sha256_final()
355 UNPACK32(ctx->h[3], &ctx->buf[12]); in avb_sha256_final()
356 UNPACK32(ctx->h[4], &ctx->buf[16]); in avb_sha256_final()
357 UNPACK32(ctx->h[5], &ctx->buf[20]); in avb_sha256_final()
358 UNPACK32(ctx->h[6], &ctx->buf[24]); in avb_sha256_final()
[all …]
Davb_sha512.c24 #define UNPACK32(x, str) \ macro
342 UNPACK32(len_b, ctx->block + pm_len - 4); in avb_sha512_final()
/external/avb/libavb/
Davb_sha256.c51 #define UNPACK32(x, str) \ macro
388 UNPACK32(ctx->h[i], &ctx->buf[i << 2]); in avb_sha256_final()
391 UNPACK32(ctx->h[0], &ctx->buf[0]); in avb_sha256_final()
392 UNPACK32(ctx->h[1], &ctx->buf[4]); in avb_sha256_final()
393 UNPACK32(ctx->h[2], &ctx->buf[8]); in avb_sha256_final()
394 UNPACK32(ctx->h[3], &ctx->buf[12]); in avb_sha256_final()
395 UNPACK32(ctx->h[4], &ctx->buf[16]); in avb_sha256_final()
396 UNPACK32(ctx->h[5], &ctx->buf[20]); in avb_sha256_final()
397 UNPACK32(ctx->h[6], &ctx->buf[24]); in avb_sha256_final()
398 UNPACK32(ctx->h[7], &ctx->buf[28]); in avb_sha256_final()
Davb_sha512.c51 #define UNPACK32(x, str) \ macro