Home
last modified time | relevance | path

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

/third_party/openssl/ohos_lite/include/crypto/
Dsm4.h29 } SM4_KEY; typedef
31 int SM4_set_key(const uint8_t *key, SM4_KEY *ks);
33 void SM4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks);
35 void SM4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks);
/third_party/openssl/include/crypto/
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);
/third_party/node/deps/openssl/openssl/include/crypto/
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);
/third_party/node/deps/openssl/openssl/crypto/evp/
De_sm4.c23 SM4_KEY ks;
34 size_t len, const SM4_KEY *key, in sm4_cbc_encrypt()
46 size_t length, const SM4_KEY *key, in sm4_cfb128_encrypt()
54 const SM4_KEY *key, const int enc) in sm4_ecb_encrypt()
63 size_t length, const SM4_KEY *key, in sm4_ofb128_encrypt()
/third_party/openssl/crypto/evp/
De_sm4.c23 SM4_KEY ks;
34 size_t len, const SM4_KEY *key, in sm4_cbc_encrypt()
46 size_t length, const SM4_KEY *key, in sm4_cfb128_encrypt()
54 const SM4_KEY *key, const int enc) in sm4_ecb_encrypt()
63 size_t length, const SM4_KEY *key, in sm4_ofb128_encrypt()
/third_party/node/deps/openssl/openssl/crypto/sm4/
Dsm4.c132 int ossl_sm4_set_key(const uint8_t *key, SM4_KEY *ks) in ossl_sm4_set_key()
187 void ossl_sm4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_encrypt()
213 void ossl_sm4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_decrypt()
/third_party/openssl/crypto/sm4/
Dsm4.c132 int ossl_sm4_set_key(const uint8_t *key, SM4_KEY *ks) in ossl_sm4_set_key()
187 void ossl_sm4_encrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_encrypt()
213 void ossl_sm4_decrypt(const uint8_t *in, uint8_t *out, const SM4_KEY *ks) in ossl_sm4_decrypt()
/third_party/openssl/providers/implementations/ciphers/
Dcipher_sm4.h17 SM4_KEY ks;
Dcipher_sm4_hw.c16 SM4_KEY *ks = &sctx->ks.ks; in cipher_hw_sm4_initkey()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dcipher_sm4.h17 SM4_KEY ks;
Dcipher_sm4_hw.c16 SM4_KEY *ks = &sctx->ks.ks; in cipher_hw_sm4_initkey()
/third_party/openssl/test/
Dsm4_internal_test.c54 SM4_KEY key; in test_sm4_ecb()