Home
last modified time | relevance | path

Searched refs:binlen (Results 1 – 2 of 2) sorted by relevance

/external/ipsec-tools/src/racoon/
Dplainrsa-gen.c88 long binlen, ret; in mix_b64_pubkey() local
91 binlen = 1 + BN_num_bytes(key->e) + BN_num_bytes(key->n); in mix_b64_pubkey()
92 binbuf = malloc(binlen); in mix_b64_pubkey()
93 memset(binbuf, 0, binlen); in mix_b64_pubkey()
96 if (1 + binbuf[0] + ret != binlen) { in mix_b64_pubkey()
102 return base64_encode(binbuf, binlen); in mix_b64_pubkey()
Dcrypto_openssl.c239 size_t binlen; in eay_hex2asn1dn() local
252 binlen = BN_num_bytes(bn); in eay_hex2asn1dn()
253 ret = vmalloc(binlen); in eay_hex2asn1dn()