Lines Matching refs:sha1_ctx
268 struct mesa_sha1 sha1_ctx;
277 _mesa_sha1_init(&sha1_ctx);
278 _mesa_sha1_update(&sha1_ctx, mesa_version, strlen(mesa_version));
279 disk_cache_get_function_identifier(dzn_physical_device_init_uuids, &sha1_ctx);
280 _mesa_sha1_update(&sha1_ctx, &pdev->options, sizeof(pdev->options));
281 _mesa_sha1_update(&sha1_ctx, &pdev->options2, sizeof(pdev->options2));
282 _mesa_sha1_final(&sha1_ctx, sha1);
294 _mesa_sha1_init(&sha1_ctx);
295 _mesa_sha1_update(&sha1_ctx, &pdev->desc.vendor_id, sizeof(pdev->desc.vendor_id));
296 _mesa_sha1_update(&sha1_ctx, &pdev->desc.device_id, sizeof(pdev->desc.device_id));
297 _mesa_sha1_update(&sha1_ctx, &pdev->desc.subsys_id, sizeof(pdev->desc.subsys_id));
298 _mesa_sha1_update(&sha1_ctx, &pdev->desc.revision, sizeof(pdev->desc.revision));
299 _mesa_sha1_final(&sha1_ctx, sha1);