Home
last modified time | relevance | path

Searched refs:FBEX_IV_SIZE (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fbex_test/
H A Dfbex_test.cpp121 int ret = fbex.InstallKeyToKernel(userId, type, nullptr, FBEX_IV_SIZE, flag); in HWTEST_F()
125 ret = fbex.InstallKeyToKernel(userId, type, iv, FBEX_IV_SIZE, flag); in HWTEST_F()
130 ret = fbex.InstallKeyToKernel(userId, type, iv, FBEX_IV_SIZE, flag); in HWTEST_F()
151 int ret = fbex.UninstallOrLockUserKeyToKernel(userId, type, nullptr, FBEX_IV_SIZE, destroy); in HWTEST_F()
154 uint8_t *iv = new uint8_t[FBEX_IV_SIZE]; in HWTEST_F()
156 ret = fbex.UninstallOrLockUserKeyToKernel(userId, type, iv, FBEX_IV_SIZE, destroy); in HWTEST_F()
321 uint32_t size = FBEX_IV_SIZE; in HWTEST_F()
326 uint8_t *iv = new uint8_t[FBEX_IV_SIZE]; in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dfbex.h33 constexpr uint32_t FBEX_IV_SIZE = 64; member
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1_ext.cpp208 uint8_t buf[FBEX_IV_SIZE] = {0}; in InactiveKeyExt()
216 if (FBEX::UninstallOrLockUserKeyToKernel(user, type_, buf, FBEX_IV_SIZE, destroy) != 0) { in InactiveKeyExt()
H A Dfbex.cpp64 uint8_t iv[OHOS::StorageDaemon::FBEX_IV_SIZE] = {0};
128 return (iv != nullptr) && (size == FBEX_IV_SIZE); in CheckIvValid()

Completed in 3 milliseconds