Skip to content

Commit 140f9aa

Browse files
committed
test-fix
1 parent 2c7eb9b commit 140f9aa

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

wolfcrypt/src/sp_arm64.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6176,7 +6176,6 @@ static sp_digit sp_2048_cond_add_16(sp_digit* r, const sp_digit* a, const sp_dig
61766176
return c;
61776177
}
61786178
#endif /* WOLFSSL_SP_SMALL */
6179-
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
61806179

61816180
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
61826181
/* RSA private key operation.
@@ -15554,7 +15553,6 @@ static sp_digit sp_3072_cond_add_24(sp_digit* r, const sp_digit* a, const sp_dig
1555415553
return c;
1555515554
}
1555615555
#endif /* WOLFSSL_SP_SMALL */
15557-
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1555815556

1555915557
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1556015558
/* RSA private key operation.
@@ -20566,7 +20564,6 @@ static sp_digit sp_4096_cond_add_32(sp_digit* r, const sp_digit* a, const sp_dig
2056620564
return c;
2056720565
}
2056820566
#endif /* WOLFSSL_SP_SMALL */
20569-
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
2057020567

2057120568
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
2057220569
/* RSA private key operation.

wolfcrypt/src/sp_c32.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3646,7 +3646,7 @@ int sp_RsaPublic_2048(const byte* in, word32 inLen, const mp_int* em,
36463646

36473647
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
36483648
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
3649-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
3649+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
36503650
/* RSA private key operation.
36513651
*
36523652
* in Array of bytes representing the number to exponentiate, base.
@@ -6751,7 +6751,7 @@ int sp_RsaPublic_3072(const byte* in, word32 inLen, const mp_int* em,
67516751

67526752
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
67536753
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
6754-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
6754+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
67556755
/* RSA private key operation.
67566756
*
67576757
* in Array of bytes representing the number to exponentiate, base.
@@ -10516,7 +10516,7 @@ int sp_RsaPublic_3072(const byte* in, word32 inLen, const mp_int* em,
1051610516

1051710517
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
1051810518
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
10519-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
10519+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1052010520
/* RSA private key operation.
1052110521
*
1052210522
* in Array of bytes representing the number to exponentiate, base.
@@ -13703,7 +13703,7 @@ int sp_RsaPublic_4096(const byte* in, word32 inLen, const mp_int* em,
1370313703

1370413704
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
1370513705
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
13706-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
13706+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1370713707
/* RSA private key operation.
1370813708
*
1370913709
* in Array of bytes representing the number to exponentiate, base.
@@ -17376,7 +17376,7 @@ int sp_RsaPublic_4096(const byte* in, word32 inLen, const mp_int* em,
1737617376

1737717377
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
1737817378
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
17379-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
17379+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1738017380
/* RSA private key operation.
1738117381
*
1738217382
* in Array of bytes representing the number to exponentiate, base.

wolfcrypt/src/sp_c64.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ int sp_RsaPublic_2048(const byte* in, word32 inLen, const mp_int* em,
23172317

23182318
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
23192319
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
2320-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
2320+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
23212321
/* RSA private key operation.
23222322
*
23232323
* in Array of bytes representing the number to exponentiate, base.
@@ -5564,7 +5564,7 @@ int sp_RsaPublic_2048(const byte* in, word32 inLen, const mp_int* em,
55645564

55655565
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
55665566
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
5567-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
5567+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
55685568
/* RSA private key operation.
55695569
*
55705570
* in Array of bytes representing the number to exponentiate, base.
@@ -8494,7 +8494,7 @@ int sp_RsaPublic_3072(const byte* in, word32 inLen, const mp_int* em,
84948494

84958495
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
84968496
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
8497-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
8497+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
84988498
/* RSA private key operation.
84998499
*
85008500
* in Array of bytes representing the number to exponentiate, base.
@@ -11890,7 +11890,7 @@ int sp_RsaPublic_3072(const byte* in, word32 inLen, const mp_int* em,
1189011890

1189111891
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
1189211892
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
11893-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
11893+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1189411894
/* RSA private key operation.
1189511895
*
1189611896
* in Array of bytes representing the number to exponentiate, base.
@@ -14857,7 +14857,7 @@ int sp_RsaPublic_4096(const byte* in, word32 inLen, const mp_int* em,
1485714857

1485814858
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
1485914859
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
14860-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
14860+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1486114861
/* RSA private key operation.
1486214862
*
1486314863
* in Array of bytes representing the number to exponentiate, base.
@@ -18350,7 +18350,7 @@ int sp_RsaPublic_4096(const byte* in, word32 inLen, const mp_int* em,
1835018350

1835118351
#ifndef WOLFSSL_RSA_PUBLIC_ONLY
1835218352
#if !defined(SP_RSA_PRIVATE_EXP_D) && !defined(RSA_LOW_MEM)
18353-
#endif /* !SP_RSA_PRIVATE_EXP_D & !RSA_LOW_MEM */
18353+
#endif /* !SP_RSA_PRIVATE_EXP_D && !RSA_LOW_MEM */
1835418354
/* RSA private key operation.
1835518355
*
1835618356
* in Array of bytes representing the number to exponentiate, base.

0 commit comments

Comments
 (0)