/third_party/mbedtls/tests/suites/ |
D | test_suite_gcm.function | 9 const data_t *iv, 10 const data_t *add, 11 const data_t *input, 12 const data_t *expected_output, 13 const data_t *tag, 67 const data_t *iv, 68 const data_t *input, 69 const data_t *expected_output, 70 const data_t *tag, 110 const data_t *iv, [all …]
|
D | test_suite_des.function | 11 void des_check_weak( data_t * key, int ret ) 18 void des_encrypt_ecb( data_t * key_str, data_t * src_str, data_t * dst ) 38 void des_decrypt_ecb( data_t * key_str, data_t * src_str, data_t * dst ) 58 void des_encrypt_cbc( data_t * key_str, data_t * iv_str, 59 data_t * src_str, data_t * dst, int cbc_result ) 83 void des_decrypt_cbc( data_t * key_str, data_t * iv_str, 84 data_t * src_str, data_t * dst, 109 void des3_encrypt_ecb( int key_count, data_t * key_str, 110 data_t * src_str, data_t * dst ) 136 void des3_decrypt_ecb( int key_count, data_t * key_str, [all …]
|
D | test_suite_aria.function | 62 void aria_encrypt_ecb( data_t *key_str, data_t *src_str, 63 data_t *expected_output, int setkey_result ) 92 void aria_decrypt_ecb( data_t *key_str, data_t *src_str, 93 data_t *expected_output, int setkey_result ) 122 void aria_encrypt_cbc( data_t *key_str, data_t *iv_str, 123 data_t *src_str, data_t *expected_output, 148 void aria_decrypt_cbc( data_t *key_str, data_t *iv_str, 149 data_t *src_str, data_t *expected_output, 174 void aria_encrypt_cfb128( data_t *key_str, data_t *iv_str, 175 data_t *src_str, data_t *expected_output, [all …]
|
D | test_suite_camellia.function | 47 void camellia_encrypt_ecb( data_t * key_str, data_t * src_str, 48 data_t * dst, int setkey_result ) 71 void camellia_decrypt_ecb( data_t * key_str, data_t * src_str, 72 data_t * dst, int setkey_result ) 95 void camellia_encrypt_cbc( data_t * key_str, data_t * iv_str, 96 data_t * src_str, data_t * dst, int cbc_result ) 120 void camellia_decrypt_cbc( data_t * key_str, data_t * iv_str, 121 data_t * src_str, data_t * dst, 146 void camellia_encrypt_cfb128( data_t * key_str, data_t * iv_str, 147 data_t * src_str, data_t * dst ) [all …]
|
D | test_suite_ccm.function | 9 const data_t *iv, 10 const data_t *add, 11 const data_t *input, 12 const data_t *expected_output, 13 const data_t *tag, 179 void mbedtls_ccm_encrypt_and_tag( int cipher_id, data_t * key, 180 data_t * msg, data_t * iv, 181 data_t * add, data_t * result ) 207 /* Prepare data_t structures for multipart testing */ 208 const data_t encrypted_expected = { .x = result->x, [all …]
|
D | test_suite_aes.function | 11 void aes_encrypt_ecb( data_t * key_str, data_t * src_str, 12 data_t * dst, int setkey_result ) 35 void aes_decrypt_ecb( data_t * key_str, data_t * src_str, 36 data_t * dst, int setkey_result ) 59 void aes_encrypt_cbc( data_t * key_str, data_t * iv_str, 60 data_t * src_str, data_t * dst, 85 void aes_decrypt_cbc( data_t * key_str, data_t * iv_str, 86 data_t * src_str, data_t * dst, 233 void aes_encrypt_cfb128( data_t * key_str, data_t * iv_str, 234 data_t * src_str, data_t * dst ) [all …]
|
D | test_suite_ctr_drbg.function | 27 static void ctr_drbg_validate_internal( int reseed_mode, data_t * nonce, 28 int entropy_len_arg, data_t * entropy, 29 data_t * reseed, 30 data_t * add1, data_t * add2, 31 data_t * result ) 138 void ctr_drbg_validate_no_reseed( data_t * add_init, data_t * entropy, 139 data_t * add1, data_t * add2, 140 data_t * result_string ) 142 data_t empty = { 0, 0 }; 152 void ctr_drbg_validate_pr( data_t * add_init, data_t * entropy, [all …]
|
D | test_suite_pkcs1_v21.function | 12 void pkcs1_rsaes_oaep_encrypt( int mod, data_t * input_N, data_t * input_E, 13 int hash, data_t * message_str, data_t * rnd_buf, 14 data_t * result_str, int result ) 57 void pkcs1_rsaes_oaep_decrypt( int mod, data_t * input_P, data_t * input_Q, 58 data_t * input_N, data_t * input_E, int hash, 59 data_t * result_str, char * seed, data_t * message_str, 119 void pkcs1_rsassa_pss_sign( int mod, data_t * input_P, data_t * input_Q, 120 data_t * input_N, data_t * input_E, int digest, 121 int hash, data_t * message_str, data_t * rnd_buf, 122 data_t * result_str, int fixed_salt_length, [all …]
|
D | test_suite_chachapoly.function | 11 …id mbedtls_chachapoly_enc( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str,… 39 …id mbedtls_chachapoly_dec( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str,…
|
D | test_suite_shax.function | 8 void mbedtls_sha1( data_t * src_str, data_t * hash ) 43 void sha224( data_t * src_str, data_t * hash ) 57 void mbedtls_sha256( data_t * src_str, data_t * hash ) 92 void sha384( data_t * src_str, data_t * hash ) 106 void mbedtls_sha512( data_t * src_str, data_t * hash )
|
D | test_suite_cmac.function | 122 void mbedtls_cmac_multiple_blocks( int cipher_type, data_t * key, 124 data_t * block1, int block1_len, 125 data_t * block2, int block2_len, 126 data_t * block3, int block3_len, 127 data_t * block4, int block4_len, 128 data_t * expected_result ) 187 data_t * key, int keybits, 189 data_t * block_a1, 191 data_t * block_a2, 193 data_t * block_a3, [all …]
|
D | test_suite_pkcs5.function | 11 void pbkdf2_hmac( int hash, data_t * pw_str, data_t * salt_str, 12 int it_cnt, int key_len, data_t * result_key_string ) 36 void mbedtls_pkcs5_pbes2( int params_tag, data_t *params_hex, data_t *pw, 37 data_t *data, int ref_ret, data_t *ref_out )
|
D | test_suite_psa_crypto_driver_wrappers.function | 12 data_t *key_input, 13 data_t *data_input, 14 data_t *expected_output, 71 data_t *key_input, 72 data_t *data_input, 73 data_t *signature_input, 126 data_t *key_input, 127 data_t *data_input, 128 data_t *expected_output, 187 data_t *key_input, [all …]
|
D | test_suite_hmac_drbg.function | 178 void hmac_drbg_no_reseed( int md_alg, data_t * entropy, 179 data_t * custom, data_t * add1, 180 data_t * add2, data_t * output ) 226 void hmac_drbg_nopr( int md_alg, data_t * entropy, data_t * custom, 227 data_t * add1, data_t * add2, data_t * add3, 228 data_t * output ) 259 void hmac_drbg_pr( int md_alg, data_t * entropy, data_t * custom, 260 data_t * add1, data_t * add2, data_t * output )
|
D | test_suite_asn1write.function | 29 const data_t *expected, int ret ) 61 void mbedtls_asn1_write_null( data_t *expected ) 81 void mbedtls_asn1_write_bool( int val, data_t *expected ) 101 void mbedtls_asn1_write_int( int val, data_t *expected ) 122 void mbedtls_asn1_write_enum( int val, data_t *expected ) 142 void mbedtls_asn1_write_mpi( data_t *val, data_t *expected ) 169 void mbedtls_asn1_write_string( int tag, data_t *content, data_t *expected ) 221 void mbedtls_asn1_write_algorithm_identifier( data_t *oid, 223 data_t *expected ) 251 void mbedtls_asn1_write_len( int len, data_t * asn1, int buf_len, [all …]
|
D | test_suite_psa_crypto_hash.function | 13 void hash_finish( int alg_arg, data_t *input, data_t *expected_hash ) 38 void hash_verify( int alg_arg, data_t *input, data_t *expected_hash ) 60 void hash_multi_part( int alg_arg, data_t *input, data_t *expected_hash )
|
D | test_suite_psa_crypto.function | 318 static int aead_multipart_internal_func( int key_type_arg, data_t *key_data, 320 data_t *nonce, 321 data_t *additional_data, 323 data_t *input_data, 326 data_t *expected_output, 662 void import_with_data( data_t *data, int type_arg, 800 void import_export( data_t *data, 910 void import_export_public_key( data_t *data, 916 data_t *expected_public_key ) 974 void import_and_exercise_key( data_t *data, [all …]
|
D | test_suite_md.function | 130 data_t * hash ) 155 void md_hex( char * text_md_name, data_t * src_str, data_t * hash ) 179 data_t * hash ) 233 void md_hex_multi( char * text_md_name, data_t * src_str, data_t * hash ) 283 data_t * key_str, data_t * src_str, 284 data_t * hash ) 306 void md_hmac_multi( char * text_md_name, int trunc_size, data_t * key_str, 307 data_t * src_str, data_t * hash ) 354 data_t * hash )
|
D | test_suite_ecdh.function | 4 static int load_public_key( int grp_id, data_t *point, 20 static int load_private_key( int grp_id, data_t *private_key, 102 void ecdh_primitive_testvec( int id, data_t * rnd_buf_A, char * xA_str, 103 char * yA_str, data_t * rnd_buf_B, 237 void ecdh_restart( int id, data_t *dA, data_t *dB, data_t *z, 366 data_t *our_private_key, 367 data_t *their_point, 369 data_t *expected ) 423 data_t *our_private_key, 425 data_t *their_point,
|
D | test_suite_chacha20.function | 11 void chacha20_crypt( data_t *key_str, 12 data_t *nonce_str, 14 data_t *src_str, 15 data_t *expected_output_str )
|
D | test_suite_psa_crypto_storage_format.function | 20 const data_t *material, 22 const data_t *expected_representation ) 70 const data_t *expected_material, 72 const data_t *representation, 153 data_t *material, 154 data_t *representation ) 198 data_t *material, 199 data_t *representation, int flags )
|
D | test_suite_oid.function | 14 void oid_get_certificate_policies( data_t *oid, char *result_str ) 38 void oid_get_extended_key_usage( data_t *oid, char *result_str ) 62 void oid_get_x509_extension( data_t *oid, int exp_type ) 86 void oid_get_md_alg_id( data_t *oid, int exp_md_id )
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-object.c | 184 } data_t; typedef 195 data_t *data = (data_t *) p; in free_up0() 204 data_t *data = (data_t *) p; in free_up1() 238 data_t data[1000] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object() 316 data_t data[2] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object() 341 data_t data[2] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object()
|
/third_party/harfbuzz/test/api/ |
D | test-object.c | 184 } data_t; typedef 195 data_t *data = (data_t *) p; in free_up0() 204 data_t *data = (data_t *) p; in free_up1() 238 data_t data[1000] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object() 316 data_t data[2] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object() 341 data_t data[2] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | test-object.c | 184 } data_t; typedef 195 data_t *data = (data_t *) p; in free_up0() 204 data_t *data = (data_t *) p; in free_up1() 238 data_t data[1000] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object() 316 data_t data[2] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object() 341 data_t data[2] = {{MAGIC0, FALSE}, {MAGIC1, FALSE}}; in test_object()
|