summaryrefslogtreecommitdiffstats
path: root/scd/iso7816.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2004-01-28 17:21:57 +0100
committerWerner Koch <wk@gnupg.org>2004-01-28 17:21:57 +0100
commit97958029f67eee3f87ad6da48afc3ac73cbbe27f (patch)
treeaea4dcb820019a89833b2bae65378bb549658f07 /scd/iso7816.h
parent(gpgsm_validate_chain): Changed the message printed (diff)
downloadgnupg2-97958029f67eee3f87ad6da48afc3ac73cbbe27f.tar.xz
gnupg2-97958029f67eee3f87ad6da48afc3ac73cbbe27f.zip
(iso7816_manage_security_env): New.
(iso7816_decipher): Add PADIND argument. ** app-nks.c is now functional **
Diffstat (limited to 'scd/iso7816.h')
-rw-r--r--scd/iso7816.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scd/iso7816.h b/scd/iso7816.h
index 98e688693..937326b6d 100644
--- a/scd/iso7816.h
+++ b/scd/iso7816.h
@@ -42,11 +42,15 @@ gpg_error_t iso7816_get_data (int slot, int tag,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_put_data (int slot, int tag,
const unsigned char *data, size_t datalen);
+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,
const unsigned char *data, size_t datalen,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_decipher (int slot,
const unsigned char *data, size_t datalen,
+ int padind,
unsigned char **result, size_t *resultlen);
gpg_error_t iso7816_internal_authenticate (int slot,
const unsigned char *data, size_t datalen,