From f233d5981e5818bca06d10e9e9ee21dd881dbc9b Mon Sep 17 00:00:00 2001 From: kubodera_yuichi Date: Tue, 22 Dec 2009 05:48:26 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BB=8A=E5=BA=A6=E3=81=AFwarning=E3=82=92?= =?UTF-8?q?=E6=B6=88=E3=81=99=20=E3=81=9D=E3=81=AE2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@22 ff987cc8-cf2f-4642-8568-d52cce064691 --- cr_enc_id.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cr_enc_id.c b/cr_enc_id.c index dc138b2..9ae9410 100644 --- a/cr_enc_id.c +++ b/cr_enc_id.c @@ -135,8 +135,8 @@ extern RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp, long length); static unsigned char local_buf_1[CR_ID_BUF_SIZE]; static unsigned char local_buf_2[CR_ID_BUF_SIZE]; -static int crypto_aes_enc_dec( dst_buf, org_buf ); -static int crypto_rsa_enc_dec( dst_buf, org_buf ); +static int crypto_aes_enc_dec( unsigned char *dst_buf, unsigned char *org_buf ); +static int crypto_rsa_enc_dec( unsigned char *dst_buf, unsigned char *org_buf ); // ビルドスイッチに応じて、IDバッファをAES/RSAで暗号化 int EncryptID( unsigned char *dst_buf, unsigned char *org_buf )