Lines Matching refs:bnH
157 BIGNUM *bnH; in EccCurveInit() local
171 bnH = BN_CTX_get(context); in EccCurveInit()
172 if (bnH == NULL) in EccCurveInit()
181 BnFrom2B(bnH, curveData->h); in EccCurveInit()
187 && EC_GROUP_set_generator(group, P, bnN, bnH) in EccCurveInit()
1836 BIGNUM *bnH; in C_2_2_MQV() local
1851 bnH = BN_CTX_get(context); in C_2_2_MQV()
1868 BnFrom2B(bnH, curveData->h); in C_2_2_MQV()
1894 if(!BN_is_one(bnH)) in C_2_2_MQV()
1897 if(!BN_mul(bnTa, bnTa, bnH, context)) in C_2_2_MQV()
1981 BIGNUM *bnH; in SM2KeyExchange() local
1997 bnH = BN_CTX_get(context); in SM2KeyExchange()
2009 BnFrom2B(bnH, curveData->h); in SM2KeyExchange()
2034 if(!BN_is_one(bnH)) in SM2KeyExchange()
2037 if(!BN_mul(bnTa, bnTa, bnH, context)) in SM2KeyExchange()