Lines Matching refs:ErrorCode

99     ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob,
101 ErrorCode GenerateKey(const AuthorizationSet& key_desc);
103 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format,
106 ErrorCode ImportKey(const AuthorizationSet& key_desc, KeyFormat format,
109 ErrorCode ImportWrappedKey(string wrapped_key, string wrapping_key,
113 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id,
115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
117 ErrorCode DeleteKey(HidlBuf* key_blob, bool keep_key_blob = false);
118 ErrorCode DeleteKey(bool keep_key_blob = false);
120 ErrorCode DeleteAllKeys();
127 ErrorCode GetCharacteristics(const HidlBuf& key_blob, const HidlBuf& client_id,
129 ErrorCode GetCharacteristics(const HidlBuf& key_blob, KeyCharacteristics* key_characteristics);
131 ErrorCode GetDebugInfo(DebugInfo* debug_info);
133 ErrorCode Begin(KeyPurpose purpose, const HidlBuf& key_blob, const AuthorizationSet& in_params,
135 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params,
137 ErrorCode Begin(KeyPurpose purpose, const AuthorizationSet& in_params);
139 ErrorCode Update(OperationHandle op_handle, const AuthorizationSet& in_params,
142 ErrorCode Update(const string& input, string* out, size_t* input_consumed);
144 ErrorCode Finish(OperationHandle op_handle, const AuthorizationSet& in_params,
147 ErrorCode Finish(const string& message, string* output);
148 ErrorCode Finish(const string& message, const string& signature, string* output);
149 ErrorCode Finish(string* output) { return Finish(string(), output); } in Finish()
151 ErrorCode Abort(OperationHandle op_handle);
155 ErrorCode AttestKey(const HidlBuf& key_blob, const AuthorizationSet& attest_params,
157 ErrorCode AttestKey(const AuthorizationSet& attest_params,
203 std::pair<ErrorCode, HidlBuf> UpgradeKey(const HidlBuf& key_blob);