Home
last modified time | relevance | path

Searched refs:CRYPTO_KEY_SECDISC_SIZE (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_blob.h36 constexpr uint32_t CRYPTO_KEY_SECDISC_SIZE = 16384; variable
102 if (len > CRYPTO_KEY_SECDISC_SIZE) { in Alloc()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp293 … if (!GenerateAndSaveKeyBlob(keyCtx.secDiscard, keyPath + PATH_SECDISC, CRYPTO_KEY_SECDISC_SIZE)) { in StoreKey()
589 if (!LoadKeyBlob(keyContext_.secDiscard, path + PATH_SECDISC, CRYPTO_KEY_SECDISC_SIZE)) { in StoreKey()
906 … if (!GenerateAndSaveKeyBlob(keyCtx.secDiscard, keyPath + PATH_SECDISC, CRYPTO_KEY_SECDISC_SIZE)) { in StoreKey()
935 if (!LoadKeyBlob(keyCtx.secDiscard, path + PATH_SECDISC, CRYPTO_KEY_SECDISC_SIZE)) { in StoreKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dcrypto_key_test.cpp215 EXPECT_EQ(CRYPTO_KEY_SECDISC_SIZE, buf.size());