Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/external/pdfium/testing/
DSUPPRESSIONS10 # Column 1: platform: *, win, mac, linux
24 050_extra_m.pdf mac,win * *
25 12.pdf mac * *
30 1_matrix.pdf mac * *
31 1m_diff_lsjdf.pdf mac * *
32 1m_same_xxxx.pdf mac * *
33 2_11_stamp3.pdf mac * *
35 2_color_calrgb.pdf mac * *
36 2_color_indexed.pdf mac * *
38 3_interpolate_image.pdf mac * *
[all …]
/external/crosvm/gpu_display/src/keycode_converter/
Ddata.rs6 pub mac: u32, field
15 mac: 0x0000,
21 mac: 0x000b,
27 mac: 0x0008,
33 mac: 0x0002,
39 mac: 0x000e,
45 mac: 0x0003,
51 mac: 0x0005,
57 mac: 0x0004,
63 mac: 0x0022,
[all …]
/external/openssh/
Dmac.c106 mac_setup_by_alg(struct sshmac *mac, const struct macalg *macalg) in mac_setup_by_alg() argument
108 mac->type = macalg->type; in mac_setup_by_alg()
109 if (mac->type == SSH_DIGEST) { in mac_setup_by_alg()
110 if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL) in mac_setup_by_alg()
112 mac->key_len = mac->mac_len = ssh_hmac_bytes(macalg->alg); in mac_setup_by_alg()
114 mac->mac_len = macalg->len / 8; in mac_setup_by_alg()
115 mac->key_len = macalg->key_len / 8; in mac_setup_by_alg()
116 mac->umac_ctx = NULL; in mac_setup_by_alg()
119 mac->mac_len = macalg->truncatebits / 8; in mac_setup_by_alg()
120 mac->etm = macalg->etm; in mac_setup_by_alg()
[all …]
/external/boringssl/src/util/fipstools/acvp/acvptool/test/expected/
DHMAC-SHA2-256.bz2 ... : [ 12 { 13 "tcId": 11, 14 "mac": "fc8b00d9" 15 } 16 ] 17 }, 18 ...
DHMAC-SHA2-224.bz2 ... : [ 12 { 13 "tcId": 11, 14 "mac": "c5f1c357" 15 } 16 ] 17 }, 18 ...
DHMAC-SHA2-512.bz2 ... : [ 12 { 13 "tcId": 11, 14 "mac": "16a95594" 15 } 16 ] 17 }, ...
DHMAC-SHA2-384.bz2 ... : [ 12 { 13 "tcId": 11, 14 "mac": "473db827" 15 } 16 ] 17 }, ...
DHMAC-SHA-1.bz2 ... : [ 12 { 13 "tcId": 11, 14 "mac": "6f3161ff" 15 } 16 ] 17 }, ...
/external/conscrypt/common/src/test/java/org/conscrypt/
DMacTest.java142 Mac mac = Mac.getInstance(algorithm); in serviceCreation()
143 assertEquals(algorithm, mac.getAlgorithm()); in serviceCreation()
145 mac = Mac.getInstance(algorithm, provider); in serviceCreation()
146 assertEquals(algorithm, mac.getAlgorithm()); in serviceCreation()
147 assertEquals(provider, mac.getProvider()); in serviceCreation()
151 mac.init(key); in serviceCreation()
152 assertEquals(provider, mac.getProvider()); in serviceCreation()
155 mac = Mac.getInstance(algorithm, provider.getName()); in serviceCreation()
156 assertEquals(algorithm, mac.getAlgorithm()); in serviceCreation()
157 assertEquals(provider, mac.getProvider()); in serviceCreation()
[all …]
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
DMacTest.java148 Mac mac = Mac.getInstance(algorithm); in serviceCreation()
149 assertEquals(algorithm, mac.getAlgorithm()); in serviceCreation()
151 mac = Mac.getInstance(algorithm, provider); in serviceCreation()
152 assertEquals(algorithm, mac.getAlgorithm()); in serviceCreation()
153 assertEquals(provider, mac.getProvider()); in serviceCreation()
157 mac.init(key); in serviceCreation()
158 assertEquals(provider, mac.getProvider()); in serviceCreation()
161 mac = Mac.getInstance(algorithm, provider.getName()); in serviceCreation()
162 assertEquals(algorithm, mac.getAlgorithm()); in serviceCreation()
163 assertEquals(provider, mac.getProvider()); in serviceCreation()
[all …]
/external/rust/crates/pin-project/tests/
Dpinned_drop.rs129 macro_rules! mac { in self_inside_macro_containing_fn() macro
141 let _ = mac!({ in self_inside_macro_containing_fn()
162 macro_rules! mac { in self_inside_macro_def() macro
168 mac!(); in self_inside_macro_def()
190 macro_rules! mac { in self_ty_inside_macro_call() macro
199 mac!(Self): Send, in self_ty_inside_macro_call()
224 mac!(Self): Send, in self_ty_inside_macro_call()
230 mac!(Self::ASSOC1;); in self_ty_inside_macro_call()
231 mac!(<Self>::ASSOC1;); in self_ty_inside_macro_call()
232 mac!(Self::assoc1();); in self_ty_inside_macro_call()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh108 for mac in none mpls eth ; do
109 echo "ip gre $mac"
110 $0 ipv4 gre $mac 100
112 echo "ip6 gre $mac"
113 $0 ipv6 ip6gre $mac 100
115 echo "ip gre $mac gso"
116 $0 ipv4 gre $mac 2000
118 echo "ip6 gre $mac gso"
119 $0 ipv6 ip6gre $mac 2000
121 echo "ip udp $mac"
[all …]
/external/guava/guava/src/com/google/common/hash/
DMacHashFunction.java58 private static boolean supportsClone(Mac mac) { in supportsClone() argument
60 mac.clone(); in supportsClone()
69 Mac mac = Mac.getInstance(algorithmName); in getMac() local
70 mac.init(key); in getMac()
71 return mac; in getMac()
98 private final Mac mac; field in MacHashFunction.MacHasher
101 private MacHasher(Mac mac) { in MacHasher() argument
102 this.mac = mac; in MacHasher()
108 mac.update(b); in update()
114 mac.update(b); in update()
[all …]
/external/guava/android/guava/src/com/google/common/hash/
DMacHashFunction.java58 private static boolean supportsClone(Mac mac) { in supportsClone() argument
60 mac.clone(); in supportsClone()
69 Mac mac = Mac.getInstance(algorithmName); in getMac() local
70 mac.init(key); in getMac()
71 return mac; in getMac()
98 private final Mac mac; field in MacHashFunction.MacHasher
101 private MacHasher(Mac mac) { in MacHasher() argument
102 this.mac = mac; in MacHasher()
108 mac.update(b); in update()
114 mac.update(b); in update()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dcrypto_nettle.c52 const u8 *addr[], const size_t *len, u8 *mac) in nettle_digest_vector() argument
66 alg->digest(ctx, alg->digest_size, mac); in nettle_digest_vector()
72 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
74 return nettle_digest_vector(&nettle_md4, num_elem, addr, len, mac); in md4_vector()
78 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
80 return nettle_digest_vector(&nettle_md5, num_elem, addr, len, mac); in md5_vector()
84 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
86 return nettle_digest_vector(&nettle_sha1, num_elem, addr, len, mac); in sha1_vector()
90 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
92 return nettle_digest_vector(&nettle_sha256, num_elem, addr, len, mac); in sha256_vector()
[all …]
Dcrypto_gnutls.c21 const u8 *addr[], const size_t *len, u8 *mac) in gnutls_digest_vector() argument
36 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_digest_vector()
42 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md4_vector() argument
44 return gnutls_digest_vector(GCRY_MD_MD4, num_elem, addr, len, mac); in md4_vector()
71 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in md5_vector() argument
73 return gnutls_digest_vector(GCRY_MD_MD5, num_elem, addr, len, mac); in md5_vector()
77 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha1_vector() argument
79 return gnutls_digest_vector(GCRY_MD_SHA1, num_elem, addr, len, mac); in sha1_vector()
83 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac) in sha256_vector() argument
85 return gnutls_digest_vector(GCRY_MD_SHA256, num_elem, addr, len, mac); in sha256_vector()
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DMacHashFunctionTest.java94 Mac mac = Mac.getInstance("HmacSHA1"); in testMultipleUpdates() local
95 mac.init(SHA1_KEY); in testMultipleUpdates()
96 mac.update("hello".getBytes(UTF_8)); in testMultipleUpdates()
97 mac.update("world".getBytes(UTF_8)); in testMultipleUpdates()
100 HashCode.fromBytes(mac.doFinal()), in testMultipleUpdates()
109 Mac mac = Mac.getInstance("HmacSHA1"); in testMultipleUpdatesDoFinal() local
110 mac.init(SHA1_KEY); in testMultipleUpdatesDoFinal()
111 mac.update("hello".getBytes(UTF_8)); in testMultipleUpdatesDoFinal()
112 mac.update("world".getBytes(UTF_8)); in testMultipleUpdatesDoFinal()
115 HashCode.fromBytes(mac.doFinal("!!!".getBytes(UTF_8))), in testMultipleUpdatesDoFinal()
[all …]
/external/guava/android/guava-tests/test/com/google/common/hash/
DMacHashFunctionTest.java94 Mac mac = Mac.getInstance("HmacSHA1"); in testMultipleUpdates() local
95 mac.init(SHA1_KEY); in testMultipleUpdates()
96 mac.update("hello".getBytes(UTF_8)); in testMultipleUpdates()
97 mac.update("world".getBytes(UTF_8)); in testMultipleUpdates()
100 HashCode.fromBytes(mac.doFinal()), in testMultipleUpdates()
109 Mac mac = Mac.getInstance("HmacSHA1"); in testMultipleUpdatesDoFinal() local
110 mac.init(SHA1_KEY); in testMultipleUpdatesDoFinal()
111 mac.update("hello".getBytes(UTF_8)); in testMultipleUpdatesDoFinal()
112 mac.update("world".getBytes(UTF_8)); in testMultipleUpdatesDoFinal()
115 HashCode.fromBytes(mac.doFinal("!!!".getBytes(UTF_8))), in testMultipleUpdatesDoFinal()
[all …]
/external/google-breakpad/src/common/
Dcommon.gyp32 ['OS=="mac"', {
46 ['OS!="mac"', {'sources/': [['exclude', '(^|/)mac/']]}],
132 'mac/arch_utilities.cc',
133 'mac/arch_utilities.h',
134 'mac/bootstrap_compat.cc',
135 'mac/bootstrap_compat.h',
136 'mac/byteswap.h',
137 'mac/dump_syms.h',
138 'mac/dump_syms.cc',
139 'mac/file_id.cc',
[all …]
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc31 const std::vector<uint8_t> &mac) { in TestSIMD() argument
67 EXPECT_EQ(Bytes(out), Bytes(mac)) << "SIMD pattern " << excess << " failed."; in TestSIMD()
72 std::vector<uint8_t> key, in, mac; in TEST() local
75 ASSERT_TRUE(t->GetBytes(&mac, "MAC")); in TEST()
77 ASSERT_EQ(16u, mac.size()); in TEST()
85 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Single-shot Poly1305 failed."; in TEST()
93 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Streaming Poly1305 failed."; in TEST()
103 EXPECT_EQ(Bytes(unaligned_out + 1, 16), Bytes(mac)) in TEST()
108 TestSIMD(0, key, in, mac); in TEST()
109 TestSIMD(16, key, in, mac); in TEST()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc31 const std::vector<uint8_t> &mac) { in TestSIMD() argument
67 EXPECT_EQ(Bytes(out), Bytes(mac)) << "SIMD pattern " << excess << " failed."; in TestSIMD()
72 std::vector<uint8_t> key, in, mac; in TEST() local
75 ASSERT_TRUE(t->GetBytes(&mac, "MAC")); in TEST()
77 ASSERT_EQ(16u, mac.size()); in TEST()
85 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Single-shot Poly1305 failed."; in TEST()
93 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Streaming Poly1305 failed."; in TEST()
103 EXPECT_EQ(Bytes(unaligned_out + 1, 16), Bytes(mac)) in TEST()
108 TestSIMD(0, key, in, mac); in TEST()
109 TestSIMD(16, key, in, mac); in TEST()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
DMacOutputStream.java11 protected Mac mac; field in MacOutputStream
14 Mac mac) in MacOutputStream() argument
16 this.mac = mac; in MacOutputStream()
22 mac.update((byte)b); in write()
31 mac.update(b, off, len); in write()
36 byte[] res = new byte[mac.getMacSize()]; in getMac()
38 mac.doFinal(res, 0); in getMac()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/io/
DMacOutputStream.java15 protected Mac mac; field in MacOutputStream
18 Mac mac) in MacOutputStream() argument
20 this.mac = mac; in MacOutputStream()
26 mac.update((byte)b); in write()
35 mac.update(b, off, len); in write()
40 byte[] res = new byte[mac.getMacSize()]; in getMac()
42 mac.doFinal(res, 0); in getMac()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/io/
DMacOutputStream.java15 protected Mac mac; field in MacOutputStream
18 Mac mac) in MacOutputStream() argument
20 this.mac = mac; in MacOutputStream()
26 mac.update((byte)b); in write()
35 mac.update(b, off, len); in write()
40 byte[] res = new byte[mac.getMacSize()]; in getMac()
42 mac.doFinal(res, 0); in getMac()
/external/iptables/extensions/
Dlibxt_mac.t2 -m mac --mac-source 42:01:02:03:04:05;=;OK
3 -m mac --mac-source 42:01:02:03:04;=;FAIL
4 -m mac --mac-source 42:01:02:03:04:05:06;=;FAIL
5 -m mac;;FAIL

12345678910>>...38