Lines Matching refs:ErrorCode

82     ErrorCode GetReturnErrorCode(const Status& result);
84 ErrorCode GenerateKey(const AuthorizationSet& key_desc, vector<uint8_t>* key_blob, in GenerateKey()
89 ErrorCode GenerateKey(const AuthorizationSet& key_desc,
93 ErrorCode GenerateKey(const AuthorizationSet& key_desc,
96 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format,
99 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format,
102 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key,
106 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key, in ImportWrappedKey()
113 ErrorCode GetCharacteristics(const vector<uint8_t>& key_blob, const vector<uint8_t>& app_id,
116 ErrorCode GetCharacteristics(const vector<uint8_t>& key_blob,
125 ErrorCode DeleteKey(vector<uint8_t>* key_blob, bool keep_key_blob = false);
126 ErrorCode DeleteKey(bool keep_key_blob = false);
128 ErrorCode DeleteAllKeys();
130 ErrorCode DestroyAttestationIds();
135 ErrorCode Begin(KeyPurpose purpose, const vector<uint8_t>& key_blob,
138 ErrorCode Begin(KeyPurpose purpose, const vector<uint8_t>& key_blob,
140 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params,
142 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params);
144 ErrorCode UpdateAad(const string& input);
145 ErrorCode Update(const string& input, string* output);
147 ErrorCode Finish(const string& message, const string& signature, string* output);
148 ErrorCode Finish(const string& message, string* output) { in Finish()
151 ErrorCode Finish(string* output) { return Finish({} /* message */, output); } in Finish()
153 ErrorCode Abort();
154 ErrorCode Abort(const shared_ptr<IKeyMintOperation>& op);
160 std::tuple<ErrorCode, std::string /* processedMessage */> ProcessMessage(
208 std::pair<ErrorCode, vector<uint8_t>> UpgradeKey(const vector<uint8_t>& key_blob);
214 TagType tagToTest, ErrorCode expectedReturn,
226 ErrorCode errorCode =
301 ErrorCode UseAesKey(const vector<uint8_t>& aesKeyBlob);
302 ErrorCode UseHmacKey(const vector<uint8_t>& hmacKeyBlob);
303 ErrorCode UseRsaKey(const vector<uint8_t>& rsaKeyBlob);
304 ErrorCode UseEcdsaKey(const vector<uint8_t>& ecdsaKeyBlob);