Searched refs:trunc_hmac (Results 1 – 6 of 6) sorted by relevance
306 int trunc_hmac; /* negotiate truncated hmac or not */ member496 opt.trunc_hmac = DFL_TRUNC_HMAC; in main()773 case 0: opt.trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_DISABLED; break; in main()774 case 1: opt.trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED; break; in main()1113 if( opt.trunc_hmac != DFL_TRUNC_HMAC ) in main()1114 mbedtls_ssl_conf_truncated_hmac( &conf, opt.trunc_hmac ); in main()
387 int trunc_hmac; /* accept truncated hmac? */ member930 opt.trunc_hmac = DFL_TRUNC_HMAC; in main()1156 case 0: opt.trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_DISABLED; break; in main()1157 case 1: opt.trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED; break; in main()1628 if( opt.trunc_hmac != DFL_TRUNC_HMAC ) in main()1629 mbedtls_ssl_conf_truncated_hmac( &conf, opt.trunc_hmac ); in main()
571 int trunc_hmac; /*!< flag for truncated hmac activation */ member744 unsigned int trunc_hmac : 1; /*!< negotiate truncated hmac? */ member
469 if( ssl->conf->trunc_hmac == MBEDTLS_SSL_TRUNC_HMAC_DISABLED )1123 if( ssl->conf->trunc_hmac == MBEDTLS_SSL_TRUNC_HMAC_DISABLED ||1131 ssl->session_negotiate->trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED;
385 if( ssl->conf->trunc_hmac == MBEDTLS_SSL_TRUNC_HMAC_ENABLED ) in ssl_parse_truncated_hmac_ext()386 ssl->session_negotiate->trunc_hmac = MBEDTLS_SSL_TRUNC_HMAC_ENABLED; in ssl_parse_truncated_hmac_ext()1862 if( ssl->session_negotiate->trunc_hmac == MBEDTLS_SSL_TRUNC_HMAC_DISABLED )
712 if( session->trunc_hmac == MBEDTLS_SSL_TRUNC_HMAC_ENABLED ) in mbedtls_ssl_derive_keys()6091 conf->trunc_hmac = truncate; in mbedtls_ssl_conf_truncated_hmac()