aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-07-10 10:15:33 +0000
committerWerner Koch <[email protected]>2009-07-10 10:15:33 +0000
commit96abdb1386284da07a7fe129b79d08890949d2ed (patch)
treecd4b233459c2fc39cafcee035161a6e7fc6bf7d7 /scd/iso7816.h
parentSupport writing of existing keys with non-matching key sizes. (diff)
downloadgnupg-96abdb1386284da07a7fe129b79d08890949d2ed.tar.gz
gnupg-96abdb1386284da07a7fe129b79d08890949d2ed.zip
Fix for card keys > 2048 bit.
Diffstat (limited to 'scd/iso7816.h')
-rw-r--r--scd/iso7816.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/scd/iso7816.h b/scd/iso7816.h
index d3deda13d..4e7a344ab 100644
--- a/scd/iso7816.h
+++ b/scd/iso7816.h
@@ -93,15 +93,17 @@ gpg_error_t iso7816_put_data_odd (int slot, int extended_mode, int tag,
gpg_error_t iso7816_manage_security_env (int slot, int p1, int p2,
const unsigned char *data,
size_t datalen);
-gpg_error_t iso7816_compute_ds (int slot,
+gpg_error_t iso7816_compute_ds (int slot, int extended_mode,
const unsigned char *data, size_t datalen,
+ int le,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_decipher (int slot, int extended_mode,
const unsigned char *data, size_t datalen,
int padind,
unsigned char **result, size_t *resultlen);
-gpg_error_t iso7816_internal_authenticate (int slot,
+gpg_error_t iso7816_internal_authenticate (int slot, int extended_mode,
const unsigned char *data, size_t datalen,
+ int le,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_generate_keypair (int slot, int extended_mode,
const unsigned char *data, size_t datalen,