| /src/crypto/external/bsd/netpgp/dist/src/librsa/ |
| rsa.c | 66 BIGNUM *decbn; local 76 decbn = BN_new(); 82 BN_bin2bn(decbuf, nbytes, decbn); 83 if (BN_cmp(decbn, rsa->n) >= 0) { 84 printf("decbn too big\n"); 87 if (!BN_mod_exp(signedbn, decbn, rsa->d, rsa->n, NULL)) { 97 BN_clear_free(decbn); 105 BIGNUM *decbn; local 114 decbn = BN_new(); 119 if (BN_bin2bn(decbuf, nbytes, decbn) == NULL) 149 BIGNUM *decbn; local 191 BIGNUM *decbn; local [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| rsa.c | 66 PGPV_BIGNUM *decbn; local 76 decbn = PGPV_BN_new(); 82 PGPV_BN_bin2bn(decbuf, nbytes, decbn); 83 if (PGPV_BN_cmp(decbn, rsa->n) >= 0) { 84 printf("decbn too big\n"); 87 if (!PGPV_BN_mod_exp(signedbn, decbn, rsa->d, rsa->n, NULL)) { 97 PGPV_BN_clear_free(decbn); 105 PGPV_BIGNUM *decbn; local 114 decbn = PGPV_BN_new(); 119 if (PGPV_BN_bin2bn(decbuf, nbytes, decbn) == NULL) 149 PGPV_BIGNUM *decbn; local 191 PGPV_BIGNUM *decbn; local [all...] |
| libverify.c | 1894 PGPV_BIGNUM *decbn; local 1903 decbn = encbn = NULL; 1919 (decbn = PGPV_BN_new()) == NULL || 1936 if (PGPV_BN_mod_exp(decbn, encbn, rsa->e, rsa->n, NULL) < 0) { 1940 decbytes = PGPV_BN_num_bytes(decbn); 1941 (void) PGPV_BN_bn2bin(decbn, decbuf); 1947 PGPV_BN_clear_free(decbn);
|
| /src/crypto/external/bsd/netpgp/dist/src/libverify/ |
| libverify.c | 1435 BIGNUM *decbn; local 1444 decbn = encbn = NULL; 1459 (decbn = BN_new()) == NULL || 1476 if (BN_mod_exp(decbn, encbn, rsa->e, rsa->n, NULL) < 0) { 1480 decbytes = BN_num_bytes(decbn); 1481 (void) BN_bn2bin(decbn, decbuf); 1487 BN_free(decbn);
|