Home
last modified time | relevance | path

Searched refs:CryptoJob (Results 1 – 8 of 8) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_cipher.h144 class CipherJob final : public CryptoJob<CipherTraits> {
191 CryptoJob<CipherTraits>::Initialize(New, env, target); in Initialize()
195 CryptoJob<CipherTraits>::RegisterExternalReferences(New, registry); in RegisterExternalReferences()
206 : CryptoJob<CipherTraits>( in CipherJob()
228 *CryptoJob<CipherTraits>::params(), in DoThreadPoolWork()
235 CryptoErrorStore* errors = CryptoJob<CipherTraits>::errors(); in DoThreadPoolWork()
256 CryptoErrorStore* errors = CryptoJob<CipherTraits>::errors(); in ToResult()
274 if (CryptoJob<CipherTraits>::mode() == kCryptoJobAsync) in SET_SELF_SIZE()
277 CryptoJob<CipherTraits>::MemoryInfo(tracker); in SET_SELF_SIZE()
Dcrypto_keygen.h31 class KeyGenJob final : public CryptoJob<KeyGenTraits> {
58 CryptoJob<KeyGenTraits>::Initialize(New, env, target); in Initialize()
62 CryptoJob<KeyGenTraits>::RegisterExternalReferences(New, registry); in RegisterExternalReferences()
70 : CryptoJob<KeyGenTraits>( in KeyGenJob()
78 AdditionalParams* params = CryptoJob<KeyGenTraits>::params(); in DoThreadPoolWork()
86 CryptoErrorStore* errors = CryptoJob<KeyGenTraits>::errors(); in DoThreadPoolWork()
98 CryptoErrorStore* errors = CryptoJob<KeyGenTraits>::errors(); in ToResult()
99 AdditionalParams* params = CryptoJob<KeyGenTraits>::params(); in ToResult()
Dcrypto_keys.h274 class KeyExportJob final : public CryptoJob<KeyExportTraits> {
315 CryptoJob<KeyExportTraits>::Initialize(New, env, target); in Initialize()
319 CryptoJob<KeyExportTraits>::RegisterExternalReferences(New, registry); in RegisterExternalReferences()
329 : CryptoJob<KeyExportTraits>( in KeyExportJob()
345 *CryptoJob<KeyExportTraits>::params(), in DoThreadPoolWork()
351 CryptoErrorStore* errors = CryptoJob<KeyExportTraits>::errors(); in DoThreadPoolWork()
372 CryptoErrorStore* errors = CryptoJob<KeyExportTraits>::errors(); in ToResult()
390 CryptoJob<KeyExportTraits>::MemoryInfo(tracker); in SET_SELF_SIZE()
DREADME.md179 ### `CryptoJob`
182 are built around the `CryptoJob` class.
184 A `CryptoJob` encapsulates a single crypto operation that can be
187 The `CryptoJob` class itself is a C++ template that takes a single
191 There are (currently) four basic `CryptoJob` specializations:
205 `CryptoJob` instance is created.
211 of the above `CryptoJob` specializations. Despite the signature
214 on the `CryptoJob`'s parameters object.
216 The parameters object is specific to each `CryptoJob` type, and
217 is stored with the `CryptoJob`. It holds all of the inputs that
[all …]
Dcrypto_util.h333 class CryptoJob : public AsyncWrap, public ThreadPoolWork {
337 explicit CryptoJob(Environment* env, in CryptoJob() function
361 std::unique_ptr<CryptoJob> ptr(this); in AfterThreadPoolWork()
414 CryptoJob<CryptoJobTraits>* job; in Run()
457 class DeriveBitsJob final : public CryptoJob<DeriveBitsTraits> {
481 CryptoJob<DeriveBitsTraits>::Initialize(New, env, target); in Initialize()
485 CryptoJob<DeriveBitsTraits>::RegisterExternalReferences(New, registry); in RegisterExternalReferences()
493 : CryptoJob<DeriveBitsTraits>( in DeriveBitsJob()
503 *CryptoJob<DeriveBitsTraits>::params(), &out_)) { in DoThreadPoolWork()
504 CryptoErrorStore* errors = CryptoJob<DeriveBitsTraits>::errors(); in DoThreadPoolWork()
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V15.md117 …b.com/nodejs/node/commit/6ad0b6f0f5)] - **src**: fix error handling for CryptoJob::ToResult (Tobia…
DCHANGELOG_V13.md967 …odejs/node/commit/42b835412d)] - **src**: remove duplicate field env in CryptoJob class (ConorDave…
DCHANGELOG_V12.md2749 …odejs/node/commit/79a6872809)] - **src**: remove duplicate field env in CryptoJob class (ConorDave…