Home
last modified time | relevance | path

Searched refs:OH_CryptoSymKey (Results 1 - 6 of 6) sorted by relevance

/base/security/crypto_framework/interfaces/kits/native/include/
H A Dcrypto_sym_key.h50 typedef struct OH_CryptoSymKey OH_CryptoSymKey; typedef
85 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Generate(OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey **keyCtx);
101 const Crypto_DataBlob *keyData, OH_CryptoSymKey **keyCtx);
127 const char *OH_CryptoSymKey_GetAlgoName(OH_CryptoSymKey *keyCtx);
141 OH_Crypto_ErrCode OH_CryptoSymKey_GetKeyData(OH_CryptoSymKey *keyCtx, Crypto_DataBlob *out);
149 void OH_CryptoSymKey_Destroy(OH_CryptoSymKey *keyCtx);
H A Dcrypto_sym_cipher.h144 OH_CryptoSymKey *key, OH_CryptoSymCipherParams *params);
/base/security/crypto_framework/frameworks/native/src/
H A Dsym_key.c39 struct OH_CryptoSymKey { struct
54 OH_Crypto_ErrCode OH_CryptoSymKeyGenerator_Generate(OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey **keyCtx) in OH_CryptoSymKeyGenerator_Generate()
64 const Crypto_DataBlob *keyData, OH_CryptoSymKey **keyCtx) in OH_CryptoSymKeyGenerator_Convert()
89 const char *OH_CryptoSymKey_GetAlgoName(OH_CryptoSymKey *keyCtx) in OH_CryptoSymKey_GetAlgoName()
97 OH_Crypto_ErrCode OH_CryptoSymKey_GetKeyData(OH_CryptoSymKey *keyCtx, Crypto_DataBlob *out) in OH_CryptoSymKey_GetKeyData()
106 void OH_CryptoSymKey_Destroy(OH_CryptoSymKey *keyCtx) in OH_CryptoSymKey_Destroy()
H A Dsym_cipher.c53 struct OH_CryptoSymKey { struct
114 OH_CryptoSymKey *key, OH_CryptoSymCipherParams *params) in OH_CryptoSymCipher_Init()
/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_key_test.cpp49 OH_CryptoSymKey *convertKey = nullptr; in HWTEST_F()
68 OH_CryptoSymKey *symKey = nullptr; in HWTEST_F()
H A Dnative_sym_cipher_test.cpp52 OH_Crypto_ErrCode AesEncrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherParams *params, in AesEncrypt()
96 OH_Crypto_ErrCode AesDecrypt(OH_CryptoSymCipher *cipher, OH_CryptoSymKey *key, OH_CryptoSymCipherParams *params, in AesDecrypt()
168 OH_CryptoSymKey *symKey = nullptr; in HWTEST_F()

Completed in 3 milliseconds