Home
last modified time | relevance | path

Searched defs:keyCtx (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/crypto_framework/frameworks/native/src/
H A Dsym_key.c54 …_ErrCode OH_CryptoSymKeyGenerator_Generate(OH_CryptoSymKeyGenerator *ctx, OH_CryptoSymKey **keyCtx) in OH_CryptoSymKeyGenerator_Generate() argument
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 Dasym_key.c75 …rCode OH_CryptoAsymKeyGenerator_Generate(OH_CryptoAsymKeyGenerator *ctx, OH_CryptoKeyPair **keyCtx) in OH_CryptoAsymKeyGenerator_Generate()
85 Crypto_DataBlob *pubKeyData, Crypto_DataBlob *priKeyData, OH_CryptoKeyPair **keyCtx) in OH_CryptoAsymKeyGenerator_Convert()
125 void OH_CryptoKeyPair_Destroy(OH_CryptoKeyPair *keyCtx) in OH_CryptoKeyPair_Destroy()
133 OH_CryptoPubKey *OH_CryptoKeyPair_GetPubKey(OH_CryptoKeyPair *keyCtx) in OH_CryptoKeyPair_GetPubKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp247 KeyContext keyCtx = {}; in StoreKey() local
285 bool BaseKey::InitKeyContext(const UserAuth &auth, const std::string &keyPath, KeyContext &keyCtx) in StoreKey()
306 bool BaseKey::SaveAndCleanKeyBuff(const std::string &keyPath, KeyContext &keyCtx) in StoreKey()
330 bool needGenerateShield, KeyContext &keyCtx) in StoreKey()
449 bool BaseKey::EncryptEceSece(const UserAuth &auth, const uint32_t keyType, KeyContext &keyCtx) in StoreKey()
729 bool BaseKey::DecryptReal(const UserAuth &auth, const uint32_t keyType, KeyContext &keyCtx) in StoreKey()
895 KeyContext keyCtx; in StoreKey() local
928 KeyContext keyCtx; in StoreKey() local
992 void BaseKey::ClearKeyContext(KeyContext &keyCtx) in StoreKey()
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_asym_key_test.cpp59 OH_CryptoKeyPair *keyCtx = nullptr; variable
122 OH_CryptoKeyPair *keyCtx = nullptr; variable
H A Dnative_signature_test.cpp95 OH_CryptoAsymKeyGenerator *keyCtx = nullptr; variable