Home
last modified time | relevance | path

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

12

/third_party/node/test/fixtures/wpt/common/
DPrefixedLocalStorage.js43 PrefixedLocalStorage.prototype.prefixedKey = function (baseKey) { argument
44 return `${this.prefix}${baseKey}`;
47 PrefixedLocalStorage.prototype.setItem = function (baseKey, value) { argument
48 localStorage.setItem(this.prefixedKey(baseKey), value);
56 PrefixedLocalStorage.prototype.onSet = function (baseKey, fn) { argument
58 var match = this.prefixedKey(baseKey);
/third_party/node/lib/internal/crypto/
Dwebcrypto.js176 async function deriveBits(algorithm, baseKey, length) { argument
186 baseKey = webidl.converters.CryptoKey(baseKey, {
198 if (!ArrayPrototypeIncludes(baseKey.usages, 'deriveBits')) {
203 if (baseKey.algorithm.name !== algorithm.name)
212 .ecdhDeriveBits(algorithm, baseKey, length);
215 .hkdfDeriveBits(algorithm, baseKey, length);
218 .pbkdf2DeriveBits(algorithm, baseKey, length);
251 baseKey, argument
264 baseKey = webidl.converters.CryptoKey(baseKey, {
283 if (!ArrayPrototypeIncludes(baseKey.usages, 'deriveKey')) {
[all …]
Ddiffiehellman.js318 async function ecdhDeriveBits(algorithm, baseKey, length) { argument
325 if (baseKey.type !== 'private') {
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]));
Dhkdf.js140 async function hkdfDeriveBits(algorithm, baseKey, length) { argument
155 normalizeHashName(hash.name), baseKey[kKeyObject], salt, info, length / 8,
Dpbkdf2.js100 async function pbkdf2DeriveBits(algorithm, baseKey, length) { argument
107 const raw = baseKey[kKeyObject].export();
/third_party/node/test/fixtures/wpt/WebCryptoAPI/derive_bits_keys/
Dhkdf.js250 .then(function(baseKey) { argument
251 baseKeys[derivedKeySize] = baseKey;
258 .then(function(baseKey) { argument
259 noKey[derivedKeySize] = baseKey;
266 .then(function(baseKey) { argument
267 noBits[derivedKeySize] = baseKey;
275 .then(function(baseKey) { argument
276 wrongKey = baseKey.privateKey;
Dpbkdf2.js247 .then(function(baseKey) { argument
248 baseKeys[passwordSize] = baseKey;
255 .then(function(baseKey) { argument
256 noKey[passwordSize] = baseKey;
263 .then(function(baseKey) { argument
264 noBits[passwordSize] = baseKey;
272 .then(function(baseKey) { argument
273 wrongKey = baseKey.privateKey;
/third_party/node/test/parallel/
Dtest-webcrypto-derivebits-hkdf.js176 (baseKey) => baseKeys[size] = baseKey,
186 (baseKey) => noKey[size] = baseKey,
196 (baseKey) => noBits[size] = baseKey,
209 (baseKey) => wrongKey = baseKey.privateKey,
/third_party/node/deps/npm/lib/commands/
Dconfig.js154 const baseKey = key.split(':').pop()
155 if (!this.npm.config.definitions[baseKey] && !nerfDarts.includes(baseKey)) {
156 throw new Error(`\`${baseKey}\` is not a valid npm option`)
158 const deprecated = this.npm.config.definitions[baseKey]?.deprecated
161 `The \`${baseKey}\` option is deprecated, and can not be set in this way${deprecated}`
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationMiscTest.java3143 CollationKey baseKey = myCollation.getCollationKey(base); in TestBeforeRuleWithScriptReordering() local
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 = myCollation.getCollationKey(testString).toByteArray(); in TestNonLeadBytesDuringCollationReordering()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationMiscTest.java3146 CollationKey baseKey = myCollation.getCollationKey(base); in TestBeforeRuleWithScriptReordering() local
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 = myCollation.getCollationKey(testString).toByteArray(); in TestNonLeadBytesDuringCollationReordering()
[all …]
/third_party/node/test/fixtures/wpt/interfaces/
DWebCryptoAPI.idl64 CryptoKey baseKey,
69 CryptoKey baseKey,
/third_party/skia/src/image/
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/
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 …. 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 …. 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[i] != reorderKey[i]) { in TestNonLeadBytesDuringCollationReordering()
[all …]
/third_party/node/doc/api/
Dwebcrypto.md555 ### `subtle.deriveBits(algorithm, baseKey, length)`
568 * `baseKey`: {CryptoKey}
575 material provided by `baseKey`, `subtle.deriveBits()` attempts to generate
596 ### `subtle.deriveKey(algorithm, baseKey, derivedKeyAlgorithm, extractable, keyUsages)`
609 * `baseKey`: {CryptoKey}
618 material provided by `baseKey`, `subtle.deriveKey()` attempts to generate
/third_party/skia/tests/
DGrStyledShapeTest.cpp564 const Key& baseKey() const { return fBaseKey; } in baseKey() function in __anoneec783380111::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/typescript/lib/
Dlib.webworker.iterable.d.ts88 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
Dlib.dom.iterable.d.ts242 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
Dlib.webworker.d.ts3228 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, lengt…
3229 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
/third_party/typescript/src/lib/
Dwebworker.iterable.generated.d.ts68 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
Ddom.iterable.generated.d.ts222 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
Dwebworker.generated.d.ts3208 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, lengt…
3209 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
Ddom.generated.d.ts14063 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, lengt…
14064 …: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, deriv…
/third_party/lzma/CPP/7zip/UI/Common/
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/typescript/tests/lib/
Dlib.d.ts14497 deriveBits(algorithm: string | Algorithm, baseKey: CryptoKey, length: number): any;
14498 …deriveKey(algorithm: string | Algorithm, baseKey: CryptoKey, derivedKeyType: string | Algorithm, e…

12