Lines Matching refs:ErrorCode
113 ErrorCode GenerateKey(const AuthorizationSet& key_desc);
115 ErrorCode GenerateKey(const AuthorizationSet& key_desc, vector<uint8_t>* key_blob,
118 ErrorCode GenerateKey(const AuthorizationSet& key_desc, vector<uint8_t>* key_blob,
122 ErrorCode GenerateKey(const AuthorizationSet& key_desc,
127 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format,
130 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format,
133 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key,
137 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key, in ImportWrappedKey()
144 ErrorCode GetCharacteristics(const vector<uint8_t>& key_blob, const vector<uint8_t>& app_id,
147 ErrorCode GetCharacteristics(const vector<uint8_t>& key_blob,
156 ErrorCode DeleteKey(vector<uint8_t>* key_blob, bool keep_key_blob = false);
157 ErrorCode DeleteKey(bool keep_key_blob = false);
159 ErrorCode DeleteAllKeys();
161 ErrorCode DestroyAttestationIds();
165 ErrorCode Begin(KeyPurpose purpose, const vector<uint8_t>& key_blob,
168 ErrorCode Begin(KeyPurpose purpose, const vector<uint8_t>& key_blob,
171 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params,
173 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params);
175 ErrorCode UpdateAad(const string& input);
176 ErrorCode Update(const string& input, string* output);
178 ErrorCode Finish(const string& message, const string& signature, string* output,
181 ErrorCode Finish(const string& message, string* output) { in Finish()
184 ErrorCode Finish(string* output) { return Finish({} /* message */, output); } in Finish()
186 ErrorCode Abort();
187 ErrorCode Abort(const shared_ptr<IKeyMintOperation>& op);
193 std::tuple<ErrorCode, std::string /* processedMessage */> ProcessMessage(
249 std::pair<ErrorCode, vector<uint8_t>> UpgradeKey(const vector<uint8_t>& key_blob);
255 TagType tagToTest, ErrorCode expectedReturn,
267 ErrorCode errorCode =
295 ErrorCode::ATTESTATION_KEYS_NOT_PROVISIONED == errorCode)) {
310 ErrorCode::ATTESTATION_KEYS_NOT_PROVISIONED == errorCode)) {
350 ErrorCode UseAesKey(const vector<uint8_t>& aesKeyBlob);
351 ErrorCode UseHmacKey(const vector<uint8_t>& hmacKeyBlob);
352 ErrorCode UseRsaKey(const vector<uint8_t>& rsaKeyBlob);
353 ErrorCode UseEcdsaKey(const vector<uint8_t>& ecdsaKeyBlob);
355 ErrorCode GenerateAttestKey(const AuthorizationSet& key_desc,
441 void device_id_attestation_check_acceptable_error(Tag tag, const ErrorCode& result);
465 ErrorCode GetReturnErrorCode(const Status& result);