/openbmc/qemu/target/i386/hvf/ |
H A D | x86_task.c | 34 static void save_state_to_tss32(CPUState *cpu, struct x86_tss_segment32 *tss) in save_state_to_tss32() argument 40 tss->eip = (uint32_t)env->eip; in save_state_to_tss32() 41 tss->eflags = (uint32_t)env->eflags; in save_state_to_tss32() 42 tss->eax = EAX(env); in save_state_to_tss32() 43 tss->ecx = ECX(env); in save_state_to_tss32() 44 tss->edx = EDX(env); in save_state_to_tss32() 45 tss->ebx = EBX(env); in save_state_to_tss32() 46 tss->esp = ESP(env); in save_state_to_tss32() 47 tss->ebp = EBP(env); in save_state_to_tss32() 48 tss->esi = ESI(env); in save_state_to_tss32() [all …]
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-tss-engine/files/ |
H A D | 0002-Fix-mismatch-of-OpenSSL-function-signatures-that-cau.patch | 10 src/tpm2-tss-engine-rsa.c:805:46: error: passing argument 2 of 'EVP_PKEY_meth_set_copy' from incomp… 28 src/tpm2-tss-engine-ecc.c | 4 ++-- 29 src/tpm2-tss-engine-rsa.c | 4 ++-- 32 diff --git a/src/tpm2-tss-engine-ecc.c b/src/tpm2-tss-engine-ecc.c 34 --- a/src/tpm2-tss-engine-ecc.c 35 +++ b/src/tpm2-tss-engine-ecc.c 54 diff --git a/src/tpm2-tss-engine-rsa.c b/src/tpm2-tss-engine-rsa.c 56 --- a/src/tpm2-tss-engine-rsa.c 57 +++ b/src/tpm2-tss-engine-rsa.c
|
/openbmc/linux/net/core/ |
H A D | scm.c | 276 struct scm_timestamping64 tss; in put_cmsg_scm_timestamping64() local 279 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64() 280 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64() 281 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64() 284 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64() 290 struct scm_timestamping tss; in put_cmsg_scm_timestamping() local 293 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping() 294 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping() 295 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping() 298 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/trousers/files/ |
H A D | trousers-udev.rules | 1 # trousers daemon expects tpm device to be owned by tss user & group 2 KERNEL=="tpm[0-9]*", MODE="0600", OWNER="tss", GROUP="tss"
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-abrmd/ |
H A D | tpm2-abrmd_3.0.0.bb | 12 DEPENDS = "autoconf-archive dbus glib-2.0 tpm2-tss glib-2.0-native \ 35 GROUPADD_PARAM:${PN} = "tss" 36 USERADD_PARAM:${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss" 52 RDEPENDS:${PN} += "tpm2-tss"
|
/openbmc/openbmc/meta-security/meta-parsec/recipes-parsec/parsec-service/ |
H A D | parsec-service_1.4.1.bb | 23 …[ALL] = "all-providers cryptoki/generate-bindings tss-esapi/generate-bindings,,tpm2-tss libts,tpm2… 24 PACKAGECONFIG[TPM] = "tpm-provider tss-esapi/generate-bindings,,tpm2-tss,tpm2-tss libtss2-tcti-devi… 79 …N} = "${@bb.utils.contains('PACKAGECONFIG_CONFARGS', 'tpm-provider', '-a parsec -g tss ;', '', d)}"
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-core/packagegroup/ |
H A D | packagegroup-security-tpm2.bb | 16 tpm2-tss \ 24 tpm2-tss-engine \ 25 tpm2-tss-engine-engines \
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 213 static void print_timestamp(struct scm_timestamping *tss, int tstype, in print_timestamp() argument 223 validate_timestamp(&tss->ts[0], 0); in print_timestamp() 224 add_timing_event(&usr_enq, &ts_usr, &tss->ts[0]); in print_timestamp() 228 validate_timestamp(&tss->ts[0], cfg_delay_snd); in print_timestamp() 229 add_timing_event(&usr_snd, &ts_usr, &tss->ts[0]); in print_timestamp() 233 validate_timestamp(&tss->ts[0], cfg_delay_ack); in print_timestamp() 234 add_timing_event(&usr_ack, &ts_usr, &tss->ts[0]); in print_timestamp() 240 __print_timestamp(tsname, &tss->ts[0], tskey, payload_len); in print_timestamp() 311 struct scm_timestamping *tss = NULL; in __recv_errmsg_cmsg() local 320 tss = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() [all …]
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-tss/ |
H A D | tpm2-tss_4.1.3.bb | 31 GROUPADD_PARAM:${PN} = "--system tss" 32 USERADD_PARAM:${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss" 88 /var/lib/tpm2-tss \ 92 ${sysconfdir}/tpm2-tss \
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm/swtpm/ |
H A D | swtpm_0.8.2.bb | 18 TSS_USER="tss" 19 TSS_GROUP="tss" 34 EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}"
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | desc.h | 183 tss_desc tss; in __set_tss_desc() local 185 set_tssldt_descriptor(&tss, (unsigned long)addr, DESC_TSS, in __set_tss_desc() 187 write_gdt_entry(d, entry, &tss, DESC_TSS); in __set_tss_desc() 306 tss_desc tss; in force_reload_TR() local 308 memcpy(&tss, &d[GDT_ENTRY_TSS], sizeof(tss_desc)); in force_reload_TR() 314 tss.type = DESC_TSS; in force_reload_TR() 315 write_gdt_entry(d, GDT_ENTRY_TSS, &tss, DESC_TSS); in force_reload_TR()
|
H A D | cpu_entry_area.h | 78 struct x86_hw_tss tss; member 112 struct tss_struct tss; member
|
/openbmc/linux/arch/x86/kvm/ |
H A D | emulate.c | 2665 struct tss_segment_16 *tss) in save_state_to_tss16() argument 2667 tss->ip = ctxt->_eip; in save_state_to_tss16() 2668 tss->flag = ctxt->eflags; in save_state_to_tss16() 2669 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16() 2670 tss->cx = reg_read(ctxt, VCPU_REGS_RCX); in save_state_to_tss16() 2671 tss->dx = reg_read(ctxt, VCPU_REGS_RDX); in save_state_to_tss16() 2672 tss->bx = reg_read(ctxt, VCPU_REGS_RBX); in save_state_to_tss16() 2673 tss->sp = reg_read(ctxt, VCPU_REGS_RSP); in save_state_to_tss16() 2674 tss->bp = reg_read(ctxt, VCPU_REGS_RBP); in save_state_to_tss16() 2675 tss->si = reg_read(ctxt, VCPU_REGS_RSI); in save_state_to_tss16() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_mpc52xx.c | 122 u8 tss; member 128 .tsr = 3, .trfs = 5, .trp = 11, .tack = 2, .tss = 4, 132 .tsr = 2, .trfs = 5, .trp = 9, .tack = 2, .tss = 4, 136 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4, 140 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4, 144 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4, 148 .tsr = 2, .trfs = 4, .trp = 6, .tack = 2, .tss = 4, 155 .tsr = 7, .trfs = 10, .trp = 22, .tack = 3, .tss = 7, 159 .tsr = 4, .trfs = 10, .trp = 17, .tack = 3, .tss = 7, 163 .tsr = 3, .trfs = 8, .trp = 14, .tack = 3, .tss = 7, [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | doublefault_32.c | 86 .tss = { 111 &get_cpu_entry_area(cpu)->doublefault_stack.tss); in set_df_gdt_entry() 124 this_cpu_write(doublefault_stack.tss.sp, in doublefault_init_cpu_tss()
|
H A D | process.c | 426 static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm) in tss_copy_io_bitmap() argument 436 memcpy(tss->io_bitmap.bitmap, iobm->bitmap, in tss_copy_io_bitmap() 437 max(tss->io_bitmap.prev_max, iobm->max)); in tss_copy_io_bitmap() 443 tss->io_bitmap.prev_max = iobm->max; in tss_copy_io_bitmap() 444 tss->io_bitmap.prev_sequence = iobm->sequence; in tss_copy_io_bitmap() 452 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in native_tss_update_io_bitmap() local 454 u16 *base = &tss->x86_tss.io_bitmap_base; in native_tss_update_io_bitmap() 470 if (tss->io_bitmap.prev_sequence != iobm->sequence) in native_tss_update_io_bitmap() 471 tss_copy_io_bitmap(tss, iobm); in native_tss_update_io_bitmap()
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | common.c | 2013 struct tss_struct *tss; in enable_sep_cpu() local 2020 tss = &per_cpu(cpu_tss_rw, cpu); in enable_sep_cpu() 2027 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu() 2028 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu() 2229 static inline void tss_setup_ist(struct tss_struct *tss) in tss_setup_ist() argument 2232 tss->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in tss_setup_ist() 2233 tss->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in tss_setup_ist() 2234 tss->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in tss_setup_ist() 2235 tss->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in tss_setup_ist() 2237 tss->x86_tss.ist[IST_INDEX_VC] = __this_cpu_ist_top_va(VC); in tss_setup_ist() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | tcp.c | 743 struct tcp_splice_state *tss = rd_desc->arg.data; in tcp_splice_data_recv() local 746 ret = skb_splice_bits(skb, skb->sk, offset, tss->pipe, in tcp_splice_data_recv() 747 min(rd_desc->count, len), tss->flags); in tcp_splice_data_recv() 753 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read() argument 757 .arg.data = tss, in __tcp_splice_read() 758 .count = tss->len, in __tcp_splice_read() 781 struct tcp_splice_state tss = { in tcp_splice_read() local 802 while (tss.len) { in tcp_splice_read() 803 ret = __tcp_splice_read(sk, &tss); in tcp_splice_read() 844 tss.len -= ret; in tcp_splice_read() [all …]
|
/openbmc/linux/arch/x86/power/ |
H A D | cpu.c | 155 tss_desc tss; in fix_processor_context() local 165 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context() 168 memcpy(&tss, &desc[GDT_ENTRY_TSS], sizeof(tss_desc)); in fix_processor_context() 169 tss.type = 0x9; /* The available 64-bit TSS (see AMD vol 2, pg 91 */ in fix_processor_context() 170 write_gdt_entry(desc, GDT_ENTRY_TSS, &tss, DESC_TSS); in fix_processor_context()
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm2/tpm2-tss-engine/ |
H A D | tpm2-tss-engine_1.2.0.bb | 1 SUMMARY = "The tpm2-tss-engine project implements a cryptographic engine for OpenSSL." 2 …ION = "The tpm2-tss-engine project implements a cryptographic engine for OpenSSL for Trusted Platf…
|
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/trousers/ |
H A D | trousers_git.bb | 73 ${prefix}/src/debug/${PN}/${PV}-${PR}/git/src/include/tss \ 113 GROUPADD_PARAM:${PN} = "--system tss" 114 USERADD_PARAM:${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss"
|
/openbmc/linux/arch/x86/hyperv/ |
H A D | hv_vtl.c | 78 struct ldttss_desc *tss; in hv_vtl_bringup_vcpu() local 91 tss = (struct ldttss_desc *)(gdt + GDT_ENTRY_TSS); in hv_vtl_bringup_vcpu() 149 input->vp_context.tr.base = hv_vtl_system_desc_base(tss); in hv_vtl_bringup_vcpu() 150 input->vp_context.tr.limit = hv_vtl_system_desc_limit(tss); in hv_vtl_bringup_vcpu()
|
/openbmc/linux/drivers/acpi/ |
H A D | processor_throttling.c | 489 union acpi_object *tss = NULL; in acpi_processor_get_throttling_states() local 500 tss = buffer.pointer; in acpi_processor_get_throttling_states() 501 if (!tss || (tss->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_throttling_states() 508 tss->package.count); in acpi_processor_get_throttling_states() 510 pr->throttling.state_count = tss->package.count; in acpi_processor_get_throttling_states() 512 kmalloc_array(tss->package.count, in acpi_processor_get_throttling_states() 531 status = acpi_extract_package(&(tss->package.elements[i]), in acpi_processor_get_throttling_states()
|
/openbmc/openbmc/meta-security/meta-tpm/conf/distro/include/ |
H A D | maintainers-meta-tpm.inc | 33 RECIPE_MAINTAINER:pn-tpm2-tss-engine = "Armin Kuster <akuster808@gmail.com>" 35 RECIPE_MAINTAINER:pn-tpm2-tss = "Armin Kuster <akuster808@gmail.com>"
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 455 for (i = 0; i < ARRAY_SIZE(inst->tss); i++) { in put_ts_metadata() 456 if (!inst->tss[i].used) { in put_ts_metadata() 469 inst->tss[slot].used = true; in put_ts_metadata() 470 inst->tss[slot].flags = vbuf->flags; in put_ts_metadata() 471 inst->tss[slot].tc = vbuf->timecode; in put_ts_metadata() 472 inst->tss[slot].ts_us = ts_us; in put_ts_metadata() 473 inst->tss[slot].ts_ns = vb->timestamp; in put_ts_metadata() 482 for (i = 0; i < ARRAY_SIZE(inst->tss); ++i) { in venus_helper_get_ts_metadata() 483 if (!inst->tss[i].used) in venus_helper_get_ts_metadata() 486 if (inst->tss[i].ts_us != timestamp_us) in venus_helper_get_ts_metadata() [all …]
|