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.c45 size_t binlen; in printf_encode_decode_tests() local
58 binlen = printf_decode(bin, sizeof(bin), buf); in printf_encode_decode_tests()
59 if (binlen != test->len || in printf_encode_decode_tests()
60 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
62 bin, binlen); in printf_encode_decode_tests()
66 binlen = printf_decode(bin, sizeof(bin), test->encoded); in printf_encode_decode_tests()
67 if (binlen != test->len || in printf_encode_decode_tests()
68 os_memcmp(bin, test->data, binlen) != 0) { in printf_encode_decode_tests()
70 bin, binlen); in printf_encode_decode_tests()
/external/curl/lib/
Dhttp2.c1053 ssize_t binlen; in Curl_http2_request_upgrade() local
1065 binlen = nghttp2_pack_settings_payload(binsettings, H2_BINSETTINGS_LEN, in Curl_http2_request_upgrade()
1068 if(!binlen) { in Curl_http2_request_upgrade()
1072 conn->proto.httpc.binlen = binlen; in Curl_http2_request_upgrade()
1074 result = Curl_base64url_encode(conn->data, (const char *)binsettings, binlen, in Curl_http2_request_upgrade()
1884 httpc->binlen, NULL); in Curl_http2_switched()
Dhttp.h204 size_t binlen; /* length of the binsettings data */ member