efi.c (0bfb23746052168620c5b52f49d8a47c3bb022fa) | efi.c (75d647f5de69fab9908039991260cc32a7074edc) |
---|---|
1/* 2 * Copyright (C) 2017 Google 3 * 4 * Authors: 5 * Thiebaud Weksteen <tweek@google.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 10 * 2 of the License, or (at your option) any later version. 11 * 12 */ 13 14#include <linux/efi.h> 15#include <linux/tpm_eventlog.h> 16 17#include "../tpm.h" | 1/* 2 * Copyright (C) 2017 Google 3 * 4 * Authors: 5 * Thiebaud Weksteen <tweek@google.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 10 * 2 of the License, or (at your option) any later version. 11 * 12 */ 13 14#include <linux/efi.h> 15#include <linux/tpm_eventlog.h> 16 17#include "../tpm.h" |
18#include "common.h" |
|
18 19/* read binary bios log from EFI configuration table */ 20int tpm_read_log_efi(struct tpm_chip *chip) 21{ 22 23 struct linux_efi_tpm_eventlog *log_tbl; 24 struct tpm_bios_log *log; 25 u32 log_size; --- 41 unchanged lines hidden --- | 19 20/* read binary bios log from EFI configuration table */ 21int tpm_read_log_efi(struct tpm_chip *chip) 22{ 23 24 struct linux_efi_tpm_eventlog *log_tbl; 25 struct tpm_bios_log *log; 26 u32 log_size; --- 41 unchanged lines hidden --- |