Lines Matching refs:HidlBuf
41 class HidlBuf : public hidl_vec<uint8_t> {
45 HidlBuf() {} in HidlBuf() function
46 HidlBuf(const super& other) : super(other) {} in HidlBuf() function
47 HidlBuf(super&& other) : super(std::move(other)) {} in HidlBuf() function
48 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function
50 HidlBuf& operator=(const super& other) {
55 HidlBuf& operator=(super&& other) {
60 HidlBuf& operator=(const string& other) {
108 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob,
113 const string& key_material, HidlBuf* key_blob,
122 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id,
123 const HidlBuf& app_data, HidlBuf* key_material);
124 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
126 ErrorCode DeleteKey(HidlBuf* key_blob, bool keep_key_blob = false);
131 void CheckedDeleteKey(HidlBuf* key_blob, bool keep_key_blob = false);
134 ErrorCode GetCharacteristics(const HidlBuf& key_blob, const HidlBuf& client_id,
135 const HidlBuf& app_data, KeyCharacteristics* key_characteristics);
136 ErrorCode GetCharacteristics(const HidlBuf& key_blob, KeyCharacteristics* key_characteristics);
138 ErrorCode Begin(KeyPurpose purpose, const HidlBuf& key_blob, const AuthorizationSet& in_params,
160 ErrorCode AttestKey(const HidlBuf& key_blob, const AuthorizationSet& attest_params,
165 string ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const string& message,
168 string SignMessage(const HidlBuf& key_blob, const string& message,
184 void VerifyMessage(const HidlBuf& key_blob, const string& message, const string& signature,
189 string EncryptMessage(const HidlBuf& key_blob, const string& message,
196 HidlBuf* iv_out);
198 const HidlBuf& iv_in);
200 string DecryptMessage(const HidlBuf& key_blob, const string& ciphertext,
204 const HidlBuf& iv);
206 std::pair<ErrorCode, HidlBuf> UpgradeKey(const HidlBuf& key_blob);
220 HidlBuf key_blob_;