summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-11-15 21:39:53 +0100
committerMiloslav Trmač <mitr@redhat.com>2010-11-15 21:39:53 +0100
commitdb7e58431d8e3265783e03eec1c05e7dfb6e34c7 (patch)
treea123d9742aff2f8e8105ab9217f82cba722b4a1f /include
parent3f6e9d21e4b7bf5097ee112b452fcd3acb071b0a (diff)
parent867c1257c40d8b6c2a887576f8c367bcf3df3c79 (diff)
Merge branch 'local', port IV change to AF_ALG
Conflicts: lib/ncrypto_local.c
Diffstat (limited to 'include')
-rw-r--r--include/ncrypto/ncrypto.h2
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