Home
last modified time | relevance | path

Searched refs:encodedlen (Results 1 – 5 of 5) sorted by relevance

/third_party/openssl/test/
Dec_internal_test.c198 int encodedlen; in decoded_flag_test() local
242 if (!TEST_int_gt(encodedlen = i2d_ECPKParameters(grp, &encodedparams), 0) in decoded_flag_test()
244 || !TEST_ptr(grp_copy = d2i_ECPKParameters(NULL, &encp, encodedlen)) in decoded_flag_test()
263 if (!TEST_int_gt(encodedlen = i2d_ECPKParameters(grp, &encodedparams), 0) in decoded_flag_test()
265 || !TEST_ptr(grp_copy = d2i_ECPKParameters(NULL, &encp, encodedlen)) in decoded_flag_test()
/third_party/curl/tests/server/
Dmqttd.c404 int encodedlen; in publish() local
412 encodedlen = 4; in publish()
415 encodedlen = encode_length(remaininglength, rembuffer); in publish()
418 packetlen = remaininglength + encodedlen + 1; in publish()
424 memcpy(&packet[1], rembuffer, encodedlen); in publish()
429 packet[1 + encodedlen] = (unsigned char)(topiclen >> 8); in publish()
430 packet[2 + encodedlen] = (unsigned char)(topiclen & 0xff); in publish()
431 memcpy(&packet[3 + encodedlen], topic, topiclen); in publish()
433 payloadindex = 3 + topiclen + encodedlen; in publish()
/third_party/curl/lib/vtls/
Dvtls.c957 size_t encodedlen, pinkeylen; in Curl_pin_peer_pubkey() local
978 &encodedlen); in Curl_pin_peer_pubkey()
1006 if(encodedlen == strlen(begin_pos + 8) && in Curl_pin_peer_pubkey()
1007 !memcmp(encoded, begin_pos + 8, encodedlen)) { in Curl_pin_peer_pubkey()
/third_party/openssl/ssl/statem/
Dextensions_clnt.c589 size_t encodedlen; in add_key_share() local
610 encodedlen = EVP_PKEY_get1_tls_encodedpoint(key_share_key, in add_key_share()
612 if (encodedlen == 0) { in add_key_share()
619 || !WPACKET_sub_memcpy_u16(pkt, encoded_point, encodedlen)) { in add_key_share()
Dstatem_srvr.c2495 size_t encodedlen = 0; in tls_construct_server_key_exchange() local
2626 encodedlen = EVP_PKEY_get1_tls_encodedpoint(s->s3->tmp.pkey, in tls_construct_server_key_exchange()
2628 if (encodedlen == 0) { in tls_construct_server_key_exchange()
2756 || !WPACKET_sub_memcpy_u8(pkt, encodedPoint, encodedlen)) { in tls_construct_server_key_exchange()