]> git.ipfire.org Git - thirdparty/openssl.git/blob - doc/man7/EVP_CIPHER-SM4.pod
Added a macro OSSL_DISPATCH_END as marker of the end of OSSL_DISPATCH arrays
[thirdparty/openssl.git] / doc / man7 / EVP_CIPHER-SM4.pod
1 =pod
2
3 =head1 NAME
4
5 EVP_CIPHER-SM4 - The SM4 EVP_CIPHER implementations
6
7 =head1 DESCRIPTION
8
9 Support for SM4 symmetric encryption using the B<EVP_CIPHER> API.
10
11 =head2 Algorithm Names
12
13 The following algorithms are available in the default provider:
14
15 =over 4
16
17 =item "SM4-CBC:SM4"
18
19 =item "SM4-ECB"
20
21 =item "SM4-CTR"
22
23 =item "SM4-OFB" or "SM4-OFB128"
24
25 =item "SM4-CFB" or "SM4-CFB128"
26
27 =item "SM4-GCM"
28
29 =item "SM4-CCM"
30
31 =item "SM4-XTS"
32
33 =back
34
35 =head2 Parameters
36
37 This implementation supports the parameters described in
38 L<EVP_EncryptInit(3)/PARAMETERS>.
39
40 =head1 SEE ALSO
41
42 L<provider-cipher(7)>, L<OSSL_PROVIDER-default(7)>
43
44 =head1 COPYRIGHT
45
46 Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
47
48 Licensed under the Apache License 2.0 (the "License"). You may not use
49 this file except in compliance with the License. You can obtain a copy
50 in the file LICENSE in the source distribution or at
51 L<https://www.openssl.org/source/license.html>.
52
53 =cut