Home
last modified time | relevance | path

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

/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.h93 const uint8_t *from, size_t from_len);
96 size_t from_len);
98 const uint8_t *from, size_t from_len);
101 size_t from_len);
104 size_t from_len, const uint8_t *param,
108 size_t from_len);
/external/python/cpython3/Objects/stringlib/
Dtransmogrify.h353 const char *from_s, Py_ssize_t from_len, in stringlib_replace_delete_substring() argument
366 from_s, from_len, in stringlib_replace_delete_substring()
374 result_len = self_len - (count * from_len); in stringlib_replace_delete_substring()
387 from_s, from_len, in stringlib_replace_delete_substring()
396 start = next + from_len; in stringlib_replace_delete_substring()
452 const char *from_s, Py_ssize_t from_len, in stringlib_replace_substring_in_place() argument
467 from_s, from_len, in stringlib_replace_substring_in_place()
484 memcpy(start, to_s, from_len); in stringlib_replace_substring_in_place()
485 start += from_len; in stringlib_replace_substring_in_place()
490 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/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/boringssl/src/include/openssl/
Drsa.h448 uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len,
613 size_t from_len,