diff --git a/lib/hcrypto/Makefile.am b/lib/hcrypto/Makefile.am index 1a706a197..bc7fecd5c 100644 --- a/lib/hcrypto/Makefile.am +++ b/lib/hcrypto/Makefile.am @@ -129,6 +129,12 @@ imathsource = \ $(libhcrypto_la_OBJECTS): hcrypto-link +if versionscript +libhcrypto_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map +endif +$(libhcrypto_la_OBJECTS): $(srcdir)/version-script.map + + hcrypto-link: $(LN_S) $(srcdir)/../hcrypto hcrypto touch hcrypto-link @@ -153,4 +159,5 @@ CLEANFILES = \ EXTRA_DIST = \ rsakey.der \ - test_crypto.in + test_crypto.in \ + version-script.map diff --git a/lib/hcrypto/version-script.map b/lib/hcrypto/version-script.map new file mode 100644 index 000000000..b3bb3e33a --- /dev/null +++ b/lib/hcrypto/version-script.map @@ -0,0 +1,229 @@ +# $Id$ + +HEIMDAL_CRYPTO_1.0 { + global: + _hc_AES_cbc_encrypt; + _hc_AES_decrypt; + _hc_AES_decrypt_key; + _hc_AES_encrypt; + _hc_AES_set_encrypt_key; + _hc_BN_GENCB_call; + _hc_BN_GENCB_set; + _hc_BN_bin2bn; + _hc_BN_bn2bin; + _hc_BN_bn2hex; + _hc_BN_clear; + _hc_BN_clear_bit; + _hc_BN_clear_free; + _hc_BN_cmp; + _hc_BN_dup; + _hc_BN_free; + _hc_BN_get_word; + _hc_BN_hex2bn; + _hc_BN_is_bit_set; + _hc_BN_is_negative; + _hc_BN_new; + _hc_BN_num_bits; + _hc_BN_num_bytes; + _hc_BN_rand; + _hc_BN_set_bit; + _hc_BN_set_negative; + _hc_BN_set_word; + _hc_BN_uadd; + _hc_DES_cbc_cksum; + _hc_DES_cbc_encrypt; + _hc_DES_cfb64_encrypt; + _hc_DES_ecb3_encrypt; + _hc_DES_ecb_encrypt; + _hc_DES_ede3_cbc_encrypt; + _hc_DES_encrypt; + _hc_DES_generate_random_block; + _hc_DES_init_random_number_generator; + _hc_DES_is_weak_key; + _hc_DES_key_sched; + _hc_DES_mem_rand8; + _hc_DES_new_random_key; + _hc_DES_pcbc_encrypt; + _hc_DES_rand_data; + _hc_DES_rand_data_key; + _hc_DES_random_key; + _hc_DES_read_password; + _hc_DES_set_key; + _hc_DES_set_key_checked; + _hc_DES_set_odd_parity; + _hc_DES_set_random_generator_seed; + _hc_DES_set_sequence_number; + _hc_DES_string_to_key; + _hc_DH_check_pubkey; + _hc_DH_compute_key; + _hc_DH_free; + _hc_DH_generate_key; + _hc_DH_generate_parameters_ex; + _hc_DH_get_default_method; + _hc_DH_get_ex_data; + _hc_DH_imath_method; + _hc_DH_new; + _hc_DH_new_method; + _hc_DH_null_method; + _hc_DH_set_default_method; + _hc_DH_set_ex_data; + _hc_DH_set_method; + _hc_DH_size; + _hc_DH_up_ref; + _hc_DSA_free; + _hc_DSA_get_default_method; + _hc_DSA_new; + _hc_DSA_null_method; + _hc_DSA_set_default_method; + _hc_DSA_up_ref; + _hc_DSA_verify; + _hc_ENGINE_add_conf_module; + _hc_ENGINE_by_dso; + _hc_ENGINE_by_id; + _hc_ENGINE_finish; + _hc_ENGINE_get_DH; + _hc_ENGINE_get_RAND; + _hc_ENGINE_get_RSA; + _hc_ENGINE_get_default_DH; + _hc_ENGINE_get_default_RSA; + _hc_ENGINE_get_id; + _hc_ENGINE_get_name; + _hc_ENGINE_load_builtin_engines; + _hc_ENGINE_set_DH; + _hc_ENGINE_set_RSA; + _hc_ENGINE_set_default_DH; + _hc_ENGINE_set_default_RSA; + _hc_ENGINE_set_destroy_function; + _hc_ENGINE_set_id; + _hc_ENGINE_set_name; + _hc_ENGINE_up_ref; + _hc_EVP_BytesToKey; + _hc_EVP_CIPHER_CTX_block_size; + _hc_EVP_CIPHER_CTX_cipher; + _hc_EVP_CIPHER_CTX_cleanup; + _hc_EVP_CIPHER_CTX_flags; + _hc_EVP_CIPHER_CTX_get_app_data; + _hc_EVP_CIPHER_CTX_init; + _hc_EVP_CIPHER_CTX_iv_length; + _hc_EVP_CIPHER_CTX_key_length; + _hc_EVP_CIPHER_CTX_mode; + _hc_EVP_CIPHER_CTX_set_app_data; + _hc_EVP_CIPHER_block_size; + _hc_EVP_CIPHER_iv_length; + _hc_EVP_CIPHER_key_length; + _hc_EVP_Cipher; + _hc_EVP_CipherInit_ex; + _hc_EVP_Digest; + _hc_EVP_DigestFinal_ex; + _hc_EVP_DigestInit_ex; + _hc_EVP_DigestUpdate; + _hc_EVP_MD_CTX_block_size; + _hc_EVP_MD_CTX_cleanup; + _hc_EVP_MD_CTX_cleanup; + _hc_EVP_MD_CTX_create; + _hc_EVP_MD_CTX_create; + _hc_EVP_MD_CTX_destroy; + _hc_EVP_MD_CTX_destroy; + _hc_EVP_MD_CTX_init; + _hc_EVP_MD_CTX_init; + _hc_EVP_MD_CTX_md; + _hc_EVP_MD_CTX_size; + _hc_EVP_MD_block_size; + _hc_EVP_MD_size; + _hc_EVP_aes_128_cbc; + _hc_EVP_aes_192_cbc; + _hc_EVP_aes_256_cbc; + _hc_EVP_des_ede3_cbc; + _hc_EVP_enc_null; + _hc_EVP_get_cipherbyname; + _hc_EVP_md2; + _hc_EVP_md4; + _hc_EVP_md5; + _hc_EVP_md_null; + _hc_EVP_rc2_40_cbc; + _hc_EVP_rc2_64_cbc; + _hc_EVP_rc2_cbc; + _hc_EVP_rc4; + _hc_EVP_rc4_40; + _hc_EVP_sha; + _hc_EVP_sha1; + _hc_EVP_sha256; + _hc_HMAC; + _hc_HMAC_CTX_cleanup; + _hc_HMAC_CTX_init; + _hc_HMAC_Final; + _hc_HMAC_Init_ex; + _hc_HMAC_Update; + _hc_HMAC_size; + _hc_MD2_Final; + _hc_MD2_Init; + _hc_MD2_Update; + _hc_MD4_Final; + _hc_MD4_Init; + _hc_MD4_Update; + _hc_MD5_Final; + _hc_MD5_Init; + _hc_MD5_Update; + _hc_OpenSSL_add_all_algorithms; + _hc_OpenSSL_add_all_algorithms_conf; + _hc_OpenSSL_add_all_algorithms_noconf; + _hc_PKCS12_key_gen; + _hc_PKCS5_PBKDF2_HMAC_SHA1; + _hc_RAND_add; + _hc_RAND_bytes; + _hc_RAND_cleanup; + _hc_RAND_egd; + _hc_RAND_egd_bytes; + _hc_RAND_egd_method; + _hc_RAND_file_name; + _hc_RAND_fortuna_method; + _hc_RAND_get_rand_method; + _hc_RAND_load_file; + _hc_RAND_pseudo_bytes; + _hc_RAND_seed; + _hc_RAND_set_rand_engine; + _hc_RAND_set_rand_method; + _hc_RAND_status; + _hc_RAND_unix_method; + _hc_RAND_write_file; + _hc_RC2_cbc_encrypt; + _hc_RC2_decryptc; + _hc_RC2_encryptc; + _hc_RC2_set_key; + _hc_RC4; + _hc_RC4_set_key; + _hc_RSA_check_key; + _hc_RSA_free; + _hc_RSA_generate_key_ex; + _hc_RSA_get_app_data; + _hc_RSA_get_default_method; + _hc_RSA_get_method; + _hc_RSA_imath_method; + _hc_RSA_new; + _hc_RSA_new_method; + _hc_RSA_null_method; + _hc_RSA_private_decrypt; + _hc_RSA_private_encrypt; + _hc_RSA_public_decrypt; + _hc_RSA_public_encrypt; + _hc_RSA_set_app_data; + _hc_RSA_set_default_method; + _hc_RSA_set_method; + _hc_RSA_sign; + _hc_RSA_size; + _hc_RSA_up_ref; + _hc_RSA_verify; + _hc_SHA1_Final; + _hc_SHA1_Init; + _hc_SHA1_Update; + _hc_SHA256_Final; + _hc_SHA256_Init; + _hc_SHA256_Update; + _hc_UI_UTIL_read_pw_string; + _hc_UI_UTIL_read_pw_string; + _hc_d2i_RSAPrivateKey; + _hc_i2d_RSAPrivateKey; + _hc_i2d_RSAPublicKey; + local: + *; +};