Lines Matching full:goto
183 if ((ctx=BN_CTX_new()) == NULL) goto err;
192 goto err;
213 goto err;
215 if (i <= 0) goto err;
217 if (BN_bin2bn(buf,num,f) == NULL) goto err;
223 goto err;
228 goto err;
231 rsa->_method_mod_n)) goto err;
274 goto err;
356 if ((ctx=BN_CTX_new()) == NULL) goto err;
366 goto err;
383 goto err;
385 if (i <= 0) goto err;
387 if (BN_bin2bn(buf,num,f) == NULL) goto err;
393 goto err;
402 goto err;
408 goto err;
417 if (!rsa->meth->rsa_mod_exp(ret, f, rsa, ctx)) goto err;
435 goto err;
438 rsa->_method_mod_n)) goto err;
443 goto err;
489 if((ctx = BN_CTX_new()) == NULL) goto err;
499 goto err;
507 goto err;
511 if (BN_bin2bn(from,(int)flen,f) == NULL) goto err;
516 goto err;
525 goto err;
531 goto err;
541 if (!rsa->meth->rsa_mod_exp(ret, f, rsa, ctx)) goto err;
558 goto err;
561 goto err;
566 goto err;
589 goto err;
640 if((ctx = BN_CTX_new()) == NULL) goto err;
649 goto err;
657 goto err;
660 if (BN_bin2bn(from,flen,f) == NULL) goto err;
665 goto err;
670 goto err;
673 rsa->_method_mod_n)) goto err;
694 goto err;
751 goto err;
753 goto err;
759 goto err;
766 if (!BN_mod(r1,c,rsa->q,ctx)) goto err;
770 if (!BN_mod(r1,I,rsa->q,ctx)) goto err;
782 rsa->_method_mod_q)) goto err;
789 if (!BN_mod(r1,c,rsa->p,ctx)) goto err;
793 if (!BN_mod(r1,I,rsa->p,ctx)) goto err;
805 rsa->_method_mod_p)) goto err;
807 if (!BN_sub(r0,r0,m1)) goto err;
811 if (!BN_add(r0,r0,rsa->p)) goto err;
813 if (!BN_mul(r1,r0,rsa->iqmp,ctx)) goto err;
823 if (!BN_mod(r0,pr1,rsa->p,ctx)) goto err;
833 if (!BN_add(r0,r0,rsa->p)) goto err;
834 if (!BN_mul(r1,r0,rsa->q,ctx)) goto err;
835 if (!BN_add(r0,r1,m1)) goto err;
839 if (!rsa->meth->bn_mod_exp(vrfy,r0,rsa->e,rsa->n,ctx,rsa->_method_mod_n)) goto err;
844 if (!BN_sub(vrfy, vrfy, I)) goto err;
845 if (!BN_mod(vrfy, vrfy, rsa->n, ctx)) goto err;
847 if (!BN_add(vrfy, vrfy, rsa->n)) goto err;
865 rsa->_method_mod_n)) goto err;