Searched refs:SGX_MODULUS_SIZE (Results 1 – 3 of 3) sorted by relevance
88 #define SGX_MODULUS_SIZE 384 macro397 u8 modulus[SGX_MODULUS_SIZE];399 u8 signature[SGX_MODULUS_SIZE];402 u8 q1[SGX_MODULUS_SIZE];403 u8 q2[SGX_MODULUS_SIZE];
49 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()
466 return crypto_shash_digest(shash, modulus, SGX_MODULUS_SIZE, hash); in __sgx_get_key_hash()