Lines Matching full:bulk
386 size_t bulk = 0, res; in gcm_encrypt_op() local
393 bulk = AES_gcm_encrypt(in + res, out + res, len - res, in gcm_encrypt_op()
395 ctx->gcm.len.u[1] += bulk; in gcm_encrypt_op()
396 bulk += res; in gcm_encrypt_op()
398 if ((error = gcm_encrypt_ctr32(ctx, in + bulk, out + bulk, in gcm_encrypt_op()
399 len - bulk)) != 0) in gcm_encrypt_op()
548 size_t bulk = 0, res; in gcm_decrypt_op() local
555 bulk = AES_gcm_decrypt(in + res, out + res, len - res, &ctx->aes_ks, in gcm_decrypt_op()
557 ctx->gcm.len.u[1] += bulk; in gcm_decrypt_op()
558 bulk += res; in gcm_decrypt_op()
560 if ((error = gcm_decrypt_ctr32(ctx, in + bulk, out + bulk, len - bulk)) != 0) in gcm_decrypt_op()