Searched refs:SHA256_BLOCK_SIZE (Results 1 - 16 of 16) sorted by relevance
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | sha256_i.h | 12 #define SHA256_BLOCK_SIZE 64 macro 17 u8 buf[SHA256_BLOCK_SIZE];
|
H A D | sha256-internal.c | 157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { 160 md->length += SHA256_BLOCK_SIZE * 8; 161 in += SHA256_BLOCK_SIZE; 162 inlen -= SHA256_BLOCK_SIZE; 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); 169 if (md->curlen == SHA256_BLOCK_SIZE) { 172 md->length += 8 * SHA256_BLOCK_SIZE; 206 while (md->curlen < SHA256_BLOCK_SIZE) {
|
/external/wpa_supplicant_8/src/crypto/ |
H A D | sha256_i.h | 12 #define SHA256_BLOCK_SIZE 64 macro 17 u8 buf[SHA256_BLOCK_SIZE];
|
H A D | sha256-internal.c | 157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { 160 md->length += SHA256_BLOCK_SIZE * 8; 161 in += SHA256_BLOCK_SIZE; 162 inlen -= SHA256_BLOCK_SIZE; 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); 169 if (md->curlen == SHA256_BLOCK_SIZE) { 172 md->length += 8 * SHA256_BLOCK_SIZE; 206 while (md->curlen < SHA256_BLOCK_SIZE) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | sha256_i.h | 12 #define SHA256_BLOCK_SIZE 64 macro 17 u8 buf[SHA256_BLOCK_SIZE];
|
H A D | sha256-internal.c | 157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { 160 md->length += SHA256_BLOCK_SIZE * 8; 161 in += SHA256_BLOCK_SIZE; 162 inlen -= SHA256_BLOCK_SIZE; 164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); 169 if (md->curlen == SHA256_BLOCK_SIZE) { 172 md->length += 8 * SHA256_BLOCK_SIZE; 206 while (md->curlen < SHA256_BLOCK_SIZE) {
|
/external/fio/crc/ |
H A D | sha256.h | 5 #define SHA256_BLOCK_SIZE 64 macro
|
/external/tpm2/ |
H A D | CpriHashData.c | 16 {TPM_ALG_SHA256, SHA256_DIGEST_SIZE, SHA256_BLOCK_SIZE,
|
H A D | Implementation.h | 486 #define SHA256_BLOCK_SIZE 64 macro 874 MAX(ALG_SHA256 * SHA256_BLOCK_SIZE, \
|
/external/mmc-utils/3rdparty/hmac_sha/ |
H A D | sha2.h | 46 #define SHA256_BLOCK_SIZE ( 512 / 8) macro 49 #define SHA224_BLOCK_SIZE SHA256_BLOCK_SIZE 65 unsigned char block[2 * SHA256_BLOCK_SIZE];
|
H A D | hmac_sha2.h | 67 unsigned char block_ipad[SHA256_BLOCK_SIZE]; 68 unsigned char block_opad[SHA256_BLOCK_SIZE];
|
H A D | hmac_sha2.c | 140 if (key_size == SHA256_BLOCK_SIZE) { 142 num = SHA256_BLOCK_SIZE; 144 if (key_size > SHA256_BLOCK_SIZE){ 148 } else { /* key_size > SHA256_BLOCK_SIZE */ 152 fill = SHA256_BLOCK_SIZE - num; 164 sha256_update(&ctx->ctx_inside, ctx->block_ipad, SHA256_BLOCK_SIZE); 168 SHA256_BLOCK_SIZE);
|
H A D | sha2.c | 365 tmp_len = SHA256_BLOCK_SIZE - ctx->len; 370 if (ctx->len + len < SHA256_BLOCK_SIZE) { 376 block_nb = new_len / SHA256_BLOCK_SIZE; 383 rem_len = new_len % SHA256_BLOCK_SIZE; 402 block_nb = (1 + ((SHA256_BLOCK_SIZE - 9) 403 < (ctx->len % SHA256_BLOCK_SIZE)));
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
H A D | sha.h | 21 #define SHA256_BLOCK_SIZE 64 macro 43 uint8_t block[2 * SHA256_BLOCK_SIZE];
|
/external/vboot_reference/firmware/lib/cryptolib/ |
H A D | sha256.c | 250 tmp_len = SHA256_BLOCK_SIZE - ctx->len; 255 if (ctx->len + len < SHA256_BLOCK_SIZE) { 261 block_nb = new_len / SHA256_BLOCK_SIZE; 268 rem_len = new_len % SHA256_BLOCK_SIZE; 285 block_nb = (1 + ((SHA256_BLOCK_SIZE - 9) 286 < (ctx->len % SHA256_BLOCK_SIZE)));
|
H A D | padding.c | 213 SHA256_BLOCK_SIZE, 216 SHA256_BLOCK_SIZE, 219 SHA256_BLOCK_SIZE, 222 SHA256_BLOCK_SIZE,
|
Completed in 2827 milliseconds