Home
last modified time | relevance | path

Searched refs:subtle (Results 26 - 50 of 61) sorted by relevance

123

/third_party/node/test/parallel/
H A Dtest-webcrypto-wrap-unwrap.js9 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 Dtest-crypto-psychic-signatures.js83 crypto.webcrypto.subtle.importKey(
90 return crypto.webcrypto.subtle.verify(
H A Dtest-webcrypto-webidl.js11 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 Dwebcrypto.js65 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 Dscoped_refptr.h30 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 Dref_counted.cc9 namespace subtle { namespace
33 } // namespace subtle
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
H A Dsymmetric_importKey.https.any.js8 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 Dokp_importKey.https.any.js8 var subtle = crypto.subtle; variable
105 return subtle.importKey(format, keyData[format], algorithm, extractable, usages).
113 return subtle.exportKey(format, key).
H A Dec_importKey.https.any.js8 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 Drsa_importKey.https.any.js8 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 Dokp_importKey_failures.js2 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 Dsuccesses.js3 var subtle = crypto.subtle; // Change to test prefixed implementations
63 return subtle.generateKey(algorithm, extractable, usages)
H A Dfailures.js2 var subtle = crypto.subtle; // Change to test prefixed implementations
73 return crypto.subtle.generateKey(algorithm, extractable, usages)
/third_party/node/benchmark/crypto/
H A Dwebcrypto-digest.js8 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 Dheap-base.h50 namespace subtle { namespace
53 } // namespace subtle
291 friend class cppgc::subtle::DisallowGarbageCollectionScope;
292 friend class cppgc::subtle::NoGarbageCollectionScope;
H A Dheap.cc101 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 Dheap-base.cc113 cppgc::subtle::NoGarbageCollectionScope no_gc_scope(*this); in ExecutePreFinalizers()
116 cppgc::subtle::DisallowGarbageCollectionScope no_gc_scope(*this); in ExecutePreFinalizers()
H A Dheap-state.cc10 namespace subtle { namespace
42 } // namespace subtle
H A Dheap-consistency.cc12 namespace subtle { namespace
65 } // namespace subtle
/third_party/node/deps/v8/include/cppgc/
H A Dheap-state.h14 namespace subtle { namespace
79 } // namespace subtle
H A Dobject-size-trait.h25 namespace subtle { namespace
55 } // namespace subtle
H A Dheap-consistency.h19 namespace subtle { namespace
263 } // namespace subtle
/third_party/node/deps/v8/include/v8-include/cppgc/
H A Dheap-state.h14 namespace subtle { namespace
79 } // namespace subtle
H A Dobject-size-trait.h25 namespace subtle { namespace
55 } // namespace subtle
/third_party/node/lib/
H A Dcrypto.js373 subtle: {
377 get() { return lazyWebCrypto().crypto.subtle; },

Completed in 12 milliseconds

123