Searched defs:binbuf (Results 1 - 3 of 3) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Dplainrsa-gen.c87 char *binbuf; local
92 binbuf = malloc(binlen);
93 memset(binbuf, 0, binlen);
94 binbuf[0] = BN_bn2bin(key->e, (unsigned char *) &binbuf[1]);
95 ret = BN_bn2bin(key->n, (unsigned char *) (&binbuf[binbuf[0] + 1]));
96 if (1 + binbuf[0] + ret != binlen) {
102 return base64_encode(binbuf, binlen);
H A Dcrypto_openssl.c238 char *binbuf; local
258 binbuf = ret->v;
260 BN_bn2bin(bn, (unsigned char *) binbuf);
2643 binbuf_pubkey2rsa(vchar_t *binbuf) argument
2648 if (binbuf->v[0] > binbuf->l - 1) {
2653 exp = BN_bin2bn((unsigned char *) (binbuf->v + 1), binbuf->v[0], NULL);
2654 mod = BN_bin2bn((unsigned char *) (binbuf->v + binbuf
2682 vchar_t *binbuf; local
2713 vchar_t *binbuf; local
[all...]
/external/tcpdump/
H A Dprint-esp.c196 u_char *binbuf, unsigned int binbuf_len,
211 binbuf[i] = hex2byte(ndo, hex);
195 espprint_decode_hex(netdissect_options *ndo, u_char *binbuf, unsigned int binbuf_len, char *hex) argument

Completed in 743 milliseconds