GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EVP_SM4_CBC(3) FreeBSD Library Functions Manual EVP_SM4_CBC(3)

EVP_sm4_cbc, EVP_sm4_ecb, EVP_sm4_cfb, EVP_sm4_cfb128, EVP_sm4_ofb, EVP_sm4_ctrEVP SM4 cipher

#include <openssl/evp.h>

const EVP_CIPHER *
EVP_sm4_cbc(void);

const EVP_CIPHER *
EVP_sm4_ecb(void);

const EVP_CIPHER *
EVP_sm4_cfb(void);

const EVP_CIPHER *
EVP_sm4_cfb128(void);

const EVP_CIPHER *
EVP_sm4_ofb(void);

const EVP_CIPHER *
EVP_sm4_ctr(void);

These functions provide the SM4 blockcipher in the evp(3) framework.

All modes use a key length of 128 bits and act on blocks of 128 bits.

() is an alias for (), implemented as a macro.

With an argument of "sm4" or "SM4", EVP_get_cipherbyname(3) returns ().

These functions return an EVP_CIPHER structure that provides the implementation of the symmetric cipher.

evp(3), EVP_EncryptInit(3)

Information security technology - SM4 block cipher algorithm, National Standards of People's Republic of China, GB/T 32907-2016, August 29, 2016.

These functions appeared in OpenSSL 1.1.1 and have been available since OpenBSD 6.5.

November 16, 2023 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.