Home
last modified time | relevance | path

Searched refs:GHASH_CHUNK (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/modes/
Dgcm.c320 #define GHASH_CHUNK (3 * 1024) macro
708 #if defined(GHASH) && defined(GHASH_CHUNK) in CRYPTO_gcm128_encrypt()
709 while (len >= GHASH_CHUNK) { in CRYPTO_gcm128_encrypt()
710 size_t j = GHASH_CHUNK; in CRYPTO_gcm128_encrypt()
730 GHASH(ctx, out - GHASH_CHUNK, GHASH_CHUNK); in CRYPTO_gcm128_encrypt()
731 len -= GHASH_CHUNK; in CRYPTO_gcm128_encrypt()
873 #if defined(GHASH) && defined(GHASH_CHUNK) in CRYPTO_gcm128_decrypt()
874 while (len >= GHASH_CHUNK) { in CRYPTO_gcm128_decrypt()
875 size_t j = GHASH_CHUNK; in CRYPTO_gcm128_decrypt()
877 GHASH(ctx, in, GHASH_CHUNK); in CRYPTO_gcm128_decrypt()
[all …]