@@ -1928,9 +1928,9 @@ int sp_RsaPublic_2048(const byte* in, word32 inLen, const mp_int* em,
19281928#else
19291929 sp_digit a[32 * 5];
19301930#endif
1931- sp_digit* ah;
1932- sp_digit* m;
1933- sp_digit* r;
1931+ sp_digit* ah = NULL ;
1932+ sp_digit* m = NULL ;
1933+ sp_digit* r = NULL ;
19341934 sp_digit e = 0;
19351935 int err = MP_OKAY;
19361936#ifdef HAVE_INTEL_AVX2
@@ -2139,9 +2139,9 @@ int sp_RsaPrivate_2048(const byte* in, word32 inLen, const mp_int* dm,
21392139#else
21402140 sp_digit d[32 * 4];
21412141#endif
2142- sp_digit* a;
2143- sp_digit* m;
2144- sp_digit* r;
2142+ sp_digit* a = NULL ;
2143+ sp_digit* m = NULL ;
2144+ sp_digit* r = NULL ;
21452145 int err = MP_OKAY;
21462146
21472147 ASSERT_SAVED_VECTOR_REGISTERS();
@@ -2252,14 +2252,14 @@ int sp_RsaPrivate_2048(const byte* in, word32 inLen, const mp_int* dm,
22522252#else
22532253 sp_digit a[16 * 11];
22542254#endif
2255- sp_digit* p;
2256- sp_digit* q;
2257- sp_digit* dp;
2258- sp_digit* dq;
2259- sp_digit* qi;
2260- sp_digit* tmpa;
2261- sp_digit* tmpb;
2262- sp_digit* r;
2255+ sp_digit* p = NULL ;
2256+ sp_digit* q = NULL ;
2257+ sp_digit* dp = NULL ;
2258+ sp_digit* dq = NULL ;
2259+ sp_digit* qi = NULL ;
2260+ sp_digit* tmpa = NULL ;
2261+ sp_digit* tmpb = NULL ;
2262+ sp_digit* r = NULL ;
22632263 sp_digit c;
22642264 int err = MP_OKAY;
22652265#ifdef HAVE_INTEL_AVX2
@@ -4826,9 +4826,9 @@ int sp_RsaPublic_3072(const byte* in, word32 inLen, const mp_int* em,
48264826#else
48274827 sp_digit a[48 * 5];
48284828#endif
4829- sp_digit* ah;
4830- sp_digit* m;
4831- sp_digit* r;
4829+ sp_digit* ah = NULL ;
4830+ sp_digit* m = NULL ;
4831+ sp_digit* r = NULL ;
48324832 sp_digit e = 0;
48334833 int err = MP_OKAY;
48344834#ifdef HAVE_INTEL_AVX2
@@ -5037,9 +5037,9 @@ int sp_RsaPrivate_3072(const byte* in, word32 inLen, const mp_int* dm,
50375037#else
50385038 sp_digit d[48 * 4];
50395039#endif
5040- sp_digit* a;
5041- sp_digit* m;
5042- sp_digit* r;
5040+ sp_digit* a = NULL ;
5041+ sp_digit* m = NULL ;
5042+ sp_digit* r = NULL ;
50435043 int err = MP_OKAY;
50445044
50455045 ASSERT_SAVED_VECTOR_REGISTERS();
@@ -5150,14 +5150,14 @@ int sp_RsaPrivate_3072(const byte* in, word32 inLen, const mp_int* dm,
51505150#else
51515151 sp_digit a[24 * 11];
51525152#endif
5153- sp_digit* p;
5154- sp_digit* q;
5155- sp_digit* dp;
5156- sp_digit* dq;
5157- sp_digit* qi;
5158- sp_digit* tmpa;
5159- sp_digit* tmpb;
5160- sp_digit* r;
5153+ sp_digit* p = NULL ;
5154+ sp_digit* q = NULL ;
5155+ sp_digit* dp = NULL ;
5156+ sp_digit* dq = NULL ;
5157+ sp_digit* qi = NULL ;
5158+ sp_digit* tmpa = NULL ;
5159+ sp_digit* tmpb = NULL ;
5160+ sp_digit* r = NULL ;
51615161 sp_digit c;
51625162 int err = MP_OKAY;
51635163#ifdef HAVE_INTEL_AVX2
@@ -6950,9 +6950,9 @@ int sp_RsaPublic_4096(const byte* in, word32 inLen, const mp_int* em,
69506950#else
69516951 sp_digit a[64 * 5];
69526952#endif
6953- sp_digit* ah;
6954- sp_digit* m;
6955- sp_digit* r;
6953+ sp_digit* ah = NULL ;
6954+ sp_digit* m = NULL ;
6955+ sp_digit* r = NULL ;
69566956 sp_digit e = 0;
69576957 int err = MP_OKAY;
69586958#ifdef HAVE_INTEL_AVX2
@@ -7161,9 +7161,9 @@ int sp_RsaPrivate_4096(const byte* in, word32 inLen, const mp_int* dm,
71617161#else
71627162 sp_digit d[64 * 4];
71637163#endif
7164- sp_digit* a;
7165- sp_digit* m;
7166- sp_digit* r;
7164+ sp_digit* a = NULL ;
7165+ sp_digit* m = NULL ;
7166+ sp_digit* r = NULL ;
71677167 int err = MP_OKAY;
71687168
71697169 ASSERT_SAVED_VECTOR_REGISTERS();
@@ -7274,14 +7274,14 @@ int sp_RsaPrivate_4096(const byte* in, word32 inLen, const mp_int* dm,
72747274#else
72757275 sp_digit a[32 * 11];
72767276#endif
7277- sp_digit* p;
7278- sp_digit* q;
7279- sp_digit* dp;
7280- sp_digit* dq;
7281- sp_digit* qi;
7282- sp_digit* tmpa;
7283- sp_digit* tmpb;
7284- sp_digit* r;
7277+ sp_digit* p = NULL ;
7278+ sp_digit* q = NULL ;
7279+ sp_digit* dp = NULL ;
7280+ sp_digit* dq = NULL ;
7281+ sp_digit* qi = NULL ;
7282+ sp_digit* tmpa = NULL ;
7283+ sp_digit* tmpb = NULL ;
7284+ sp_digit* r = NULL ;
72857285 sp_digit c;
72867286 int err = MP_OKAY;
72877287#ifdef HAVE_INTEL_AVX2
0 commit comments