mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-22 19:45:34 +00:00
Add config based on PSK-CCM
This commit is contained in:
parent
ac2ccf897c
commit
1a74a26f77
35
configs/config-ccm-psk-tls1_2.h
Normal file
35
configs/config-ccm-psk-tls1_2.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* Minimal configuration for TLS 1.2 with PSK and AES-CCM ciphersuites
|
||||
*
|
||||
* See README.txt for usage instructions.
|
||||
*/
|
||||
#ifndef POLARSSL_CONFIG_H
|
||||
#define POLARSSL_CONFIG_H
|
||||
|
||||
/* System support */
|
||||
#define POLARSSL_HAVE_IPV6
|
||||
#define POLARSSL_HAVE_TIME
|
||||
|
||||
/* PolarSSL feature support */
|
||||
#define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
|
||||
#define POLARSSL_SSL_PROTO_TLS1_2
|
||||
|
||||
/* PolarSSL modules */
|
||||
#define POLARSSL_AES_C
|
||||
#define POLARSSL_ASN1_PARSE_C
|
||||
#define POLARSSL_ASN1_WRITE_C
|
||||
#define POLARSSL_CCM_C
|
||||
#define POLARSSL_CIPHER_C
|
||||
#define POLARSSL_CTR_DRBG_C
|
||||
#define POLARSSL_ENTROPY_C
|
||||
#define POLARSSL_MD_C
|
||||
#define POLARSSL_NET_C
|
||||
#define POLARSSL_OID_C
|
||||
#define POLARSSL_SHA256_C
|
||||
#define POLARSSL_SSL_CLI_C
|
||||
#define POLARSSL_SSL_SRV_C
|
||||
#define POLARSSL_SSL_TLS_C
|
||||
|
||||
#include "check_config.h"
|
||||
|
||||
#endif /* POLARSSL_CONFIG_H */
|
|
@ -19,6 +19,8 @@ my %configs = (
|
|||
=> "-m tls1_2 -f 'ECDHE-ECDSA.*AES.*GCM'",
|
||||
'config-picocoin.h'
|
||||
=> 0,
|
||||
'config-ccm-psk-tls1_2.h'
|
||||
=> '-m tls1_2 -f \'TLS-PSK.*AES.*CCM\'',
|
||||
);
|
||||
|
||||
# If no config-name is provided, use all known configs.
|
||||
|
|
Loading…
Reference in a new issue