25 #ifndef CTAO_CRYPT_ECC_H 26 #define CTAO_CRYPT_ECC_H 31 #include <cyassl/ctaocrypt/types.h> 32 #include <cyassl/ctaocrypt/integer.h> 33 #include <cyassl/ctaocrypt/random.h> 37 #define ecc_make_key wc_ecc_make_key 38 #define ecc_shared_secret wc_ecc_shared_secret 39 #define ecc_sign_hash wc_ecc_sign_hash 40 #define ecc_verify_hash wc_ecc_verify_hash 41 #define ecc_init wc_ecc_init 42 #define ecc_free wc_ecc_free 43 #define ecc_fp_free wc_ecc_fp_free 44 #define ecc_export_x963 wc_ecc_export_x963 45 #define ecc_size wc_ecc_size 46 #define ecc_sig_size wc_ecc_sig_size 47 #define ecc_export_x963_ex wc_ecc_export_x963_ex 48 #define ecc_import_x963 wc_ecc_import_x963 49 #define ecc_import_private_key wc_ecc_import_private_key 50 #define ecc_rs_to_sig wc_ecc_rs_to_sig 51 #define ecc_import_raw wc_ecc_import_raw 52 #define ecc_export_private_only wc_ecc_export_private_only 54 #ifdef HAVE_ECC_ENCRYPT 56 #define ecc_ctx_new wc_ecc_ctx_new 57 #define ecc_ctx_free wc_ecc_ctx_free 58 #define ecc_ctx_reset wc_ecc_ctx_reset 59 #define ecc_ctx_get_own_salt wc_ecc_ctx_get_own_salt 60 #define ecc_ctx_set_peer_salt wc_ecc_ctx_set_peer_salt 61 #define ecc_ctx_set_info wc_ecc_ctx_set_info 62 #define ecc_encrypt wc_ecc_encrypt 63 #define ecc_decrypt wc_ecc_decrypt