/third_party/openssl/crypto/rsa/ |
D | rsa_pk1.c | 28 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_type_1() argument 34 if (flen > (tlen - RSA_PKCS1_PADDING_SIZE)) { in RSA_padding_add_PKCS1_type_1() 45 j = tlen - 3 - flen; in RSA_padding_add_PKCS1_type_1() 53 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, in RSA_padding_check_PKCS1_type_1() argument 112 if (j > tlen) { in RSA_padding_check_PKCS1_type_1() 122 int tlen, const unsigned char *from, in ossl_rsa_padding_add_PKCS1_type_2_ex() argument 128 if (flen > (tlen - RSA_PKCS1_PADDING_SIZE)) { in ossl_rsa_padding_add_PKCS1_type_2_ex() 142 j = tlen - 3 - flen; in ossl_rsa_padding_add_PKCS1_type_2_ex() 161 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_type_2() argument 164 return ossl_rsa_padding_add_PKCS1_type_2_ex(NULL, to, tlen, from, flen); in RSA_padding_add_PKCS1_type_2() [all …]
|
D | rsa_none.c | 20 int RSA_padding_add_none(unsigned char *to, int tlen, in RSA_padding_add_none() argument 23 if (flen > tlen) { in RSA_padding_add_none() 28 if (flen < tlen) { in RSA_padding_add_none() 37 int RSA_padding_check_none(unsigned char *to, int tlen, in RSA_padding_check_none() argument 41 if (flen > tlen) { in RSA_padding_check_none() 46 memset(to, 0, tlen - flen); in RSA_padding_check_none() 47 memcpy(to + tlen - flen, from, flen); in RSA_padding_check_none() 48 return tlen; in RSA_padding_check_none()
|
D | rsa_oaep.c | 39 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_OAEP() argument 43 return ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(NULL, to, tlen, from, flen, in RSA_padding_add_PKCS1_OAEP() 55 unsigned char *to, int tlen, in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() argument 62 int i, emlen = tlen - 1; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() 141 int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, in RSA_padding_add_PKCS1_OAEP_mgf1() argument 146 return ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(NULL, to, tlen, from, flen, in RSA_padding_add_PKCS1_OAEP_mgf1() 150 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, in RSA_padding_check_PKCS1_OAEP() argument 154 return RSA_padding_check_PKCS1_OAEP_mgf1(to, tlen, from, flen, num, in RSA_padding_check_PKCS1_OAEP() 158 int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, in RSA_padding_check_PKCS1_OAEP_mgf1() argument 189 if (tlen <= 0 || flen <= 0) in RSA_padding_check_PKCS1_OAEP_mgf1() [all …]
|
D | rsa_x931.c | 22 int RSA_padding_add_X931(unsigned char *to, int tlen, in RSA_padding_add_X931() argument 33 j = tlen - flen - 2; in RSA_padding_add_X931() 59 int RSA_padding_check_X931(unsigned char *to, int tlen, in RSA_padding_check_X931() argument
|
/third_party/ffmpeg/libavformat/ |
D | id3v2.c | 817 unsigned tlen; in id3v2_parse() local 892 tlen = avio_rb32(pb); in id3v2_parse() 896 tlen = avio_rb32(pb); in id3v2_parse() 897 if (tlen > 0x7f) { in id3v2_parse() 898 if (tlen < len) { in id3v2_parse() 901 if (ffio_ensure_seekback(pb, 2 /* tflags */ + tlen + 4 /* next tag */)) in id3v2_parse() 904 if (check_tag(pb, cur + 2 + size_to_syncsafe(tlen), 4) == 1) in id3v2_parse() 905 tlen = size_to_syncsafe(tlen); in id3v2_parse() 906 else if (check_tag(pb, cur + 2 + tlen, 4) != 1) in id3v2_parse() 910 tlen = size_to_syncsafe(tlen); in id3v2_parse() [all …]
|
D | gxf.c | 203 int tlen = avio_r8(pb); in gxf_material_tags() local 205 if (tlen > *len) in gxf_material_tags() 207 *len -= tlen; in gxf_material_tags() 208 if (tlen == 4) { in gxf_material_tags() 215 avio_skip(pb, tlen); in gxf_material_tags() 264 int tlen = avio_r8(pb); in gxf_track_tags() local 266 if (tlen > *len) in gxf_track_tags() 268 *len -= tlen; in gxf_track_tags() 269 if (tlen == 4) { in gxf_track_tags() 275 } else if (tlen == 8 && tag == TRACK_AUX) in gxf_track_tags() [all …]
|
/third_party/openssl/doc/man3/ |
D | RSA_padding_add_PKCS1_type_1.pod | 20 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, 23 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, 26 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, 29 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, 32 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, 36 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, 40 int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 45 int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 50 int RSA_padding_add_none(unsigned char *to, int tlen, 53 int RSA_padding_check_none(unsigned char *to, int tlen, [all …]
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | rsa.h | 335 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, 337 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, 340 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, 342 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, 347 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, 350 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, 353 int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 357 int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 362 int RSA_padding_add_SSLv23(unsigned char *to, int tlen, 364 int RSA_padding_check_SSLv23(unsigned char *to, int tlen, [all …]
|
/third_party/openssl/test/ |
D | mdc2test.c | 53 size_t tlen = strlen(text), i = 0; in test_mdc2() local 63 ebcdic2ascii(text, text, tlen); in test_mdc2() 69 || !TEST_true(EVP_DigestUpdate(c, (unsigned char *)text, tlen)) in test_mdc2() 76 || !TEST_true(EVP_DigestUpdate(c, (unsigned char *)text, tlen)) in test_mdc2()
|
/third_party/openssl/include/openssl/ |
D | rsa.h | 376 int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, 379 int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, 383 int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, 386 int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, 393 int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, 397 int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, 401 int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 406 int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, 411 OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, 413 OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen, [all …]
|
/third_party/libcoap/src/ |
D | coap_asn1.c | 63 get_asn1_tag(coap_asn1_tag_t ltag, const uint8_t *ptr, size_t tlen, in get_asn1_tag() argument 73 while (tlen > 0 && len <= tlen) { in get_asn1_tag() 96 tlen -= len; in get_asn1_tag()
|
/third_party/iowow/src/platform/ |
D | iwp.c | 141 size_t tlen = iwp_tmpdir(tmpdir, sizeof(tmpdir)); in iwp_allocate_tmpfile_path() local 142 if (!tlen) { in iwp_allocate_tmpfile_path() 145 char *res = malloc(tlen + sizeof(IW_PATH_STR) - 1 + plen + IW_UUID_STR_LEN + 1 /*NULL*/); in iwp_allocate_tmpfile_path() 150 memcpy(wp, tmpdir, tlen); in iwp_allocate_tmpfile_path() 151 wp += tlen; in iwp_allocate_tmpfile_path()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | mnkytst.cpp | 85 int32_t tlen = checkValue((rand() - source.length()) % source.length()); in TestCollationKey() local 89 source.extract(MIN(t, tlen), MAX(t, tlen), subt); in TestCollationKey() 160 int32_t tlen = checkValue((rand() - source.length()) % source.length()); in TestCompare() local 164 source.extract(MIN(t, tlen), MAX(t, tlen), subt); in TestCompare()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | common.c | 658 size_t tlen; in wpa_config_parse_string() local 663 tlen = pos - value; in wpa_config_parse_string() 664 tstr = dup_binstr(value, tlen); in wpa_config_parse_string() 668 str = os_malloc(tlen + 1); in wpa_config_parse_string() 674 *len = printf_decode((u8 *) str, tlen + 1, tstr); in wpa_config_parse_string() 680 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() local 683 tlen = hlen / 2; in wpa_config_parse_string() 684 str = os_malloc(tlen + 1); in wpa_config_parse_string() 687 if (hexstr2bin(value, str, tlen)) { in wpa_config_parse_string() 691 str[tlen] = '\0'; in wpa_config_parse_string() [all …]
|
/third_party/toybox/scripts/ |
D | config2help.c | 355 int clen, tlen; in main() local 376 tdashlines = grab_dashlines(&throw->help, &tfrom, &tlen); in main() 383 char **new = xmalloc(sizeof(char *)*(clen+tlen)); in main() 386 memcpy(new+clen, tdashlines, sizeof(char *)*tlen); in main() 389 qsort(new, clen+tlen, sizeof(char *), (void *)dashlinesort); in main() 415 tlen += clen; in main() 417 for (clen = 0; clen < tlen; clen++) in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | common.c | 659 size_t tlen; in wpa_config_parse_string() local 664 tlen = pos - value; in wpa_config_parse_string() 665 tstr = dup_binstr(value, tlen); in wpa_config_parse_string() 669 str = os_malloc(tlen + 1); in wpa_config_parse_string() 675 *len = printf_decode((u8 *) str, tlen + 1, tstr); in wpa_config_parse_string() 681 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() local 684 tlen = hlen / 2; in wpa_config_parse_string() 685 str = os_malloc(tlen + 1); in wpa_config_parse_string() 688 if (hexstr2bin(value, str, tlen)) { in wpa_config_parse_string() 692 str[tlen] = '\0'; in wpa_config_parse_string() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationFrozenMonkeyTest.java | 74 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 76 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCollationKey() 165 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 167 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCompare()
|
D | CollationMonkeyTest.java | 59 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 61 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCollationKey() 137 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 139 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCompare()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | CollationMonkeyTest.java | 62 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 64 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCollationKey() 140 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 142 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCompare()
|
D | CollationFrozenMonkeyTest.java | 77 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCollationKey() local 79 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCollationKey() 168 … int tlen = Math.abs(rand.nextInt(0x7fff) % source.length() - source.length()) % source.length(); in TestCompare() local 170 String subt = source.substring(Math.min(t, tlen), Math.min(t + tlen, source.length())); in TestCompare()
|
/third_party/zlib/examples/ |
D | gzlog.c | 301 ulong tlen; /* length (modulo 2^32) of total data */ member 425 log->tlen = PULL4(buf + HEAD + 28); in log_head() 447 PUT4(ext + 28, log->tlen); in log_mark() 525 log->tlen += put; in log_append() 551 PUT4(buf + 4, log->tlen); in log_append() 691 log->clen = log->tlen; in log_compress() 696 log->tlen = log->clen; in log_compress() 703 PUT4(buf + 4, log->tlen); in log_compress()
|
/third_party/openssl/providers/implementations/ciphers/ |
D | ciphercommon_ccm_hw.c | 26 int ossl_ccm_generic_gettag(PROV_CCM_CTX *ctx, unsigned char *tag, size_t tlen) in ossl_ccm_generic_gettag() argument 28 return CRYPTO_ccm128_tag(&ctx->ccm_ctx, tag, tlen) > 0; in ossl_ccm_generic_gettag()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deDefs.hpp | 63 … T> inline T leftSetMask (T n) { const T tlen = T(sizeof(T) * 8); return T(~rightSetMask(tlen >… in leftSetMask() local
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | lws-genaes.c | 132 lws_genaes_destroy(struct lws_genaes_ctx *ctx, unsigned char *tag, size_t tlen) in lws_genaes_destroy() argument 143 &last_len, tag, tlen); in lws_genaes_destroy() 145 n = mbedtls_gcm_finish(&ctx->u.ctx_gcm, tag, tlen); in lws_genaes_destroy() 156 lwsl_hexdump_notice(tag, tlen); in lws_genaes_destroy()
|
/third_party/ntfs-3g/libfuse-lite/ |
D | fuse_opt.c | 147 int tlen = sep - t; in match_template() local 149 tlen ++; in match_template() 150 if (arglen >= tlen && strncmp(arg, t, tlen) == 0) { in match_template()
|