/third_party/node/test/fixtures/ |
D | aead-vectors.js | 2 { algo: 'aes-128-gcm', property 7 { algo: 'aes-128-gcm', property 12 { algo: 'aes-128-gcm', property 17 { algo: 'aes-256-gcm', property 22 { algo: 'aes-256-gcm', property 27 { algo: 'aes-192-gcm', property 38 { algo: 'aes-128-gcm', property 47 { algo: 'aes-128-gcm', property 56 { algo: 'aes-128-gcm', property 71 { algo: 'aes-128-gcm', property [all …]
|
/third_party/node/deps/npm/node_modules/ssri/lib/ |
D | index.js | 182 const algo = other.pickAlgorithm(opts, [this.algorithm]) 184 if (!algo) { 188 const foundHash = other[algo].find(hash => hash.digest === this.digest) 307 for (const algo in other) { 308 if (this[algo]) { 309 if (!this[algo].find(hash => 310 other[algo].find(otherhash => 315 this[algo] = other[algo] 325 const algo = other.pickAlgorithm(opts, Object.keys(this)) 327 !!algo && [all …]
|
/third_party/node/test/parallel/ |
D | test-crypto-sign-verify.js | 155 function testPSS(algo, hLen) { argument 192 crypto.createSign(algo) 201 crypto.sign(algo, data, { 209 const s4 = crypto.createSign(algo) 216 const s4_2 = crypto.sign(algo, data, { 227 verified = crypto.createVerify(algo) 234 assert.strictEqual(verified, crypto.verify(algo, data, { 245 verified = crypto.createVerify(algo) 253 assert.strictEqual(verified, crypto.verify(algo, data, { 261 verified = crypto.createVerify(algo) [all …]
|
D | test-crypto-authenticated.js | 87 if (!ciphers.includes(test.algo)) { 88 common.printSkipMessage(`unsupported ${test.algo} test`); 97 const isCCM = /^aes-(128|192|256)-ccm$/.test(test.algo); 98 const isOCB = /^aes-(128|192|256)-ocb$/.test(test.algo); 114 const encrypt = crypto.createCipheriv(test.algo, 136 crypto.createDecipheriv(test.algo, 142 const decrypt = crypto.createDecipheriv(test.algo, 165 assert.throws(() => { crypto.createCipher(test.algo, test.password); }, 168 const encrypt = crypto.createCipher(test.algo, test.password, options); 184 assert.throws(() => { crypto.createDecipher(test.algo, test.password); }, [all …]
|
D | test-crypto.js | 125 for (const algo of cryptoCiphers) { 126 const { ivLength, keyLength, mode } = crypto.getCipherInfo(algo); 130 else if (mode === 'ocb' || algo === 'chacha20-poly1305') 132 crypto.createCipheriv(algo, 157 for (const algo of crypto.getHashes()) 158 crypto.createHash(algo);
|
/third_party/node/benchmark/crypto/ |
D | hash-stream-throughput.js | 9 algo: ['sha1', 'sha256', 'sha512'], property 15 function main({ api, type, len, algo, writes }) { property 43 fn(algo, message, encoding, writes, len); 46 function legacyWrite(algo, message, encoding, writes, len) { argument 50 const h = crypto.createHash(algo); 60 function streamWrite(algo, message, encoding, writes, len) { argument 64 const h = crypto.createHash(algo);
|
D | hash-stream-creation.js | 9 algo: [ 'sha256', 'md5' ], property 16 function main({ api, type, len, out, writes, algo }) { field 44 fn(algo, message, encoding, writes, len, out); 47 function legacyWrite(algo, message, encoding, writes, len, outEnc) { argument 53 const h = crypto.createHash(algo); 61 function streamWrite(algo, message, encoding, writes, len, outEnc) { argument 67 const h = crypto.createHash(algo);
|
D | rsa-sign-verify-throughput.js | 21 algo: ['SHA1', 'SHA224', 'SHA256', 'SHA384', 'SHA512'], property 26 function main({ len, algo, keylen, writes }) { property 29 StreamWrite(algo, keylen, message, writes, len); 32 function StreamWrite(algo, keylen, message, writes, len) { argument 38 const s = crypto.createSign(algo); 39 const v = crypto.createVerify(algo);
|
D | rsa-encrypt-decrypt-throughput.js | 25 function main({ len, algo, keylen, n }) { property 28 StreamWrite(algo, keylen, message, n, len); 31 function StreamWrite(algo, keylen, message, n, len) { argument
|
/third_party/lzma/CPP/7zip/Crypto/ |
D | MyAes.cpp | 109 algo in SetFunctions() 126 if (algo < 1) in SetFunctions() 129 if (algo == 1) in SetFunctions() 145 if (algo == 2) in SetFunctions() 159 if (algo == 3) in SetFunctions() 185 UInt32 algo = 0; in SetCoderProperties() local 195 algo = prop.ulVal; in SetCoderProperties() 198 if (!SetFunctions(algo)) in SetCoderProperties()
|
/third_party/node/deps/openssl/openssl/crypto/ |
D | core_algorithm.c | 143 const OSSL_ALGORITHM *algo, in ossl_algorithm_do_all() argument 180 char *ossl_algorithm_get1_first_name(const OSSL_ALGORITHM *algo) in ossl_algorithm_get1_first_name() argument 186 if (algo->algorithm_names == NULL) in ossl_algorithm_get1_first_name() 189 first_name_end = strchr(algo->algorithm_names, ':'); in ossl_algorithm_get1_first_name() 191 first_name_len = strlen(algo->algorithm_names); in ossl_algorithm_get1_first_name() 193 first_name_len = first_name_end - algo->algorithm_names; in ossl_algorithm_get1_first_name() 195 ret = OPENSSL_strndup(algo->algorithm_names, first_name_len); in ossl_algorithm_get1_first_name()
|
D | core_fetch.c | 103 const OSSL_ALGORITHM *algo, in ossl_method_construct_this() argument 109 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this() 123 data->mcm->put(data->store, method, provider, algo->algorithm_names, in ossl_method_construct_this() 124 algo->property_definition, data->mcm_data); in ossl_method_construct_this()
|
/third_party/openssl/crypto/ |
D | core_algorithm.c | 143 const OSSL_ALGORITHM *algo, in ossl_algorithm_do_all() argument 180 char *ossl_algorithm_get1_first_name(const OSSL_ALGORITHM *algo) in ossl_algorithm_get1_first_name() argument 186 if (algo->algorithm_names == NULL) in ossl_algorithm_get1_first_name() 189 first_name_end = strchr(algo->algorithm_names, ':'); in ossl_algorithm_get1_first_name() 191 first_name_len = strlen(algo->algorithm_names); in ossl_algorithm_get1_first_name() 193 first_name_len = first_name_end - algo->algorithm_names; in ossl_algorithm_get1_first_name() 195 ret = OPENSSL_strndup(algo->algorithm_names, first_name_len); in ossl_algorithm_get1_first_name()
|
D | core_fetch.c | 103 const OSSL_ALGORITHM *algo, in ossl_method_construct_this() argument 109 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this() 123 data->mcm->put(data->store, method, provider, algo->algorithm_names, in ossl_method_construct_this() 124 algo->property_definition, data->mcm_data); in ossl_method_construct_this()
|
/third_party/iptables/ |
D | tests-extensions-add-some-testcases.patch | 384 -# ERROR: cannot find: iptables -I INPUT -m string --algo bm --string "test" 385 -# -m string --algo bm --string "test";=;OK 386 -# ERROR: cannot find: iptables -I INPUT -m string --algo kmp --string "test") 387 -# -m string --algo kmp --string "test";=;OK 388 -# ERROR: cannot find: iptables -I INPUT -m string --algo kmp ! --string "test" 389 -# -m string --algo kmp ! --string "test";=;OK 390 -# cannot find: iptables -I INPUT -m string --algo bm --string "xxxxxxxxxxx" ....] 391 -# -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… 392 -# ERROR: cannot load: iptables -A INPUT -m string --algo bm --string "xxxx" 393 -# -m string --algo bm --string "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx… [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/drmdec/ |
D | gstdrmdec.c | 389 gst_drm_get_algo (const gchar *mode, guint *algo) in gst_drm_get_algo() argument 392 *algo = (guint)DRM_ALG_CENC_SM4_CBC; in gst_drm_get_algo() 394 *algo = (guint)DRM_ALG_CENC_AES_CBC; in gst_drm_get_algo() 396 *algo = (guint)DRM_ALG_CENC_AES_CTR; in gst_drm_get_algo() 398 *algo = (guint)DRM_ALG_CENC_SM4_CTR; in gst_drm_get_algo() 419 gst_drm_decrypt_get_algo (const GstProtectionMeta *prot_meta, guint *algo) in gst_drm_decrypt_get_algo() argument 425 *algo = DRM_ALG_CENC_UNENCRYPTED; in gst_drm_decrypt_get_algo() 427 gst_drm_get_algo (mode, algo); in gst_drm_decrypt_get_algo() 431 *algo = DRM_ALG_CENC_UNENCRYPTED; in gst_drm_decrypt_get_algo() 605 guint algo = 0; in gst_drm_decrypt_transform_ip() local [all …]
|
/third_party/node/deps/openssl/openssl/apps/ |
D | progs.pl | 207 (my $algo = $cmd) =~ s/-.*//g; 210 } elsif (grep { $algo eq $_ } @disablables) { 211 print "#ifndef OPENSSL_NO_" . uc($algo) . "\n${str}#endif\n"; 212 } elsif (my $disabler = $cipher_disabler{$algo}) {
|
/third_party/openssl/apps/ |
D | progs.pl | 207 (my $algo = $cmd) =~ s/-.*//g; 210 } elsif (grep { $algo eq $_ } @disablables) { 211 print "#ifndef OPENSSL_NO_" . uc($algo) . "\n${str}#endif\n"; 212 } elsif (my $disabler = $cipher_disabler{$algo}) {
|
/third_party/node/test/common/ |
D | tls.js | 147 function PRF12(algo, secret, label, seed, size) { argument 149 return P_hash(algo, secret, newSeed, size); 152 function P_hash(algo, secret, seed, size) { argument 154 let hmac = crypto.createHmac(algo, secret); 159 hmac = crypto.createHmac(algo, secret); 169 hmac = crypto.createHmac(algo, secret);
|
/third_party/lwip/src/apps/snmp/ |
D | snmpv3_mbedtls.c | 53 const u8_t *key, snmpv3_auth_algo_t algo, u8_t *hmac_out) in snmpv3_auth() argument 62 if (algo == SNMP_V3_AUTH_ALGO_MD5) { in snmpv3_auth() 65 } else if (algo == SNMP_V3_AUTH_ALGO_SHA) { in snmpv3_auth() 110 const u32_t engine_time, snmpv3_priv_algo_t algo, snmpv3_priv_mode_t mode) in snmpv3_crypt() argument 122 if (algo == SNMP_V3_PRIV_ALGO_DES) { in snmpv3_crypt() 179 } else if (algo == SNMP_V3_PRIV_ALGO_AES) { in snmpv3_crypt()
|
D | snmp_snmpv2_usm.c | 60 static const struct snmp_obj_id *snmp_auth_algo_to_oid(snmpv3_auth_algo_t algo) in snmp_auth_algo_to_oid() argument 62 if (algo == SNMP_V3_AUTH_ALGO_MD5) { in snmp_auth_algo_to_oid() 64 } else if (algo == SNMP_V3_AUTH_ALGO_SHA) { in snmp_auth_algo_to_oid() 71 static const struct snmp_obj_id *snmp_priv_algo_to_oid(snmpv3_priv_algo_t algo) in snmp_priv_algo_to_oid() argument 73 if (algo == SNMP_V3_PRIV_ALGO_DES) { in snmp_priv_algo_to_oid() 75 } else if (algo == SNMP_V3_PRIV_ALGO_AES) { in snmp_priv_algo_to_oid()
|
/third_party/curl/lib/vauth/ |
D | digest.c | 598 digest->algo = ALGO_MD5SESS; in Curl_auth_decode_digest_http_message() 600 digest->algo = ALGO_MD5; in Curl_auth_decode_digest_http_message() 602 digest->algo = ALGO_SHA256; in Curl_auth_decode_digest_http_message() 604 digest->algo = ALGO_SHA256SESS; in Curl_auth_decode_digest_http_message() 606 digest->algo = ALGO_SHA512_256; in Curl_auth_decode_digest_http_message() 608 digest->algo = ALGO_SHA512_256SESS; in Curl_auth_decode_digest_http_message() 644 if(!digest->qop && (digest->algo & SESSION_ALGO)) in Curl_auth_decode_digest_http_message() 746 if(digest->algo & SESSION_ALGO) { in auth_create_digest_http_message() 955 if(digest->algo <= ALGO_MD5SESS) in Curl_auth_create_digest_http_message() 961 DEBUGASSERT(digest->algo <= ALGO_SHA512_256SESS); in Curl_auth_create_digest_http_message() [all …]
|
/third_party/lzma/CPP/Common/ |
D | Sha256Reg.cpp | 52 unsigned algo = 0; in SetCoderProperties() local 62 algo = (unsigned)prop.ulVal; in SetCoderProperties() 65 if (!Sha256_SetFunction(Sha(), algo)) in SetCoderProperties()
|
/third_party/openssl/doc/man1/ |
D | openssl-speed.pod.in | 13 [B<-evp> I<algo>] 14 [B<-hmac> I<algo>] 15 [B<-cmac> I<algo>] 48 =item B<-evp> I<algo> 51 If I<algo> is an AEAD cipher, then you can pass B<-aead> to benchmark a 52 TLS-like sequence. And if I<algo> is a multi-buffer capable cipher, e.g.
|
/third_party/ffmpeg/libavcodec/tests/aarch64/ |
D | dct.c | 23 static const struct algo fdct_tab_arch[] = { 27 static const struct algo idct_tab_arch[] = {
|