14 #include <openssl/evp.h>
16 const EVP_CIPHER *EVP_sm4_cbc(void)
17 const EVP_CIPHER *EVP_sm4_ecb(void)
18 const EVP_CIPHER *EVP_sm4_cfb(void)
19 const EVP_CIPHER *EVP_sm4_ofb(void)
20 const EVP_CIPHER *EVP_sm4_ctr(void)
24 The SM4 blockcipher (GB/T 32907-2016) for EVP.
26 All modes below use a key length of 128 bits and acts on blocks of 128 bits.
36 The SM4 blockcipher with a 128-bit key in CBC, ECB, CFB, OFB and CTR modes
43 These functions return a B<EVP_CIPHER> structure that contains the
44 implementation of the symmetric cipher. See L<EVP_CIPHER_meth_new(3)> for
45 details of the B<EVP_CIPHER> structure.
50 L<EVP_EncryptInit(3)>,
51 L<EVP_CIPHER_meth_new(3)>
55 Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
56 Copyright 2017 Ribose Inc. All Rights Reserved.
58 Licensed under the OpenSSL license (the "License"). You may not use
59 this file except in compliance with the License. You can obtain a copy
60 in the file LICENSE in the source distribution or at
61 L<https://www.openssl.org/source/license.html>.