From 56895fcb6ada286ee95df0e49076f2785c45a0db Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Wed, 25 Aug 2010 05:20:11 +0200 Subject: Implement cloning hash sessions --- crypto.4 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'crypto.4') diff --git a/crypto.4 b/crypto.4 index 04d952e..c1b39e1 100644 --- a/crypto.4 +++ b/crypto.4 @@ -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, -- cgit