Home
last modified time | relevance | path

Searched refs:trunc_hmac (Results 1 – 6 of 6) sorted by relevance

/net-tools-3.4.0/mbedtls-2.4.0/programs/ssl/
Dssl_client2.c306 int trunc_hmac; /* negotiate truncated hmac or not */ member
496 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()
Dssl_server2.c387 int trunc_hmac; /* accept truncated hmac? */ member
930 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()
/net-tools-3.4.0/mbedtls-2.4.0/include/mbedtls/
Dssl.h571 int trunc_hmac; /*!< flag for truncated hmac activation */ member
744 unsigned int trunc_hmac : 1; /*!< negotiate truncated hmac? */ member
/net-tools-3.4.0/mbedtls-2.4.0/library/
Dssl_cli.c469 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;
Dssl_srv.c385 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 )
Dssl_tls.c712 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()