Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1.cpp525 static_assert(SHA512_DIGEST_LENGTH >= CRYPTO_KEY_DESC_SIZE, "Hash too short for descriptor"); in GenerateKeyDesc()
526 keyInfo_.keyDesc.Alloc(CRYPTO_KEY_DESC_SIZE); in GenerateKeyDesc()
527 … err = memcpy_s(keyInfo_.keyDesc.data.get(), keyInfo_.keyDesc.size, keyRef2, CRYPTO_KEY_DESC_SIZE); in GenerateKeyDesc()
552 static_assert(SHA512_DIGEST_LENGTH >= CRYPTO_KEY_DESC_SIZE, "Hash too short for descriptor"); in GenerateAppKeyDesc()
553 keyInfo_.keyDesc.Alloc(CRYPTO_KEY_DESC_SIZE); in GenerateAppKeyDesc()
554 … err = memcpy_s(keyInfo_.keyDesc.data.get(), keyInfo_.keyDesc.size, keyRef2, CRYPTO_KEY_DESC_SIZE); in GenerateAppKeyDesc()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_blob.h47 constexpr uint32_t CRYPTO_KEY_DESC_SIZE = FSCRYPT_KEY_DESCRIPTOR_SIZE; variable