Home
last modified time | relevance | path

Searched refs:SHA512_BLOCK_SIZE (Results 1 - 7 of 7) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A 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()
H A Dsha512_i.h12 #define SHA512_BLOCK_SIZE 128 macro
17 u8 buf[SHA512_BLOCK_SIZE];
H A Dsha384_i.h14 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A 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()
H A Dsha512_i.h12 #define SHA512_BLOCK_SIZE 128 macro
17 u8 buf[SHA512_BLOCK_SIZE];
H A Dsha384_i.h14 #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
/third_party/mbedtls/library/
H A Dsha512.c210 #define SHA512_BLOCK_SIZE 128 macro
392 len >= SHA512_BLOCK_SIZE; in mbedtls_internal_sha512_process_many_a64_crypto()
393 processed += SHA512_BLOCK_SIZE, in mbedtls_internal_sha512_process_many_a64_crypto()
394 msg += SHA512_BLOCK_SIZE, in mbedtls_internal_sha512_process_many_a64_crypto()
395 len -= SHA512_BLOCK_SIZE) { in mbedtls_internal_sha512_process_many_a64_crypto()
567 const unsigned char data[SHA512_BLOCK_SIZE]) in mbedtls_internal_sha512_process_a64_crypto()
570 SHA512_BLOCK_SIZE) == in mbedtls_internal_sha512_process_a64_crypto()
571 SHA512_BLOCK_SIZE) ? 0 : -1; in mbedtls_internal_sha512_process_a64_crypto()
602 const unsigned char data[SHA512_BLOCK_SIZE]) in mbedtls_internal_sha512_process_c()
703 while (len >= SHA512_BLOCK_SIZE) { in mbedtls_internal_sha512_process_many_c()
[all...]

Completed in 3 milliseconds