Home
last modified time | relevance | path

Searched refs:sLen (Results 1 – 25 of 26) sorted by relevance

12

/external/boringssl/src/third_party/wycheproof_testvectors/
Drsa_pss_misc_test.txt14 [sLen = 0]
30 [sLen = 20]
46 [sLen = 28]
62 [sLen = 32]
78 [sLen = 48]
94 [sLen = 64]
110 [sLen = 0]
126 [sLen = 20]
142 [sLen = 28]
158 [sLen = 32]
[all …]
Drsa_pss_4096_sha256_mgf1_32_test.txt14 [sLen = 32]
Drsa_pss_3072_sha256_mgf1_32_test.txt14 [sLen = 32]
Drsa_pss_2048_sha256_mgf1_0_test.txt14 [sLen = 0]
Drsa_pss_2048_sha256_mgf1_32_test.txt14 [sLen = 32]
Drsa_pss_2048_sha1_mgf1_20_test.txt14 [sLen = 20]
/external/javassist/src/main/javassist/bytecode/
DByteStream.java102 int sLen = s.length(); in writeUTF() local
104 enlarge(sLen + 2); in writeUTF()
107 buffer[pos++] = (byte)(sLen >>> 8); in writeUTF()
108 buffer[pos++] = (byte)sLen; in writeUTF()
109 for (int i = 0; i < sLen; ++i) { in writeUTF()
114 writeUTF2(s, sLen, i); in writeUTF()
122 private void writeUTF2(String s, int sLen, int offset) { in writeUTF2() argument
123 int size = sLen; in writeUTF2()
124 for (int i = offset; i < sLen; i++) { in writeUTF2()
134 "encoded string too long: " + sLen + size + " bytes"); in writeUTF2()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c488 const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS_mgf1() argument
509 if (sLen == -1) { in RSA_verify_PKCS1_PSS_mgf1()
510 sLen = hLen; in RSA_verify_PKCS1_PSS_mgf1()
511 } else if (sLen == -2) { in RSA_verify_PKCS1_PSS_mgf1()
512 sLen = -2; in RSA_verify_PKCS1_PSS_mgf1()
513 } else if (sLen < -2) { in RSA_verify_PKCS1_PSS_mgf1()
528 if (emLen < (int)hLen + 2 || emLen < ((int)hLen + sLen + 2)) { in RSA_verify_PKCS1_PSS_mgf1()
560 if (sLen >= 0 && (maskedDBLen - i) != sLen) { in RSA_verify_PKCS1_PSS_mgf1()
622 size_t sLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
624 sLen = hLen; in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]
/external/boringssl/src/crypto/fipsmodule/rsa/
Dpadding.c488 const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS_mgf1() argument
509 if (sLen == -1) { in RSA_verify_PKCS1_PSS_mgf1()
510 sLen = hLen; in RSA_verify_PKCS1_PSS_mgf1()
511 } else if (sLen == -2) { in RSA_verify_PKCS1_PSS_mgf1()
512 sLen = -2; in RSA_verify_PKCS1_PSS_mgf1()
513 } else if (sLen < -2) { in RSA_verify_PKCS1_PSS_mgf1()
528 if (emLen < (int)hLen + 2 || emLen < ((int)hLen + sLen + 2)) { in RSA_verify_PKCS1_PSS_mgf1()
560 if (sLen >= 0 && (maskedDBLen - i) != sLen) { in RSA_verify_PKCS1_PSS_mgf1()
622 size_t sLen; in RSA_padding_add_PKCS1_PSS_mgf1() local
624 sLen = hLen; in RSA_padding_add_PKCS1_PSS_mgf1()
[all …]
/external/boringssl/src/decrepit/rsa/
Drsa_decrepit.c89 const EVP_MD *Hash, int sLen) { in RSA_padding_add_PKCS1_PSS() argument
90 return RSA_padding_add_PKCS1_PSS_mgf1(rsa, EM, mHash, Hash, NULL, sLen); in RSA_padding_add_PKCS1_PSS()
94 const EVP_MD *Hash, const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS() argument
95 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen); in RSA_verify_PKCS1_PSS()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/rsa/
Drsa_decrepit.c89 const EVP_MD *Hash, int sLen) { in RSA_padding_add_PKCS1_PSS() argument
90 return RSA_padding_add_PKCS1_PSS_mgf1(rsa, EM, mHash, Hash, NULL, sLen); in RSA_padding_add_PKCS1_PSS()
94 const EVP_MD *Hash, const uint8_t *EM, int sLen) { in RSA_verify_PKCS1_PSS() argument
95 return RSA_verify_PKCS1_PSS_mgf1(rsa, mHash, Hash, NULL, EM, sLen); in RSA_verify_PKCS1_PSS()
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c218 int32_t pLen=0, sLen=0, reqLen=0, in nfs4_mixed_prepare() local
249sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
257sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
260 reqLen = pLen+sLen+1 /* for the delimiter */; in nfs4_mixed_prepare()
266 memmove(dest+pLen, s, sLen); in nfs4_mixed_prepare()
Dcallcoll.c235 static UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, c… in compareUsingPartials() argument
251 uiter_setString(&sIter, source, sLen); in compareUsingPartials()
279 uint32_t sLen = u_strlen(source); in doTestVariant() local
288 compareResult = ucol_strcoll(myCollation, source, sLen, target, tLen); in doTestVariant()
299 uiter_setString(&sIter, source, sLen); in doTestVariant()
311 u_strToUTF8(utf8Source, 256, &utf8SourceLen, source, sLen, &status); in doTestVariant()
380 …partialSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialSizes[i], &… in doTestVariant()
390 …partialNormalizedSKResult = compareUsingPartials(myCollation, source, sLen, target, tLen, partialS… in doTestVariant()
401 sortklen1=ucol_getSortKey(myCollation, source, sLen, NULL, 0); in doTestVariant()
410 ucol_getSortKey(myCollation, source, sLen, sortKey1, sortklen1+1); in doTestVariant()
Dcmsccoll.c48 const UChar *source, const int sLen,
969 int sLen; in TestIncrementalNormalize() local
1001 for (sLen = 500; sLen<501; sLen++) { in TestIncrementalNormalize()
1005 for (i=1; i<=sLen-1; i++) { in TestIncrementalNormalize()
1007 strB[sLen-i] = ccMix[i % 3]; in TestIncrementalNormalize()
1009 strA[sLen] = 0; in TestIncrementalNormalize()
1010 strB[sLen] = 0; in TestIncrementalNormalize()
2757 int32_t sLen = 0, tLen = 0; in TestSettings() local
2765 sLen = u_unescape(cases[j-1], source, 256); in TestSettings()
2766 source[sLen] = 0; in TestSettings()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtscoll.cpp94 IntlTestCollator::compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U… in compareUsingPartials() argument
105 uiter_setString(&sIter, source, sLen); in compareUsingPartials()
148 int32_t sLen = source.length(), tLen = target.length(); in doTestVariant() local
155 uiter_setString(&sIter, src, sLen); in doTestVariant()
166 u_strToUTF8(utf8Source, 256, &utf8SourceLen, src, sLen, &status); in doTestVariant()
213 …partialSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i], status); in doTestVariant()
221 …partialNormalizedSKResult = compareUsingPartials(myCollation, src, sLen, trg, tLen, partialSizes[i… in doTestVariant()
Dtscoll.h54 …UCollationResult compareUsingPartials(UCollator *coll, const UChar source[], int32_t sLen, const U…
/external/icu/icu4c/source/tools/toolutil/
Duparse.cpp366 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status)… in u_parseUTF8() argument
370 if(sLen == -1) { in u_parseUTF8()
371 sLen = (int32_t)strlen(source); in u_parseUTF8()
374 while(read < source+sLen) { in u_parseUTF8()
Duparse.h149 u_parseUTF8(const char *source, int32_t sLen, char *dest, int32_t destCapacity, UErrorCode *status);
/external/icu/icu4c/source/samples/legacy/
Dnewcol.cpp33 int32_t getSortKey_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, … in getSortKey_current() argument
39 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); in getSortKey_current()
Doldcol.cpp34 int32_t getSortKey_legacy(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, i… in getSortKey_legacy() argument
40 int32_t result = ucol_getSortKey(coll, string, sLen, buffer, bLen); in getSortKey_legacy()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Drsa.h451 const uint8_t *EM, int sLen);
469 int sLen);
627 const EVP_MD *Hash, int sLen);
636 int sLen);
/external/boringssl/src/include/openssl/
Drsa.h451 const uint8_t *EM, int sLen);
469 int sLen);
627 const EVP_MD *Hash, int sLen);
636 int sLen);
/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py43 def pkcs_i2osp(n, sLen): argument
55 fmt = "%%0%dx" % (2*sLen)
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java1285 int sLen; in TestIncrementalNormalize() local
1292 for (sLen = 1000; sLen<1001; sLen++) { in TestIncrementalNormalize()
1297 for (i=1; i< sLen; i++) { in TestIncrementalNormalize()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationMiscTest.java1288 int sLen; in TestIncrementalNormalize() local
1295 for (sLen = 1000; sLen<1001; sLen++) { in TestIncrementalNormalize()
1300 for (i=1; i< sLen; i++) { in TestIncrementalNormalize()

12