Docs.rs
  • gmsm-0.1.0
    • gmsm 0.1.0
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • nfjBill
    • Dependencies
      • hex ^0.3 normal
      • lazy_static ^1.4.0 normal
      • num ^0.4 normal
      • num-bigint-dig ^0.7.0 normal
      • rand ^0.8.4 normal
    • Versions
    • 0% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

gmsm0.1.0

Crate Items

  • Structs
  • Constants
  • Functions

List of all items

Structs

  • g2::p256::CURVE_A
  • g2::p256::CURVE_B
  • g2::p256::CURVE_GX
  • g2::p256::CURVE_GY
  • g2::p256::CURVE_N
  • g2::p256::CURVE_P
  • g2::p256::CURVE_RINVERSE
  • g2::p256::CurveParams
  • g2::p256::Sm2P256Curve
  • g2::subject::PrivateKey
  • g2::subject::PublicKey
  • g3::digest::Digest
  • g3::hash::W
  • g4::cipher::Block
  • sm2::Keypair
  • utils::slice::SliceDisplay

Functions

  • g2::subject::bytes_to_public_key
  • g2::subject::decrypt
  • g2::subject::encrypt
  • g2::subject::generate_key
  • g2::subject::raw_pri_byte
  • g2::subject::raw_pub_byte
  • g3::digest::sm3sum
  • g3::hash::c_f
  • g4::cipher::new_cipher
  • g4::cipher::sm4_cbc
  • g4::cipher::sm4_ecb
  • sm2::sm2_decrypt
  • sm2::sm2_decrypt_c1c3c2
  • sm2::sm2_encrypt
  • sm2::sm2_encrypt_c1c3c2
  • sm2::sm2_generate_key
  • sm2::sm2_generate_key_hex
  • sm3::sm3_byte
  • sm3::sm3_hex
  • sm4::sm4_cbc_decrypt_byte
  • sm4::sm4_cbc_decrypt_hex
  • sm4::sm4_cbc_encrypt_byte
  • sm4::sm4_cbc_encrypt_hex
  • sm4::sm4_ecb_decrypt_byte
  • sm4::sm4_ecb_decrypt_hex
  • sm4::sm4_ecb_encrypt_byte
  • sm4::sm4_ecb_encrypt_hex
  • utils::slice::concat_u8
  • utils::slice::copy_slice
  • utils::slice::copy_slice_i8

Constants

  • g2::consts::BITSIZE
  • g2::consts::BOTTOM28BITS
  • g2::consts::BOTTOM29BITS
  • g2::consts::C1C2C3
  • g2::consts::C1C3C2
  • g2::consts::DEFAULT_UID
  • g2::consts::KEYBYTES
  • g2::consts::SM2P256CARRY
  • g2::consts::SM2P256FACTOR
  • g2::consts::SM2P256PRECOMPUTED
  • g2::consts::SM2P256ZERO31
  • g2::consts::UNCOMPRESS
  • g3::digest::SIZE
  • g4::consts::BLOCKSIZE
  • g4::consts::CK
  • g4::consts::DEC
  • g4::consts::ENC
  • g4::consts::FK
  • g4::consts::SBOX
  • g4::consts::SBOX0
  • g4::consts::SBOX1
  • g4::consts::SBOX2
  • g4::consts::SBOX3