Searched refs:SHA512_BLOCK_SIZE (Results 1 – 12 of 12) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | sha512-internal.c | 189 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process() 192 md->length += SHA512_BLOCK_SIZE * 8; in sha512_process() 193 in += SHA512_BLOCK_SIZE; in sha512_process() 194 inlen -= SHA512_BLOCK_SIZE; in sha512_process() 196 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process() 201 if (md->curlen == SHA512_BLOCK_SIZE) { in sha512_process() 204 md->length += 8 * SHA512_BLOCK_SIZE; in sha512_process()
|
D | sha512_i.h | 12 #define SHA512_BLOCK_SIZE 128 macro 17 u8 buf[SHA512_BLOCK_SIZE];
|
D | sha384_i.h | 14 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
|
/external/vboot_reference/firmware/lib/cryptolib/ |
D | padding.c | 214 SHA512_BLOCK_SIZE, 217 SHA512_BLOCK_SIZE, 220 SHA512_BLOCK_SIZE, 223 SHA512_BLOCK_SIZE,
|
D | sha512.c | 272 tmp_len = SHA512_BLOCK_SIZE - ctx->len; in SHA512_update() 277 if (ctx->len + len < SHA512_BLOCK_SIZE) { in SHA512_update() 283 block_nb = new_len / SHA512_BLOCK_SIZE; in SHA512_update() 290 rem_len = new_len % SHA512_BLOCK_SIZE; in SHA512_update() 309 block_nb = 1 + ((SHA512_BLOCK_SIZE - 17) in SHA512_final() 310 < (ctx->len % SHA512_BLOCK_SIZE)); in SHA512_final()
|
/external/mmc-utils/3rdparty/hmac_sha/ |
D | sha2.h | 47 #define SHA512_BLOCK_SIZE (1024 / 8) macro 48 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE 72 unsigned char block[2 * SHA512_BLOCK_SIZE];
|
D | hmac_sha2.c | 312 if (key_size == SHA512_BLOCK_SIZE) { in hmac_sha512_init() 314 num = SHA512_BLOCK_SIZE; in hmac_sha512_init() 316 if (key_size > SHA512_BLOCK_SIZE){ in hmac_sha512_init() 324 fill = SHA512_BLOCK_SIZE - num; in hmac_sha512_init() 336 sha512_update(&ctx->ctx_inside, ctx->block_ipad, SHA512_BLOCK_SIZE); in hmac_sha512_init() 340 SHA512_BLOCK_SIZE); in hmac_sha512_init()
|
D | hmac_sha2.h | 91 unsigned char block_ipad[SHA512_BLOCK_SIZE]; 92 unsigned char block_opad[SHA512_BLOCK_SIZE];
|
D | sha2.c | 562 tmp_len = SHA512_BLOCK_SIZE - ctx->len; in sha512_update() 567 if (ctx->len + len < SHA512_BLOCK_SIZE) { in sha512_update() 573 block_nb = new_len / SHA512_BLOCK_SIZE; in sha512_update() 580 rem_len = new_len % SHA512_BLOCK_SIZE; in sha512_update() 599 block_nb = 1 + ((SHA512_BLOCK_SIZE - 17) in sha512_final() 600 < (ctx->len % SHA512_BLOCK_SIZE)); in sha512_final()
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
D | sha.h | 24 #define SHA512_BLOCK_SIZE 128 macro 51 uint8_t block[2 * SHA512_BLOCK_SIZE];
|
/external/tpm2/ |
D | CpriHashData.c | 28 {TPM_ALG_SHA512, SHA512_DIGEST_SIZE, SHA512_BLOCK_SIZE,
|
D | Implementation.h | 502 #define SHA512_BLOCK_SIZE 128 macro 877 MAX(ALG_SHA512 * SHA512_BLOCK_SIZE, \
|