Home
last modified time | relevance | path

Searched refs:GenerateKeyBlob (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp95 if (needGenerateKey && !GenerateKeyBlob(keyInfo_.key, keyLen_)) { in InitKey()
102 bool BaseKey::GenerateKeyBlob(KeyBlob &blob, const uint32_t size) in GenerateKeyBlob() function in OHOS::StorageDaemon::BaseKey
120 if (!GenerateKeyBlob(blob, size)) { in GenerateAndSaveKeyBlob()
298 if (!GenerateKeyBlob(keyCtx.nonce, GCM_NONCE_BYTES) || in StoreKey()
299 !GenerateKeyBlob(keyCtx.aad, GCM_MAC_BYTES)) { in StoreKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h102 static bool GenerateKeyBlob(KeyBlob &blob, const uint32_t size);