vaseboot/VasEBoot-core/lib/libgcrypt-patches/04_aria.patch

23 lines
813 B
Diff

diff --git a/VasEBoot-core/lib/libgcrypt/cipher/aria.c b/VasEBoot-core/lib/libgcrypt/cipher/aria.c
index bc2d43841..cfc5a74f2 100644
--- a/VasEBoot-core/lib/libgcrypt-VasEBoot/cipher/aria.c
+++ b/VasEBoot-core/lib/libgcrypt-VasEBoot/cipher/aria.c
@@ -1013,7 +1013,7 @@ aria_crypt(ARIA_context *ctx, byte *out, const byte *in,
return 4 * sizeof(void *) + 4 * sizeof(u32); /* stack burn depth */
}
-unsigned int
+static unsigned int
aria_encrypt(void *c, byte *outbuf, const byte *inbuf)
{
ARIA_context *ctx = (ARIA_context *)c;
@@ -1023,7 +1023,7 @@ aria_encrypt(void *c, byte *outbuf, const byte *inbuf)
return aria_crypt (ctx, outbuf, inbuf, ctx->enc_key);
}
-unsigned int
+static unsigned int
aria_decrypt(void *c, byte *outbuf, const byte *inbuf)
{
ARIA_context *ctx = (ARIA_context *)c;