Searched refs:sigstruct (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | sigstruct.c | 318 struct sgx_sigstruct *sigstruct = &encl->sigstruct; in encl_measure() local 326 memset(sigstruct, 0, sizeof(*sigstruct)); in encl_measure() 328 sigstruct->header.header1[0] = header1[0]; in encl_measure() 329 sigstruct->header.header1[1] = header1[1]; in encl_measure() 330 sigstruct->header.header2[0] = header2[0]; in encl_measure() 331 sigstruct->header.header2[1] = header2[1]; in encl_measure() 332 sigstruct->exponent = 3; in encl_measure() 333 sigstruct->body.attributes = SGX_ATTR_MODE64BIT; in encl_measure() 334 sigstruct->body.xfrm = 3; in encl_measure() 346 BN_bn2bin(get_modulus(key), sigstruct->modulus); in encl_measure() [all …]
|
H A D | Makefile | 28 $(OUTPUT)/sigstruct.o \ 39 $(OUTPUT)/sigstruct.o: sigstruct.c 56 $(OUTPUT)/sigstruct.o \
|
H A D | main.h | 31 struct sgx_sigstruct sigstruct; member
|
H A D | load.c | 362 ioc.sigstruct = (uint64_t)&encl->sigstruct; in encl_build()
|
/openbmc/linux/arch/x86/kernel/cpu/sgx/ |
H A D | ioctl.c | 491 static int sgx_encl_init(struct sgx_encl *encl, struct sgx_sigstruct *sigstruct, in sgx_encl_init() 509 * the mask for enforcement in sigstruct. For example an enclave could in sgx_encl_init() 511 * without it if the sigstruct->body.attributes_mask does not turn that in sgx_encl_init() 514 if (sigstruct->body.attributes & sigstruct->body.attributes_mask & in sgx_encl_init() 518 if (sigstruct->body.miscselect & sigstruct->body.misc_mask & in sgx_encl_init() 522 if (sigstruct->body.xfrm & sigstruct->body.xfrm_mask & in sgx_encl_init() 526 ret = sgx_get_key_hash(sigstruct in sgx_encl_init() 484 sgx_encl_init(struct sgx_encl * encl,struct sgx_sigstruct * sigstruct,void * token) sgx_encl_init() argument 594 struct sgx_sigstruct *sigstruct; sgx_ioc_enclave_init() local [all...] |
H A D | virt.c | 368 static int __sgx_virt_einit(void __user *sigstruct, void __user *token, in __sgx_virt_einit() argument 379 if (WARN_ON_ONCE(!access_ok(sigstruct, sizeof(struct sgx_sigstruct)) || in __sgx_virt_einit() 385 ret = __einit((void *)sigstruct, (void *)token, (void *)secs); in __sgx_virt_einit() 408 int sgx_virt_einit(void __user *sigstruct, void __user *token, in sgx_virt_einit() argument 414 ret = __sgx_virt_einit(sigstruct, token, secs); in sgx_virt_einit() 420 ret = __sgx_virt_einit(sigstruct, token, secs); in sgx_virt_einit()
|
H A D | encls.h | 161 static inline int __einit(void *sigstruct, void *token, void *secs) in __einit() argument 163 return __encls_ret_3(EINIT, sigstruct, secs, token); in __einit()
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | sgx.h | 73 __u64 sigstruct; member
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | sgx.h | 416 int sgx_virt_einit(void __user *sigstruct, void __user *token,
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |
H A D | opengrok2.0.log | [all...] |