Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dssl_tls.c425 int encrypt_then_mac,
2402 int encrypt_then_mac) in mbedtls_ssl_get_actual_mode() argument
2405 if (encrypt_then_mac == MBEDTLS_SSL_ETM_ENABLED && in mbedtls_ssl_get_actual_mode()
2410 (void) encrypt_then_mac; in mbedtls_ssl_get_actual_mode()
2426 int encrypt_then_mac = 0; in mbedtls_ssl_get_mode_from_transform() local
2428 encrypt_then_mac = transform->encrypt_then_mac; in mbedtls_ssl_get_mode_from_transform()
2430 return mbedtls_ssl_get_actual_mode(base_mode, encrypt_then_mac); in mbedtls_ssl_get_mode_from_transform()
2435 int encrypt_then_mac, in mbedtls_ssl_get_mode_from_ciphersuite() argument
2462 int encrypt_then_mac = 0; in mbedtls_ssl_get_mode_from_ciphersuite() local
2464 return mbedtls_ssl_get_actual_mode(base_mode, encrypt_then_mac); in mbedtls_ssl_get_mode_from_ciphersuite()
[all …]
H A 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()
1728 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_DISABLED; in ssl_write_encrypt_then_mac_ext()
1732 ssl->session_negotiate->encrypt_then_mac, in ssl_write_encrypt_then_mac_ext()
1736 ssl->session_negotiate->encrypt_then_mac = MBEDTLS_SSL_ETM_DISABLED; in ssl_write_encrypt_then_mac_ext()
1740 if (ssl->session_negotiate->encrypt_then_mac == MBEDTLS_SSL_ETM_DISABLED) { in ssl_write_encrypt_then_mac_ext()
H A Dssl_misc.h1146 int encrypt_then_mac; /*!< flag for EtM activation */ member
2798 int encrypt_then_mac,
H A 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()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dssl.h1373 int MBEDTLS_PRIVATE(encrypt_then_mac); /*!< flag for EtM activation */
1486 uint8_t MBEDTLS_PRIVATE(encrypt_then_mac); /*!< negotiate encrypt-then-mac? */