Home
last modified time | relevance | path

Searched refs:SGX_MODULUS_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/arch/x86/include/asm/
Dsgx.h88 #define SGX_MODULUS_SIZE 384 macro
397 u8 modulus[SGX_MODULUS_SIZE];
399 u8 signature[SGX_MODULUS_SIZE];
402 u8 q1[SGX_MODULUS_SIZE];
403 u8 q2[SGX_MODULUS_SIZE];
/linux-6.12.1/tools/testing/selftests/sgx/
Dsigstruct.c49 ctx->s = BN_bin2bn(s, SGX_MODULUS_SIZE, NULL); in alloc_q1q2_ctx()
50 ctx->m = BN_bin2bn(m, SGX_MODULUS_SIZE, NULL); in alloc_q1q2_ctx()
97 if (BN_num_bytes(ctx.q1) > SGX_MODULUS_SIZE) { in calc_q1q2()
109 if (BN_num_bytes(ctx.q2) > SGX_MODULUS_SIZE) { in calc_q1q2()
379 reverse_bytes(sigstruct->signature, SGX_MODULUS_SIZE); in encl_measure()
380 reverse_bytes(sigstruct->modulus, SGX_MODULUS_SIZE); in encl_measure()
/linux-6.12.1/arch/x86/kernel/cpu/sgx/
Dioctl.c466 return crypto_shash_digest(shash, modulus, SGX_MODULUS_SIZE, hash); in __sgx_get_key_hash()