Home
last modified time | relevance | path

Searched refs:from_len (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c76 const uint8_t *from, size_t from_len) { in RSA_padding_add_PKCS1_type_1() argument
83 if (from_len > to_len - RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_1()
90 OPENSSL_memset(to + 2, 0xff, to_len - 3 - from_len); in RSA_padding_add_PKCS1_type_1()
91 to[to_len - from_len - 1] = 0; in RSA_padding_add_PKCS1_type_1()
92 OPENSSL_memcpy(to + to_len - from_len, from, from_len); in RSA_padding_add_PKCS1_type_1()
98 size_t from_len) { in RSA_padding_check_PKCS1_type_1() argument
101 if (from_len < 2) { in RSA_padding_check_PKCS1_type_1()
114 for (pad = 2 /* header */; pad < from_len; pad++) { in RSA_padding_check_PKCS1_type_1()
125 if (pad == from_len) { in RSA_padding_check_PKCS1_type_1()
138 if (from_len - pad > max_out) { in RSA_padding_check_PKCS1_type_1()
[all …]
Dinternal.h94 const uint8_t *from, size_t from_len);
97 size_t from_len);
99 const uint8_t *from, size_t from_len);
102 size_t from_len);
105 size_t from_len, const uint8_t *param,
109 size_t from_len);
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c76 const uint8_t *from, size_t from_len) { in RSA_padding_add_PKCS1_type_1() argument
83 if (from_len > to_len - RSA_PKCS1_PADDING_SIZE) { in RSA_padding_add_PKCS1_type_1()
90 OPENSSL_memset(to + 2, 0xff, to_len - 3 - from_len); in RSA_padding_add_PKCS1_type_1()
91 to[to_len - from_len - 1] = 0; in RSA_padding_add_PKCS1_type_1()
92 OPENSSL_memcpy(to + to_len - from_len, from, from_len); in RSA_padding_add_PKCS1_type_1()
98 size_t from_len) { in RSA_padding_check_PKCS1_type_1() argument
101 if (from_len < 2) { in RSA_padding_check_PKCS1_type_1()
114 for (pad = 2 /* header */; pad < from_len; pad++) { in RSA_padding_check_PKCS1_type_1()
125 if (pad == from_len) { in RSA_padding_check_PKCS1_type_1()
138 if (from_len - pad > max_out) { in RSA_padding_check_PKCS1_type_1()
[all …]
Dinternal.h94 const uint8_t *from, size_t from_len);
97 size_t from_len);
99 const uint8_t *from, size_t from_len);
102 size_t from_len);
105 size_t from_len, const uint8_t *param,
109 size_t from_len);
/external/python/cpython3/Objects/stringlib/
Dtransmogrify.h395 const char *from_s, Py_ssize_t from_len, in stringlib_replace_delete_substring() argument
408 from_s, from_len, in stringlib_replace_delete_substring()
416 result_len = self_len - (count * from_len); in stringlib_replace_delete_substring()
429 from_s, from_len, in stringlib_replace_delete_substring()
438 start = next + from_len; in stringlib_replace_delete_substring()
494 const char *from_s, Py_ssize_t from_len, in stringlib_replace_substring_in_place() argument
509 from_s, from_len, in stringlib_replace_substring_in_place()
526 memcpy(start, to_s, from_len); in stringlib_replace_substring_in_place()
527 start += from_len; in stringlib_replace_substring_in_place()
532 from_s, from_len, in stringlib_replace_substring_in_place()
[all …]
/external/python/cpython2/Objects/
Dbytearrayobject.c1692 const char *from_s, Py_ssize_t from_len, in replace_delete_substring() argument
1705 from_s, from_len, in replace_delete_substring()
1713 result_len = self_len - (count * from_len); in replace_delete_substring()
1726 from_s, from_len, in replace_delete_substring()
1735 start = next+from_len; in replace_delete_substring()
1789 const char *from_s, Py_ssize_t from_len, in replace_substring_in_place() argument
1804 from_s, from_len, in replace_substring_in_place()
1820 Py_MEMCPY(start, to_s, from_len); in replace_substring_in_place()
1821 start += from_len; in replace_substring_in_place()
1826 from_s, from_len, in replace_substring_in_place()
[all …]
Dstringobject.c2464 const char *from_s, Py_ssize_t from_len, in replace_delete_substring() argument
2476 from_s, from_len, in replace_delete_substring()
2484 result_len = self_len - (count * from_len); in replace_delete_substring()
2497 from_s, from_len, in replace_delete_substring()
2506 start = next+from_len; in replace_delete_substring()
2560 const char *from_s, Py_ssize_t from_len, in replace_substring_in_place() argument
2575 from_s, from_len, in replace_substring_in_place()
2591 Py_MEMCPY(start, to_s, from_len); in replace_substring_in_place()
2592 start += from_len; in replace_substring_in_place()
2597 from_s, from_len, in replace_substring_in_place()
[all …]
/external/boringssl/src/decrepit/rsa/
Drsa_decrepit.c99 const uint8_t *from, size_t from_len, in RSA_padding_add_PKCS1_OAEP() argument
101 return RSA_padding_add_PKCS1_OAEP_mgf1(to, to_len, from, from_len, param, in RSA_padding_add_PKCS1_OAEP()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/rsa/
Drsa_decrepit.c99 const uint8_t *from, size_t from_len, in RSA_padding_add_PKCS1_OAEP() argument
101 return RSA_padding_add_PKCS1_OAEP_mgf1(to, to_len, from, from_len, param, in RSA_padding_add_PKCS1_OAEP()
/external/usrsctp/programs/
Ddiscard_server.c136 socklen_t from_len; local
208 from_len = (socklen_t)sizeof(struct sockaddr_in6);
211 …n = usrsctp_recvv(sock, (void*)buffer, BUFFER_SIZE, (struct sockaddr *) &addr, &from_len, (void *)…
Decho_server.c151 socklen_t from_len; local
223 from_len = (socklen_t)sizeof(struct sockaddr_in6);
226 …n = usrsctp_recvv(sock, (void*)buffer, BUFFER_SIZE, (struct sockaddr *) &addr, &from_len, (void *)…
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc173 struct sockaddr* from, ares_socklen_t* from_len) { in RecvFrom() argument
191 GPR_ASSERT(*from_len <= recv_from_source_addr_len_); in RecvFrom()
193 *from_len = recv_from_source_addr_len_; in RecvFrom()
472 ares_socklen_t* from_len, void* user_data) { in RecvFrom() argument
475 return polled_fd->RecvFrom(data, data_len, flags, from, from_len); in RecvFrom()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_windows.cc268 struct sockaddr* from, ares_socklen_t* from_len) { in RecvFrom() argument
290 GPR_ASSERT(*from_len <= recv_from_source_addr_len_); in RecvFrom()
292 *from_len = recv_from_source_addr_len_; in RecvFrom()
789 ares_socklen_t* from_len, void* user_data) { in RecvFrom() argument
794 from_len); in RecvFrom()
/external/libwebsockets/lib/roles/http/server/
Drewrite.c22 r->from_len = strlen(from); in lws_rewrite_create()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Drsa.h478 uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len,
643 size_t from_len,
/external/boringssl/src/include/openssl/
Drsa.h478 uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len,
643 size_t from_len,
/external/libwebsockets/lib/roles/http/
Dprivate-lib-roles-http.h156 int from_len, to_len; member
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_process.c332 ares_socklen_t *from_len) in socket_recvfrom() argument
336 flags, from, from_len, in socket_recvfrom()
340 return recvfrom(s, data, data_len, flags, from, from_len); in socket_recvfrom()
/external/libwebsockets/lib/roles/http/client/
Dclient-handshake.c1297 r->from, r->from_len)) {
1298 pp += r->from_len;
1299 plen -= r->from_len;
/external/usrsctp/
DManual.tex1032 socklen_t from_len;
1107 from_len = (socklen_t)sizeof(struct sockaddr_in6);
1112 (struct sockaddr *) &addr, &from_len, (void *)&rn,
/external/rust/crates/libc/src/
Dpsp.rs4046 from_len: *mut socklen_t, in sceNetInetRecvfrom()