diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 05:20:11 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 06:04:02 +0200 |
commit | 56895fcb6ada286ee95df0e49076f2785c45a0db (patch) | |
tree | eaf78f5b0c1310ddc053e7a47bb2a41001d5e44e /crypto.4 | |
parent | db7c441175942d3b3c3e6321a9a16dc7e83b747c (diff) | |
download | kernel-crypto-56895fcb6ada286ee95df0e49076f2785c45a0db.tar.gz kernel-crypto-56895fcb6ada286ee95df0e49076f2785c45a0db.tar.xz kernel-crypto-56895fcb6ada286ee95df0e49076f2785c45a0db.zip |
Implement cloning hash sessions
Diffstat (limited to 'crypto.4')
-rw-r--r-- | crypto.4 | 10 |
1 files changed, 7 insertions, 3 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 @@ -546,8 +551,7 @@ 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; -specifically intended for cloning hashing sessions. +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, |