Home
last modified time | relevance | path

Searched full:crypto (Results 1 – 25 of 2209) sorted by relevance

12345678910>>...89

/third_party/openssl/
DBUILD.gn22 "./crypto",
24 "./crypto/modes",
25 "./crypto/ec/curve448",
26 "./crypto/ec/curve448/arch_32",
173 "crypto/aes/aes_cbc.c",
174 "crypto/aes/aes_cfb.c",
175 "crypto/aes/aes_ecb.c",
176 "crypto/aes/aes_ige.c",
177 "crypto/aes/aes_misc.c",
178 "crypto/aes/aes_ofb.c",
[all …]
Dcreate_asm_file.sh24 rm -rf crypto/aes/asm/arm32
25 rm -rf crypto/bn/asm/arm32
26 rm -rf crypto/chacha/asm/arm32
27 rm -rf crypto/ec/asm/arm32
28 rm -rf crypto/modes/asm/arm32
29 rm -rf crypto/poly1305/asm/arm32
30 rm -rf crypto/sha/asm/arm32
31 rm -rf crypto/armv4cpuid.S
32 mkdir crypto/aes/asm/arm32
33 mkdir crypto/bn/asm/arm32
[all …]
DREADME.ASM8 "crypto/aes/asm/arm32/aes-armv4.S",
9 "crypto/aes/asm/arm32/aesv8-armx.S",
10 "crypto/aes/asm/arm32/bsaes-armv7.S",
11 "crypto/armv4cpuid.S",
12 "crypto/bn/asm/arm32/armv4-gf2m.S",
13 "crypto/bn/asm/arm32/armv4-mont.S",
14 "crypto/chacha/asm/arm32/chacha-armv4.S",
15 "crypto/ec/asm/arm32/ecp_nistz256-armv4.S",
16 "crypto/modes/asm/arm32/ghash-armv4.S",
17 "crypto/modes/asm/arm32/ghashv8-armx.S",
[all …]
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
DCMakeLists.txt1 project(lws-crypto-cose-sign C)
8 set(SAMP lws-crypto-cose-sign)
20 add_test(NAME crypto-cose-sign-1
21 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid 11
25 add_test(NAME crypto-cose-sign-2
26 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec384
30 add_test(NAME crypto-cose-sign-3
31 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec512
38 add_test(NAME crypto-cose-sign-4
39 COMMAND lws-crypto-cose-sign -k set1.cks
[all …]
/third_party/openssl/crypto/err/
Dopenssl.ec6 L BN include/openssl/bn.h crypto/bn/bn_err.c
7 L RSA include/openssl/rsa.h crypto/rsa/rsa_err.c
8 L DH include/openssl/dh.h crypto/dh/dh_err.c
9 L EVP include/openssl/evp.h crypto/evp/evp_err.c
10 L BUF include/openssl/buffer.h crypto/buffer/buf_err.c
11 L OBJ include/openssl/objects.h crypto/objects/obj_err.c
12 L PEM include/openssl/pem.h crypto/pem/pem_err.c
13 L DSA include/openssl/dsa.h crypto/dsa/dsa_err.c
14 L X509 include/openssl/x509.h crypto/x509/x509_err.c
15 L ASN1 include/openssl/asn1.h crypto/asn1/asn1_err.c
[all …]
/third_party/node/test/parallel/
Dtest-crypto-sign-verify.js4 common.skip('missing crypto');
10 const crypto = require('crypto'); constant
19 const Sign = crypto.Sign;
26 const Verify = crypto.Verify;
43 crypto.createSign('sha1').sign(
60 crypto.createSign('SHA1')
64 padding: crypto.constants.RSA_PKCS1_OAEP_PADDING
72 () => crypto.createVerify('SHA256').verify({
83 () => crypto.createVerify('SHA256').verify({
95 const s1 = crypto.createSign('SHA1')
[all …]
Dtest-crypto-rsa-dsa.js4 common.skip('missing crypto');
7 const crypto = require('crypto'); constant
9 const constants = crypto.constants;
43 let encryptedBuffer = crypto.publicEncrypt(rsaPubPem, bufferToEncrypt);
45 let decryptedBuffer = crypto.privateDecrypt(rsaKeyPem, encryptedBuffer);
48 decryptedBuffer = crypto.privateDecrypt(rsaPkcs8KeyPem, encryptedBuffer);
51 let decryptedBufferWithPassword = crypto.privateDecrypt({
57 encryptedBuffer = crypto.publicEncrypt({
62 decryptedBufferWithPassword = crypto.privateDecrypt({
68 encryptedBuffer = crypto.privateEncrypt({
[all …]
Dtest-crypto-pbkdf2.js4 common.skip('missing crypto');
7 const crypto = require('crypto'); constant
14 crypto.pbkdf2Sync(password, salt, iterations, keylen, 'sha256');
17 crypto.pbkdf2(password, salt, iterations, keylen, 'sha256',
49 const key = crypto.pbkdf2Sync('password', 'salt', 32, 32, 'sha256');
52 crypto.pbkdf2('password', 'salt', 32, 32, 'sha256',
61 () => crypto.pbkdf2('password', 'salt', 1, 20, 'sha1'),
70 () => crypto.pbkdf2Sync('password', 'salt', iterations, 20, 'sha1'),
83 crypto.pbkdf2Sync('password', 'salt', 1, notNumber, 'sha256');
95 crypto.pbkdf2('password', 'salt', 1, input, 'sha256',
[all …]
Dtest-crypto-hash.js4 common.skip('missing crypto');
7 const crypto = require('crypto'); constant
16 const a1 = crypto.createHash('sha1').update('Test123').digest('hex');
17 const a2 = crypto.createHash('sha256').update('Test123').digest('base64');
18 const a3 = crypto.createHash('sha512').update('Test123').digest(); // buffer
19 const a4 = crypto.createHash('sha1').update('Test123').digest('buffer');
22 let a5 = crypto.createHash('sha512');
26 let a6 = crypto.createHash('sha512');
33 let a7 = crypto.createHash('sha512');
37 let a8 = crypto.createHash('sha512');
[all …]
Dtest-eslint-crypto-check.js5 common.skip('missing crypto');
10 const rule = require('../../tools/eslint-rules/crypto-check');
15 new RuleTester().run('crypto-check', rule, {
18 'crypto',
21 common.skip("missing crypto");
23 require("crypto");
27 common.skip("missing crypto");
29 internalBinding("crypto");
35 'require("crypto")\n' +
37 ' common.skip("missing crypto");\n' +
[all …]
Dtest-crypto-dh-stateless.js4 common.skip('missing crypto');
7 const crypto = require('crypto'); constant
9 assert.throws(() => crypto.diffieHellman(), {
18 const buf1 = crypto.diffieHellman({
22 const buf2 = crypto.diffieHellman({
32 const alicePrivateKey = crypto.createPrivateKey({
47 const alicePublicKey = crypto.createPublicKey({
62 const bobPrivateKey = crypto.createPrivateKey({
77 const bobPublicKey = crypto.createPublicKey({
92 assert.throws(() => crypto.diffieHellman({ privateKey: alicePrivateKey }), {
[all …]
Dtest-crypto-dh.js4 common.skip('missing crypto');
7 const crypto = require('crypto'); constant
11 const dh1 = crypto.createDiffieHellman(common.hasFipsCrypto ? 1024 : 256);
13 const dh2 = crypto.createDiffieHellman(p1, 'buffer');
26 assert.throws(() => crypto.createDiffieHellman(13.37), {
33 assert.throws(() => crypto.createDiffieHellman('abcdef', 13.37), {
41 assert.throws(() => crypto.createDiffieHellman(bits), {
51 crypto.createDiffieHellman('abcdef', g);
52 crypto.createDiffieHellman('abcdef', 'hex', g);
61 assert.throws(() => crypto.createDiffieHellman('abcdef', g), ex);
[all …]
Dtest-crypto-random.js27 common.skip('missing crypto');
30 const crypto = require('crypto'); constant
38 'crypto.pseudoRandomBytes is deprecated.', 'DEP0115');
41 [crypto.randomBytes, crypto.pseudoRandomBytes].forEach((f) => {
77 const after = crypto.randomFillSync(buf).toString('hex');
84 crypto.randomFillSync(buf);
98 crypto.randomFillSync(buf);
107 crypto.randomFill(buf, common.mustSucceed((buf) => {
116 crypto.randomFill(buf, common.mustSucceed((buf) => {
131 crypto.randomFill(buf, common.mustSucceed((buf) => {
[all …]
Dtest-crypto-cipher-decipher.js5 common.skip('missing crypto');
10 const crypto = require('crypto'); constant
18 ['crypto.createCipher is deprecated.', 'DEP0106'],
25 const cipher = crypto.createCipher('aes192', key);
33 const decipher = crypto.createDecipher('aes192', key);
43 const cStream = crypto.createCipher('aes192', key);
47 const dStream = crypto.createDecipher('aes192', key);
62 const cipher = crypto.createCipher('aes256', key);
69 const decipher = crypto.createDecipher('aes256', key);
83 const Cipher = crypto.Cipher;
[all …]
Dtest-crypto-fips.js5 common.skip('missing crypto');
12 const { testFipsCrypto } = internalBinding('crypto');
66 'require("crypto").getFips()',
74 'require("crypto").getFips()',
82 'require("crypto").getFips()',
103 'require("crypto").getFips()',
111 'require("crypto").getFips()',
119 'require("crypto").getFips()',
127 'require("crypto").getFips()',
135 'require("crypto").getFips()',
[all …]
Dtest-crypto-cipheriv-decipheriv.js4 common.skip('missing crypto');
7 const crypto = require('crypto'); constant
15 const cipher = crypto.createCipheriv('des-ede3-cbc', key, iv);
19 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv);
30 const cStream = crypto.createCipheriv('des-ede3-cbc', key, iv);
34 const dStream = crypto.createDecipheriv('des-ede3-cbc', key, iv);
49 const cipher = crypto.createCipheriv('des-ede3-cbc', key, iv);
53 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv);
67 const cipher = crypto.createCipheriv('id-aes128-wrap', key, iv);
73 const decipher = crypto.createDecipheriv('id-aes128-wrap', key, iv);
[all …]
Dtest-crypto-scrypt.js5 common.skip('missing crypto');
8 const crypto = require('crypto'); constant
11 if (typeof internalBinding('crypto').scrypt !== 'function')
150 const actual = crypto.scryptSync(pass, salt, keylen, options);
152 crypto.scrypt(pass, salt, keylen, options, common.mustSucceed((actual) => {
163 assert.throws(() => crypto.scrypt('pass', 'salt', 1, options, () => {}),
165 assert.throws(() => crypto.scryptSync('pass', 'salt', 1, options),
175 assert.throws(() => crypto.scrypt('pass', 'salt', 1, options, () => {}),
177 assert.throws(() => crypto.scryptSync('pass', 'salt', 1, options),
183 const expected = crypto.scryptSync('pass', 'salt', 1, defaults);
[all …]
/third_party/grpc/
Dconfig.w32531 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_bitstr.c " +
532 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_bool.c " +
533 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_d2i_fp.c " +
534 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_dup.c " +
535 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_enum.c " +
536 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_gentm.c " +
537 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_i2d_fp.c " +
538 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_int.c " +
539 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_mbstr.c " +
540 "third_party\\boringssl-with-bazel\\src\\crypto\\asn1\\a_object.c " +
[all …]
Dconfig.m4563 third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.c \
564 third_party/boringssl-with-bazel/src/crypto/asn1/a_bool.c \
565 third_party/boringssl-with-bazel/src/crypto/asn1/a_d2i_fp.c \
566 third_party/boringssl-with-bazel/src/crypto/asn1/a_dup.c \
567 third_party/boringssl-with-bazel/src/crypto/asn1/a_enum.c \
568 third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c \
569 third_party/boringssl-with-bazel/src/crypto/asn1/a_i2d_fp.c \
570 third_party/boringssl-with-bazel/src/crypto/asn1/a_int.c \
571 third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c \
572 third_party/boringssl-with-bazel/src/crypto/asn1/a_object.c \
[all …]
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/
DCMakeLists.txt1 project(lws-crypto-cose-key C)
8 set(SAMP lws-crypto-cose-key)
18 add_test(NAME crypto-cose-key-1
19 COMMAND lws-crypto-cose-key --stdin set1.cks )
20 add_test(NAME crypto-cose-key-2
21 COMMAND lws-crypto-cose-key --kty EC2 --curve P-256 --kid ctest-256 --stdout ctest-ec-256.key)
22 add_test(NAME crypto-cose-key-3
23 COMMAND lws-crypto-cose-key --kty EC2 --curve P-384 --kid ctest-384 --stdout ctest-ec-384.key)
24 add_test(NAME crypto-cose-key-4
25 COMMAND lws-crypto-cose-key --kty EC2 --curve P-521 --kid ctest-512 --stdout ctest-ec-512.key)
[all …]
/third_party/grpc/src/python/grpcio/
Dgrpc_core_dependencies.py671 'third_party/boringssl-with-bazel/src/crypto/asn1/a_bitstr.c',
672 'third_party/boringssl-with-bazel/src/crypto/asn1/a_bool.c',
673 'third_party/boringssl-with-bazel/src/crypto/asn1/a_d2i_fp.c',
674 'third_party/boringssl-with-bazel/src/crypto/asn1/a_dup.c',
675 'third_party/boringssl-with-bazel/src/crypto/asn1/a_enum.c',
676 'third_party/boringssl-with-bazel/src/crypto/asn1/a_gentm.c',
677 'third_party/boringssl-with-bazel/src/crypto/asn1/a_i2d_fp.c',
678 'third_party/boringssl-with-bazel/src/crypto/asn1/a_int.c',
679 'third_party/boringssl-with-bazel/src/crypto/asn1/a_mbstr.c',
680 'third_party/boringssl-with-bazel/src/crypto/asn1/a_object.c',
[all …]
/third_party/node/doc/api/
Dcrypto.md1 # Crypto chapter
7 <!-- source_link=lib/crypto.js -->
9 The `crypto` module provides cryptographic functionality that includes a set of
12 Use `require('crypto')` to access this module.
15 const crypto = require('crypto');
18 const hash = crypto.createHmac('sha256', secret)
26 ## Determining if crypto support is unavailable
29 `crypto` module. In such cases, calling `require('crypto')` will result in an
33 let crypto;
35 crypto = require('crypto');
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/
DCMakeLists.txt11 include_directories(src/crypto)
247 src/crypto/aes-cbc.c
248 src/crypto/aes-ccm.c
249 src/crypto/aes-ctr.c
250 src/crypto/aes-eax.c
251 src/crypto/aes-encblock.c
252 src/crypto/aes-gcm.c
253 src/crypto/aes-internal-dec.c
254 src/crypto/aes-internal-enc.c
255 src/crypto/aes-internal.c
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
DAndroid.mk615 OBJS += src/crypto/ms_funcs.c
647 OBJS += src/crypto/tls_openssl.c
648 OBJS += src/crypto/tls_openssl_ocsp.c
651 OBJS += src/crypto/crypto_openssl.c
652 HOBJS += src/crypto/crypto_openssl.c
654 OBJS += src/crypto/fips_prf_openssl.c
672 OBJS += src/crypto/tls_gnutls.c
675 OBJS += src/crypto/crypto_$(CONFIG_CRYPTO).c
676 HOBJS += src/crypto/crypto_$(CONFIG_CRYPTO).c
678 OBJS += src/crypto/fips_prf_internal.c
[all …]
/third_party/node/deps/npm/node_modules/crypto-random-string/
Dpackage.json2 "_from": "crypto-random-string@^1.0.0",
3 "_id": "crypto-random-string@1.0.0",
6 "_location": "/crypto-random-string",
11 "raw": "crypto-random-string@^1.0.0",
12 "name": "crypto-random-string",
13 "escapedName": "crypto-random-string",
21 "_resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz",
23 "_spec": "crypto-random-string@^1.0.0",
31 "url": "https://github.com/sindresorhus/crypto-random-string/issues"
46 "homepage": "https://github.com/sindresorhus/crypto-random-string#readme",
[all …]

12345678910>>...89