Home
last modified time | relevance | path

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

/third_party/mbedtls/configs/
Dconfig-ccm-psk-tls1_2.h62 #define MBEDTLS_PSK_MAX_LEN 16 /* 128-bits keys are generally enough */ macro
/third_party/mbedtls/include/mbedtls/
Dssl.h568 #if !defined(MBEDTLS_PSK_MAX_LEN)
569 #define MBEDTLS_PSK_MAX_LEN 32 /* 256 bits */ macro
588 unsigned char _pms_psk[4 + 2 * MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 2 */
592 + MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 3 */
595 unsigned char _pms_rsa_psk[52 + MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 4 */
599 + MBEDTLS_PSK_MAX_LEN]; /* RFC 5489 2 */
/third_party/mbedtls/programs/ssl/
Dssl_server2.c850 unsigned char key[MBEDTLS_PSK_MAX_LEN];
913 if( mbedtls_test_unhexify( new->key, MBEDTLS_PSK_MAX_LEN, in psk_parse()
1296 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
Dssl_client2.c664 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
/third_party/mbedtls/library/
Dssl_tls.c3837 if( psk_len > MBEDTLS_PSK_MAX_LEN ) in mbedtls_ssl_conf_psk()
3877 if( psk_len > MBEDTLS_PSK_MAX_LEN ) in mbedtls_ssl_set_hs_psk()