Lines Matching refs:HidlBuf
40 class HidlBuf : public hidl_vec<uint8_t> {
44 HidlBuf() {} in HidlBuf() function
45 HidlBuf(const super& other) : super(other) {} in HidlBuf() function
46 HidlBuf(super&& other) : super(std::move(other)) { other = {}; } in HidlBuf() function
47 HidlBuf(const HidlBuf& other) : super(other) {} in HidlBuf() function
48 HidlBuf(HidlBuf&& other) : super(std::move(other)) { other = HidlBuf(); } in HidlBuf() function
49 explicit HidlBuf(const std::string& other) : HidlBuf() { *this = other; } in HidlBuf() function
51 HidlBuf& operator=(const super& other) {
56 HidlBuf& operator=(super&& other) {
62 HidlBuf& operator=(const HidlBuf& other) {
67 HidlBuf& operator=(HidlBuf&& other) {
73 HidlBuf& operator=(const string& other) {
99 ErrorCode GenerateKey(const AuthorizationSet& key_desc, HidlBuf* key_blob,
104 const string& key_material, HidlBuf* key_blob,
113 ErrorCode ExportKey(KeyFormat format, const HidlBuf& key_blob, const HidlBuf& client_id,
114 const HidlBuf& app_data, HidlBuf* key_material);
115 ErrorCode ExportKey(KeyFormat format, HidlBuf* key_material);
117 ErrorCode DeleteKey(HidlBuf* key_blob, bool keep_key_blob = false);
122 void CheckedDeleteKey(HidlBuf* key_blob, bool keep_key_blob = false);
125 void CheckGetCharacteristics(const HidlBuf& key_blob, const HidlBuf& client_id,
126 const HidlBuf& app_data, KeyCharacteristics* key_characteristics);
127 ErrorCode GetCharacteristics(const HidlBuf& key_blob, const HidlBuf& client_id,
128 const HidlBuf& app_data, KeyCharacteristics* key_characteristics);
129 ErrorCode GetCharacteristics(const HidlBuf& key_blob, KeyCharacteristics* key_characteristics);
133 ErrorCode Begin(KeyPurpose purpose, const HidlBuf& key_blob, const AuthorizationSet& in_params,
155 ErrorCode AttestKey(const HidlBuf& key_blob, const AuthorizationSet& attest_params,
160 string ProcessMessage(const HidlBuf& key_blob, KeyPurpose operation, const string& message,
163 string SignMessage(const HidlBuf& key_blob, const string& message,
179 void VerifyMessage(const HidlBuf& key_blob, const string& message, const string& signature,
184 string EncryptMessage(const HidlBuf& key_blob, const string& message,
191 HidlBuf* iv_out);
193 const HidlBuf& iv_in);
195 uint8_t mac_length_bits, const HidlBuf& iv_in);
197 string DecryptMessage(const HidlBuf& key_blob, const string& ciphertext,
201 const HidlBuf& iv);
203 std::pair<ErrorCode, HidlBuf> UpgradeKey(const HidlBuf& key_blob);
217 HidlBuf key_blob_;