Home
last modified time | relevance | path

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

12345678910>>...41

/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/openssh/
Dmac.c116 mac_setup_by_alg(struct sshmac *mac, const struct macalg *macalg) in mac_setup_by_alg() argument
118 mac->type = macalg->type; in mac_setup_by_alg()
119 if (mac->type == SSH_DIGEST) { in mac_setup_by_alg()
120 if ((mac->hmac_ctx = ssh_hmac_start(macalg->alg)) == NULL) in mac_setup_by_alg()
122 mac->key_len = mac->mac_len = ssh_hmac_bytes(macalg->alg); in mac_setup_by_alg()
124 mac->mac_len = macalg->len / 8; in mac_setup_by_alg()
125 mac->key_len = macalg->key_len / 8; in mac_setup_by_alg()
126 mac->umac_ctx = NULL; in mac_setup_by_alg()
129 mac->mac_len = macalg->truncatebits / 8; in mac_setup_by_alg()
130 mac->etm = macalg->etm; in mac_setup_by_alg()
[all …]
/external/u-boot/drivers/net/fm/
Dtgec.c28 static void tgec_init_mac(struct fsl_enet_mac *mac) in tgec_init_mac() argument
30 struct tgec *regs = mac->base; in tgec_init_mac()
39 out_be32(&regs->maxfrm, mac->max_rx_len & MAXFRM_MASK); in tgec_init_mac()
55 static void tgec_enable_mac(struct fsl_enet_mac *mac) in tgec_enable_mac() argument
57 struct tgec *regs = mac->base; in tgec_enable_mac()
62 static void tgec_disable_mac(struct fsl_enet_mac *mac) in tgec_disable_mac() argument
64 struct tgec *regs = mac->base; in tgec_disable_mac()
69 static void tgec_set_mac_addr(struct fsl_enet_mac *mac, u8 *mac_addr) in tgec_set_mac_addr() argument
71 struct tgec *regs = mac->base; in tgec_set_mac_addr()
86 static void tgec_set_interface_mode(struct fsl_enet_mac *mac, in tgec_set_interface_mode() argument
[all …]
Dmemac.c18 static void memac_init_mac(struct fsl_enet_mac *mac) in memac_init_mac() argument
20 struct memac *regs = mac->base; in memac_init_mac()
29 out_be32(&regs->maxfrm, mac->max_rx_len & MAXFRM_MASK); in memac_init_mac()
35 static void memac_enable_mac(struct fsl_enet_mac *mac) in memac_enable_mac() argument
37 struct memac *regs = mac->base; in memac_enable_mac()
43 static void memac_disable_mac(struct fsl_enet_mac *mac) in memac_disable_mac() argument
45 struct memac *regs = mac->base; in memac_disable_mac()
50 static void memac_set_mac_addr(struct fsl_enet_mac *mac, u8 *mac_addr) in memac_set_mac_addr() argument
52 struct memac *regs = mac->base; in memac_set_mac_addr()
67 static void memac_set_interface_mode(struct fsl_enet_mac *mac, in memac_set_interface_mode() argument
[all …]
Ddtsec.c26 static void dtsec_init_mac(struct fsl_enet_mac *mac) in dtsec_init_mac() argument
28 struct dtsec *regs = mac->base; in dtsec_init_mac()
52 out_be32(&regs->maxfrm, mac->max_rx_len & MAXFRM_MASK); in dtsec_init_mac()
64 static void dtsec_enable_mac(struct fsl_enet_mac *mac) in dtsec_enable_mac() argument
66 struct dtsec *regs = mac->base; in dtsec_enable_mac()
78 static void dtsec_disable_mac(struct fsl_enet_mac *mac) in dtsec_disable_mac() argument
80 struct dtsec *regs = mac->base; in dtsec_disable_mac()
92 static void dtsec_set_mac_addr(struct fsl_enet_mac *mac, u8 *mac_addr) in dtsec_set_mac_addr() argument
94 struct dtsec *regs = mac->base; in dtsec_set_mac_addr()
109 static void dtsec_set_interface_mode(struct fsl_enet_mac *mac, in dtsec_set_interface_mode() argument
[all …]
/external/u-boot/drivers/net/
Dep93xx_eth.c149 struct mac_regs *mac = GET_REGS(dev); in ep93xx_mac_reset() local
154 value = readl(&mac->selfctl); in ep93xx_mac_reset()
156 writel(value, &mac->selfctl); in ep93xx_mac_reset()
158 while (readl(&mac->selfctl) & SELFCTL_RESET) in ep93xx_mac_reset()
168 struct mac_regs *mac = GET_REGS(dev); in ep93xx_eth_open() local
195 writel((uint32_t)priv->tx_dq.base, &mac->txdq.badd); in ep93xx_eth_open()
196 writel((uint32_t)priv->tx_dq.base, &mac->txdq.curadd); in ep93xx_eth_open()
197 writel(sizeof(struct tx_descriptor) * NUMTXDESC, &mac->txdq.blen); in ep93xx_eth_open()
199 writel((uint32_t)priv->tx_sq.base, &mac->txstsq.badd); in ep93xx_eth_open()
200 writel((uint32_t)priv->tx_sq.base, &mac->txstsq.curadd); in ep93xx_eth_open()
[all …]
/external/u-boot/arch/arm/mach-imx/
Dmac.c26 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
39 mac[0] = value >> 24; in imx_get_mac_from_fuse()
40 mac[1] = value >> 16; in imx_get_mac_from_fuse()
41 mac[2] = value >> 8; in imx_get_mac_from_fuse()
42 mac[3] = value; in imx_get_mac_from_fuse()
45 mac[4] = value >> 24; in imx_get_mac_from_fuse()
46 mac[5] = value >> 16; in imx_get_mac_from_fuse()
51 mac[0] = value >> 8; in imx_get_mac_from_fuse()
52 mac[1] = value; in imx_get_mac_from_fuse()
55 mac[2] = value >> 24; in imx_get_mac_from_fuse()
[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/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/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/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"', {
117 'mac/arch_utilities.cc',
118 'mac/arch_utilities.h',
119 'mac/bootstrap_compat.cc',
120 'mac/bootstrap_compat.h',
121 'mac/byteswap.h',
122 'mac/dump_syms.h',
123 'mac/dump_syms.mm',
124 'mac/file_id.cc',
125 'mac/file_id.h',
[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/u-boot/arch/arm/cpu/arm926ejs/mxs/
Dmxs.c223 __weak void mx28_adjust_mac(int dev_id, unsigned char *mac) in mx28_adjust_mac() argument
225 mac[0] = 0x00; in mx28_adjust_mac()
226 mac[1] = 0x04; /* Use FSL vendor MAC address by default */ in mx28_adjust_mac()
229 mac[5] += 1; in mx28_adjust_mac()
235 void imx_get_mac_from_fuse(int dev_id, unsigned char *mac) in imx_get_mac_from_fuse() argument
241 memset(mac, 0, 6); in imx_get_mac_from_fuse()
253 mac[2] = (data >> 24) & 0xff; in imx_get_mac_from_fuse()
254 mac[3] = (data >> 16) & 0xff; in imx_get_mac_from_fuse()
255 mac[4] = (data >> 8) & 0xff; in imx_get_mac_from_fuse()
256 mac[5] = data & 0xff; in imx_get_mac_from_fuse()
[all …]
/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
/external/boringssl/src/crypto/poly1305/
Dpoly1305_test.cc31 const std::vector<uint8_t> &mac) { in TestSIMD() argument
68 EXPECT_EQ(Bytes(out), Bytes(mac)) << "SIMD pattern " << excess << " failed."; in TestSIMD()
73 std::vector<uint8_t> key, in, mac; in TEST() local
76 ASSERT_TRUE(t->GetBytes(&mac, "MAC")); in TEST()
78 ASSERT_EQ(16u, mac.size()); in TEST()
87 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Single-shot Poly1305 failed."; in TEST()
95 EXPECT_EQ(Bytes(out), Bytes(mac)) << "Streaming Poly1305 failed."; in TEST()
99 TestSIMD(0, key, in, mac); in TEST()
100 TestSIMD(16, key, in, mac); in TEST()
101 TestSIMD(32, key, in, mac); in TEST()
[all …]
/external/python/cpython3/Lib/
Duuid.py384 def _is_universal(mac): argument
385 return not (mac & (1 << 41))
400 mac = int(word.replace(b':', b''), 16)
401 if _is_universal(mac):
402 return mac
403 first_local_mac = first_local_mac or mac
420 mac = _find_mac('ifconfig', args, keywords, lambda i: i+1)
421 if mac:
422 return mac
428 mac = _find_mac('ip', 'link', [b'link/ether'], lambda i: i+1)
[all …]
/external/u-boot/board/varisys/common/
Dsys_eeprom.c47 u8 mac[MAX_NUM_PORTS][6]; /* 0x42 - x MAC addresses */ member
106 u8 *p = e.mac[i]; in show_eeprom()
301 e.mac[index][i] = simple_strtoul(p, &p, 16); in set_mac_address()
385 unsigned char mac[6]; in mac_read_from_generic_eeprom() local
391 ret = i2c_read(chip, address, 1, mac, 6); in mac_read_from_generic_eeprom()
397 mac[0], in mac_read_from_generic_eeprom()
398 mac[1], in mac_read_from_generic_eeprom()
399 mac[2], in mac_read_from_generic_eeprom()
400 mac[3], in mac_read_from_generic_eeprom()
401 mac[4], in mac_read_from_generic_eeprom()
[all …]
/external/boringssl/src/crypto/cipher_extra/test/
Dmake_all_legacy_aead_tests.sh5 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 > aes_128_cbc_sha1_tls_tests.txt
6 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -implicit-iv > aes_128_cbc_sha1_tls_impli…
7 go run make_legacy_aead_tests.go -cipher aes128 -mac sha256 > aes_128_cbc_sha256_tls_tests.txt
9 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 > aes_256_cbc_sha1_tls_tests.txt
10 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -implicit-iv > aes_256_cbc_sha1_tls_impli…
11 go run make_legacy_aead_tests.go -cipher aes256 -mac sha256 > aes_256_cbc_sha256_tls_tests.txt
12 go run make_legacy_aead_tests.go -cipher aes256 -mac sha384 > aes_256_cbc_sha384_tls_tests.txt
14 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 > des_ede3_cbc_sha1_tls_tests.txt
15 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 -implicit-iv > des_ede3_cbc_sha1_tls_implic…
/external/autotest/server/cros/
Dchaos_ap_list.conf22 wan mac = 40:b0:76:c0:34:00
37 wan mac = 40:b0:76:c0:34:00
52 wan mac = 40:b0:76:c0:34:00
80 wan mac = 14:59:c0:a8:fc:48
95 wan mac = 14:59:c0:a8:fc:48
175 wan mac = c0:d8:19:d0:90:40
190 wan mac = c0:d8:19:d0:90:40
205 wan mac = 10:bf:48:e7:2e:88
220 wan mac = 00:22:75:a2:3b:0a
235 wan mac = 0c:9d:92:02:40:f0
[all …]
/external/webrtc/webrtc/modules/video_capture/
Dvideo_capture.gypi71 ['OS=="mac"', {
73 'mac/qtkit/video_capture_qtkit.h',
74 'mac/qtkit/video_capture_qtkit.mm',
75 'mac/qtkit/video_capture_qtkit_info.h',
76 'mac/qtkit/video_capture_qtkit_info.mm',
77 'mac/qtkit/video_capture_qtkit_info_objc.h',
78 'mac/qtkit/video_capture_qtkit_info_objc.mm',
79 'mac/qtkit/video_capture_qtkit_objc.h',
80 'mac/qtkit/video_capture_qtkit_objc.mm',
81 'mac/qtkit/video_capture_qtkit_utility.h',
[all …]

12345678910>>...41