coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
tss_commands.h File Reference
#include <stdint.h>
Include dependency graph for tss_commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  s_tpm_extend_cmd
 
struct  s_tpm_get_random_cmd
 
struct  s_tpm_getownership_cmd
 
struct  s_tpm_getpermissions_cmd
 
struct  s_tpm_getstclearflags_cmd
 
struct  s_tpm_getflags_cmd
 
struct  s_tpm_physicalsetdeactivated_cmd
 
struct  s_tpm_physicalenable_cmd
 
struct  s_tpm_physicaldisable_cmd
 
struct  s_tpm_forceclear_cmd
 
struct  s_tpm_readpubek_cmd
 
struct  s_tpm_continueselftest_cmd
 
struct  s_tpm_selftestfull_cmd
 
struct  s_tpm_resume_cmd
 
struct  s_tpm_savestate_cmd
 
struct  s_tpm_startup_cmd
 
struct  s_tpm_finalizepp_cmd
 
struct  s_tpm_pplock_cmd
 
struct  s_tpm_ppenable_cmd
 
struct  s_tpm_ppassert_cmd
 
struct  s_tpm_pcr_read_cmd
 
struct  s_tpm_nv_read_cmd
 
struct  s_tpm_nv_write_cmd
 
struct  s_tpm_nv_definespace_cmd
 

Variables

const struct s_tpm_extend_cmd tpm_extend_cmd
 
const struct s_tpm_get_random_cmd tpm_get_random_cmd
 
const struct s_tpm_getownership_cmd tpm_getownership_cmd
 
const struct s_tpm_getpermissions_cmd tpm_getpermissions_cmd
 
const struct s_tpm_getstclearflags_cmd tpm_getstclearflags_cmd
 
const struct s_tpm_getflags_cmd tpm_getflags_cmd
 
const struct s_tpm_physicalsetdeactivated_cmd tpm_physicalsetdeactivated_cmd
 
const struct s_tpm_physicalenable_cmd tpm_physicalenable_cmd
 
const struct s_tpm_physicaldisable_cmd tpm_physicaldisable_cmd
 
const struct s_tpm_forceclear_cmd tpm_forceclear_cmd
 
const struct s_tpm_readpubek_cmd tpm_readpubek_cmd
 
const struct s_tpm_continueselftest_cmd tpm_continueselftest_cmd
 
const struct s_tpm_selftestfull_cmd tpm_selftestfull_cmd
 
const struct s_tpm_resume_cmd tpm_resume_cmd
 
const struct s_tpm_savestate_cmd tpm_savestate_cmd
 
const struct s_tpm_startup_cmd tpm_startup_cmd
 
const struct s_tpm_finalizepp_cmd tpm_finalizepp_cmd
 
const struct s_tpm_pplock_cmd tpm_pplock_cmd
 
const struct s_tpm_ppenable_cmd tpm_ppenable_cmd
 
const struct s_tpm_ppassert_cmd tpm_ppassert_cmd
 
const struct s_tpm_pcr_read_cmd tpm_pcr_read_cmd
 
const struct s_tpm_nv_read_cmd tpm_nv_read_cmd
 
const struct s_tpm_nv_write_cmd tpm_nv_write_cmd
 
const struct s_tpm_nv_definespace_cmd tpm_nv_definespace_cmd
 
const int kWriteInfoLength = 12
 
const int kNvDataPublicPermissionsOffset = 60
 

Variable Documentation

◆ kNvDataPublicPermissionsOffset

const int kNvDataPublicPermissionsOffset = 60

Definition at line 166 of file tss_commands.h.

Referenced by tlcl_get_permissions().

◆ kWriteInfoLength

const int kWriteInfoLength = 12

Definition at line 165 of file tss_commands.h.

Referenced by tlcl_write().

◆ tpm_continueselftest_cmd

const struct s_tpm_continueselftest_cmd tpm_continueselftest_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x53, },
}

Referenced by tlcl_continue_self_test().

◆ tpm_extend_cmd

const struct s_tpm_extend_cmd tpm_extend_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x22, 0x0, 0x0, 0x0, 0x14, },
10, 14, }

Referenced by tlcl_extend().

◆ tpm_finalizepp_cmd

const struct s_tpm_finalizepp_cmd tpm_finalizepp_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x2, 0xa0, },
}

Referenced by tlcl_finalize_physical_presence().

◆ tpm_forceclear_cmd

const struct s_tpm_forceclear_cmd tpm_forceclear_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x5d, },
}

Referenced by tlcl_force_clear().

◆ tpm_get_random_cmd

const struct s_tpm_get_random_cmd tpm_get_random_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xe, 0x0, 0x0, 0x0, 0x46, },
10, }

◆ tpm_getflags_cmd

const struct s_tpm_getflags_cmd tpm_getflags_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65,
0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x8, },
}

Referenced by tlcl_get_permanent_flags().

◆ tpm_getownership_cmd

const struct s_tpm_getownership_cmd tpm_getownership_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65,
0x0, 0x0, 0x0, 0x5, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x11, },
}

◆ tpm_getpermissions_cmd

const struct s_tpm_getpermissions_cmd tpm_getpermissions_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65,
0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x4, },
18, }

Referenced by tlcl_get_permissions().

◆ tpm_getstclearflags_cmd

const struct s_tpm_getstclearflags_cmd tpm_getstclearflags_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0x65,
0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0, 0x1, 0x9, },
}

◆ tpm_nv_definespace_cmd

const struct s_tpm_nv_definespace_cmd tpm_nv_definespace_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0x65, 0x0, 0x0, 0x0, 0xcc,
0x0, 0x18, 0, 0, 0, 0, 0x0, 0x3, 0, 0, 0, 0x1f, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0x0, 0x3, 0, 0, 0, 0x1f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x0, 0x17,
},
12, 70, 77,
}

Referenced by tlcl_define_space().

◆ tpm_nv_read_cmd

const struct s_tpm_nv_read_cmd tpm_nv_read_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x16, 0x0, 0x0, 0x0, 0xcf, },
10, 18, }

Referenced by tlcl_read().

◆ tpm_nv_write_cmd

const struct s_tpm_nv_write_cmd tpm_nv_write_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xcd, },
10, 18, 22, }

Referenced by tlcl_write().

◆ tpm_pcr_read_cmd

const struct s_tpm_pcr_read_cmd tpm_pcr_read_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xe, 0x0, 0x0, 0x0, 0x15, },
10, }

◆ tpm_physicaldisable_cmd

const struct s_tpm_physicaldisable_cmd tpm_physicaldisable_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x70, },
}

◆ tpm_physicalenable_cmd

const struct s_tpm_physicalenable_cmd tpm_physicalenable_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x6f, },
}

Referenced by tlcl_set_enable().

◆ tpm_physicalsetdeactivated_cmd

const struct s_tpm_physicalsetdeactivated_cmd tpm_physicalsetdeactivated_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xb, 0x0, 0x0, 0x0, 0x72, },
10, }

Referenced by tlcl_set_deactivated().

◆ tpm_ppassert_cmd

const struct s_tpm_ppassert_cmd tpm_ppassert_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0, 0x8, },
}

Referenced by tlcl_assert_physical_presence().

◆ tpm_ppenable_cmd

const struct s_tpm_ppenable_cmd tpm_ppenable_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0, 0x20, },
}

Referenced by tlcl_physical_presence_cmd_enable().

◆ tpm_pplock_cmd

const struct s_tpm_pplock_cmd tpm_pplock_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x40, 0x0, 0x0, 0xa, 0x0, 0x4, },
}

◆ tpm_readpubek_cmd

const struct s_tpm_readpubek_cmd tpm_readpubek_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0x1e, 0x0, 0x0, 0x0, 0x7c, },
}

◆ tpm_resume_cmd

const struct s_tpm_resume_cmd tpm_resume_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x2, },
}

Referenced by tlcl_resume().

◆ tpm_savestate_cmd

const struct s_tpm_savestate_cmd tpm_savestate_cmd
Initial value:
= {{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x98, },
}

Referenced by tlcl_save_state().

◆ tpm_selftestfull_cmd

const struct s_tpm_selftestfull_cmd tpm_selftestfull_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xa, 0x0, 0x0, 0x0, 0x50, },
}

Referenced by tlcl_self_test_full().

◆ tpm_startup_cmd

const struct s_tpm_startup_cmd tpm_startup_cmd
Initial value:
= {
{0x0, 0xc1, 0x0, 0x0, 0x0, 0xc, 0x0, 0x0, 0x0, 0x99, 0x0, 0x1, },
}

Referenced by tlcl_startup().