Searched refs:MBEDTLS_PSK_MAX_LEN (Results 1 – 5 of 5) sorted by relevance
62 #define MBEDTLS_PSK_MAX_LEN 16 /* 128-bits keys are generally enough */ macro
568 #if !defined(MBEDTLS_PSK_MAX_LEN)569 #define MBEDTLS_PSK_MAX_LEN 32 /* 256 bits */ macro588 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 */
850 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()
664 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
3837 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()