Define WOLFSSL_PUBLIC_MP in Android and Visual Studio project files, for RSA KeyFactory usage
parent
9b5c9f3411
commit
fca84fe013
|
|
@ -274,7 +274,7 @@ jobs:
|
|||
$content = Get-Content $userSettingsPath -Raw
|
||||
Write-Output "Original file size: $($content.Length) characters"
|
||||
|
||||
$newDefines = "#define WOLFSSL_KEY_GEN`n#define HAVE_CRL`n#define OPENSSL_ALL`n#define WOLFSSL_SHA224`n#define HAVE_FFDHE_2048`n#define HAVE_FFDHE_3072`n#define HAVE_FFDHE_4096`n#define HAVE_FFDHE_Q`n#define WOLFSSL_VALIDATE_FFC_IMPORT`n`n"
|
||||
$newDefines = "#define WOLFSSL_KEY_GEN`n#define HAVE_CRL`n#define OPENSSL_ALL`n#define WOLFSSL_SHA224`n#define HAVE_FFDHE_2048`n#define HAVE_FFDHE_3072`n#define HAVE_FFDHE_4096`n#define HAVE_FFDHE_Q`n#define WOLFSSL_VALIDATE_FFC_IMPORT`n#define WOLFSSL_PUBLIC_MP`n`n"
|
||||
|
||||
# Try multiple possible insertion points
|
||||
$insertPoints = @(
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ if ("${WOLFSSL_PKG_TYPE}" MATCHES "normal")
|
|||
-DWOLFSSL_AKID_NAME -DHAVE_CTS -DNO_DES3 -DGCM_TABLE_4BIT
|
||||
-DTFM_TIMING_RESISTANT -DECC_TIMING_RESISTANT
|
||||
-DHAVE_AESGCM -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8
|
||||
-DWOLFSSL_KEY_GEN
|
||||
-DWOLFSSL_KEY_GEN -DWOLFSSL_PUBLIC_MP
|
||||
-DWOLFSSL_CUSTOM_CONFIG
|
||||
|
||||
# For gethostbyname()
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ section titled `/* Configuration */`:
|
|||
#define WOLFSSL_KEY_GEN
|
||||
#define HAVE_CRL
|
||||
#define OPENSSL_ALL
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
```
|
||||
|
||||
If also building wolfSSL JNI/JSSE, additional defines may be needed. Please
|
||||
|
|
@ -275,6 +276,7 @@ The following additional defines will also need to be added to
|
|||
#define WOLFSSL_KEY_GEN
|
||||
#define HAVE_CRL
|
||||
#define OPENSSL_ALL
|
||||
#define WOLFSSL_PUBLIC_MP
|
||||
```
|
||||
|
||||
If also building wolfSSL JNI/JSSE, additional defines may be needed. Please
|
||||
|
|
|
|||
Loading…
Reference in New Issue