mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 02:05:39 +01:00
Add test for cipher_list()
This commit is contained in:
parent
f3013830cc
commit
66dfc5a689
@ -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 )
|
||||
|
@ -1,3 +1,6 @@
|
||||
Cipher list
|
||||
cipher_list:
|
||||
|
||||
Set padding with AES-CBC
|
||||
depends_on:POLARSSL_AES_C:POLARSSL_CIPHER_MODE_CBC:POLARSSL_CIPHER_PADDING_PKCS7
|
||||
set_padding:POLARSSL_CIPHER_AES_128_CBC:POLARSSL_PADDING_PKCS7:0
|
||||
|
Loading…
Reference in New Issue
Block a user