HomeSort by: relevance | last modified time | path
    Searched defs:binbuf (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/dist/ipsec-tools/src/racoon/
plainrsa-gen.c 92 char *binbuf; local
96 binbuf = malloc(binlen);
97 memset(binbuf, 0, binlen);
98 binbuf[0] = BN_bn2bin(RSA_get0_e(key), (unsigned char *) &binbuf[1]);
99 ret = BN_bn2bin(RSA_get0_n(key), (unsigned char *) (&binbuf[binbuf[0] + 1]));
100 if (1 + binbuf[0] + ret != binlen) {
106 return base64_encode(binbuf, binlen);
crypto_openssl.c 250 char *binbuf; local
270 binbuf = ret->v;
272 BN_bn2bin(bn, (unsigned char *) binbuf);
2421 binbuf_pubkey2rsa(vchar_t *binbuf)
2426 if (binbuf->v[0] > binbuf->l - 1) {
2431 exp = BN_bin2bn((unsigned char *) (binbuf->v + 1), binbuf->v[0], NULL);
2432 mod = BN_bin2bn((unsigned char *) (binbuf->v + binbuf->v[0] + 1),
2455 vchar_t *binbuf; local
2486 vchar_t *binbuf; local
    [all...]

Completed in 42 milliseconds