diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-11-15 21:19:21 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-11-15 21:19:21 +0100 |
commit | 9d339f288eda10e5334bbf4ccdfd068eaee95c0e (patch) | |
tree | b8816403c73a6bd0109631b54d563448bc52dd8c /include/ncrypto/ncrypto.h | |
parent | 52c69fc0152b6d63644bbdab8aa5b07892255436 (diff) | |
download | ncrypto-9d339f288eda10e5334bbf4ccdfd068eaee95c0e.tar.gz ncrypto-9d339f288eda10e5334bbf4ccdfd068eaee95c0e.tar.xz ncrypto-9d339f288eda10e5334bbf4ccdfd068eaee95c0e.zip |
Add ncr_symm_cipher_change_iv
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 024d5a7..a09d451 100644 --- a/include/ncrypto/ncrypto.h +++ b/include/ncrypto/ncrypto.h @@ -158,6 +158,8 @@ struct ncr_symm_cipher_session; CK_RV ncr_symm_cipher_alloc (struct ncr_symm_cipher_session **sess, CK_MECHANISM_TYPE mech); CK_RV ncr_symm_cipher_free (struct ncr_symm_cipher_session *sess); +CK_RV ncr_symm_cipher_change_iv (struct ncr_symm_cipher_session *sess, + const void *iv, size_t iv_size); /* Use either ncr_symm_cipher_encrypt_{init,update,final} (), or ncr_symm_cipher_{encrypt_init,encrypt} (). After finishing such a call sequence, a new sequence can be started within the same session. Same for |