1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Add test for cipher_list()

This commit is contained in:
Manuel Pégourié-Gonnard
2014-03-29 16:10:55 +01:00
parent f3013830cc
commit 66dfc5a689
2 changed files with 13 additions and 0 deletions

View File

@@ -11,6 +11,16 @@
* END_DEPENDENCIES
*/
/* BEGIN_CASE */
void cipher_list( )
{
const int *cipher_type;
for( cipher_type = cipher_list(); *cipher_type != 0; cipher_type++ )
TEST_ASSERT( cipher_info_from_type( *cipher_type ) != NULL );
}
/* END_CASE */
/* BEGIN_CASE */
void enc_dec_buf( int cipher_id, char *cipher_string, int key_len,
int length_val, int pad_mode )