diff options
author | James M Snell <jasnell@gmail.com> | 2020-08-25 20:05:51 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2020-10-08 03:27:05 +0300 |
commit | dae283d96fd31ad0f30840a7e55ac97294f505ac (patch) | |
tree | 8f7f87e50411e8965cb83d9b280035f36d355fbc /node.gyp | |
parent | ba77dc8597cbcf42feea59f1381512d421ec9cc5 (diff) |
crypto: refactoring internals, add WebCrypto
Fixes: https://github.com/nodejs/node/issues/678
Refs: https://github.com/nodejs/node/issues/26854
Signed-off-by: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/35093
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 54 |
1 files changed, 51 insertions, 3 deletions
@@ -120,17 +120,25 @@ 'lib/internal/cluster/worker.js', 'lib/internal/console/constructor.js', 'lib/internal/console/global.js', + 'lib/internal/crypto/aes.js', 'lib/internal/crypto/certificate.js', 'lib/internal/crypto/cipher.js', 'lib/internal/crypto/diffiehellman.js', + 'lib/internal/crypto/dsa.js', + 'lib/internal/crypto/ec.js', 'lib/internal/crypto/hash.js', + 'lib/internal/crypto/hashnames.js', + 'lib/internal/crypto/hkdf.js', 'lib/internal/crypto/keygen.js', 'lib/internal/crypto/keys.js', + 'lib/internal/crypto/mac.js', 'lib/internal/crypto/pbkdf2.js', 'lib/internal/crypto/random.js', + 'lib/internal/crypto/rsa.js', 'lib/internal/crypto/scrypt.js', 'lib/internal/crypto/sig.js', 'lib/internal/crypto/util.js', + 'lib/internal/crypto/webcrypto.js', 'lib/internal/constants.js', 'lib/internal/dgram.js', 'lib/internal/dns/promises.js', @@ -902,14 +910,54 @@ } ], [ 'node_use_openssl=="true"', { 'sources': [ - 'src/crypto/crypto_common.cc', + 'src/crypto/crypto_aes.cc', 'src/crypto/crypto_bio.cc', + 'src/crypto/crypto_common.cc', + 'src/crypto/crypto_dsa.cc', + 'src/crypto/crypto_hkdf.cc', + 'src/crypto/crypto_pbkdf2.cc', + 'src/crypto/crypto_sig.cc', + 'src/crypto/crypto_timing.cc', + 'src/crypto/crypto_cipher.cc', + 'src/crypto/crypto_context.cc', + 'src/crypto/crypto_ecdh.cc', + 'src/crypto/crypto_hmac.cc', + 'src/crypto/crypto_random.cc', + 'src/crypto/crypto_rsa.cc', + 'src/crypto/crypto_spkac.cc', + 'src/crypto/crypto_util.cc', 'src/crypto/crypto_clienthello.cc', - 'src/crypto/crypto_common.h', + 'src/crypto/crypto_dh.cc', + 'src/crypto/crypto_hash.cc', + 'src/crypto/crypto_keys.cc', + 'src/crypto/crypto_keygen.cc', + 'src/crypto/crypto_scrypt.cc', + 'src/crypto/crypto_ssl.cc', + 'src/crypto/crypto_aes.cc', 'src/crypto/crypto_bio.h', - 'src/crypto/crypto_clienthello.h', 'src/crypto/crypto_clienthello-inl.h', + 'src/crypto/crypto_dh.h', 'src/crypto/crypto_groups.h', + 'src/crypto/crypto_hmac.h', + 'src/crypto/crypto_rsa.h', + 'src/crypto/crypto_spkac.h', + 'src/crypto/crypto_util.h', + 'src/crypto/crypto_cipher.h', + 'src/crypto/crypto_common.h', + 'src/crypto/crypto_dsa.h', + 'src/crypto/crypto_hash.h', + 'src/crypto/crypto_keys.h', + 'src/crypto/crypto_keygen.h', + 'src/crypto/crypto_scrypt.h', + 'src/crypto/crypto_ssl.h', + 'src/crypto/crypto_clienthello.h', + 'src/crypto/crypto_context.h', + 'src/crypto/crypto_ecdh.h', + 'src/crypto/crypto_hkdf.h', + 'src/crypto/crypto_pbkdf2.h', + 'src/crypto/crypto_sig.h', + 'src/crypto/crypto_random.h', + 'src/crypto/crypto_timing.h', 'src/node_crypto.cc', 'src/node_crypto.h', 'src/tls_wrap.cc', |