summaryrefslogtreecommitdiff
path: root/include/chromeos/hasher_state.h
blob: 322ed93bb61e99f54ef169b4182403a0e4cadf12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * Alternatively, this software may be distributed under the terms of the
 * GNU General Public License ("GPL") version 2 as published by the Free
 * Software Foundation.
 */

#ifndef CHROMEOS_HASHER_STATE_H_
#define CHROMEOS_HASHER_STATE_H_

#include <chromeos/firmware_storage.h>

typedef struct {
	firmware_storage_t *file;
	struct {
		void *vblock;
		uint32_t offset;
		uint32_t size;
		void *cache;
	} fw[2];
} hasher_state_t;

#endif /* CHROMEOS_HASHER_STATE_H_ */