Structs§
- SM2_
CIPHERTEXT - SM2_
JACOBIAN_ POINT - SM2_KEY
- SM2_
POINT - SM2_
SIGNATURE - SM2_
SIGN_ CTX - SM3_CTX
- SM3_
HMAC_ CTX - SM3_
KDF_ CTX - SM4_
CBC_ CTX - SM4_
CTR_ CTX - SM4_KEY
- SM9_
ENC_ KEY - SM9_
ENC_ MASTER_ KEY - SM9_
POINT - SM9_
SIGNATURE - SM9_
SIGN_ CTX - SM9_
SIGN_ KEY - SM9_
SIGN_ MASTER_ KEY - SM9_
TWIST_ POINT - _IO_
FILE - _IO_
codecvt - _IO_
marker - _IO_
wide_ data
Constants§
- DEBUG
- FMT_
CARRAY - GMSSL_
FMT_ BIN - GMSSL_
FMT_ DER - GMSSL_
FMT_ HEX - GMSSL_
FMT_ PEM - PEM_
SM9_ ENC_ MASTER_ KEY - PEM_
SM9_ ENC_ MASTER_ PUBLIC_ KEY - PEM_
SM9_ ENC_ PRIVATE_ KEY - PEM_
SM9_ SIGN_ MASTER_ KEY - PEM_
SM9_ SIGN_ MASTER_ PUBLIC_ KEY - PEM_
SM9_ SIGN_ PRIVATE_ KEY - PKCS8_
private_ key_ info_ version - SM2_
DEFAULT_ ID - SM2_
MAX_ CIPHERTEXT_ SIZE - SM2_
MAX_ ID_ BITS - SM2_
MAX_ ID_ LENGTH - SM2_
MAX_ PLAINTEXT_ SIZE - SM2_
MAX_ SIGNATURE_ SIZE - SM2_
MIN_ CIPHERTEXT_ SIZE - SM2_
MIN_ PLAINTEXT_ SIZE - SM2_
MIN_ SIGNATURE_ SIZE - SM2_
POINT_ MAX_ SIZE - SM2_
PRIVATE_ KEY_ BUF_ SIZE - SM2_
PRIVATE_ KEY_ DEFAULT_ SIZE - SM2_
ciphertext_ compact_ point_ size - SM2_
ciphertext_ max_ point_ size - SM2_
ciphertext_ typical_ point_ size - SM2_
signature_ compact_ size - SM2_
signature_ max_ size - SM2_
signature_ typical_ size - SM3_
BLOCK_ SIZE - SM3_
DIGEST_ SIZE - SM3_
HMAC_ SIZE - SM3_
IS_ BIG_ ENDIAN - SM3_
STATE_ WORDS - SM4_
BLOCK_ SIZE - SM4_
GCM_ IV_ DEFAULT_ BITS - SM4_
GCM_ IV_ DEFAULT_ SIZE - SM4_
GCM_ IV_ MIN_ SIZE - SM4_
GCM_ MAX_ TAG_ SIZE - SM4_
GCM_ MIN_ AAD_ SIZE - SM4_
GCM_ MIN_ PLAINTEXT_ SIZE - SM4_
KEY_ SIZE - SM4_
NUM_ ROUNDS - SM9_
ENC_ KEY_ SIZE - SM9_
ENC_ MASTER_ KEY_ MAX_ SIZE - SM9_
ENC_ MASTER_ PUBLIC_ KEY_ SIZE - SM9_
HASH1_ PREFIX - SM9_
HASH2_ PREFIX - SM9_
HEX_ SEP - SM9_
HID_ ENC - SM9_
HID_ EXCH - SM9_
HID_ SIGN - SM9_
MAX_ CIPHERTEXT_ SIZE - SM9_
MAX_ ENCED_ PRIVATE_ KEY_ INFO_ SIZE - SM9_
MAX_ PLAINTEXT_ SIZE - SM9_
MAX_ PRIVATE_ KEY_ INFO_ SIZE - SM9_
MAX_ PRIVATE_ KEY_ SIZE - SM9_
SIGNATURE_ SIZE - SM9_
SIGN_ KEY_ SIZE - SM9_
SIGN_ MASTER_ KEY_ MAX_ SIZE - SM9_
SIGN_ MASTER_ PUBLIC_ KEY_ SIZE
Statics§
Functions§
- format_
bytes ⚠ - format_
print ⚠ - format_
string ⚠ - gmssl_
memxor ⚠ - gmssl_
secure_ ⚠clear - gmssl_
secure_ ⚠memcmp - mem_
is_ ⚠zero - memxor⚠
- print_
bytes ⚠ - print_
der ⚠ - print_
nodes ⚠ - rand_
bytes ⚠ - sm2_
bn_ ⚠add - sm2_
bn_ ⚠cmp - sm2_
bn_ ⚠equ_ hex - sm2_
bn_ ⚠from_ asn1_ integer - sm2_
bn_ ⚠from_ bytes - sm2_
bn_ ⚠from_ hex - sm2_
bn_ ⚠is_ odd - sm2_
bn_ ⚠is_ one - sm2_
bn_ ⚠is_ zero - sm2_
bn_ ⚠print - sm2_
bn_ ⚠rand_ range - sm2_
bn_ ⚠rshift - sm2_
bn_ ⚠set_ word - sm2_
bn_ ⚠sub - sm2_
bn_ ⚠to_ bits - sm2_
bn_ ⚠to_ bytes - sm2_
bn_ ⚠to_ hex - sm2_
ciphertext_ ⚠from_ der - sm2_
ciphertext_ ⚠print - sm2_
ciphertext_ ⚠to_ der - sm2_
compute_ ⚠z - sm2_
decrypt ⚠ - sm2_
do_ ⚠decrypt - sm2_
do_ ⚠ecdh - sm2_
do_ ⚠encrypt - sm2_
do_ ⚠encrypt_ fixlen - sm2_
do_ ⚠sign - sm2_
do_ ⚠sign_ fast - sm2_
do_ ⚠verify - sm2_
ecdh ⚠ - sm2_
encrypt ⚠ - sm2_
encrypt_ ⚠fixlen - sm2_
fn_ ⚠add - sm2_
fn_ ⚠exp - sm2_
fn_ ⚠inv - sm2_
fn_ ⚠mul - sm2_
fn_ ⚠mul_ word - sm2_
fn_ ⚠neg - sm2_
fn_ ⚠rand - sm2_
fn_ ⚠sqr - sm2_
fn_ ⚠sub - sm2_
fp_ ⚠add - sm2_
fp_ ⚠dbl - sm2_
fp_ ⚠div2 - sm2_
fp_ ⚠exp - sm2_
fp_ ⚠inv - sm2_
fp_ ⚠mul - sm2_
fp_ ⚠neg - sm2_
fp_ ⚠rand - sm2_
fp_ ⚠sqr - sm2_
fp_ ⚠sqrt - sm2_
fp_ ⚠sub - sm2_
fp_ ⚠tri - sm2_
jacobian_ ⚠point_ add - sm2_
jacobian_ ⚠point_ dbl - sm2_
jacobian_ ⚠point_ equ_ hex - sm2_
jacobian_ ⚠point_ from_ bytes - sm2_
jacobian_ ⚠point_ from_ hex - sm2_
jacobian_ ⚠point_ get_ xy - sm2_
jacobian_ ⚠point_ init - sm2_
jacobian_ ⚠point_ is_ at_ infinity - sm2_
jacobian_ ⚠point_ is_ on_ curve - sm2_
jacobian_ ⚠point_ mul - sm2_
jacobian_ ⚠point_ mul_ generator - sm2_
jacobian_ ⚠point_ mul_ sum - sm2_
jacobian_ ⚠point_ neg - sm2_
jacobian_ ⚠point_ print - sm2_
jacobian_ ⚠point_ set_ xy - sm2_
jacobian_ ⚠point_ sub - sm2_
jacobian_ ⚠point_ to_ bytes - sm2_
key_ ⚠generate - sm2_
key_ ⚠print - sm2_
key_ ⚠set_ private_ key - sm2_
key_ ⚠set_ public_ key - sm2_
point_ ⚠add - sm2_
point_ ⚠dbl - sm2_
point_ ⚠from_ der - sm2_
point_ ⚠from_ hash - sm2_
point_ ⚠from_ octets - sm2_
point_ ⚠from_ x - sm2_
point_ ⚠from_ xy - sm2_
point_ ⚠is_ at_ infinity - sm2_
point_ ⚠is_ on_ curve - sm2_
point_ ⚠mul - sm2_
point_ ⚠mul_ generator - sm2_
point_ ⚠mul_ sum - sm2_
point_ ⚠neg - sm2_
point_ ⚠print - sm2_
point_ ⚠sub - sm2_
point_ ⚠to_ compressed_ octets - sm2_
point_ ⚠to_ der - sm2_
point_ ⚠to_ uncompressed_ octets - sm2_
private_ ⚠key_ from_ der - sm2_
private_ ⚠key_ from_ pem - sm2_
private_ ⚠key_ info_ decrypt_ from_ der - sm2_
private_ ⚠key_ info_ decrypt_ from_ pem - sm2_
private_ ⚠key_ info_ encrypt_ to_ der - sm2_
private_ ⚠key_ info_ encrypt_ to_ pem - sm2_
private_ ⚠key_ info_ from_ der - sm2_
private_ ⚠key_ info_ from_ pem - sm2_
private_ ⚠key_ info_ print - sm2_
private_ ⚠key_ info_ to_ der - sm2_
private_ ⚠key_ info_ to_ pem - sm2_
private_ ⚠key_ print - sm2_
private_ ⚠key_ to_ der - sm2_
private_ ⚠key_ to_ pem - sm2_
public_ ⚠key_ algor_ from_ der - sm2_
public_ ⚠key_ algor_ to_ der - sm2_
public_ ⚠key_ digest - sm2_
public_ ⚠key_ equ - sm2_
public_ ⚠key_ info_ from_ der - sm2_
public_ ⚠key_ info_ from_ pem - sm2_
public_ ⚠key_ info_ to_ der - sm2_
public_ ⚠key_ info_ to_ pem - sm2_
public_ ⚠key_ print - sm2_
sign ⚠ - sm2_
sign_ ⚠finish - sm2_
sign_ ⚠finish_ fixlen - sm2_
sign_ ⚠fixlen - sm2_
sign_ ⚠init - sm2_
sign_ ⚠update - sm2_
signature_ ⚠from_ der - sm2_
signature_ ⚠print - sm2_
signature_ ⚠to_ der - sm2_
verify ⚠ - sm2_
verify_ ⚠finish - sm2_
verify_ ⚠init - sm2_
verify_ ⚠update - sm3_
compress_ ⚠blocks - sm3_
digest ⚠ - sm3_
finish ⚠ - sm3_
hmac ⚠ - sm3_
hmac_ ⚠finish - sm3_
hmac_ ⚠init - sm3_
hmac_ ⚠update - sm3_
init ⚠ - sm3_
kdf_ ⚠finish - sm3_
kdf_ ⚠init - sm3_
kdf_ ⚠update - sm3_
update ⚠ - sm4_
cbc_ ⚠decrypt - sm4_
cbc_ ⚠decrypt_ finish - sm4_
cbc_ ⚠decrypt_ init - sm4_
cbc_ ⚠decrypt_ update - sm4_
cbc_ ⚠encrypt - sm4_
cbc_ ⚠encrypt_ finish - sm4_
cbc_ ⚠encrypt_ init - sm4_
cbc_ ⚠encrypt_ update - sm4_
cbc_ ⚠padding_ decrypt - sm4_
cbc_ ⚠padding_ encrypt - sm4_
ctr_ ⚠encrypt - sm4_
ctr_ ⚠encrypt_ finish - sm4_
ctr_ ⚠encrypt_ init - sm4_
ctr_ ⚠encrypt_ update - sm4_
encrypt ⚠ - sm4_
gcm_ ⚠decrypt - sm4_
gcm_ ⚠encrypt - sm4_
set_ ⚠decrypt_ key - sm4_
set_ ⚠encrypt_ key - sm9_
algor_ ⚠from_ der - sm9_
algor_ ⚠to_ der - sm9_
barrett_ ⚠bn_ add - sm9_
barrett_ ⚠bn_ cmp - sm9_
barrett_ ⚠bn_ sub - sm9_
bn_ ⚠add - sm9_
bn_ ⚠cmp - sm9_
bn_ ⚠copy - sm9_
bn_ ⚠equ - sm9_
bn_ ⚠from_ bytes - sm9_
bn_ ⚠from_ hex - sm9_
bn_ ⚠is_ one - sm9_
bn_ ⚠is_ zero - sm9_
bn_ ⚠print - sm9_
bn_ ⚠rand_ range - sm9_
bn_ ⚠set_ one - sm9_
bn_ ⚠set_ word - sm9_
bn_ ⚠set_ zero - sm9_
bn_ ⚠sub - sm9_
bn_ ⚠to_ bits - sm9_
bn_ ⚠to_ bytes - sm9_
bn_ ⚠to_ hex - sm9_
ciphertext_ ⚠from_ der - sm9_
ciphertext_ ⚠print - sm9_
ciphertext_ ⚠to_ der - sm9_
decrypt ⚠ - sm9_
do_ ⚠decrypt - sm9_
do_ ⚠encrypt - sm9_
do_ ⚠sign - sm9_
do_ ⚠verify - sm9_
enc_ ⚠key_ from_ der - sm9_
enc_ ⚠key_ info_ decrypt_ from_ der - sm9_
enc_ ⚠key_ info_ decrypt_ from_ pem - sm9_
enc_ ⚠key_ info_ encrypt_ to_ der - sm9_
enc_ ⚠key_ info_ encrypt_ to_ pem - sm9_
enc_ ⚠key_ print - sm9_
enc_ ⚠key_ to_ der - sm9_
enc_ ⚠master_ key_ extract_ key - sm9_
enc_ ⚠master_ key_ from_ der - sm9_
enc_ ⚠master_ key_ generate - sm9_
enc_ ⚠master_ key_ info_ decrypt_ from_ der - sm9_
enc_ ⚠master_ key_ info_ decrypt_ from_ pem - sm9_
enc_ ⚠master_ key_ info_ encrypt_ to_ der - sm9_
enc_ ⚠master_ key_ info_ encrypt_ to_ pem - sm9_
enc_ ⚠master_ key_ print - sm9_
enc_ ⚠master_ key_ to_ der - sm9_
enc_ ⚠master_ public_ key_ from_ der - sm9_
enc_ ⚠master_ public_ key_ from_ pem - sm9_
enc_ ⚠master_ public_ key_ print - sm9_
enc_ ⚠master_ public_ key_ to_ der - sm9_
enc_ ⚠master_ public_ key_ to_ pem - sm9_
encrypt ⚠ - sm9_
eval_ ⚠g_ line - sm9_
eval_ ⚠g_ tangent - sm9_
final_ ⚠exponent - sm9_
final_ ⚠exponent_ hard_ part - sm9_
fn_ ⚠add - sm9_
fn_ ⚠from_ bytes - sm9_
fn_ ⚠from_ hash - sm9_
fn_ ⚠from_ hex - sm9_
fn_ ⚠inv - sm9_
fn_ ⚠mul - sm9_
fn_ ⚠pow - sm9_
fn_ ⚠sub - sm9_
fp2_ ⚠add - sm9_
fp2_ ⚠conjugate - sm9_
fp2_ ⚠copy - sm9_
fp2_ ⚠dbl - sm9_
fp2_ ⚠div - sm9_
fp2_ ⚠div2 - sm9_
fp2_ ⚠equ - sm9_
fp2_ ⚠frobenius - sm9_
fp2_ ⚠from_ hex - sm9_
fp2_ ⚠inv - sm9_
fp2_ ⚠mul - sm9_
fp2_ ⚠mul_ fp - sm9_
fp2_ ⚠mul_ u - sm9_
fp2_ ⚠neg - sm9_
fp2_ ⚠print - sm9_
fp2_ ⚠rand - sm9_
fp2_ ⚠set - sm9_
fp2_ ⚠set_ fp - sm9_
fp2_ ⚠sqr - sm9_
fp2_ ⚠sqr_ u - sm9_
fp2_ ⚠sub - sm9_
fp2_ ⚠to_ hex - sm9_
fp2_ ⚠tri - sm9_
fp4_ ⚠add - sm9_
fp4_ ⚠conjugate - sm9_
fp4_ ⚠copy - sm9_
fp4_ ⚠dbl - sm9_
fp4_ ⚠equ - sm9_
fp4_ ⚠frobenius - sm9_
fp4_ ⚠frobenius2 - sm9_
fp4_ ⚠frobenius3 - sm9_
fp4_ ⚠from_ bytes - sm9_
fp4_ ⚠from_ hex - sm9_
fp4_ ⚠inv - sm9_
fp4_ ⚠mul - sm9_
fp4_ ⚠mul_ fp - sm9_
fp4_ ⚠mul_ fp2 - sm9_
fp4_ ⚠mul_ v - sm9_
fp4_ ⚠neg - sm9_
fp4_ ⚠rand - sm9_
fp4_ ⚠set - sm9_
fp4_ ⚠set_ fp - sm9_
fp4_ ⚠set_ fp2 - sm9_
fp4_ ⚠set_ u - sm9_
fp4_ ⚠set_ v - sm9_
fp4_ ⚠sqr - sm9_
fp4_ ⚠sqr_ v - sm9_
fp4_ ⚠sub - sm9_
fp4_ ⚠to_ bytes - sm9_
fp4_ ⚠to_ hex - sm9_
fp12_ ⚠add - sm9_
fp12_ ⚠copy - sm9_
fp12_ ⚠dbl - sm9_
fp12_ ⚠equ - sm9_
fp12_ ⚠frobenius - sm9_
fp12_ ⚠frobenius2 - sm9_
fp12_ ⚠frobenius3 - sm9_
fp12_ ⚠frobenius6 - sm9_
fp12_ ⚠from_ bytes - sm9_
fp12_ ⚠from_ hex - sm9_
fp12_ ⚠inv - sm9_
fp12_ ⚠is_ one - sm9_
fp12_ ⚠is_ zero - sm9_
fp12_ ⚠mul - sm9_
fp12_ ⚠neg - sm9_
fp12_ ⚠pow - sm9_
fp12_ ⚠print - sm9_
fp12_ ⚠rand - sm9_
fp12_ ⚠set - sm9_
fp12_ ⚠set_ fp - sm9_
fp12_ ⚠set_ fp2 - sm9_
fp12_ ⚠set_ fp4 - sm9_
fp12_ ⚠set_ one - sm9_
fp12_ ⚠set_ u - sm9_
fp12_ ⚠set_ v - sm9_
fp12_ ⚠set_ w - sm9_
fp12_ ⚠set_ w_ sqr - sm9_
fp12_ ⚠set_ zero - sm9_
fp12_ ⚠sqr - sm9_
fp12_ ⚠sub - sm9_
fp12_ ⚠to_ bytes - sm9_
fp12_ ⚠to_ hex - sm9_
fp12_ ⚠tri - sm9_
fp_ ⚠add - sm9_
fp_ ⚠dbl - sm9_
fp_ ⚠div2 - sm9_
fp_ ⚠from_ bytes - sm9_
fp_ ⚠from_ hex - sm9_
fp_ ⚠inv - sm9_
fp_ ⚠mul - sm9_
fp_ ⚠neg - sm9_
fp_ ⚠pow - sm9_
fp_ ⚠sqr - sm9_
fp_ ⚠sub - sm9_
fp_ ⚠tri - sm9_
hash1 ⚠ - sm9_
kem_ ⚠decrypt - sm9_
kem_ ⚠encrypt - sm9_
oid_ ⚠from_ der - sm9_
oid_ ⚠from_ name - sm9_
oid_ ⚠name - sm9_
oid_ ⚠to_ der - sm9_
pairing ⚠ - sm9_
point_ ⚠add - sm9_
point_ ⚠copy - sm9_
point_ ⚠dbl - sm9_
point_ ⚠equ - sm9_
point_ ⚠from_ hex - sm9_
point_ ⚠from_ uncompressed_ octets - sm9_
point_ ⚠get_ xy - sm9_
point_ ⚠is_ at_ infinity - sm9_
point_ ⚠is_ on_ curve - sm9_
point_ ⚠mul - sm9_
point_ ⚠mul_ generator - sm9_
point_ ⚠neg - sm9_
point_ ⚠print - sm9_
point_ ⚠set_ infinity - sm9_
point_ ⚠sub - sm9_
point_ ⚠to_ uncompressed_ octets - sm9_
print_ ⚠bn - sm9_
sign_ ⚠finish - sm9_
sign_ ⚠init - sm9_
sign_ ⚠key_ from_ der - sm9_
sign_ ⚠key_ info_ decrypt_ from_ der - sm9_
sign_ ⚠key_ info_ decrypt_ from_ pem - sm9_
sign_ ⚠key_ info_ encrypt_ to_ der - sm9_
sign_ ⚠key_ info_ encrypt_ to_ pem - sm9_
sign_ ⚠key_ print - sm9_
sign_ ⚠key_ to_ der - sm9_
sign_ ⚠master_ key_ extract_ key - sm9_
sign_ ⚠master_ key_ from_ der - sm9_
sign_ ⚠master_ key_ generate - sm9_
sign_ ⚠master_ key_ info_ decrypt_ from_ der - sm9_
sign_ ⚠master_ key_ info_ decrypt_ from_ pem - sm9_
sign_ ⚠master_ key_ info_ encrypt_ to_ der - sm9_
sign_ ⚠master_ key_ info_ encrypt_ to_ pem - sm9_
sign_ ⚠master_ key_ print - sm9_
sign_ ⚠master_ key_ to_ der - sm9_
sign_ ⚠master_ public_ key_ from_ der - sm9_
sign_ ⚠master_ public_ key_ from_ pem - sm9_
sign_ ⚠master_ public_ key_ print - sm9_
sign_ ⚠master_ public_ key_ to_ der - sm9_
sign_ ⚠master_ public_ key_ to_ pem - sm9_
sign_ ⚠update - sm9_
signature_ ⚠from_ der - sm9_
signature_ ⚠print - sm9_
signature_ ⚠to_ der - sm9_
twist_ ⚠point_ add - sm9_
twist_ ⚠point_ add_ full - sm9_
twist_ ⚠point_ dbl - sm9_
twist_ ⚠point_ equ - sm9_
twist_ ⚠point_ from_ hex - sm9_
twist_ ⚠point_ from_ uncompressed_ octets - sm9_
twist_ ⚠point_ get_ xy - sm9_
twist_ ⚠point_ is_ at_ infinity - sm9_
twist_ ⚠point_ is_ on_ curve - sm9_
twist_ ⚠point_ mul - sm9_
twist_ ⚠point_ mul_ generator - sm9_
twist_ ⚠point_ neg - sm9_
twist_ ⚠point_ neg_ pi2 - sm9_
twist_ ⚠point_ pi1 - sm9_
twist_ ⚠point_ pi2 - sm9_
twist_ ⚠point_ print - sm9_
twist_ ⚠point_ set_ infinity - sm9_
twist_ ⚠point_ sub - sm9_
twist_ ⚠point_ to_ uncompressed_ octets - sm9_
verify_ ⚠finish - sm9_
verify_ ⚠init - sm9_
verify_ ⚠update