Lines Matching refs:cipher_mode
1137 mbedtls_cipher_mode_t *cipher_mode, in mbedtls_test_ssl_cipher_info_from_type() argument
1142 *cipher_mode = MBEDTLS_MODE_CBC; in mbedtls_test_ssl_cipher_info_from_type()
1147 *cipher_mode = MBEDTLS_MODE_CBC; in mbedtls_test_ssl_cipher_info_from_type()
1152 *cipher_mode = MBEDTLS_MODE_CBC; in mbedtls_test_ssl_cipher_info_from_type()
1157 *cipher_mode = MBEDTLS_MODE_CBC; in mbedtls_test_ssl_cipher_info_from_type()
1162 *cipher_mode = MBEDTLS_MODE_CBC; in mbedtls_test_ssl_cipher_info_from_type()
1167 *cipher_mode = MBEDTLS_MODE_CBC; in mbedtls_test_ssl_cipher_info_from_type()
1173 *cipher_mode = MBEDTLS_MODE_CCM; in mbedtls_test_ssl_cipher_info_from_type()
1178 *cipher_mode = MBEDTLS_MODE_CCM; in mbedtls_test_ssl_cipher_info_from_type()
1183 *cipher_mode = MBEDTLS_MODE_CCM; in mbedtls_test_ssl_cipher_info_from_type()
1188 *cipher_mode = MBEDTLS_MODE_CCM; in mbedtls_test_ssl_cipher_info_from_type()
1193 *cipher_mode = MBEDTLS_MODE_CCM; in mbedtls_test_ssl_cipher_info_from_type()
1198 *cipher_mode = MBEDTLS_MODE_CCM; in mbedtls_test_ssl_cipher_info_from_type()
1204 *cipher_mode = MBEDTLS_MODE_GCM; in mbedtls_test_ssl_cipher_info_from_type()
1209 *cipher_mode = MBEDTLS_MODE_GCM; in mbedtls_test_ssl_cipher_info_from_type()
1214 *cipher_mode = MBEDTLS_MODE_GCM; in mbedtls_test_ssl_cipher_info_from_type()
1219 *cipher_mode = MBEDTLS_MODE_GCM; in mbedtls_test_ssl_cipher_info_from_type()
1224 *cipher_mode = MBEDTLS_MODE_GCM; in mbedtls_test_ssl_cipher_info_from_type()
1229 *cipher_mode = MBEDTLS_MODE_GCM; in mbedtls_test_ssl_cipher_info_from_type()
1235 *cipher_mode = MBEDTLS_MODE_CHACHAPOLY; in mbedtls_test_ssl_cipher_info_from_type()
1241 *cipher_mode = MBEDTLS_MODE_STREAM; in mbedtls_test_ssl_cipher_info_from_type()
1247 *cipher_mode = MBEDTLS_MODE_NONE; in mbedtls_test_ssl_cipher_info_from_type()
1261 mbedtls_cipher_mode_t cipher_mode = MBEDTLS_MODE_NONE; in mbedtls_test_ssl_build_transforms() local
1292 &cipher_mode, &key_bits, &ivlen); in mbedtls_test_ssl_build_transforms()
1318 if (cipher_mode == MBEDTLS_MODE_CBC) { in mbedtls_test_ssl_build_transforms()
1350 if (cipher_mode == MBEDTLS_MODE_CBC || in mbedtls_test_ssl_build_transforms()
1351 cipher_mode == MBEDTLS_MODE_STREAM) { in mbedtls_test_ssl_build_transforms()
1389 if (cipher_mode == MBEDTLS_MODE_STREAM || in mbedtls_test_ssl_build_transforms()
1448 switch (cipher_mode) { in mbedtls_test_ssl_build_transforms()