Searched refs:SGX_MODULUS_SIZE (Results 1 – 3 of 3) sorted by relevance
65 #define SGX_MODULUS_SIZE 384 macro352 u8 modulus[SGX_MODULUS_SIZE];354 u8 signature[SGX_MODULUS_SIZE];357 u8 q1[SGX_MODULUS_SIZE];358 u8 q2[SGX_MODULUS_SIZE];
43 ctx->s = BN_bin2bn(s, SGX_MODULUS_SIZE, NULL); in alloc_q1q2_ctx()44 ctx->m = BN_bin2bn(m, SGX_MODULUS_SIZE, NULL); in alloc_q1q2_ctx()91 if (BN_num_bytes(ctx.q1) > SGX_MODULUS_SIZE) { in calc_q1q2()103 if (BN_num_bytes(ctx.q2) > SGX_MODULUS_SIZE) { in calc_q1q2()371 reverse_bytes(sigstruct->signature, SGX_MODULUS_SIZE); in encl_measure()372 reverse_bytes(sigstruct->modulus, SGX_MODULUS_SIZE); in encl_measure()
477 return crypto_shash_digest(shash, modulus, SGX_MODULUS_SIZE, hash); in __sgx_get_key_hash()
Completed in 7 milliseconds