HomeSort by relevance Sort by last modified time
    Searched refs:KeymasterOperation (Results 1 - 3 of 3) sorted by null

  /system/vold/
Keymaster.h 44 class KeymasterOperation {
46 ~KeymasterOperation();
64 KeymasterOperation(KeymasterOperation&& rhs) { *this = std::move(rhs); }
66 KeymasterOperation() : mDevice{nullptr}, mOpHandle{0}, mError{km::ErrorCode::UNKNOWN_ERROR} {}
68 KeymasterOperation& operator=(KeymasterOperation&& rhs) {
82 KeymasterOperation(KmDevice* d, uint64_t h)
84 KeymasterOperation(km::ErrorCode error) : mDevice{nullptr}, mOpHandle{0}, mError{error} {}
92 DISALLOW_COPY_AND_ASSIGN(KeymasterOperation);
    [all...]
Keymaster.cpp 30 KeymasterOperation::~KeymasterOperation() {
34 bool KeymasterOperation::updateCompletely(const char* input, size_t inputLen,
73 bool KeymasterOperation::finish(std::string* output) {
178 KeymasterOperation Keymaster::begin(km::KeyPurpose purpose, const std::string& key,
197 return KeymasterOperation(km::ErrorCode::UNKNOWN_ERROR);
201 return KeymasterOperation(km_error);
203 return KeymasterOperation(mDevice.get(), mOpHandle);
304 KeymasterOperation op;
KeyStorage.cpp 201 static KeymasterOperation begin(Keymaster& keymaster, const std::string& dir,
208 if (!readFileToString(kmKeyPath, &kmKey)) return KeymasterOperation();
219 if (!keymaster.upgradeKey(kmKey, keyParams, &newKey)) return KeymasterOperation();
221 if (!writeStringToFile(newKey, newKeyPath)) return KeymasterOperation();
224 return KeymasterOperation();

Completed in 748 milliseconds