Lines Matching refs:RSAref_bin2bn
329 static BIGNUM *RSAref_bin2bn(unsigned char *from, BIGNUM *to, int max)
344 to->n = RSAref_bin2bn(from->m, NULL, RSAref_MAX_LEN);
345 to->e = RSAref_bin2bn(from->e, NULL, RSAref_MAX_LEN);
365 if ((to->n = RSAref_bin2bn(from->m, NULL, RSAref_MAX_LEN)) == NULL)
367 if ((to->e = RSAref_bin2bn(from->e, NULL, RSAref_MAX_LEN)) == NULL)
369 if ((to->d = RSAref_bin2bn(from->d, NULL, RSAref_MAX_LEN)) == NULL)
372 RSAref_bin2bn(from->prime[0], NULL, RSAref_MAX_PLEN)) == NULL)
375 RSAref_bin2bn(from->prime[1], NULL, RSAref_MAX_PLEN)) == NULL)
377 if ((to->dmp1 = RSAref_bin2bn(from->pexp[0], NULL, RSAref_MAX_PLEN))
380 if ((to->dmq1 = RSAref_bin2bn(from->pexp[1], NULL, RSAref_MAX_PLEN))
383 if ((to->iqmp = RSAref_bin2bn(from->coef, NULL, RSAref_MAX_PLEN)) == NULL)