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.c1672 const char *from_s, Py_ssize_t from_len, in replace_delete_substring() argument
1685 from_s, from_len, in replace_delete_substring()
1693 result_len = self_len - (count * from_len); in replace_delete_substring()
1706 from_s, from_len, in replace_delete_substring()
1715 start = next+from_len; in replace_delete_substring()
1769 const char *from_s, Py_ssize_t from_len, in replace_substring_in_place() argument
1784 from_s, from_len, in replace_substring_in_place()
1800 Py_MEMCPY(start, to_s, from_len); in replace_substring_in_place()
1801 start += from_len; in replace_substring_in_place()
1806 from_s, from_len, in replace_substring_in_place()
[all …]
Dstringobject.c2459 const char *from_s, Py_ssize_t from_len, in replace_delete_substring() argument
2471 from_s, from_len, in replace_delete_substring()
2479 result_len = self_len - (count * from_len); in replace_delete_substring()
2492 from_s, from_len, in replace_delete_substring()
2501 start = next+from_len; in replace_delete_substring()
2555 const char *from_s, Py_ssize_t from_len, in replace_substring_in_place() argument
2570 from_s, from_len, in replace_substring_in_place()
2586 Py_MEMCPY(start, to_s, from_len); in replace_substring_in_place()
2587 start += from_len; in replace_substring_in_place()
2592 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/boringssl/src/include/openssl/
Drsa.h414 uint8_t *to, size_t to_len, const uint8_t *from, size_t from_len,
579 size_t from_len,
/external/libedit/src/
Dreadline.c778 size_t len, from_len; in _history_expand_command() local
838 from_len = strlen(from); in _history_expand_command()
840 if (len + from_len + 1 >= size) { in _history_expand_command()
842 size += from_len + 1; in _history_expand_command()
855 len += from_len; in _history_expand_command()