Lines Matching refs:EVP_TEST

50 } EVP_TEST;  typedef
57 int (*init) (EVP_TEST *t, const char *alg);
59 void (*cleanup) (EVP_TEST *t);
61 int (*parse) (EVP_TEST *t, const char *name, const char *value);
63 int (*run_test) (EVP_TEST *t);
112 static int check_fips_approved(EVP_TEST *t, int approved) in check_fips_approved()
134 static int mac_check_fips_approved(EVP_MAC_CTX *ctx, EVP_TEST *t) in mac_check_fips_approved()
153 static int pkey_check_fips_approved(EVP_PKEY_CTX *ctx, EVP_TEST *t) in pkey_check_fips_approved()
180 static int rand_check_fips_approved(EVP_RAND_CTX *ctx, EVP_TEST *t) in rand_check_fips_approved()
237 static int ctrl2params(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls, in ctrl2params()
288 static int kdf_check_fips_approved(EVP_KDF_CTX *ctx, EVP_TEST *t) in kdf_check_fips_approved()
300 static int cipher_check_fips_approved(EVP_CIPHER_CTX *ctx, EVP_TEST *t) in cipher_check_fips_approved()
318 static int memory_err_compare(EVP_TEST *t, const char *err, in memory_err_compare()
657 static int digest_test_init(EVP_TEST *t, const char *alg) in digest_test_init()
684 static void digest_test_cleanup(EVP_TEST *t) in digest_test_cleanup()
693 static int digest_test_parse(EVP_TEST *t, in digest_test_parse()
727 static int test_duplicate_md_ctx(EVP_TEST *t, EVP_MD_CTX *mctx) in test_duplicate_md_ctx()
747 static int digest_test_run(EVP_TEST *t) in digest_test_run()
916 static int cipher_test_init(EVP_TEST *t, const char *alg) in cipher_test_init()
972 static void cipher_test_cleanup(EVP_TEST *t) in cipher_test_cleanup()
990 static int cipher_test_parse(EVP_TEST *t, const char *keyword, in cipher_test_parse()
1075 static int cipher_test_enc(EVP_TEST *t, int enc, size_t out_misalign, in cipher_test_enc()
1461 static int cipher_test_run(EVP_TEST *t) in cipher_test_run()
1594 static int mac_test_init(EVP_TEST *t, const char *alg) in mac_test_init()
1651 static void mac_test_cleanup(EVP_TEST *t) in mac_test_cleanup()
1667 static int mac_test_parse(EVP_TEST *t, in mac_test_parse()
1711 static int mac_test_ctrl_pkey(EVP_TEST *t, EVP_PKEY_CTX *pctx, in mac_test_ctrl_pkey()
1734 static int mac_test_run_pkey(EVP_TEST *t) in mac_test_run_pkey()
1855 static int mac_test_run_mac(EVP_TEST *t) in mac_test_run_mac()
2099 static int mac_test_run(EVP_TEST *t) in mac_test_run()
2129 static int kem_test_init(EVP_TEST *t, const char *name) in kem_test_init()
2156 static void kem_test_cleanup(EVP_TEST *t) in kem_test_cleanup()
2166 static int kem_test_parse(EVP_TEST *t, const char *keyword, const char *value) in kem_test_parse()
2183 static int encapsulate(EVP_TEST *t, EVP_PKEY_CTX *ctx, const char *op, in encapsulate()
2243 static int decapsulate(EVP_TEST *t, EVP_PKEY_CTX *ctx, const char *op, in decapsulate()
2295 static int kem_test_run(EVP_TEST *t) in kem_test_run()
2361 static int pkey_test_init_keyctx(EVP_TEST *t, const char *keyname, in pkey_test_init_keyctx()
2391 static int pkey_test_init(EVP_TEST *t, const char *name, in pkey_test_init()
2414 static int pkey_test_init_ex2(EVP_TEST *t, const char *name, in pkey_test_init_ex2()
2458 static void pkey_test_cleanup(EVP_TEST *t) in pkey_test_cleanup()
2470 static int pkey_test_ctrl(EVP_TEST *t, EVP_PKEY_CTX *pctx, in pkey_test_ctrl()
2500 static int pkey_add_control(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls, in pkey_add_control()
2521 static int pkey_test_parse(EVP_TEST *t, in pkey_test_parse()
2536 static int pkey_test_run_init(EVP_TEST *t) in pkey_test_run_init()
2578 static int pkey_test_run(EVP_TEST *t) in pkey_test_run()
2644 static int sign_test_init(EVP_TEST *t, const char *name) in sign_test_init()
2664 static int sign_test_message_init(EVP_TEST *t, const char *name) in sign_test_message_init()
2683 static int verify_recover_test_init(EVP_TEST *t, const char *name) in verify_recover_test_init()
2701 static int decrypt_test_init(EVP_TEST *t, const char *name) in decrypt_test_init()
2720 static int verify_test_init(EVP_TEST *t, const char *name) in verify_test_init()
2728 static int verify_test_run(EVP_TEST *t) in verify_test_run()
2758 static int verify_message_test_init(EVP_TEST *t, const char *name) in verify_message_test_init()
2772 static int pderive_test_init(EVP_TEST *t, const char *name) in pderive_test_init()
2777 static int pderive_test_parse(EVP_TEST *t, in pderive_test_parse()
2804 static int pderive_test_run(EVP_TEST *t) in pderive_test_run()
2917 static int scrypt_test_parse(EVP_TEST *t, in scrypt_test_parse()
2934 static int pbkdf2_test_parse(EVP_TEST *t, in pbkdf2_test_parse()
2954 static int pkcs12_test_parse(EVP_TEST *t, in pkcs12_test_parse()
2968 static int pbe_test_init(EVP_TEST *t, const char *alg) in pbe_test_init()
2995 static void pbe_test_cleanup(EVP_TEST *t) in pbe_test_cleanup()
3004 static int pbe_test_parse(EVP_TEST *t, in pbe_test_parse()
3026 static int pbe_test_run(EVP_TEST *t) in pbe_test_run()
3113 static int encode_test_init(EVP_TEST *t, const char *encoding) in encode_test_init()
3140 static void encode_test_cleanup(EVP_TEST *t) in encode_test_cleanup()
3149 static int encode_test_parse(EVP_TEST *t, in encode_test_parse()
3161 static int encode_test_run(EVP_TEST *t) in encode_test_run()
3302 static int rand_test_init(EVP_TEST *t, const char *name) in rand_test_init()
3343 static void rand_test_cleanup(EVP_TEST *t) in rand_test_cleanup()
3368 static int rand_test_parse(EVP_TEST *t, in rand_test_parse()
3430 static int rand_test_run(EVP_TEST *t) in rand_test_run()
3584 static int kdf_test_init(EVP_TEST *t, const char *name) in kdf_test_init()
3616 static void kdf_test_cleanup(EVP_TEST *t) in kdf_test_cleanup()
3628 static int kdf_test_ctrl(EVP_TEST *t, EVP_KDF_CTX *kctx, in kdf_test_ctrl()
3726 static int kdf_test_parse(EVP_TEST *t, in kdf_test_parse()
3740 static int kdf_test_run(EVP_TEST *t) in kdf_test_run()
3820 static int pkey_kdf_test_init(EVP_TEST *t, const char *name) in pkey_kdf_test_init()
3846 static void pkey_kdf_test_cleanup(EVP_TEST *t) in pkey_kdf_test_cleanup()
3854 static int pkey_kdf_test_parse(EVP_TEST *t, in pkey_kdf_test_parse()
3866 static int pkey_kdf_test_run(EVP_TEST *t) in pkey_kdf_test_run()
3934 static int keypair_test_init(EVP_TEST *t, const char *pair) in keypair_test_init()
3980 static void keypair_test_cleanup(EVP_TEST *t) in keypair_test_cleanup()
3989 static int void_test_parse(EVP_TEST *t, const char *keyword, const char *value) in void_test_parse()
3994 static int keypair_test_run(EVP_TEST *t) in keypair_test_run()
4052 static int keygen_test_init(EVP_TEST *t, const char *alg) in keygen_test_init()
4072 static void keygen_test_cleanup(EVP_TEST *t) in keygen_test_cleanup()
4084 static int keygen_test_parse(EVP_TEST *t, in keygen_test_parse()
4098 static int keygen_test_run(EVP_TEST *t) in keygen_test_run()
4212 static int digestsigver_test_init(EVP_TEST *t, const char *alg, int is_verify, in digestsigver_test_init()
4242 static int digestsign_test_init(EVP_TEST *t, const char *alg) in digestsign_test_init()
4247 static void digestsigver_test_cleanup(EVP_TEST *t) in digestsigver_test_cleanup()
4261 static int digestsigver_test_parse(EVP_TEST *t, in digestsigver_test_parse()
4308 static int check_deterministic_noncetype(EVP_TEST *t, in check_deterministic_noncetype()
4331 static int signverify_init(EVP_TEST *t, DIGESTSIGN_DATA *data) in signverify_init()
4379 static int digestsign_test_run(EVP_TEST *t) in digestsign_test_run()
4435 static int digestverify_test_init(EVP_TEST *t, const char *alg) in digestverify_test_init()
4446 static int digestverify_test_run(EVP_TEST *t) in digestverify_test_run()
4472 static int oneshot_digestsign_test_init(EVP_TEST *t, const char *alg) in oneshot_digestsign_test_init()
4477 static int oneshot_digestsign_test_run(EVP_TEST *t) in oneshot_digestsign_test_run()
4520 static int oneshot_digestverify_test_init(EVP_TEST *t, const char *alg) in oneshot_digestverify_test_init()
4525 static int oneshot_digestverify_test_run(EVP_TEST *t) in oneshot_digestverify_test_run()
4588 static void clear_test(EVP_TEST *t) in clear_test()
4615 static int check_test_error(EVP_TEST *t) in check_test_error()
4678 static int run_test(EVP_TEST *t) in run_test()
4823 static int parse(EVP_TEST *t) in parse()
5038 EVP_TEST *t; in run_file_tests()