Searched refs:MBEDTLS_PSK_MAX_LEN (Results 1 – 7 of 7) sorted by relevance
59 #define MBEDTLS_PSK_MAX_LEN 16 /* 128-bits keys are generally enough */ macro
345 #if !defined(MBEDTLS_PSK_MAX_LEN)346 #define MBEDTLS_PSK_MAX_LEN 32 /* 256 bits */ macro365 unsigned char _pms_psk[4 + 2 * MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 2 */369 + MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 3 */372 unsigned char _pms_rsa_psk[52 + MBEDTLS_PSK_MAX_LEN]; /* RFC 4279 4 */376 + MBEDTLS_PSK_MAX_LEN]; /* RFC 5489 2 */
444 #if defined MBEDTLS_PSK_MAX_LEN445 #define POLARSSL_PSK_MAX_LEN MBEDTLS_PSK_MAX_LEN
658 if( *olen % 2 != 0 || *olen / 2 > MBEDTLS_PSK_MAX_LEN ) in unhexify()682 unsigned char key[MBEDTLS_PSK_MAX_LEN];786 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
406 unsigned char psk[MBEDTLS_PSK_MAX_LEN]; in main()
830 POLARSSL_PSK_MAX_LEN MBEDTLS_PSK_MAX_LEN
5829 if( psk_len > MBEDTLS_PSK_MAX_LEN ) in mbedtls_ssl_conf_psk()5872 if( psk_len > MBEDTLS_PSK_MAX_LEN ) in mbedtls_ssl_set_hs_psk()