Home
last modified time | relevance | path

Searched refs:SM4_KEY (Results 1 – 10 of 10) sorted by relevance

/openssl/include/crypto/
H A Dsm4_platform.h41 int HWSM4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key);
42 int HWSM4_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key);
44 const SM4_KEY *key);
46 const SM4_KEY *key);
48 size_t length, const SM4_KEY *key,
51 size_t length, const SM4_KEY *key,
59 int vpsm4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key);
62 const SM4_KEY *key);
64 const SM4_KEY *key);
66 size_t length, const SM4_KEY *key,
[all …]
H A Dsm4.h30 } SM4_KEY; typedef
32 int ossl_sm4_set_key(const uint8_t *key, SM4_KEY *ks);
34 void ossl_sm4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks);
36 void ossl_sm4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks);
/openssl/crypto/sm4/
H A Dsm4.c267 int ossl_sm4_set_key(const uint8_t *key, SM4_KEY *ks) in ossl_sm4_set_key()
322 void ossl_sm4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_encrypt()
348 void ossl_sm4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_decrypt()
/openssl/providers/implementations/ciphers/
H A Dcipher_sm4_gcm.h18 SM4_KEY ks;
H A Dcipher_sm4_ccm.h18 SM4_KEY ks;
H A Dcipher_sm4.h18 SM4_KEY ks;
H A Dcipher_sm4_gcm_hw.c21 SM4_KEY *ks = &actx->ks.ks; in sm4_gcm_initkey()
H A Dcipher_sm4_hw.c16 SM4_KEY *ks = &sctx->ks.ks; in cipher_hw_sm4_initkey()
/openssl/test/
H A Dsm4_internal_test.c54 SM4_KEY key; in test_sm4_ecb()
/openssl/crypto/evp/
H A De_sm4.c26 SM4_KEY ks;

Completed in 16 milliseconds