Lines Matching refs:q2
26 BIGNUM *q2; member
36 BN_free(ctx->q2); in free_q1q2_ctx()
47 ctx->q2 = BN_new(); in alloc_q1q2_ctx()
50 !ctx->q2) { in alloc_q1q2_ctx()
75 uint8_t *q2) in calc_q1q2() argument
97 if (!BN_mul(ctx.q2, ctx.s, ctx.qr, ctx.bn_ctx)) in calc_q1q2()
100 if (!BN_div(ctx.q2, NULL, ctx.q2, ctx.m, ctx.bn_ctx)) in calc_q1q2()
103 if (BN_num_bytes(ctx.q2) > SGX_MODULUS_SIZE) { in calc_q1q2()
105 BN_num_bytes(ctx.q2)); in calc_q1q2()
111 len = BN_bn2bin(ctx.q2, q2); in calc_q1q2()
112 reverse_bytes(q2, len); in calc_q1q2()
367 sigstruct->q2)) in encl_measure()