forked from wolfSSL/wolfssl
Remove all references to arc4/rc4 from IDE directory files
Co-Authored-By: Anthony H <anthony@wolfssl.com>
This commit is contained in:
@@ -446,7 +446,7 @@ extern unsigned int my_rng_seed_gen(void);
|
||||
#define NO_PSK
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
#define NO_PWDBASED
|
||||
//#define NO_CODING
|
||||
|
@@ -121,7 +121,7 @@
|
||||
#define HAVE_CRL
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_PSK
|
||||
#define WOLFSSL_NO_SHAKE256
|
||||
#define NO_MD4
|
||||
|
@@ -552,8 +552,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -191,7 +191,7 @@ You can get the current time from https://www.unixtimestamp.com/ */
|
||||
#define NO_OLD_TLS
|
||||
#define NO_PSK
|
||||
#define NO_DSA
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
|
||||
#define NO_PWDBASED
|
||||
|
@@ -620,8 +620,7 @@ extern unsigned int my_rng_seed_gen(void);
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -89,7 +89,7 @@ extern "C" {
|
||||
#define NO_DSA
|
||||
#define NO_RSA
|
||||
#define NO_DH
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
#define NO_MD5
|
||||
#define NO_SHA
|
||||
|
@@ -415,8 +415,7 @@ extern "C" {
|
||||
#undef NO_FILESYSTEM
|
||||
//#define NO_FILESYSTEM
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_MD4
|
||||
#define NO_MD4
|
||||
|
@@ -147,7 +147,7 @@ extern "C" {
|
||||
#define NO_PWDBASED
|
||||
#define NO_DSA
|
||||
#define NO_DES3
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_PSK
|
||||
#define NO_MD4
|
||||
#define NO_MD5
|
||||
|
@@ -53,7 +53,7 @@
|
||||
#define NO_OLD_TLS
|
||||
#define NO_DES3
|
||||
#define NO_MD5
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DH
|
||||
#define NO_SHA
|
||||
|
||||
|
@@ -48,7 +48,7 @@
|
||||
|
||||
#define NO_ASN_TIME
|
||||
#define NO_PWDBASED
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_DES3
|
||||
#define NO_DH
|
||||
|
@@ -99,7 +99,7 @@
|
||||
|
||||
// <h>wolfCrypt Library
|
||||
|
||||
// <h>MD5, SHA, SHA-256, AES, RC4, ASN, RSA
|
||||
// <h>MD5, SHA, SHA-256, AES, ASN, RSA
|
||||
// </h>
|
||||
// <e>MD2
|
||||
#define MDK_CONF_MD2 0
|
||||
|
@@ -135,7 +135,7 @@
|
||||
|
||||
// <h>wolfCrypt Library
|
||||
|
||||
// <h>MD5, SHA, SHA-256, AES, RC4, ASN, RSA
|
||||
// <h>MD5, SHA, SHA-256, AES, ASN, RSA
|
||||
// </h>
|
||||
|
||||
// <e>MD2
|
||||
|
@@ -158,7 +158,7 @@
|
||||
|
||||
// <h>wolfCrypt Library
|
||||
|
||||
// <h>MD5, SHA, SHA-256, AES, RC4, ASN, RSA
|
||||
// <h>MD5, SHA, SHA-256, AES, ASN, RSA
|
||||
// </h>
|
||||
// <e>MD2
|
||||
#define MDK_CONF_MD2 0
|
||||
|
@@ -253,6 +253,10 @@ static struct {
|
||||
"hmac_sha384", hmac_sha384_test,
|
||||
#endif
|
||||
#endif
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
>>>>>>> ed6cc3fea (Remove all references to arc4/rc4 from IDE directory files)
|
||||
#ifndef NO_DES3
|
||||
"des", des_test,
|
||||
"des3", des3_test,
|
||||
|
@@ -239,12 +239,7 @@
|
||||
#endif
|
||||
// </e>
|
||||
|
||||
// <e>RC4
|
||||
#define MDK_CONF_RC4 0
|
||||
#if MDK_CONF_RC4 == 0
|
||||
#define NO_RC4
|
||||
#endif
|
||||
// </e>
|
||||
|
||||
|
||||
// <e>CHACHA
|
||||
#define MDK_CONF_CHACHA 1
|
||||
|
@@ -148,9 +148,7 @@ extern void hmac_sha256_test(void *arg) ;
|
||||
extern void hmac_sha384_test(void *arg) ;
|
||||
#endif
|
||||
#endif
|
||||
#ifndef NO_RC4
|
||||
extern void arc4_test(void *arg) ;
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef NO_DES3
|
||||
extern void des_test(void *arg) ;
|
||||
@@ -263,9 +261,7 @@ static struct {
|
||||
"hmac_sha384", hmac_sha384_test,
|
||||
#endif
|
||||
#endif
|
||||
#ifndef NO_RC4
|
||||
"arc4", arc4_test,
|
||||
#endif
|
||||
|
||||
#ifndef NO_DES3
|
||||
"des", des_test,
|
||||
"des3", des3_test,
|
||||
|
@@ -378,8 +378,7 @@ extern "C" {
|
||||
#undef NO_DH
|
||||
#define NO_DH
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -33,7 +33,7 @@
|
||||
#define ECC_SHAMIR
|
||||
#define WC_RSA_PSS
|
||||
#define WOLFSSL_BASE64_ENCODE
|
||||
#define NO_RC4
|
||||
|
||||
#define WOLFSSL_SHA224
|
||||
#define WOLFSSL_SHA3
|
||||
#define WOLFSSL_SHAKE256
|
||||
@@ -44,7 +44,7 @@
|
||||
#define HAVE_TLS_EXTENSIONS
|
||||
#define HAVE_SUPPORTED_CURVES
|
||||
#define HAVE_EXTENDED_MASTER
|
||||
#define NO_RC4
|
||||
|
||||
#define HAVE_ENCRYPT_THEN_MAC
|
||||
#define NO_PSK
|
||||
#define NO_MD4
|
||||
|
@@ -72,7 +72,7 @@
|
||||
#define NO_PWDBASED
|
||||
#define NO_DSA
|
||||
#define NO_DES3
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
|
||||
/* Benchmark / Testing */
|
||||
|
@@ -572,8 +572,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -97,8 +97,7 @@
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_PSK
|
||||
#define NO_PSK
|
||||
|
@@ -553,8 +553,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -79,7 +79,7 @@ void main(void)
|
||||
SAMPLE OUTPUT: Freescale K64 running at 96MHz with no MMCAU:
|
||||
Benchmark Test 0:
|
||||
AES 25 kB took 0.073 seconds, 0.334 MB/s
|
||||
ARC4 25 kB took 0.033 seconds, 0.740 MB/s
|
||||
|
||||
RABBIT 25 kB took 0.027 seconds, 0.904 MB/s
|
||||
3DES 25 kB took 0.375 seconds, 0.065 MB/s
|
||||
MD5 25 kB took 0.016 seconds, 1.526 MB/s
|
||||
@@ -94,7 +94,7 @@ Benchmark Test 0: Return code 0
|
||||
SAMPLE OUTPUT: Freescale K64 running at 96MHz with MMCAU enabled:
|
||||
Benchmark Test 0:
|
||||
AES 25 kB took 0.019 seconds, 1.285 MB/s
|
||||
ARC4 25 kB took 0.033 seconds, 0.740 MB/s
|
||||
|
||||
RABBIT 25 kB took 0.028 seconds, 0.872 MB/s
|
||||
3DES 25 kB took 0.026 seconds, 0.939 MB/s
|
||||
MD5 25 kB took 0.005 seconds, 4.883 MB/s
|
||||
|
@@ -400,8 +400,7 @@ extern unsigned int custom_rand_generate(void);
|
||||
#undef NO_DES3
|
||||
#define NO_DES3
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -61,7 +61,7 @@
|
||||
/*#define WOLFSSL_CMSIS_RTOS */
|
||||
|
||||
/* #define NO_DH */
|
||||
#define NO_RC4
|
||||
|
||||
#define HAVE_AESGCM
|
||||
#define WOLFSSL_SHA512
|
||||
#define WOLFSSL_SHA384
|
||||
|
@@ -74,7 +74,7 @@
|
||||
#define NO_PWDBASED
|
||||
#define NO_DSA
|
||||
#define NO_DES3
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
|
||||
void wolfssl_thread_entry(void *pvParameters);
|
||||
|
@@ -583,8 +583,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -507,7 +507,7 @@ extern "C" {
|
||||
#define NO_PSK
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
#define NO_PWDBASED
|
||||
//#define NO_CODING
|
||||
|
@@ -14,7 +14,7 @@
|
||||
#define USE_FAST_MATH
|
||||
#define TFM_TIMING_RESISTANT
|
||||
#define ECC_TIMING_RESISTANT
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_MD4
|
||||
#define HAVE_ECC
|
||||
|
@@ -48,7 +48,7 @@
|
||||
#define NO_PWDBASED
|
||||
#define NO_DSA
|
||||
#define NO_DES3
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
|
||||
/* Benchmark / Testing */
|
||||
|
@@ -628,8 +628,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
//#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
//#define NO_OLD_TLS
|
||||
|
@@ -661,8 +661,7 @@ extern unsigned int my_rng_seed_gen(void);
|
||||
#undef NO_DSA
|
||||
//#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
//#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
//#define NO_OLD_TLS
|
||||
|
@@ -53,7 +53,7 @@
|
||||
#define WOLFSSL_SHA384
|
||||
#define WOLFSSL_SHA512
|
||||
#define NO_PSK
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_MD4
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#define WOLFSSL_SHA384
|
||||
#define WOLFSSL_SHA512
|
||||
#define NO_PSK
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_MD4
|
||||
|
||||
|
@@ -31,7 +31,7 @@
|
||||
#define WOLFSSL_SHA384
|
||||
#define WOLFSSL_SHA512
|
||||
#define NO_PSK
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_MD4
|
||||
|
||||
|
@@ -49,7 +49,7 @@
|
||||
#define WOLFSSL_SHA384
|
||||
#define WOLFSSL_SHA512
|
||||
#define NO_PSK
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_DSA
|
||||
#define NO_MD4
|
||||
|
||||
|
@@ -766,8 +766,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -633,8 +633,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
//#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS /* dependency on MD5, enable MD5 if this setting disabled */
|
||||
|
@@ -644,8 +644,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
//#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS /* dependency on MD5, enable MD5 if this setting disabled */
|
||||
|
@@ -645,8 +645,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
//#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -777,8 +777,7 @@ extern "C" {
|
||||
#undef NO_DSA
|
||||
#define NO_DSA
|
||||
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
|
||||
|
||||
#undef NO_OLD_TLS
|
||||
#define NO_OLD_TLS
|
||||
|
@@ -65,7 +65,7 @@
|
||||
#define HAVE_EXTENDED_MASTER
|
||||
|
||||
/* off by default */
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
#define NO_DSA
|
||||
#define NO_PSK
|
||||
|
@@ -151,7 +151,7 @@ extern unsigned char my_rng_seed_gen(void);
|
||||
|
||||
/* Disable Algorithms */
|
||||
#define NO_DSA
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
#define NO_MD5
|
||||
#define NO_SHA
|
||||
|
@@ -177,7 +177,7 @@ static inline long XTIME(long *x) { return jiffies;}
|
||||
/* Disable Algorithms */
|
||||
#define NO_DES3
|
||||
#define NO_DSA
|
||||
#define NO_RC4
|
||||
|
||||
#define NO_MD4
|
||||
#define NO_MD5
|
||||
#define NO_SHA
|
||||
|
Reference in New Issue
Block a user