Searched refs:encrypt_then_mac (Results 1 – 7 of 7) sorted by relevance
404 int encrypt_then_mac,2374 int encrypt_then_mac) in mbedtls_ssl_get_actual_mode() argument2377 if (encrypt_then_mac == MBEDTLS_SSL_ETM_ENABLED && in mbedtls_ssl_get_actual_mode()2382 (void) encrypt_then_mac; in mbedtls_ssl_get_actual_mode()2398 int encrypt_then_mac = 0; in mbedtls_ssl_get_mode_from_transform() local2400 encrypt_then_mac = transform->encrypt_then_mac; in mbedtls_ssl_get_mode_from_transform()2402 return mbedtls_ssl_get_actual_mode(base_mode, encrypt_then_mac); in mbedtls_ssl_get_mode_from_transform()2407 int encrypt_then_mac, in mbedtls_ssl_get_mode_from_ciphersuite() argument2433 int encrypt_then_mac = 0; in mbedtls_ssl_get_mode_from_ciphersuite() local2435 return mbedtls_ssl_get_actual_mode(base_mode, encrypt_then_mac); in mbedtls_ssl_get_mode_from_ciphersuite()[all …]
437 if (ssl->conf->encrypt_then_mac == MBEDTLS_SSL_ETM_ENABLED) { in ssl_parse_encrypt_then_mac_ext()438 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_ENABLED; in ssl_parse_encrypt_then_mac_ext()1749 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_DISABLED; in ssl_write_encrypt_then_mac_ext()1753 ssl->session_negotiate->encrypt_then_mac, in ssl_write_encrypt_then_mac_ext()1757 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_DISABLED; in ssl_write_encrypt_then_mac_ext()1761 if (ssl->session_negotiate->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED) { in ssl_write_encrypt_then_mac_ext()
1110 int encrypt_then_mac; /*!< flag for EtM activation */ member2632 int encrypt_then_mac,
302 if (ssl->conf->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED) { in ssl_write_encrypt_then_mac_ext()740 if (ssl->conf->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED || in ssl_parse_encrypt_then_mac_ext()753 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_ENABLED; in ssl_parse_encrypt_then_mac_ext()
1244 int MBEDTLS_PRIVATE(encrypt_then_mac); /*!< flag for EtM activation */1357 uint8_t MBEDTLS_PRIVATE(encrypt_then_mac); /*!< negotiate encrypt-then-mac? */
1280 t_out->encrypt_then_mac = etm; in mbedtls_test_ssl_build_transforms()1281 t_in->encrypt_then_mac = etm; in mbedtls_test_ssl_build_transforms()1607 session->encrypt_then_mac = 1; in mbedtls_test_ssl_tls12_populate_session()
2016 TEST_ASSERT(original.encrypt_then_mac == restored.encrypt_then_mac);