Home
last modified time | relevance | path

Searched refs:use_hw_wrapped_key (Results 1 – 7 of 7) sorted by relevance

/system/extras/libfscrypt/include/fscrypt/
Dfscrypt.h37 bool use_hw_wrapped_key; member
67 (lhs.use_hw_wrapped_key == rhs.use_hw_wrapped_key);
/system/vold/
DMetadataCrypt.cpp60 bool use_hw_wrapped_key = false; member
80 return KeyGeneration{options.cipher.get_keysize(), true, options.use_hw_wrapped_key}; in makeGen()
147 if (options.use_hw_wrapped_key) { in create_crypto_blk_dev()
167 if (options.use_hw_wrapped_key) target->SetWrappedKeyV0(); in create_crypto_blk_dev()
205 options->use_hw_wrapped_key = true; in parse_options()
DKeyUtil.h37 bool use_hw_wrapped_key; member
DKeyUtil.cpp55 if (gen.use_hw_wrapped_key) { in generateStorageKey()
246 if (options.use_hw_wrapped_key) arg->__flags |= __FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED; in installFsKeyringKey()
DFsCrypt.cpp108 return KeyGeneration{FSCRYPT_MAX_KEY_SIZE, true, options.use_hw_wrapped_key}; in makeGen()
258 if (options.use_hw_wrapped_key) { in install_storage_key()
264 return installKey(mountpoint, options, options.use_hw_wrapped_key ? ephemeral_wrapped_key : key, in install_storage_key()
/system/extras/libfscrypt/
Dfscrypt.cpp159 if (options.use_hw_wrapped_key) { in OptionsToStringForApiLevel()
208 options->use_hw_wrapped_key = false; in ParseOptionsForApiLevel()
221 options->use_hw_wrapped_key = true; in ParseOptionsForApiLevel()
/system/extras/libfscrypt/tests/
Dfscrypt_test.cpp195 foo_options.use_hw_wrapped_key = true; in TEST()
203 TEST_INEQUALITY(foo, options.use_hw_wrapped_key, false); in TEST()