Home
last modified time | relevance | path

Searched refs:KeymasterOperation (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DKeymaster.h48 class KeymasterOperation {
50 ~KeymasterOperation();
69 KeymasterOperation(KeymasterOperation&& rhs) { *this = std::move(rhs); } in KeymasterOperation() function
71 KeymasterOperation() { errorCode = km::ErrorCode::UNKNOWN_ERROR; } in KeymasterOperation() function
73 KeymasterOperation& operator=(KeymasterOperation&& rhs) {
87 KeymasterOperation(std::shared_ptr<ks2::IKeystoreOperation> ks2Op, in KeymasterOperation() function
96 KeymasterOperation(km::ErrorCode errCode) : errorCode{errCode} {} in KeymasterOperation() function
104 DISALLOW_COPY_AND_ASSIGN(KeymasterOperation);
123 KeymasterOperation begin(const std::string& key, const km::AuthorizationSet& inParams,
DKeymaster.cpp46 KeymasterOperation::~KeymasterOperation() { in ~KeymasterOperation()
68 bool KeymasterOperation::updateCompletely(const char* input, size_t inputLen, in updateCompletely()
90 bool KeymasterOperation::finish(std::string* output) { in finish()
191 KeymasterOperation Keymaster::begin(const std::string& key, const km::AuthorizationSet& inParams, in begin()
205 return KeymasterOperation((km::ErrorCode)rc.getServiceSpecificError()); in begin()
207 return KeymasterOperation(); in begin()
212 return KeymasterOperation(); in begin()
217 return KeymasterOperation(cor.iOperation, cor.upgradedBlob); in begin()
DKeyStorage.cpp329 static KeymasterOperation BeginKeymasterOp(Keymaster& keymaster, const std::string& dir, in BeginKeymasterOp()
347 if (!readFileToString(upgraded_blob_file, &blob)) return KeymasterOperation(); in BeginKeymasterOp()
350 if (!readFileToString(blob_file, &blob)) return KeymasterOperation(); in BeginKeymasterOp()
362 return KeymasterOperation(); in BeginKeymasterOp()
366 return KeymasterOperation(); in BeginKeymasterOp()
372 if (!CommitUpgradedKey(keymaster, dir)) return KeymasterOperation(); in BeginKeymasterOp()
Dcryptfs.cpp408 KeymasterOperation op; in keymaster_sign_object_for_cryptfs_scrypt()