/third_party/node/test/parallel/ |
H A D | test-webcrypto-wrap-unwrap.js | 9 const { subtle } = require('crypto').webcrypto; 49 const keys = await subtle.generateKey( 195 const keys = await subtle.generateKey(params.algorithm, true, usages); 253 const exported = await subtle.exportKey(format, key.key); 258 await subtle.wrapKey( 264 await subtle.unwrapKey( 274 const exportedAgain = await subtle.exportKey(format, unwrapped);
|
H A D | test-crypto-psychic-signatures.js | 83 crypto.webcrypto.subtle.importKey( 90 return crypto.webcrypto.subtle.verify(
|
H A D | test-webcrypto-webidl.js | 11 const { subtle } = require('node:crypto').webcrypto; 202 subtle.generateKey({ name: 'AES-CBC', length: 128 }, false, ['encrypt']).then((key) => { 498 subtle.generateKey({ name: 'ECDH', namedCurve: 'P-256' }, false, ['deriveBits']).then((kp) => {
|
/third_party/node/lib/internal/crypto/ |
H A D | webcrypto.js | 65 if (this !== subtle) throw new ERR_INVALID_THIS('SubtleCrypto'); 93 if (this !== subtle) throw new ERR_INVALID_THIS('SubtleCrypto'); 177 if (this !== subtle) throw new ERR_INVALID_THIS('SubtleCrypto'); 255 if (this !== subtle) throw new ERR_INVALID_THIS('SubtleCrypto'); 498 if (this !== subtle) throw new ERR_INVALID_THIS('SubtleCrypto'); 575 if (this !== subtle) throw new ERR_INVALID_THIS('SubtleCrypto'); 666 // subtle.wrapKey() is essentially a subtle.exportKey() followed 667 // by a subtle.encrypt(). 669 if (this !== subtle) thro [all...] |
/third_party/gn/src/base/memory/ |
H A D | scoped_refptr.h | 30 namespace subtle { namespace 55 } // namespace subtle 63 static_assert(std::is_same<subtle::StartRefCountFromOneTag, Tag>::value, in AdoptRef() 69 return scoped_refptr<T>(obj, subtle::kAdoptRefTag); in AdoptRef() 72 namespace subtle { namespace 84 } // namespace subtle 91 return subtle::AdoptRefIfNeeded(obj, T::kRefCountPreference); in MakeRefCounted() 201 static_assert(!base::subtle::IsRefCountPreferenceOverridden( in ~scoped_refptr() 256 scoped_refptr(T* p, base::subtle::AdoptRefTag) : ptr_(p) {} in scoped_refptr()
|
H A D | ref_counted.cc | 9 namespace subtle { namespace 33 } // namespace subtle
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/ |
H A D | symmetric_importKey.https.any.js | 8 var subtle = crypto.subtle; variable 70 return subtle.importKey(format, keyData, algorithm, extractable, usages). 78 return subtle.exportKey(format, key). 99 return subtle.importKey(format, keyData, algorithm, extractable, usages).
|
H A D | okp_importKey.https.any.js | 8 var subtle = crypto.subtle; variable 105 return subtle.importKey(format, keyData[format], algorithm, extractable, usages). 113 return subtle.exportKey(format, key).
|
H A D | ec_importKey.https.any.js | 8 var subtle = crypto.subtle; variable 111 return subtle.importKey(format, keyData, algorithm, extractable, usages). 119 return subtle.exportKey(format, key). 145 return subtle.importKey(format, keyData, algorithm, extractable, usages).
|
H A D | rsa_importKey.https.any.js | 8 var subtle = crypto.subtle; variable 114 return subtle.importKey(format, keyData[format], algorithm, extractable, usages). 122 return subtle.exportKey(format, key). 143 return subtle.importKey(format, keyData[format], algorithm, extractable, usages).
|
H A D | okp_importKey_failures.js | 2 var subtle = crypto.subtle; // Change to test prefixed implementations 65 key = await subtle.importKey(format, keyData, algorithm, extractable, usages);
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/generateKey/ |
H A D | successes.js | 3 var subtle = crypto.subtle; // Change to test prefixed implementations 63 return subtle.generateKey(algorithm, extractable, usages)
|
H A D | failures.js | 2 var subtle = crypto.subtle; // Change to test prefixed implementations 73 return crypto.subtle.generateKey(algorithm, extractable, usages)
|
/third_party/node/benchmark/crypto/ |
H A D | webcrypto-digest.js | 8 const { subtle } = webcrypto; 11 sync: ['createHash', 'subtle'], 44 jobs[i] = subtle.digest(method, data); 54 case 'subtle': return measureSubtle(n, data, method);
|
/third_party/node/deps/v8/src/heap/cppgc/ |
H A D | heap-base.h | 50 namespace subtle { namespace 53 } // namespace subtle 291 friend class cppgc::subtle::DisallowGarbageCollectionScope; 292 friend class cppgc::subtle::NoGarbageCollectionScope;
|
H A D | heap.cc | 101 subtle::NoGarbageCollectionScope no_gc(*this); in ~Heap() 176 cppgc::subtle::DisallowGarbageCollectionScope no_gc_scope(*this); in FinalizeGarbageCollection() 196 subtle::NoGarbageCollectionScope no_gc(*this); in FinalizeGarbageCollection()
|
H A D | heap-base.cc | 113 cppgc::subtle::NoGarbageCollectionScope no_gc_scope(*this); in ExecutePreFinalizers() 116 cppgc::subtle::DisallowGarbageCollectionScope no_gc_scope(*this); in ExecutePreFinalizers()
|
H A D | heap-state.cc | 10 namespace subtle { namespace 42 } // namespace subtle
|
H A D | heap-consistency.cc | 12 namespace subtle { namespace 65 } // namespace subtle
|
/third_party/node/deps/v8/include/cppgc/ |
H A D | heap-state.h | 14 namespace subtle { namespace 79 } // namespace subtle
|
H A D | object-size-trait.h | 25 namespace subtle { namespace 55 } // namespace subtle
|
H A D | heap-consistency.h | 19 namespace subtle { namespace 263 } // namespace subtle
|
/third_party/node/deps/v8/include/v8-include/cppgc/ |
H A D | heap-state.h | 14 namespace subtle { namespace 79 } // namespace subtle
|
H A D | object-size-trait.h | 25 namespace subtle { namespace 55 } // namespace subtle
|
/third_party/node/lib/ |
H A D | crypto.js | 373 subtle: { 377 get() { return lazyWebCrypto().crypto.subtle; },
|