1# libgcrypt.vers - What symbols to export -*- std -*- 2# Copyright (C) 2002, 2004, 2008 Free Software Foundation, Inc. 3# 4# This file is part of Libgcrypt. 5# 6# Libgcrypt is free software; you can redistribute it and/or modify 7# it under the terms of the GNU Lesser general Public License as 8# published by the Free Software Foundation; either version 2.1 of 9# the License, or (at your option) any later version. 10# 11# Libgcrypt is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU Lesser General Public License for more details. 15# 16# You should have received a copy of the GNU Lesser General Public 17# License along with this program; if not, write to the Free Software 18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 19 20# NOTE: When adding new functions, please make sure to add them to 21# visibility.h and libgcrypt.def as well. 22 23GCRYPT_1.2 { 24 global: 25 gcry_check_version; gcry_control; 26 gcry_set_allocation_handler; gcry_set_fatalerror_handler; 27 gcry_set_gettext_handler; gcry_set_log_handler; 28 gcry_set_outofcore_handler; gcry_set_progress_handler; 29 30 gcry_err_code_from_errno; gcry_err_code_to_errno; 31 gcry_err_make_from_errno; gcry_error_from_errno; 32 gcry_strerror; gcry_strsource; 33 34 gcry_free; gcry_malloc; gcry_malloc_secure; gcry_calloc; 35 gcry_calloc_secure; gcry_realloc; gcry_strdup; gcry_is_secure; 36 gcry_xcalloc; gcry_xcalloc_secure; gcry_xmalloc; 37 gcry_xmalloc_secure; gcry_xrealloc; gcry_xstrdup; 38 39 gcry_md_algo_info; gcry_md_algo_name; gcry_md_close; 40 gcry_md_copy; gcry_md_ctl; gcry_md_enable; gcry_md_get; 41 gcry_md_get_algo; gcry_md_get_algo_dlen; gcry_md_hash_buffer; 42 gcry_md_info; gcry_md_is_enabled; gcry_md_is_secure; 43 gcry_md_list; gcry_md_map_name; gcry_md_open; gcry_md_read; 44 gcry_md_register; gcry_md_reset; gcry_md_setkey; 45 gcry_md_unregister; gcry_md_write; gcry_md_debug; 46 47 gcry_cipher_algo_info; gcry_cipher_algo_name; gcry_cipher_close; 48 gcry_cipher_ctl; gcry_cipher_decrypt; gcry_cipher_encrypt; 49 gcry_cipher_get_algo_blklen; gcry_cipher_get_algo_keylen; 50 gcry_cipher_info; gcry_cipher_list; gcry_cipher_map_name; 51 gcry_cipher_mode_from_oid; gcry_cipher_open; 52 gcry_cipher_register; gcry_cipher_unregister; 53 gcry_cipher_setkey; gcry_cipher_setiv; gcry_cipher_setctr; 54 55 gcry_pk_algo_info; gcry_pk_algo_name; gcry_pk_ctl; 56 gcry_pk_decrypt; gcry_pk_encrypt; gcry_pk_genkey; 57 gcry_pk_get_keygrip; gcry_pk_get_nbits; gcry_pk_list; 58 gcry_pk_map_name; gcry_pk_register; gcry_pk_sign; 59 gcry_pk_testkey; gcry_pk_unregister; gcry_pk_verify; 60 gcry_pk_get_curve; gcry_pk_get_param; 61 62 gcry_ac_data_new; gcry_ac_data_destroy; gcry_ac_data_copy; 63 gcry_ac_data_length; gcry_ac_data_clear; gcry_ac_data_set; 64 gcry_ac_data_get_name; gcry_ac_data_get_index; gcry_ac_open; 65 gcry_ac_close; gcry_ac_key_init; gcry_ac_key_pair_generate; 66 gcry_ac_key_pair_extract; gcry_ac_key_data_get; gcry_ac_key_test; 67 gcry_ac_key_get_nbits; gcry_ac_key_get_grip; gcry_ac_key_destroy; 68 gcry_ac_key_pair_destroy; gcry_ac_data_encrypt; gcry_ac_data_decrypt; 69 gcry_ac_data_sign; gcry_ac_data_verify; gcry_ac_id_to_name; 70 gcry_ac_name_to_id; gcry_ac_list; gcry_ac_data_encode; 71 gcry_ac_data_decode; gcry_ac_mpi_to_os; gcry_ac_mpi_to_os_alloc; 72 gcry_ac_os_to_mpi; gcry_ac_data_encrypt_scheme; 73 gcry_ac_data_decrypt_scheme; 74 gcry_ac_data_sign_scheme; gcry_ac_data_verify_scheme; 75 gcry_ac_data_to_sexp; gcry_ac_data_from_sexp; 76 gcry_ac_io_init; gcry_ac_io_init_va; 77 78 gcry_kdf_derive; 79 80 gcry_prime_check; gcry_prime_generate; 81 gcry_prime_group_generator; gcry_prime_release_factors; 82 83 gcry_random_add_bytes; gcry_random_bytes; gcry_random_bytes_secure; 84 gcry_randomize; gcry_create_nonce; 85 86 gcry_sexp_alist; gcry_sexp_append; gcry_sexp_build; 87 gcry_sexp_build_array; gcry_sexp_cadr; gcry_sexp_canon_len; 88 gcry_sexp_car; gcry_sexp_cdr; gcry_sexp_cons; gcry_sexp_create; 89 gcry_sexp_dump; gcry_sexp_find_token; gcry_sexp_length; 90 gcry_sexp_new; gcry_sexp_nth; gcry_sexp_nth_data; 91 gcry_sexp_nth_mpi; gcry_sexp_prepend; gcry_sexp_release; 92 gcry_sexp_sprint; gcry_sexp_sscan; gcry_sexp_vlist; 93 gcry_sexp_nth_string; 94 95 gcry_mpi_add; gcry_mpi_add_ui; gcry_mpi_addm; gcry_mpi_aprint; 96 gcry_mpi_clear_bit; gcry_mpi_clear_flag; gcry_mpi_clear_highbit; 97 gcry_mpi_cmp; gcry_mpi_cmp_ui; gcry_mpi_copy; gcry_mpi_div; 98 gcry_mpi_dump; gcry_mpi_gcd; gcry_mpi_get_flag; gcry_mpi_get_nbits; 99 gcry_mpi_get_opaque; gcry_mpi_invm; gcry_mpi_mod; gcry_mpi_mul; 100 gcry_mpi_mul_2exp; gcry_mpi_mul_ui; gcry_mpi_mulm; gcry_mpi_new; 101 gcry_mpi_powm; gcry_mpi_print; gcry_mpi_randomize; gcry_mpi_release; 102 gcry_mpi_rshift; gcry_mpi_scan; gcry_mpi_set; gcry_mpi_set_bit; 103 gcry_mpi_set_flag; gcry_mpi_set_highbit; gcry_mpi_set_opaque; 104 gcry_mpi_set_ui; gcry_mpi_snew; gcry_mpi_sub; gcry_mpi_sub_ui; 105 gcry_mpi_subm; gcry_mpi_swap; gcry_mpi_test_bit; 106 gcry_mpi_lshift; 107 108 local: 109 *; 110 111}; 112