Home
last modified time | relevance | path

Searched refs:SHA512_BLOCK_SIZE (Results 1 – 8 of 8) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dsha512-internal.c195 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process()
198 md->length += SHA512_BLOCK_SIZE * 8; in sha512_process()
199 in += SHA512_BLOCK_SIZE; in sha512_process()
200 inlen -= SHA512_BLOCK_SIZE; in sha512_process()
202 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process()
207 if (md->curlen == SHA512_BLOCK_SIZE) { in sha512_process()
210 md->length += 8 * SHA512_BLOCK_SIZE; in sha512_process()
Dsha512_i.h12 #define SHA512_BLOCK_SIZE 128 macro
17 u8 buf[SHA512_BLOCK_SIZE];
Dsha384_i.h14 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
/external/vboot_reference/firmware/lib/cryptolib/
Dpadding.c214 SHA512_BLOCK_SIZE,
217 SHA512_BLOCK_SIZE,
220 SHA512_BLOCK_SIZE,
223 SHA512_BLOCK_SIZE,
Dsha512.c272 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/epid-sdk/epid/member/tiny/math/
Dsha512.h26 #define SHA512_BLOCK_SIZE (128) macro
38 unsigned char leftover[SHA512_BLOCK_SIZE];
/external/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h24 #define SHA512_BLOCK_SIZE 128 macro
51 uint8_t block[2 * SHA512_BLOCK_SIZE];
/external/epid-sdk/epid/member/tiny/math/src/
Dsha512.c45 if (s->leftover_offset >= SHA512_BLOCK_SIZE) { in tinysha512_update()
48 s->bits_hashed_low += (SHA512_BLOCK_SIZE << 3); in tinysha512_update()