Update lib/cifra/aes-common.h
Co-authored-by: Kazuho Oku <kazuhooku@gmail.com>
diff --git a/lib/cifra/aes-common.h b/lib/cifra/aes-common.h
index 95a9463..baba87e 100644
--- a/lib/cifra/aes-common.h
+++ b/lib/cifra/aes-common.h
@@ -168,7 +168,7 @@
struct aesgcm_context_t *ctx = (struct aesgcm_context_t *)_ctx;
ctx->super.dispose_crypto = aesgcm_dispose_crypto;
- ctx->super.do_xor_iv = minicrypto_aesgcm_aead_xor_iv;
+ ctx->super.do_xor_iv = aesgcm_xor_iv;
if (is_enc) {
ctx->super.do_encrypt_init = aesgcm_encrypt_init;
ctx->super.do_encrypt_update = aesgcm_encrypt_update;