remove aesccm

This commit is contained in:
Hideki Miyazaki
2022-10-15 11:05:25 +09:00
parent 60a8f6dff9
commit 60aac9039d

View File

@ -186,14 +186,13 @@ void main(void)
const char* cipherlist[] = { const char* cipherlist[] = {
#if defined(WOLFSSL_TLS13) #if defined(WOLFSSL_TLS13)
"TLS13-AES128-GCM-SHA256", "TLS13-AES128-GCM-SHA256",
"TLS13-AES128-CCM-SHA256",
#endif #endif
"ECDHE-ECDSA-AES128-GCM-SHA256", "ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-ECDSA-AES128-SHA256" "ECDHE-ECDSA-AES128-SHA256"
}; };
int cipherlist_sz; int cipherlist_sz;
#if defined(WOLFSSL_TLS13) #if defined(WOLFSSL_TLS13)
cipherlist_sz = 2; cipherlist_sz = 1;
#else #else
cipherlist_sz = 2; cipherlist_sz = 2;
#endif #endif
@ -202,7 +201,6 @@ void main(void)
const char* cipherlist[] = { const char* cipherlist[] = {
#if defined(WOLFSSL_TLS13) #if defined(WOLFSSL_TLS13)
"TLS13-AES128-GCM-SHA256", "TLS13-AES128-GCM-SHA256",
"TLS13-AES128-CCM-SHA256",
#endif #endif
"ECDHE-RSA-AES128-GCM-SHA256", "ECDHE-RSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES128-SHA256", "ECDHE-RSA-AES128-SHA256",
@ -213,7 +211,7 @@ void main(void)
}; };
int cipherlist_sz; int cipherlist_sz;
#if defined(WOLFSSL_TLS13) #if defined(WOLFSSL_TLS13)
cipherlist_sz = 2; cipherlist_sz = 1;
#else #else
cipherlist_sz = 6; cipherlist_sz = 6;
#endif /* WOLFSSL_TLS13 */ #endif /* WOLFSSL_TLS13 */
@ -278,6 +276,7 @@ void main(void)
Close_tcp(); Close_tcp();
#elif defined(SIMPLE_TCP_SERVER)|| defined(SIMPLE_TLS_SERVER) #elif defined(SIMPLE_TCP_SERVER)|| defined(SIMPLE_TLS_SERVER)
#include "r_cmt_rx_if.h"
Open_tcp(); Open_tcp();
@ -296,4 +295,4 @@ void abort(void)
{ {
} }
#endif #endif