diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-10-27 18:12:02 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-10-29 19:52:25 +0200 |
commit | 79adc0a7a1c8a1817b8aea1545fd9559314f4450 (patch) | |
tree | e1bad362f63b194ebad5a8844f6395fb027f2893 /include/ncrypto/ncrypto.h | |
parent | 8f1254b8085ba2b189457e8f04abf19b5027f6a5 (diff) | |
download | ncrypto-79adc0a7a1c8a1817b8aea1545fd9559314f4450.tar.gz ncrypto-79adc0a7a1c8a1817b8aea1545fd9559314f4450.tar.xz ncrypto-79adc0a7a1c8a1817b8aea1545fd9559314f4450.zip |
Add digest session cloning
Diffstat (limited to 'include/ncrypto/ncrypto.h')
-rw-r--r-- | include/ncrypto/ncrypto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h index f82cf0e..367ffed 100644 --- a/include/ncrypto/ncrypto.h +++ b/include/ncrypto/ncrypto.h @@ -124,6 +124,8 @@ struct ncr_digest_session; CK_RV ncr_digest_alloc (struct ncr_digest_session **sess, CK_MECHANISM_TYPE mech); CK_RV ncr_digest_free (struct ncr_digest_session *sess); +CK_RV ncr_digest_clone (struct ncr_digest_session **clone, + struct ncr_digest_session *sess); /* Use either ncr_digest_{init,update*,final} (), or ncr_{digest_init,digest} (). After finishing such a call sequence, a new sequence can be started within the same session. */ |