Lines Matching refs:bulk
528 size_t bulk = 0;
537 bulk = AES_gcm_encrypt(in + res, out + res, len - res, gctx->gcm.key,
539 gctx->gcm.len.u[1] += bulk;
540 bulk += res;
543 if (!CRYPTO_gcm128_encrypt_ctr32(&gctx->gcm, in + bulk, out + bulk,
544 len - bulk, gctx->ctr)) {
548 size_t bulk = 0;
549 if (!CRYPTO_gcm128_encrypt(&gctx->gcm, in + bulk, out + bulk,
550 len - bulk)) {
556 size_t bulk = 0;
565 bulk = AES_gcm_decrypt(in + res, out + res, len - res, gctx->gcm.key,
567 gctx->gcm.len.u[1] += bulk;
568 bulk += res;
571 if (!CRYPTO_gcm128_decrypt_ctr32(&gctx->gcm, in + bulk, out + bulk,
572 len - bulk, gctx->ctr)) {
576 size_t bulk = 0;
577 if (!CRYPTO_gcm128_decrypt(&gctx->gcm, in + bulk, out + bulk,
578 len - bulk)) {
899 size_t bulk = 0;
921 if (!CRYPTO_gcm128_encrypt_ctr32(&gcm, in + bulk, out + bulk, in_len - bulk,
926 if (!CRYPTO_gcm128_encrypt(&gcm, in + bulk, out + bulk, in_len - bulk)) {
941 size_t bulk = 0;
967 if (!CRYPTO_gcm128_decrypt_ctr32(&gcm, in + bulk, out + bulk,
968 in_len - bulk - gcm_ctx->tag_len,
973 if (!CRYPTO_gcm128_decrypt(&gcm, in + bulk, out + bulk,
974 in_len - bulk - gcm_ctx->tag_len)) {