/test/ |
A D | igetest.c | 38 const unsigned char key[16]; member 152 AES_KEY key; in test_ige_vectors() local 225 AES_KEY key; in test_ige_enc_dec() local 243 AES_KEY key; in test_ige_enc_chaining() local 265 AES_KEY key; in test_ige_dec_chaining() local 291 AES_KEY key; in test_ige_garble_forwards() local 329 AES_KEY key, key2; in test_bi_ige_enc_dec() local 350 AES_KEY key, key2; in test_bi_ige_garble1() local 381 AES_KEY key, key2; in test_bi_ige_garble2() local 412 AES_KEY key, key2; in test_bi_ige_garble3() local
|
A D | rc4test.c | 67 RC4_KEY key; in test_rc4_encrypt() local 78 RC4_KEY key; in test_rc4_end_processing() local 91 RC4_KEY key; in test_rc4_multi_call() local 102 RC4_KEY key; in test_rc_bulk() local
|
A D | bftest.c | 298 BF_KEY key; in test_bf_ecb_raw() local 319 BF_KEY key; in test_bf_ecb() local 338 BF_KEY key; in test_bf_set_key() local 354 BF_KEY key; in test_bf_cbc() local 380 BF_KEY key; in test_bf_cfb64() local 412 BF_KEY key; in test_bf_ofb64() local
|
A D | rsa_mp_test.c | 139 static int key2048_key(RSA *key) in key2048_key() 150 static int key2048p3_v1(RSA *key) in key2048p3_v1() 200 static int key2048p3_v2(RSA *key) in key2048p3_v2() 253 RSA *key; in test_rsa_mp() local
|
A D | rsa_sp800_56b_test.c | 224 RSA *key = NULL; in test_check_private_exponent() local 285 RSA *key = NULL; in test_check_crt_components() local 359 RSA *key = NULL; in test_derive_params_from_pq_fail() local 413 RSA *key = NULL; in test_invalid_keypair() local 489 RSA *key = NULL; in test_sp80056b_keygen() local 507 RSA *key = NULL; in test_check_private_key() local 540 RSA *key = NULL; in test_check_public_key() local
|
A D | rsa_test.c | 48 static int key1(RSA *key, unsigned char *c) in key1() 97 static int key2(RSA *key, unsigned char *c) in key2() 142 static int key3(RSA *key, unsigned char *c) in key3() 214 static int rsa_setkey(RSA** key, unsigned char *ctext, int idx) in rsa_setkey() 239 RSA *key; in test_rsa_simple() local 284 RSA *key = NULL; in test_rsa_oaep() local 362 RSA *key = RSA_new(); in test_rsa_security_bit() local
|
A D | pkcs12_api_test.c | 64 static int changepass(PKCS12 *p12, EVP_PKEY *key, X509 *cert, STACK_OF(X509) *ca) in changepass() 107 EVP_PKEY *key = NULL; in pkcs12_parse_test() local 143 static PKCS12 *pkcs12_create_ex2_setup(EVP_PKEY **key, X509 **cert, STACK_OF(X509) **ca) in pkcs12_create_ex2_setup() 163 EVP_PKEY *key = NULL; in pkcs12_create_ex2_test() local
|
A D | ocspapitest.c | 29 EVP_PKEY *key = NULL; in get_cert_and_key() local 78 ASN1_BIT_STRING *key = ASN1_BIT_STRING_new(); in make_dummy_resp() local 116 EVP_PKEY *key = NULL; in test_resp_signer() local
|
A D | evp_extra_test2.c | 273 static int pkey_has_private(EVP_PKEY *key, const char *privtag, in pkey_has_private() 292 static int do_pkey_tofrom_data_select(EVP_PKEY *key, const char *keytype) in do_pkey_tofrom_data_select() 349 EVP_PKEY *key = NULL; in test_dh_tofrom_data_select() local 465 EVP_PKEY *key = NULL; in test_new_keytype() local 513 EVP_PKEY *key = NULL, *outkey = NULL; in test_ec_d2i_i2d_pubkey() local 540 EVP_PKEY *key = NULL; in test_ec_tofrom_data_select() local 552 EVP_PKEY *key = NULL; in test_ecx_tofrom_data_select() local 566 EVP_PKEY *key = NULL; in test_sm2_tofrom_data_select() local 578 EVP_PKEY *key = NULL; in test_rsa_tofrom_data_select() local 1052 static int do_check_bn(OSSL_PARAM params[], const char *key, in do_check_bn() [all …]
|
A D | casttest.c | 67 CAST_KEY key; in cast_test_vector() local 89 CAST_KEY key, key_b; in cast_test_iterations() local
|
A D | rc5test.c | 187 RC5_32_KEY key; in test_rc5_ecb() local 208 RC5_32_KEY key; in test_rc5_cbc() local
|
A D | tls13encryptiontest.c | 31 const char *key; member 242 unsigned char **key, unsigned char *iv, size_t ivlen, in load_record() 310 unsigned char *key = NULL; in test_tls13_encryption() local
|
A D | poly1305_internal_test.c | 26 SIZED_DATA key; member 1512 const unsigned char *key = test.key.data; in test_poly1305() local
|
A D | ideatest.c | 64 IDEA_KEY_SCHEDULE key, dkey; in test_idea_ecb() local 78 IDEA_KEY_SCHEDULE key, dkey; in test_idea_cbc() local
|
A D | siphash_internal_test.c | 173 unsigned char key[SIPHASH_KEY_SIZE]; in test_siphash() local 260 static const unsigned char key[SIPHASH_KEY_SIZE] = {0}; in test_siphash_basic() local
|
A D | endecode_test.c | 671 static int test_params_via_DER(const char *type, EVP_PKEY *key) in test_params_via_DER() 680 static int test_params_via_PEM(const char *type, EVP_PKEY *key) in test_params_via_PEM() 703 static int test_unprotected_via_legacy_PEM(const char *type, EVP_PKEY *key) in test_unprotected_via_legacy_PEM() 728 static int test_unprotected_via_MSBLOB(const char *type, EVP_PKEY *key) in test_unprotected_via_MSBLOB() 750 static int test_unprotected_via_PVK(const char *type, EVP_PKEY *key) in test_unprotected_via_PVK() 825 static int test_protected_via_legacy_PEM(const char *type, EVP_PKEY *key) in test_protected_via_legacy_PEM() 840 static int test_protected_via_PVK(const char *type, EVP_PKEY *key) in test_protected_via_PVK() 870 static int test_public_via_DER(const char *type, EVP_PKEY *key, int fips) in test_public_via_DER() 892 static int test_public_via_PEM(const char *type, EVP_PKEY *key, int fips) in test_public_via_PEM() 915 static int test_public_via_MSBLOB(const char *type, EVP_PKEY *key) in test_public_via_MSBLOB() [all …]
|
A D | tls-provider.c | 179 void *key = NULL; in xor_prov_import_key() local 460 XORKEY *key; member 789 XORKEY *key = vkey; in xor_get_params() local 826 XORKEY *key = vkey; in xor_set_params() local 848 XORKEY *key = NULL; in xor_load() local 1000 XORKEY *key = vkey; in xor_import() local 1040 XORKEY *key = vkey; in xor_export() local 1207 XORKEY *key = NULL; in xor_key_op() local 2229 void *key = NULL; in xor_der2key_decode_p8() local 2243 XORKEY *key = NULL; in xor_d2i_PUBKEY() local [all …]
|
A D | slh_dsa_test.c | 37 EVP_PKEY *key = NULL; in slh_dsa_key_from_data() local 120 EVP_PKEY *key[4] = { NULL, NULL, NULL, NULL }; in slh_dsa_key_eq_test() local 157 EVP_PKEY *key = NULL; in slh_dsa_key_validate_test() local 180 EVP_PKEY *key = NULL; in slh_dsa_key_validate_failure_test() local 212 EVP_PKEY *key = NULL; in do_slh_dsa_verify() local 523 EVP_PKEY *key = NULL; in slh_dsa_digest_sign_verify_test() local
|
A D | destest.c | 724 unsigned char in[100], c_txt[200], p_txt[200], key[24]; in test_des_key_wrap() local 794 const DES_cblock key; member 821 const_DES_cblock *key = (unsigned char (*)[8])weak_keys[n].key; in test_des_weak_keys() local 827 const DES_cblock key; member 847 const_DES_cblock *key = (unsigned char (*)[8])bad_parity_keys[n].key; in test_des_check_bad_parity() local 858 unsigned char key[16]; in test_des_two_key() local
|
A D | lms_test.c | 34 EVP_PKEY *key = NULL; in lms_pubkey_from_data() local 152 EVP_PKEY *key = NULL; in key_decode_from_data() local 165 EVP_PKEY *key = NULL; in lms_key_decode_test() local 200 EVP_PKEY *key[4]; in lms_key_eq_test() local 243 EVP_PKEY *key = NULL; in lms_key_validate_test() local
|
A D | hmactest.c | 36 const char key[16]; member 273 const unsigned char key[24] = {0}; in test_hmac_copy_uninited() local 319 char key[256]; member
|
A D | fake_rsaprov.c | 60 struct fake_rsa_keydata *key; in fake_rsa_keymgmt_new() local 79 static int fake_rsa_keymgmt_has(const void *key, int selection) in fake_rsa_keymgmt_has() 233 struct fake_rsa_keydata *key = NULL; in fake_rsa_keymgmt_load() local 631 struct fake_rsa_keydata *key = NULL; in fake_rsa_st_load() local 836 void *key = NULL; in fake_rsa_der2key_decode_p8() local 850 struct fake_rsa_keydata *key = NULL; in fake_rsa_d2i_PUBKEY() local 942 void *key = NULL; in fake_rsa_der2key_decode() local 1087 struct fake_rsa_keydata *key = fake_rsa_keymgmt_new(NULL); in fake_rsa_key_from_pkcs8() local 1096 static void *fake_rsa_d2i_PKCS8(void **key, const unsigned char **der, long der_len, in fake_rsa_d2i_PKCS8() 1103 static void fake_rsa_key_adjust(void *key, struct der2key_ctx_st *ctx) in fake_rsa_key_adjust()
|
A D | chacha_internal_test.c | 20 static const unsigned int key[] = { variable
|
A D | sm4_internal_test.c | 54 SM4_KEY key; in test_sm4_ecb() local
|
A D | rc2test.c | 50 RC2_KEY key; in test_rc2() local
|