Home
last modified time | relevance | path

Searched refs:SHA256_BLOCK_SIZE (Results 1 - 6 of 6) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dsha256-internal.c157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process()
160 md->length += SHA256_BLOCK_SIZE * 8; in sha256_process()
161 in += SHA256_BLOCK_SIZE; in sha256_process()
162 inlen -= SHA256_BLOCK_SIZE; in sha256_process()
164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process()
169 if (md->curlen == SHA256_BLOCK_SIZE) { in sha256_process()
172 md->length += 8 * SHA256_BLOCK_SIZE; in sha256_process()
206 while (md->curlen < SHA256_BLOCK_SIZE) { in sha256_done()
H A Dsha256_i.h12 #define SHA256_BLOCK_SIZE 64 macro
17 u8 buf[SHA256_BLOCK_SIZE];
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dsha256-internal.c157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process()
160 md->length += SHA256_BLOCK_SIZE * 8; in sha256_process()
161 in += SHA256_BLOCK_SIZE; in sha256_process()
162 inlen -= SHA256_BLOCK_SIZE; in sha256_process()
164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process()
169 if (md->curlen == SHA256_BLOCK_SIZE) { in sha256_process()
172 md->length += 8 * SHA256_BLOCK_SIZE; in sha256_process()
206 while (md->curlen < SHA256_BLOCK_SIZE) { in sha256_done()
H A Dsha256_i.h12 #define SHA256_BLOCK_SIZE 64 macro
17 u8 buf[SHA256_BLOCK_SIZE];
/third_party/mbedtls/library/
H A Dsha256.c221 #define SHA256_BLOCK_SIZE 64 macro
336 len >= SHA256_BLOCK_SIZE; in mbedtls_internal_sha256_process_many_a64_crypto()
337 processed += SHA256_BLOCK_SIZE, in mbedtls_internal_sha256_process_many_a64_crypto()
338 msg += SHA256_BLOCK_SIZE, in mbedtls_internal_sha256_process_many_a64_crypto()
339 len -= SHA256_BLOCK_SIZE) { in mbedtls_internal_sha256_process_many_a64_crypto()
430 const unsigned char data[SHA256_BLOCK_SIZE]) in mbedtls_internal_sha256_process_a64_crypto()
433 SHA256_BLOCK_SIZE) == in mbedtls_internal_sha256_process_a64_crypto()
434 SHA256_BLOCK_SIZE) ? 0 : -1; in mbedtls_internal_sha256_process_a64_crypto()
491 const unsigned char data[SHA256_BLOCK_SIZE]) in mbedtls_internal_sha256_process_c()
585 while (len >= SHA256_BLOCK_SIZE) { in mbedtls_internal_sha256_process_many_c()
[all...]
/third_party/lzma/C/
H A DSha256.h14 #define SHA256_BLOCK_SIZE (SHA256_NUM_BLOCK_WORDS * 4) macro
40 Byte buffer[SHA256_BLOCK_SIZE];

Completed in 3 milliseconds