Home
last modified time | relevance | path

Searched refs:GenerateRandomKey (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dhuks_master.h38 static KeyBlob GenerateRandomKey(uint32_t keyLen);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dopenssl_crypto.cpp90 …keyContext_.rndEnc = HuksMaster::GenerateRandomKey(GCM_NONCE_BYTES + plainText.size + GCM_MAC_BYTE… in AESEncrypt()
H A Dhuks_master.cpp338 KeyBlob HuksMaster::GenerateRandomKey(uint32_t keyLen) in GenerateRandomKey() function in OHOS::StorageDaemon::HuksMaster
416 KeyBlob alias = GenerateRandomKey(CRYPTO_KEY_ALIAS_SIZE); in GenerateKey()
513 ctx.nonce = HuksMaster::GenerateRandomKey(CRYPTO_HKS_NONCE_LEN); in AppendNewNonceAadToken()
H A Dbase_key.cpp104 blob = HuksMaster::GenerateRandomKey(size); in GenerateKeyBlob()