D | e_aes.c | 654 size_t bulk = 0; in aes_gcm_cipher() local 663 bulk = AES_gcm_encrypt(in + res, out + res, len - res, &gctx->ks.ks, in aes_gcm_cipher() 665 gctx->gcm.len.u[1] += bulk; in aes_gcm_cipher() 666 bulk += res; in aes_gcm_cipher() 669 if (!CRYPTO_gcm128_encrypt_ctr32(&gctx->gcm, &gctx->ks.ks, in + bulk, in aes_gcm_cipher() 670 out + bulk, len - bulk, gctx->ctr)) { in aes_gcm_cipher() 674 size_t bulk = 0; in aes_gcm_cipher() local 675 if (!CRYPTO_gcm128_encrypt(&gctx->gcm, &gctx->ks.ks, in + bulk, in aes_gcm_cipher() 676 out + bulk, len - bulk)) { in aes_gcm_cipher() 682 size_t bulk = 0; in aes_gcm_cipher() local [all …]
|