Lines Matching full:blob
256 keymaster_param_blob(tag, &keyParams[i].blob[0], keyParams[i].blob.size());
278 inline static keymaster_blob_t hidlVec2KmBlob(const hidl_vec<uint8_t>& blob) {
279 /* hidl unmarshals funny pointers if the the blob is empty */
280 if (blob.size()) return {&blob[0], blob.size()};
284 inline static keymaster_key_blob_t hidlVec2KmKeyBlob(const hidl_vec<uint8_t>& blob) {
285 /* hidl unmarshals funny pointers if the the blob is empty */
286 if (blob.size()) return {&blob[0], blob.size()};
290 inline static hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_key_blob_t& blob) {
292 result.setToExternal(const_cast<unsigned char*>(blob.key_material), blob.key_material_size);
295 inline static hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_blob_t& blob) {
297 result.setToExternal(const_cast<unsigned char*>(blob.data), blob.data_length);
345 result[i].blob.setToExternal(const_cast<unsigned char*>(params[i].blob.data),
346 params[i].blob.data_length);
610 // blob is unusable after the call. This is equally true if the key blob was