Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/include/crypto/
H A Dsm4_platform.h43 SM4_KEY *key);
45 SM4_KEY *key);
47 const SM4_KEY *key);
49 const SM4_KEY *key);
54 int HWSM4_set_encrypt_key(const unsigned char *userKey, SM4_KEY *key);
55 int HWSM4_set_decrypt_key(const unsigned char *userKey, SM4_KEY *key);
57 const SM4_KEY *key);
59 const SM4_KEY *key);
61 size_t length, const SM4_KEY *key,
64 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);
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_sm4_xts.h16 const SM4_KEY *key1, const SM4_KEY *key2,
26 SM4_KEY ks;
H A Dcipher_sm4_gcm.h18 SM4_KEY ks;
H A Dcipher_sm4_ccm.h19 SM4_KEY ks;
H A Dcipher_sm4.h18 SM4_KEY ks;
H A Dcipher_sm4_gcm_hw_rv64i.inc20 SM4_KEY *ks = &actx->ks.ks;
H A Dcipher_sm4_gcm_hw.c27 SM4_KEY *ks = &actx->ks.ks; in sm4_gcm_initkey()
H A Dcipher_sm4_hw_rv64i.inc26 SM4_KEY *ks = &sctx->ks.ks;
H A Dcipher_sm4_hw.c16 SM4_KEY *ks = &sctx->ks.ks; in cipher_hw_sm4_initkey()
/freebsd/crypto/openssl/crypto/sm4/
H A Dsm4.c279 int ossl_sm4_set_key(const uint8_t *key, SM4_KEY *ks) in ossl_sm4_set_key()
332 void ossl_sm4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_encrypt()
358 void ossl_sm4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_decrypt()
/freebsd/crypto/openssl/test/
H A Dsm4_internal_test.c54 SM4_KEY key; in test_sm4_ecb()
/freebsd/crypto/openssl/crypto/evp/
H A De_sm4.c26 SM4_KEY ks;