Searched refs:binlen (Results 1 – 2 of 2) sorted by relevance
88 long binlen, ret; in mix_b64_pubkey() local91 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()
239 size_t binlen; in eay_hex2asn1dn() local252 binlen = BN_num_bytes(bn); in eay_hex2asn1dn()253 ret = vmalloc(binlen); in eay_hex2asn1dn()