xref: /freebsd/crypto/openssl/doc/man7/EVP_CIPHER-SM4.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1*b077aed3SPierre Pronchery=pod
2*b077aed3SPierre Pronchery
3*b077aed3SPierre Pronchery=head1 NAME
4*b077aed3SPierre Pronchery
5*b077aed3SPierre ProncheryEVP_CIPHER-SM4 - The SM4 EVP_CIPHER implementations
6*b077aed3SPierre Pronchery
7*b077aed3SPierre Pronchery=head1 DESCRIPTION
8*b077aed3SPierre Pronchery
9*b077aed3SPierre ProncherySupport for SM4 symmetric encryption using the B<EVP_CIPHER> API.
10*b077aed3SPierre Pronchery
11*b077aed3SPierre Pronchery=head2 Algorithm Names
12*b077aed3SPierre Pronchery
13*b077aed3SPierre ProncheryThe following algorithms are available in the default provider:
14*b077aed3SPierre Pronchery
15*b077aed3SPierre Pronchery=over 4
16*b077aed3SPierre Pronchery
17*b077aed3SPierre Pronchery=item "SM4-CBC:SM4"
18*b077aed3SPierre Pronchery
19*b077aed3SPierre Pronchery=item "SM4-ECB"
20*b077aed3SPierre Pronchery
21*b077aed3SPierre Pronchery=item "SM4-CTR"
22*b077aed3SPierre Pronchery
23*b077aed3SPierre Pronchery=item "SM4-OFB" or "SM4-OFB128"
24*b077aed3SPierre Pronchery
25*b077aed3SPierre Pronchery=item "SM4-CFB" or "SM4-CFB128"
26*b077aed3SPierre Pronchery
27*b077aed3SPierre Pronchery=back
28*b077aed3SPierre Pronchery
29*b077aed3SPierre Pronchery=head2 Parameters
30*b077aed3SPierre Pronchery
31*b077aed3SPierre ProncheryThis implementation supports the parameters described in
32*b077aed3SPierre ProncheryL<EVP_EncryptInit(3)/PARAMETERS>.
33*b077aed3SPierre Pronchery
34*b077aed3SPierre Pronchery=head1 SEE ALSO
35*b077aed3SPierre Pronchery
36*b077aed3SPierre ProncheryL<provider-cipher(7)>, L<OSSL_PROVIDER-default(7)>
37*b077aed3SPierre Pronchery
38*b077aed3SPierre Pronchery=head1 COPYRIGHT
39*b077aed3SPierre Pronchery
40*b077aed3SPierre ProncheryCopyright 2021 The OpenSSL Project Authors. All Rights Reserved.
41*b077aed3SPierre Pronchery
42*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
43*b077aed3SPierre Proncherythis file except in compliance with the License.  You can obtain a copy
44*b077aed3SPierre Proncheryin the file LICENSE in the source distribution or at
45*b077aed3SPierre ProncheryL<https://www.openssl.org/source/license.html>.
46*b077aed3SPierre Pronchery
47*b077aed3SPierre Pronchery=cut
48