tpm2.c (0bfb23746052168620c5b52f49d8a47c3bb022fa) tpm2.c (75d647f5de69fab9908039991260cc32a7074edc)
1/*
2 * Copyright (C) 2016 IBM Corporation
3 *
4 * Authors:
5 * Nayna Jain <nayna@linux.vnet.ibm.com>
6 *
7 * Access to TPM 2.0 event log as written by Firmware.
8 * It assumes that writer of event log has followed TCG Specification

--- 10 unchanged lines hidden (view full) ---

19#include <linux/seq_file.h>
20#include <linux/fs.h>
21#include <linux/security.h>
22#include <linux/module.h>
23#include <linux/slab.h>
24#include <linux/tpm_eventlog.h>
25
26#include "../tpm.h"
1/*
2 * Copyright (C) 2016 IBM Corporation
3 *
4 * Authors:
5 * Nayna Jain <nayna@linux.vnet.ibm.com>
6 *
7 * Access to TPM 2.0 event log as written by Firmware.
8 * It assumes that writer of event log has followed TCG Specification

--- 10 unchanged lines hidden (view full) ---

19#include <linux/seq_file.h>
20#include <linux/fs.h>
21#include <linux/security.h>
22#include <linux/module.h>
23#include <linux/slab.h>
24#include <linux/tpm_eventlog.h>
25
26#include "../tpm.h"
27#include "common.h"
27
28/*
29 * calc_tpm2_event_size() - calculate the event size, where event
30 * is an entry in the TPM 2.0 event log. The event is of type Crypto
31 * Agile Log Entry Format as defined in TCG EFI Protocol Specification
32 * Family "2.0".
33
34 * @event: event whose size is to be calculated.

--- 175 unchanged lines hidden ---
28
29/*
30 * calc_tpm2_event_size() - calculate the event size, where event
31 * is an entry in the TPM 2.0 event log. The event is of type Crypto
32 * Agile Log Entry Format as defined in TCG EFI Protocol Specification
33 * Family "2.0".
34
35 * @event: event whose size is to be calculated.

--- 175 unchanged lines hidden ---