Home
last modified time | relevance | path

Searched refs:binlen (Results 1 – 5 of 5) 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.c245 size_t binlen; in eay_hex2asn1dn() local
258 binlen = BN_num_bytes(bn); in eay_hex2asn1dn()
259 ret = vmalloc(binlen); in eay_hex2asn1dn()
/external/wpa_supplicant_8/src/utils/
Dutils_module_tests.c46 size_t binlen; in printf_encode_decode_tests() local
59 binlen = printf_decode(bin, sizeof(bin), buf); in printf_encode_decode_tests()
60 if (binlen != test->len || in printf_encode_decode_tests()
61 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
63 bin, binlen); in printf_encode_decode_tests()
67 binlen = printf_decode(bin, sizeof(bin), test->encoded); in printf_encode_decode_tests()
68 if (binlen != test->len || in printf_encode_decode_tests()
69 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
71 bin, binlen); in printf_encode_decode_tests()
/external/curl/lib/
Dhttp.h205 size_t binlen; /* length of the binsettings data */ member
Dhttp2.c1097 ssize_t binlen; in Curl_http2_request_upgrade() local
1109 binlen = nghttp2_pack_settings_payload(binsettings, H2_BINSETTINGS_LEN, in Curl_http2_request_upgrade()
1112 if(!binlen) { in Curl_http2_request_upgrade()
1116 conn->proto.httpc.binlen = binlen; in Curl_http2_request_upgrade()
1118 result = Curl_base64url_encode(conn->data, (const char *)binsettings, binlen, in Curl_http2_request_upgrade()
2024 httpc->binlen, NULL); in Curl_http2_switched()