mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-09 23:43:41 +08:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # README.md
This commit is contained in:
@@ -25,7 +25,7 @@ encrypted using this key.
|
||||
|
||||
EVP_SealInit() initializes a cipher context B<ctx> for encryption
|
||||
with cipher B<type> using a random secret key and IV. B<type> is normally
|
||||
supplied by a function such as EVP_des_cbc(). The secret key is encrypted
|
||||
supplied by a function such as EVP_aes_256_cbc(). The secret key is encrypted
|
||||
using one or more public keys, this allows the same encrypted data to be
|
||||
decrypted using any of the corresponding private keys. B<ek> is an array of
|
||||
buffers where the public key encrypted secret key will be written, each buffer
|
||||
@@ -42,9 +42,9 @@ If the cipher does not require an IV then the B<iv> parameter is ignored
|
||||
and can be B<NULL>.
|
||||
|
||||
EVP_SealUpdate() and EVP_SealFinal() have exactly the same properties
|
||||
as the EVP_EncryptUpdate() and EVP_EncryptFinal() routines, as
|
||||
documented on the L<EVP_EncryptInit(3)|EVP_EncryptInit(3)> manual
|
||||
page.
|
||||
as the EVP_EncryptUpdate() and EVP_EncryptFinal() routines, as
|
||||
documented on the L<EVP_EncryptInit(3)> manual
|
||||
page.
|
||||
|
||||
=head1 RETURN VALUES
|
||||
|
||||
@@ -74,12 +74,17 @@ with B<type> set to NULL.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
L<evp(3)|evp(3)>, L<rand(3)|rand(3)>,
|
||||
L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>,
|
||||
L<EVP_OpenInit(3)|EVP_OpenInit(3)>
|
||||
L<evp(3)>, L<rand(3)>,
|
||||
L<EVP_EncryptInit(3)>,
|
||||
L<EVP_OpenInit(3)>
|
||||
|
||||
=head1 HISTORY
|
||||
=head1 COPYRIGHT
|
||||
|
||||
EVP_SealFinal() did not return a value before OpenSSL 0.9.7.
|
||||
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
|
||||
|
||||
Licensed under the OpenSSL license (the "License"). You may not use
|
||||
this file except in compliance with the License. You can obtain a copy
|
||||
in the file LICENSE in the source distribution or at
|
||||
L<https://www.openssl.org/source/license.html>.
|
||||
|
||||
=cut
|
||||
|
||||
Reference in New Issue
Block a user