Lines Matching refs:bulk
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
691 bulk = AES_gcm_decrypt(in + res, out + res, len - res, &gctx->ks.ks, in aes_gcm_cipher()
693 gctx->gcm.len.u[1] += bulk; in aes_gcm_cipher()
694 bulk += res; in aes_gcm_cipher()
697 if (!CRYPTO_gcm128_decrypt_ctr32(&gctx->gcm, &gctx->ks.ks, in + bulk, in aes_gcm_cipher()
698 out + bulk, len - bulk, gctx->ctr)) { in aes_gcm_cipher()
702 size_t bulk = 0; in aes_gcm_cipher() local
703 if (!CRYPTO_gcm128_decrypt(&gctx->gcm, &gctx->ks.ks, in + bulk, in aes_gcm_cipher()
704 out + bulk, len - bulk)) { in aes_gcm_cipher()