summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/EVP_SignInit.pod
diff options
context:
space:
mode:
authorbeck <>2000-12-15 02:58:47 +0000
committerbeck <>2000-12-15 02:58:47 +0000
commit9200bb13d15da4b2a23e6bc92c20e95b74aa2113 (patch)
tree5c52d628ec1e34be76e7ef2a4235d248b7c44d24 /src/lib/libcrypto/doc/EVP_SignInit.pod
parente131d25072e3d4197ba4b9bcc0d1b27d34d6488d (diff)
downloadopenbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.gz
openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.tar.bz2
openbsd-9200bb13d15da4b2a23e6bc92c20e95b74aa2113.zip
openssl-engine-0.9.6 merge
Diffstat (limited to 'src/lib/libcrypto/doc/EVP_SignInit.pod')
-rw-r--r--src/lib/libcrypto/doc/EVP_SignInit.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/doc/EVP_SignInit.pod b/src/lib/libcrypto/doc/EVP_SignInit.pod
index 1167cefb45..d5ce245ecd 100644
--- a/src/lib/libcrypto/doc/EVP_SignInit.pod
+++ b/src/lib/libcrypto/doc/EVP_SignInit.pod
@@ -19,12 +19,12 @@ EVP_SignInit, EVP_SignUpdate, EVP_SignFinal - EVP signing functions
19The EVP signature routines are a high level interface to digital 19The EVP signature routines are a high level interface to digital
20signatures. 20signatures.
21 21
22EVP_SignInit() initialises a signing context B<ctx> to using digest 22EVP_SignInit() initializes a signing context B<ctx> to using digest
23B<type>: this will typically be supplied by a function such as 23B<type>: this will typically be supplied by a function such as
24EVP_sha1(). 24EVP_sha1().
25 25
26EVP_SignUpdate() hashes B<cnt> bytes of data at B<d> into the 26EVP_SignUpdate() hashes B<cnt> bytes of data at B<d> into the
27signature context B<ctx>. This funtion can be called several times on the 27signature context B<ctx>. This function can be called several times on the
28same B<ctx> to include additional data. 28same B<ctx> to include additional data.
29 29
30EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey> 30EVP_SignFinal() signs the data in B<ctx> using the private key B<pkey>
@@ -32,7 +32,7 @@ and places the signature in B<sig>. If the B<s> parameter is not NULL
32then the number of bytes of data written (i.e. the length of the signature) 32then the number of bytes of data written (i.e. the length of the signature)
33will be written to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes 33will be written to the integer at B<s>, at most EVP_PKEY_size(pkey) bytes
34will be written. After calling EVP_SignFinal() no additional calls to 34will be written. After calling EVP_SignFinal() no additional calls to
35EVP_SignUpdate() can be made, but EVP_SignInit() can be called to initialiase 35EVP_SignUpdate() can be made, but EVP_SignInit() can be called to initialize
36a new signature operation. 36a new signature operation.
37 37
38EVP_PKEY_size() returns the maximum size of a signature in bytes. The actual 38EVP_PKEY_size() returns the maximum size of a signature in bytes. The actual