/external/autotest/client/site_tests/kernel_CryptoAPI/ |
kernel_CryptoAPI.py | 110 alg = sockaddr_alg(AF_ALG, "hash", name) 111 if libc.bind(sock, ctypes.addressof(alg), ctypes.sizeof(alg)) == -1:
|
/external/ipsec-tools/src/racoon/ |
sainfo.c | 245 delsainfoalg(alg) 246 struct sainfoalg *alg; 250 for (a = alg; a; a = next) {
|
/external/opencv3/samples/tapi/ |
tvl1_optical_flow.cpp | 115 cv::Ptr<cv::DenseOpticalFlow> alg = cv::createOptFlow_DualTVL1(); local 172 alg->calc(ptr0, ptr1, flow); 209 alg->calc(frame0, frame1, flow);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
RandomDataImpl.java | 256 MessageDigest alg = null; local 258 alg = MessageDigest.getInstance("SHA-1"); 263 alg.reset(); 272 alg.update(randomBytes); 275 byte hash[] = alg.digest(); [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_common.c | 346 enum crypto_hash_alg alg; local 350 alg = CRYPTO_HASH_ALG_SHA256; 354 alg = CRYPTO_HASH_ALG_SHA384; 358 alg = CRYPTO_HASH_ALG_SHA512; 364 ctx = crypto_hash_init(alg, NULL, 0);
|
/external/valgrind/none/tests/s390x/ |
add.stdout.exp | 56 alg 0 + 0000000000000000 + 0000000000000000 = 0000000000000000 (cc=0) 57 alg 0 + 0000000000000001 + 0000000000000000 = 0000000000000001 (cc=1) 58 alg 0 + 000000000000FFFF + 0000000000000000 = 000000000000FFFF (cc=1) 59 alg 0 + 0000000000007FFF + 0000000000000000 = 0000000000007FFF (cc=1) 60 alg 0 + 0000000000008000 + 0000000000000000 = 0000000000008000 (cc=1) 61 alg 0 + 00000000FFFFFFFF + 0000000000000000 = 00000000FFFFFFFF (cc=1) 62 alg 0 + 0000000080000000 + 0000000000000000 = 0000000080000000 (cc=1) 63 alg 0 + 000000007FFFFFFF + 0000000000000000 = 000000007FFFFFFF (cc=1) 64 alg 0 + FFFFFFFFFFFFFFFF + 0000000000000000 = FFFFFFFFFFFFFFFF (cc=1) 65 alg 0 + 8000000000000000 + 0000000000000000 = 8000000000000000 (cc=1 [all...] |
/ndk/tests/device/test-libc++-shared-full/jni/ |
Android.mk | 150 $(call gen-test, algorithms/alg.c.library/tested_elsewhere) 151 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_backward) 152 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_if) 153 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_n) 154 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy) 155 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill_n [all...] |
/ndk/tests/device/test-libc++-static-full/jni/ |
Android.mk | 141 $(call gen-test, algorithms/alg.c.library/tested_elsewhere) 142 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_backward) 143 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_if) 144 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_n) 145 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy) 146 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill_n [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
key.py | 766 digesters = dict((alg, hash_algs[alg]()) for alg in hash_algs or {}) [all...] |
/external/tpm2/ |
CryptoEngine.h | 58 const TPM_ALG_ID alg; member in struct:__anon23774
|
/external/wpa_supplicant_8/src/drivers/ |
driver_hostap.h | 166 u8 alg[HOSTAP_CRYPT_ALG_NAME_LEN]; member in struct:prism2_hostapd_param::__anon27513::__anon27516
|
driver_wext.c | [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator1Test.java | 382 public myAlgPG(AlgorithmParameterGeneratorSpi spi, Provider prov, String alg) { 383 super(spi, prov, alg);
|
KeyFactory2Test.java | 71 private KeepAlive createKeepAlive(String alg) { 72 if (alg.equals("RSA")) {
|
/external/wpa_supplicant_8/src/crypto/ |
crypto.h | 168 * @alg: Hash algorithm 178 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, 222 * @alg: Cipher algorithm 233 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg,
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator1Test.java | 388 public myAlgPG(AlgorithmParameterGeneratorSpi spi, Provider prov, String alg) { 389 super(spi, prov, alg);
|
Signature2Test.java | 90 String alg = Signature.getInstance("DSA").getAlgorithm(); local 91 assertTrue("getAlgorithm did not get DSA (" + alg + ")", alg 506 put("Alg.Alias.MessageDigest.SHA1", "SHA-1");
|
/system/tpm/trunks/ |
tpm_state_impl.cc | 106 if (capability_data.data.algorithms.alg_properties[0].alg == TPM_ALG_RSA) { 125 if (capability_data.data.algorithms.alg_properties[0].alg == TPM_ALG_ECC) {
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
copy_helper.py | 662 for alg in digesters: 663 digests[alg] = base64.encodestring( 664 digesters[alg].digest()).rstrip('\n') 727 for alg, upload_b64_digest in upload_hashes.iteritems(): 728 if alg not in download_hashes: 731 download_b64_digest = download_hashes[alg] 733 'Comparing source vs destination %s-checksum for %s. (%s/%s)', alg, 739 alg, download_b64_digest, upload_b64_digest, dst_url)) 774 for alg in local_hashes: 775 if alg not in cloud_hashes [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ft.c | 316 enum wpa_alg alg; local 327 alg = wpa_cipher_to_alg(sm->pairwise_cipher); 330 if (wpa_sm_set_key(sm, alg, bssid, 0, 1, null_rsc, 544 enum wpa_alg alg; local 571 alg = wpa_cipher_to_alg(sm->group_cipher); 572 if (alg == WPA_ALG_NONE) { 602 if (wpa_sm_set_key(sm, alg, broadcast_ether_addr, keyidx, 0,
|
wpa.c | 615 enum wpa_alg alg; local 640 alg = wpa_cipher_to_alg(sm->pairwise_cipher); 651 if (wpa_sm_set_key(sm, alg, sm->bssid, 0, 1, key_rsc, rsclen, 655 "driver (alg=%d keylen=%d bssid=" MACSTR ")", 656 alg, keylen, MAC2STR(sm->bssid)); 678 enum wpa_alg *alg) 682 *alg = wpa_cipher_to_alg(group_cipher); 683 if (*alg == WPA_ALG_NONE) { 703 enum wpa_alg alg; member in struct:wpa_gtk_data 730 if (wpa_sm_set_key(sm, gd->alg, NULL [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ibss_rsn.c | 139 static int supp_set_key(void *ctx, enum wpa_alg alg, 146 wpa_printf(MSG_DEBUG, "SUPP: %s(alg=%d addr=" MACSTR " key_idx=%d " 148 __func__, alg, MAC2STR(addr), key_idx, set_tx); 168 return wpa_drv_set_key(peer->ibss_rsn->wpa_s, alg, addr, key_idx, 290 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, 299 wpa_printf(MSG_DEBUG, "AUTH: %s(alg=%d addr=" MACSTR 301 __func__, alg, MAC2STR(addr), idx); 303 wpa_printf(MSG_DEBUG, "AUTH: %s(alg=%d key_idx=%d)", 304 __func__, alg, idx); 329 return wpa_drv_set_key(ibss_rsn->wpa_s, alg, addr, idx [all...] |
mesh_rsn.c | 97 static int auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, 106 wpa_printf(MSG_DEBUG, "AUTH: %s(alg=%d addr=" MACSTR 108 __func__, alg, MAC2STR(addr), idx); 110 wpa_printf(MSG_DEBUG, "AUTH: %s(alg=%d key_idx=%d)", 111 __func__, alg, idx); 115 return wpa_drv_set_key(mesh_rsn->wpa_s, alg, addr, idx,
|
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 250 struct sadb_alg *alg; local 252 alg = findsupportedalg(satype, alg_id); 253 if (!alg) 256 if (keylen < alg->sadb_alg_minbits || keylen > alg->sadb_alg_maxbits) { 257 fprintf(stderr, "%d %d %d\n", keylen, alg->sadb_alg_minbits, 258 alg->sadb_alg_maxbits); 280 struct sadb_alg *alg; local 301 alg = findsupportedalg(satype, alg_id); 302 if (!alg) [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactoryTest.java | 421 public mySecretKeyFactory(SecretKeyFactorySpi spi, Provider prov, String alg) { 422 super(spi, prov, alg);
|