We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2462e43 commit e2f9c2dCopy full SHA for e2f9c2d
doc/man7/EVP_CIPHER-SM4.pod
@@ -37,6 +37,15 @@ The following algorithms are available in the default provider:
37
This implementation supports the parameters described in
38
L<EVP_EncryptInit(3)/PARAMETERS>.
39
40
+=head1 NOTES
41
+
42
+The SM4-XTS implementation allows streaming to be performed, but each
43
+L<EVP_EncryptUpdate(3)> or L<EVP_DecryptUpdate(3)> call requires each input
44
+to be a multiple of the blocksize. Only the final EVP_EncryptUpdate() or
45
+EVP_DecryptUpdate() call can optionally have an input that is not a multiple
46
+of the blocksize but is larger than one block. In that case ciphertext
47
+stealing (CTS) is used to fill the block.
48
49
=head1 SEE ALSO
50
51
L<provider-cipher(7)>, L<OSSL_PROVIDER-default(7)>
0 commit comments