Lines Matching refs:blob
218 const uint8_t* const & accessBlobData(const keymaster_key_blob_t* blob) {
219 return blob->key_material;
222 const uint8_t*& accessBlobData(keymaster_key_blob_t* blob) {
223 return blob->key_material;
226 const size_t& accessBlobSize(const keymaster_key_blob_t* blob) {
227 return blob->key_material_size;
230 size_t& accessBlobSize(keymaster_key_blob_t* blob) {
231 return blob->key_material_size;
235 const uint8_t* const & accessBlobData(const keymaster_blob_t* blob) {
236 return blob->data;
239 const uint8_t*& accessBlobData(keymaster_blob_t* blob) {
240 return blob->data;
243 const size_t & accessBlobSize(const keymaster_blob_t* blob) {
244 return blob->data_length;
247 size_t& accessBlobSize(keymaster_blob_t* blob) {
248 return blob->data_length;
277 explicit TKeymasterBlob(const BlobType& blob) {
279 accessBlobData(this) = dup_buffer(accessBlobData(&blob), accessBlobSize(&blob));
281 accessBlobSize(this) = accessBlobSize(&blob);
292 TKeymasterBlob(const TKeymasterBlob& blob) {
294 accessBlobData(this) = dup_buffer(accessBlobData(&blob), accessBlobSize(&blob));
296 accessBlobSize(this) = accessBlobSize(&blob);
306 TKeymasterBlob& operator=(const TKeymasterBlob& blob) {
307 if (this != &blob) {
309 accessBlobData(this) = dup_buffer(accessBlobData(&blob), accessBlobSize(&blob));
310 accessBlobSize(this) = accessBlobSize(&blob);