diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 06:06:16 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 06:06:16 +0200 |
commit | f90894ca4a2f56c42b787504e59421b89030c75e (patch) | |
tree | 912392aa002babcafa3b54266f85e203e89d6990 /crypto.4 | |
parent | 7f6e65351ae2c214f28496609103711773721ca5 (diff) | |
parent | 5d586cad2979ad279e9a7f0985d008e5d649bbc5 (diff) | |
download | cryptodev-linux-f90894ca4a2f56c42b787504e59421b89030c75e.tar.gz cryptodev-linux-f90894ca4a2f56c42b787504e59421b89030c75e.tar.xz cryptodev-linux-f90894ca4a2f56c42b787504e59421b89030c75e.zip |
Merge branch 'clone-session'
Conflicts:
cryptodev_int.h
ncr-sessions.c
Diffstat (limited to 'crypto.4')
-rw-r--r-- | crypto.4 | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -520,13 +520,18 @@ The following input attributes are recognized: .RS .IP \fBNCR_ATTR_ALGORITHM\fP -Mandatory. +Mandatory unless +.B NCR_ATTR_SESSION_CLONE_FROM +is provided. .IP \fBNCR_ATTR_IV\fP Mandatory for some operations and algorithms. .IP \fBNCR_ATTR_KEY\fP Mandatory for some operations and algorithms. An 32-bit unsigned integer in native byte order specifying the key to use for the operation. +If +.B NCR_ATTR_SESSION_CLONE_FROM +is provided, the key from the original session is used. .IP \fBNCR_ATTR_RSA_ENCODING_METHOD\fP Mandatory for RSA. An 32-bit unsigned integer in native byte order @@ -543,6 +548,10 @@ For RSA with \fBRSA_PKCS1_PSS\fP. An 32-bit unsigned integer in native byte order specifying the PSS salt length. Optional, defaults to 0. +.IP \fBNCR_ATTR_SESSION_CLONE_FROM\fP +Optional, a 32-bit unsigned integer in native byte order +specifying session state to clone. +Only supported for some operations and algorithms. .IP \fBNCR_ATTR_SIGNATURE_HASH_ALGORITHM\fP Mandatory for some operations and algorithms. A NUL-terminated string specifying a hash algorithm underlying a signature, |