summaryrefslogtreecommitdiffstats
path: root/upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl')
-rw-r--r--upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl16
1 files changed, 15 insertions, 1 deletions
diff --git a/upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl b/upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl
index 612e0329..692fbe71 100644
--- a/upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl
+++ b/upstream/debian-unstable/man7/EVP_CIPHER-SM4.7ssl
@@ -55,7 +55,7 @@
.\" ========================================================================
.\"
.IX Title "EVP_CIPHER-SM4 7SSL"
-.TH EVP_CIPHER-SM4 7SSL 2024-02-03 3.1.5 OpenSSL
+.TH EVP_CIPHER-SM4 7SSL 2024-04-04 3.2.2-dev OpenSSL
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -79,11 +79,25 @@ The following algorithms are available in the default provider:
.IX Item """SM4-OFB"" or ""SM4-OFB128"""
.IP """SM4\-CFB"" or ""SM4\-CFB128""" 4
.IX Item """SM4-CFB"" or ""SM4-CFB128"""
+.IP """SM4\-GCM""" 4
+.IX Item """SM4-GCM"""
+.IP """SM4\-CCM""" 4
+.IX Item """SM4-CCM"""
+.IP """SM4\-XTS""" 4
+.IX Item """SM4-XTS"""
.PD
.SS Parameters
.IX Subsection "Parameters"
This implementation supports the parameters described in
"PARAMETERS" in \fBEVP_EncryptInit\fR\|(3).
+.SH NOTES
+.IX Header "NOTES"
+The SM4\-XTS implementation allows streaming to be performed, but each
+\&\fBEVP_EncryptUpdate\fR\|(3) or \fBEVP_DecryptUpdate\fR\|(3) call requires each input
+to be a multiple of the blocksize. Only the final \fBEVP_EncryptUpdate()\fR or
+\&\fBEVP_DecryptUpdate()\fR call can optionally have an input that is not a multiple
+of the blocksize but is larger than one block. In that case ciphertext
+stealing (CTS) is used to fill the block.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fBprovider\-cipher\fR\|(7), \fBOSSL_PROVIDER\-default\fR\|(7)