Lines Matching refs:cipher_id

79 static int cipher_reset_key( mbedtls_cipher_context_t *ctx, int cipher_id,
92 mbedtls_cipher_info_from_type( cipher_id ),
99 mbedtls_cipher_info_from_type( cipher_id ) ) );
343 void enc_dec_buf( int cipher_id, char * cipher_string, int key_len,
368 cipher_info = mbedtls_cipher_info_from_type( cipher_id );
476 void enc_fail( int cipher_id, int pad_mode, int key_len, int length_val,
500 cipher_info = mbedtls_cipher_info_from_type( cipher_id );
597 void enc_dec_buf_multipart( int cipher_id, int key_len, int first_length_val,
632 cipher_info = mbedtls_cipher_info_from_type( cipher_id );
718 void decrypt_test_vec( int cipher_id, int pad_mode, data_t * key,
738 mbedtls_cipher_info_from_type( cipher_id ) ) );
776 void auth_crypt_tv( int cipher_id, data_t * key, data_t * iv,
823 using_nist_kw_padding = cipher_id == MBEDTLS_CIPHER_AES_128_KWP ||
824 cipher_id == MBEDTLS_CIPHER_AES_192_KWP ||
825 cipher_id == MBEDTLS_CIPHER_AES_256_KWP;
826 using_nist_kw = cipher_id == MBEDTLS_CIPHER_AES_128_KW ||
827 cipher_id == MBEDTLS_CIPHER_AES_192_KW ||
828 cipher_id == MBEDTLS_CIPHER_AES_256_KW ||
834 if( ! cipher_reset_key( &ctx, cipher_id, use_psa, tag->len, key,
903 if( ! cipher_reset_key( &ctx, cipher_id, use_psa, tag->len, key,
970 void test_vec_ecb( int cipher_id, int operation, data_t * key,
984 mbedtls_cipher_info_from_type( cipher_id ) ) );
1008 void test_vec_crypt( int cipher_id, int operation, data_t *key,
1028 mbedtls_cipher_info_from_type( cipher_id ), 0 ) );
1033 mbedtls_cipher_info_from_type( cipher_id ) ) );
1056 void set_padding( int cipher_id, int pad_mode, int ret )
1063 cipher_info = mbedtls_cipher_info_from_type( cipher_id );