~ubuntu-branches/ubuntu/raring/gnupg2/raring-proposed

« back to all changes in this revision

Viewing changes to scd/iso7816.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-08-23 20:48:11 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20090823204811-cajik24rci4xszia
Tags: 2.0.12-1
* New upstream release. (Closes: #499569, #463270, #446494, #314068, 
  #519375, #514587)
* debian/control: Change build dependency on gs to ghoscript, since
  ghoscript has been replaced.
* debian/compat: Use debhelper v7.
* debian/control: Update Standards-Version to 3.8.2.
* debian/control: Use ${misc:Depends}.
* configure.ac: Override pkgdatadir so that it points to
  /usr/share/gnupg2. (Closes: #528734)
* debian/rules: No longer need to specify pkgdatadir at make install
  time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * You should have received a copy of the GNU General Public License
17
17
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18
18
 *
19
 
 * $Id: iso7816.h 4912 2009-01-08 19:56:30Z wk $
 
19
 * $Id: iso7816.h 5043 2009-06-17 09:45:50Z wk $
20
20
 */
21
21
 
22
22
#ifndef ISO7816_H
84
84
gpg_error_t iso7816_reset_retry_counter_with_rc (int slot, int chvno,
85
85
                                                 const char *data,
86
86
                                                 size_t datalen);
87
 
gpg_error_t iso7816_get_data (int slot, int tag,
 
87
gpg_error_t iso7816_get_data (int slot, int extended_mode, int tag,
88
88
                              unsigned char **result, size_t *resultlen);
89
89
gpg_error_t iso7816_put_data (int slot, int extended_mode, int tag,
90
90
                              const unsigned char *data, size_t datalen);
96
96
gpg_error_t iso7816_compute_ds (int slot,
97
97
                                const unsigned char *data, size_t datalen,
98
98
                                unsigned char **result, size_t *resultlen);
99
 
gpg_error_t iso7816_decipher (int slot,
 
99
gpg_error_t iso7816_decipher (int slot, int extended_mode,
100
100
                              const unsigned char *data, size_t datalen,
101
101
                              int padind,
102
102
                              unsigned char **result, size_t *resultlen);
103
103
gpg_error_t iso7816_internal_authenticate (int slot,
104
104
                                   const unsigned char *data, size_t datalen,
105
105
                                   unsigned char **result, size_t *resultlen);
106
 
gpg_error_t iso7816_generate_keypair (int slot,
107
 
                                   const unsigned char *data, size_t datalen,
108
 
                                   unsigned char **result, size_t *resultlen);
109
 
gpg_error_t iso7816_read_public_key (int slot,
110
 
                                   const unsigned char *data, size_t datalen,
111
 
                                   unsigned char **result, size_t *resultlen);
 
106
gpg_error_t iso7816_generate_keypair (int slot, int extended_mode,
 
107
                                    const unsigned char *data, size_t datalen,
 
108
                                    int le,
 
109
                                    unsigned char **result, size_t *resultlen);
 
110
gpg_error_t iso7816_read_public_key (int slot, int extended_mode,
 
111
                                    const unsigned char *data, size_t datalen,
 
112
                                    int le,
 
113
                                    unsigned char **result, size_t *resultlen);
112
114
gpg_error_t iso7816_get_challenge (int slot,
113
115
                                   int length, unsigned char *buffer);
114
116