Home
last modified time | relevance | path

Searched refs:SHA512_BLOCK_SIZE (Results 1 – 9 of 9) 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/vboot_reference/firmware/lib/cryptolib/include/
Dsha.h24 #define SHA512_BLOCK_SIZE 128 macro
51 uint8_t block[2 * SHA512_BLOCK_SIZE];
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DSelfTest.h89 # define DEFAULT_TEST_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE
DTpmAlgorithmDefines.h102 #define SHA512_BLOCK_SIZE 128 macro
370 MAX(ALG_SHA512 * SHA512_BLOCK_SIZE, \
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h439 #define SHA512_BLOCK_SIZE 128 macro
1107 MAX(ALG_SHA512 * SHA512_BLOCK_SIZE, \