Lines Matching refs:error
158 int error = 0; in aes_gcm_siv_encrypt() local
197 error |= !EVP_EncryptUpdate(ctx->ecb_ctx, ctx->tag, &out_len, S_s, sizeof(S_s)); in aes_gcm_siv_encrypt()
201 error |= !aes_gcm_siv_ctr32(ctx, counter_block, out, in, len); in aes_gcm_siv_encrypt()
203 ctx->generated_tag = !error; in aes_gcm_siv_encrypt()
206 return !error; in aes_gcm_siv_encrypt()
219 int error = 0; in aes_gcm_siv_decrypt() local
232 error |= !aes_gcm_siv_ctr32(ctx, counter_block, out, in, len); in aes_gcm_siv_decrypt()
267 error |= !EVP_EncryptUpdate(ctx->ecb_ctx, ctx->tag, &out_len, S_s, sizeof(S_s)); in aes_gcm_siv_decrypt()
268 ctx->generated_tag = !error; in aes_gcm_siv_decrypt()
271 return !error; in aes_gcm_siv_decrypt()
343 int error = 0; in aes_gcm_siv_ctr32() local
357 … error |= !EVP_EncryptUpdate(ctx->ecb_ctx, keystream, &out_len, (uint8_t*)&block, sizeof(block)); in aes_gcm_siv_ctr32()
371 return !error; in aes_gcm_siv_ctr32()