Home
last modified time | relevance | path

Searched refs:MBEDTLS_PSK_MAX_LEN (Results 1 – 7 of 7) sorted by relevance

/mbedtls-3.4.0/configs/
Dconfig-ccm-psk-tls1_2.h82 #define MBEDTLS_PSK_MAX_LEN 16 /* 128-bits keys are generally enough */ macro
Dconfig-ccm-psk-dtls1_2.h91 #define MBEDTLS_PSK_MAX_LEN 16 /* 128-bits keys are generally enough */ macro
/mbedtls-3.4.0/include/mbedtls/
Dssl.h600 #if !defined(MBEDTLS_PSK_MAX_LEN)
601 #define MBEDTLS_PSK_MAX_LEN 32 /* 256 bits */ macro
620 unsigned char _pms_psk[4 + 2 * MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 2 */
624 + MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 3 */
627 unsigned char _pms_rsa_psk[52 + MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 4 */
631 + MBEDTLS_PSK_MAX_LEN]; /* RFC 5489 2 */
/mbedtls-3.4.0/programs/test/
Dquery_config.c2618 #if defined(MBEDTLS_PSK_MAX_LEN) in query_config()
2621 MACRO_EXPANSION_TO_STR( MBEDTLS_PSK_MAX_LEN ); in query_config()
4416 #if defined(MBEDTLS_PSK_MAX_LEN) in list_config()
4417 OUTPUT_MACRO_NAME_VALUE(MBEDTLS_PSK_MAX_LEN); in list_config()
/mbedtls-3.4.0/programs/ssl/
Dssl_server2.c931 unsigned char key[MBEDTLS_PSK_MAX_LEN];
994 if( mbedtls_test_unhexify( new->key, MBEDTLS_PSK_MAX_LEN, in psk_parse()
1452 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
Dssl_client2.c744 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
/mbedtls-3.4.0/library/
Dssl_tls.c2051 if( psk_len > MBEDTLS_PSK_MAX_LEN ) in mbedtls_ssl_conf_psk()
2105 if( psk_len > MBEDTLS_PSK_MAX_LEN ) in mbedtls_ssl_set_hs_psk()