Docs.rs
libgmssl-sys-3.1.0-alpha
libgmssl-sys 3.1.0-alpha
Permalink
Docs.rs crate page
Apache-2.0
Links
crates.io
Source
Owners
MaxKingPor
Dependencies
bindgen ^0.68.1
build
cmake ^0.1
build
Versions
0%
of the crate is documented
Go to latest stable release
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate libgmssl_sys
Version 3.1.0-alpha
All Items
Structs
Constants
Statics
Functions
Type Aliases
?
Crate
libgmssl_sys
source
·
[
−
]
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
SM9_FP2_ONE
SM9_FP2_U
SM9_FP2_ZERO
SM9_FP4_ONE
SM9_FP4_U
SM9_FP4_V
SM9_FP4_ZERO
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
⚠
Type Aliases
FILE
SM2_BN
SM2_Fn
SM2_Fp
_IO_lock_t
__off64_t
__off_t
_bindgen_ty_1
_bindgen_ty_2
_bindgen_ty_3
sm2_bn_t
sm9_barrett_bn_t
sm9_bn_t
sm9_fn_t
sm9_fp2_t
sm9_fp4_t
sm9_fp12_t
sm9_fp_t