Lines Matching refs:GHASH_CHUNK
336 # define GHASH_CHUNK (3*1024) macro
859 # if defined(GHASH_CHUNK) in CRYPTO_gcm128_encrypt()
860 while (len >= GHASH_CHUNK) { in CRYPTO_gcm128_encrypt()
861 size_t j = GHASH_CHUNK; in CRYPTO_gcm128_encrypt()
883 GHASH(ctx, out - GHASH_CHUNK, GHASH_CHUNK); in CRYPTO_gcm128_encrypt()
884 len -= GHASH_CHUNK; in CRYPTO_gcm128_encrypt()
1086 # if defined(GHASH_CHUNK) in CRYPTO_gcm128_decrypt()
1087 while (len >= GHASH_CHUNK) { in CRYPTO_gcm128_decrypt()
1088 size_t j = GHASH_CHUNK; in CRYPTO_gcm128_decrypt()
1090 GHASH(ctx, in, GHASH_CHUNK); in CRYPTO_gcm128_decrypt()
1111 len -= GHASH_CHUNK; in CRYPTO_gcm128_decrypt()
1312 # if defined(GHASH_CHUNK) in CRYPTO_gcm128_encrypt_ctr32()
1313 while (len >= GHASH_CHUNK) { in CRYPTO_gcm128_encrypt_ctr32()
1314 (*stream) (in, out, GHASH_CHUNK / 16, key, ctx->Yi.c); in CRYPTO_gcm128_encrypt_ctr32()
1315 ctr += GHASH_CHUNK / 16; in CRYPTO_gcm128_encrypt_ctr32()
1324 GHASH(ctx, out, GHASH_CHUNK); in CRYPTO_gcm128_encrypt_ctr32()
1325 out += GHASH_CHUNK; in CRYPTO_gcm128_encrypt_ctr32()
1326 in += GHASH_CHUNK; in CRYPTO_gcm128_encrypt_ctr32()
1327 len -= GHASH_CHUNK; in CRYPTO_gcm128_encrypt_ctr32()
1468 # if defined(GHASH_CHUNK) in CRYPTO_gcm128_decrypt_ctr32()
1469 while (len >= GHASH_CHUNK) { in CRYPTO_gcm128_decrypt_ctr32()
1470 GHASH(ctx, in, GHASH_CHUNK); in CRYPTO_gcm128_decrypt_ctr32()
1471 (*stream) (in, out, GHASH_CHUNK / 16, key, ctx->Yi.c); in CRYPTO_gcm128_decrypt_ctr32()
1472 ctr += GHASH_CHUNK / 16; in CRYPTO_gcm128_decrypt_ctr32()
1481 out += GHASH_CHUNK; in CRYPTO_gcm128_decrypt_ctr32()
1482 in += GHASH_CHUNK; in CRYPTO_gcm128_decrypt_ctr32()
1483 len -= GHASH_CHUNK; in CRYPTO_gcm128_decrypt_ctr32()