Home
last modified time | relevance | path

Searched refs:baseKey (Results 1 - 16 of 16) sorted by relevance

/third_party/node/test/fixtures/wpt/common/
H A DPrefixedLocalStorage.js43 PrefixedLocalStorage.prototype.prefixedKey = function (baseKey) {
44 return `${this.prefix}${baseKey}`;
47 PrefixedLocalStorage.prototype.setItem = function (baseKey, value) {
48 localStorage.setItem(this.prefixedKey(baseKey), value);
56 PrefixedLocalStorage.prototype.onSet = function (baseKey, fn) {
58 var match = this.prefixedKey(baseKey);
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
H A Dhkdf.js98 // - baseKey usages missing "deriveKey" (InvalidAccessError)
108 // - baseKey algorithm does not match HKDF (InvalidAccessError)
174 // - baseKey usages missing "deriveBits" (InvalidAccessError)
184 // - baseKey algorithm does not match HKDF (InvalidAccessError)
250 .then(function(baseKey) {
251 baseKeys[derivedKeySize] = baseKey;
258 .then(function(baseKey) {
259 noKey[derivedKeySize] = baseKey;
266 .then(function(baseKey) {
267 noBits[derivedKeySize] = baseKey;
[all...]
H A Dpbkdf2.js84 // - baseKey usages missing "deriveKey" (InvalidAccessError)
94 // - baseKey algorithm does not match PBKDF2 (InvalidAccessError)
148 // - baseKey usages missing "deriveBits" (InvalidAccessError)
158 // - baseKey algorithm does not match PBKDF2 (InvalidAccessError)
247 .then(function(baseKey) {
248 baseKeys[passwordSize] = baseKey;
255 .then(function(baseKey) {
256 noKey[passwordSize] = baseKey;
263 .then(function(baseKey) {
264 noBits[passwordSize] = baseKey;
[all...]
/third_party/node/lib/internal/crypto/
H A Dwebcrypto.js176 async function deriveBits(algorithm, baseKey, length) {
186 baseKey = webidl.converters.CryptoKey(baseKey, {
198 if (!ArrayPrototypeIncludes(baseKey.usages, 'deriveBits')) {
200 'baseKey does not have deriveBits usage',
203 if (baseKey.algorithm.name !== algorithm.name)
212 .ecdhDeriveBits(algorithm, baseKey, length);
215 .hkdfDeriveBits(algorithm, baseKey, length);
218 .pbkdf2DeriveBits(algorithm, baseKey, length);
251 baseKey,
[all...]
H A Ddiffiehellman.js318 async function ecdhDeriveBits(algorithm, baseKey, length) {
325 if (baseKey.type !== 'private') {
327 'baseKey must be a private key', 'InvalidAccessError');
338 if (key.algorithm.name !== baseKey.algorithm.name) {
346 key.algorithm.namedCurve !== baseKey.algorithm.namedCurve
353 key.algorithm.name === 'ECDH' ? baseKey.algorithm.namedCurve : baseKey.algorithm.name,
355 baseKey[kKeyObject][kHandle]));
H A Dhkdf.js140 async function hkdfDeriveBits(algorithm, baseKey, length) {
155 normalizeHashName(hash.name), baseKey[kKeyObject], salt, info, length / 8,
H A Dpbkdf2.js100 async function pbkdf2DeriveBits(algorithm, baseKey, length) {
107 const raw = baseKey[kKeyObject].export();
/third_party/node/test/parallel/
H A Dtest-webcrypto-derivebits-hkdf.js176 (baseKey) => baseKeys[size] = baseKey,
186 (baseKey) => noKey[size] = baseKey,
196 (baseKey) => noBits[size] = baseKey,
209 (baseKey) => wrongKey = baseKey.privateKey,
330 message: /baseKey does not have deriveBits usage/
478 message: /baseKey doe
[all...]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationMiscTest.java3143 CollationKey baseKey = myCollation.getCollationKey(base); in TestBeforeRuleWithScriptReordering()
3145 byte[] baseKeyBytes = baseKey.toByteArray(); in TestBeforeRuleWithScriptReordering()
3162 baseKey = myCollation.getCollationKey(base); in TestBeforeRuleWithScriptReordering()
3164 baseKeyBytes = baseKey.toByteArray(); in TestBeforeRuleWithScriptReordering()
3179 byte[] baseKey; in TestNonLeadBytesDuringCollationReordering()
3187 baseKey = myCollation.getCollationKey(testString).toByteArray(); in TestNonLeadBytesDuringCollationReordering()
3192 if (baseKey.length != reorderKey.length) { in TestNonLeadBytesDuringCollationReordering()
3196 for (int i = 1; i < baseKey.length; i++) { in TestNonLeadBytesDuringCollationReordering()
3197 if (baseKey[i] != reorderKey[i]) { in TestNonLeadBytesDuringCollationReordering()
3205 baseKey in TestNonLeadBytesDuringCollationReordering()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationMiscTest.java3146 CollationKey baseKey = myCollation.getCollationKey(base); in TestBeforeRuleWithScriptReordering()
3148 byte[] baseKeyBytes = baseKey.toByteArray(); in TestBeforeRuleWithScriptReordering()
3165 baseKey = myCollation.getCollationKey(base); in TestBeforeRuleWithScriptReordering()
3167 baseKeyBytes = baseKey.toByteArray(); in TestBeforeRuleWithScriptReordering()
3182 byte[] baseKey; in TestNonLeadBytesDuringCollationReordering()
3190 baseKey = myCollation.getCollationKey(testString).toByteArray(); in TestNonLeadBytesDuringCollationReordering()
3195 if (baseKey.length != reorderKey.length) { in TestNonLeadBytesDuringCollationReordering()
3199 for (int i = 1; i < baseKey.length; i++) { in TestNonLeadBytesDuringCollationReordering()
3200 if (baseKey[i] != reorderKey[i]) { in TestNonLeadBytesDuringCollationReordering()
3208 baseKey in TestNonLeadBytesDuringCollationReordering()
[all...]
/third_party/node/test/pummel/
H A Dtest-webcrypto-derivebits-pbkdf2.js517 message: /baseKey does not have deriveBits usage/,
612 message: /baseKey does not have deriveKey usage/,
/third_party/skia/src/image/
H A DSkImage.cpp416 GrUniqueKey baseKey; in FindOrMakeCachedMipmappedView() local
417 GrMakeKeyFromImageID(&baseKey, imageUniqueID, SkIRect::MakeSize(view.dimensions())); in FindOrMakeCachedMipmappedView()
418 SkASSERT(baseKey.isValid()); in FindOrMakeCachedMipmappedView()
423 GrUniqueKey::Builder b(&mipmappedKey, baseKey, kMipmappedDomain, 0); in FindOrMakeCachedMipmappedView()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcmsccoll.c4542 uint8_t baseKey[256]; in TestBeforeRuleWithScriptReordering() local
4578 baseKeyLength = ucol_getSortKey(myCollation, base, baseLen, baseKey, 256); in TestBeforeRuleWithScriptReordering()
4580 if (baseKey[0] != beforeKey[0]) { in TestBeforeRuleWithScriptReordering()
4581 log_err("Different lead byte for sort keys using before rule and before script reordering. base character lead byte = %02x, before character lead byte = %02x\n", baseKey[0], beforeKey[0]); in TestBeforeRuleWithScriptReordering()
4598 ucol_getSortKey(myCollation, base, baseLen, baseKey, 256); in TestBeforeRuleWithScriptReordering()
4600 if (baseKey[0] != beforeKey[0]) { in TestBeforeRuleWithScriptReordering()
4601 log_err("Different lead byte for sort keys using before rule and after script reordering. base character lead byte = %02x, before character lead byte = %02x\n", baseKey[0], beforeKey[0]); in TestBeforeRuleWithScriptReordering()
4616 uint8_t baseKey[256]; in TestNonLeadBytesDuringCollationReordering() local
4635 baseKeyLength = ucol_getSortKey(myCollation, testString, UPRV_LENGTHOF(testString), baseKey, 256); in TestNonLeadBytesDuringCollationReordering()
4650 if (baseKey[ in TestNonLeadBytesDuringCollationReordering()
[all...]
/third_party/skia/tests/
H A DGrStyledShapeTest.cpp564 const Key& baseKey() const { return fBaseKey; } in baseKey() function in __anon19017::TestCase
1225 REPORTER_ASSERT(reporter, geoPECase.appliedPathEffectKey() == rrectFillCase.baseKey()); in test_path_effect_makes_rrect()
1230 REPORTER_ASSERT(reporter, geoPECase.appliedFullStyleKey() == rrectFillCase.baseKey()); in test_path_effect_makes_rrect()
1236 REPORTER_ASSERT(reporter, geoPEStrokeCase.appliedPathEffectKey() == rrectFillCase.baseKey()); in test_path_effect_makes_rrect()
1362 REPORTER_ASSERT(reporter, SkToBool(volatileCase.baseKey().count())); in test_volatile_path()
1368 REPORTER_ASSERT(reporter, !SkToBool(volatileCase.baseKey().count())); in test_volatile_path()
1548 const Key& emptyKey = fillEmptyCase.baseKey(); in DEF_TEST()
1550 const Key& inverseEmptyKey = fillInvertedEmptyCase.baseKey(); in DEF_TEST()
/third_party/lzma/CPP/7zip/UI/Common/
H A DLoadCodecs.cpp91 static bool ReadPathFromRegistry(HKEY baseKey, LPCWSTR value, FString &path) in ReadPathFromRegistry() argument
94 if (key.Open(baseKey, kRegistryPath, KEY_READ) == ERROR_SUCCESS) in ReadPathFromRegistry()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 28 milliseconds