Lines Matching refs:int

15 static int check_cipher_info( mbedtls_cipher_type_t type,
113 static int cipher_reset_key( mbedtls_cipher_context_t *ctx, int cipher_id,
114 int use_psa, size_t tag_len, const data_t *key, int direction )
149 int buffer_is_all_zero( const uint8_t *buf, size_t size )
168 const int *cipher_type;
189 int valid_size = sizeof(valid_buffer);
190 int valid_bitlen = valid_size * 8;
311 int valid_size = sizeof(valid_buffer);
312 int valid_bitlen = valid_size * 8;
376 void enc_dec_buf( int cipher_id, char * cipher_string, int key_len,
377 int length_val, int pad_mode )
453 int expected = ( cipher_info->mode == MBEDTLS_MODE_GCM ||
516 void enc_fail( int cipher_id, int pad_mode, int key_len, int length_val,
517 int ret )
554 int expected = ( cipher_info->mode == MBEDTLS_MODE_GCM ||
572 void dec_empty_buf( int cipher,
573 int expected_update_ret,
574 int expected_finish_ret )
620 int expected = ( cipher_info->mode == MBEDTLS_MODE_GCM ||
655 void enc_dec_buf_multipart( int cipher_id, int key_len, int first_length_val,
656 int second_length_val, int pad_mode,
657 int first_encrypt_output_len, int second_encrypt_output_len,
658 int first_decrypt_output_len, int second_decrypt_output_len )
725 int expected = ( cipher_info->mode == MBEDTLS_MODE_GCM ||
783 void decrypt_test_vec( int cipher_id, int pad_mode, data_t * key,
786 int finish_result, int tag_result )
814 int expected = ( ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
829 int tag_expected = ( ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
849 void auth_crypt_tv( int cipher_id, data_t * key, data_t * iv,
851 char * result, data_t * clear, int use_psa )
860 int ret;
861 int using_nist_kw, using_nist_kw_padding;
1043 void test_vec_ecb( int cipher_id, int operation, data_t * key,
1044 data_t * input, data_t * result, int finish_result
1081 void test_vec_crypt( int cipher_id, int operation, data_t *key,
1083 int finish_result, int use_psa )
1129 void set_padding( int cipher_id, int pad_mode, int ret )
1148 void check_padding( int pad_mode, data_t * input, int ret, int dlen_check
1170 void iv_len_validity( int cipher_id, char * cipher_string,
1171 int iv_len_val, int ret )