Home
last modified time | relevance | path

Searched refs:encrypt_then_mac (Results 1 – 7 of 7) sorted by relevance

/mbedtls-latest/library/
Dssl_tls.c420 int encrypt_then_mac,
2389 int encrypt_then_mac) in mbedtls_ssl_get_actual_mode() argument
2392 if (encrypt_then_mac == MBEDTLS_SSL_ETM_ENABLED && in mbedtls_ssl_get_actual_mode()
2397 (void) encrypt_then_mac; in mbedtls_ssl_get_actual_mode()
2413 int encrypt_then_mac = 0; in mbedtls_ssl_get_mode_from_transform() local
2415 encrypt_then_mac = transform->encrypt_then_mac; in mbedtls_ssl_get_mode_from_transform()
2417 return mbedtls_ssl_get_actual_mode(base_mode, encrypt_then_mac); in mbedtls_ssl_get_mode_from_transform()
2422 int encrypt_then_mac, in mbedtls_ssl_get_mode_from_ciphersuite() argument
2449 int encrypt_then_mac = 0; in mbedtls_ssl_get_mode_from_ciphersuite() local
2451 return mbedtls_ssl_get_actual_mode(base_mode, encrypt_then_mac); in mbedtls_ssl_get_mode_from_ciphersuite()
[all …]
Dssl_tls12_server.c437 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()
1750 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_DISABLED; in ssl_write_encrypt_then_mac_ext()
1754 ssl->session_negotiate->encrypt_then_mac, in ssl_write_encrypt_then_mac_ext()
1758 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_DISABLED; in ssl_write_encrypt_then_mac_ext()
1762 if (ssl->session_negotiate->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED) { in ssl_write_encrypt_then_mac_ext()
Dssl_misc.h1142 int encrypt_then_mac; /*!< flag for EtM activation */ member
2774 int encrypt_then_mac,
Dssl_tls12_client.c302 if (ssl->conf->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED) { in ssl_write_encrypt_then_mac_ext()
741 if (ssl->conf->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED || in ssl_parse_encrypt_then_mac_ext()
754 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_ENABLED; in ssl_parse_encrypt_then_mac_ext()
/mbedtls-latest/include/mbedtls/
Dssl.h1323 int MBEDTLS_PRIVATE(encrypt_then_mac); /*!< flag for EtM activation */
1436 uint8_t MBEDTLS_PRIVATE(encrypt_then_mac); /*!< negotiate encrypt-then-mac? */
/mbedtls-latest/tests/src/test_helpers/
Dssl_helpers.c1437 t_out->encrypt_then_mac = etm; in mbedtls_test_ssl_build_transforms()
1438 t_in->encrypt_then_mac = etm; in mbedtls_test_ssl_build_transforms()
1779 session->encrypt_then_mac = 1; in mbedtls_test_ssl_tls12_populate_session()
/mbedtls-latest/tests/suites/
Dtest_suite_ssl.function2079 TEST_ASSERT(original.encrypt_then_mac == restored.encrypt_then_mac);