Lines Matching refs:BN_bin2bn

225       || BN_bin2bn(p->x.t.buffer, p->x.t.size, bnX) == NULL  in PointFrom2B()
226 || BN_bin2bn(p->y.t.buffer, p->y.t.size, bnY) == NULL in PointFrom2B()
614 if ( !BN_bin2bn(Q->x.t.buffer, Q->x.t.size, bnX) in _cpri__EccIsPointOnCurve()
615 || !BN_bin2bn(Q->y.t.buffer, Q->y.t.size, bnY) in _cpri__EccIsPointOnCurve()
616 || !BN_bin2bn(curveData->p->buffer, curveData->p->size, bnP) in _cpri__EccIsPointOnCurve()
617 || !BN_bin2bn(curveData->a->buffer, curveData->a->size, bnA) in _cpri__EccIsPointOnCurve()
619 || !BN_bin2bn(curveData->b->buffer, curveData->b->size, bnB) in _cpri__EccIsPointOnCurve()
704 || BN_bin2bn(curveData->n->buffer, curveData->n->size, bnNm1) == NULL in _cpri__GenerateKeyEcc()
726 if ( BN_bin2bn(withExtra, keySizeInBytes+8, bnD) == NULL in _cpri__GenerateKeyEcc()
825 || BN_bin2bn(curveData->n->buffer, curveData->n->size, bnN) == NULL) in SignEcdsa()
861 BN_bin2bn(R.x.t.buffer, R.x.t.size, bnR); in SignEcdsa()
870 BN_bin2bn(k.t.buffer, k.t.size, bnK); in SignEcdsa()
883 BN_bin2bn(digest->buffer, curveData->n->size, bnZ); in SignEcdsa()
891 BN_bin2bn(digest->buffer, digest->size, bnZ); in SignEcdsa()
898 || BN_bin2bn(dIn->t.buffer, dIn->t.size, bnD) == NULL) in SignEcdsa()
987 if( BN_bin2bn(n->buffer, n->size, bnN) == NULL in EcDaa()
988 || BN_bin2bn(kIn->t.buffer, kIn->t.size, bnK) == NULL in EcDaa()
989 || BN_bin2bn(dIn->t.buffer, dIn->t.size, bnD) == NULL in EcDaa()
990 || BN_bin2bn(tOut->t.buffer, tOut->t.size, bnT) == NULL) in EcDaa()
1113 if(BN_bin2bn(curveData->n->buffer, curveData->n->size, bnN) == NULL) in SchnorrEcc()
1196 pAssert((bnA = BN_bin2bn(a->buffer, a->size, NULL)) != NULL); in cmp_2B2hex()
1481 || BN_bin2bn(Qin->x.t.buffer, Qin->x.t.size, bnQx) == NULL in ValidateSignatureEcdsa()
1482 || BN_bin2bn(Qin->x.t.buffer, Qin->x.t.size, bnQy) == NULL in ValidateSignatureEcdsa()
1485 || BN_bin2bn(rIn->t.buffer, rIn->t.size, bnR) == NULL in ValidateSignatureEcdsa()
1486 || BN_bin2bn(sIn->t.buffer, sIn->t.size, bnS) == NULL in ValidateSignatureEcdsa()
1488 || BN_bin2bn(curveData->n->buffer, curveData->n->size, bnN) == NULL) in ValidateSignatureEcdsa()
1494 if(BN_bin2bn(digest->buffer, t, bnE) == NULL) in ValidateSignatureEcdsa()
1511 if( BN_bin2bn(R.x.t.buffer, R.x.t.size, bnV) == NULL in ValidateSignatureEcdsa()