/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/ |
SnpMcastIpToMac.c | 24 Converts a multicast IP address to a multicast HW MAC address.
30 HW MAC address.
31 @param MAC The multicast HW MAC address that is to be generated from IP.
34 multicast HW MAC address.
54 OUT EFI_MAC_ADDRESS *Mac
64 if (This == NULL || Ip == NULL || Mac == NULL ||
88 Mac->Addr[0] = 0x33;
89 Mac->Addr[1] = 0x33;
90 Mac->Addr[2] = Ip->v6.Addr[12]; [all...] |
SnpTransmit.c | 40 @param SrcAddr The source HW MAC address. If HeaderSize is zero, then
43 for the source HW MAC address.
44 @param DestAddr The destination HW MAC address. If HeaderSize is zero,
119 // dst MAC, src MAC, Ethertype
130 ASSERT (SIZE_OF_VNET (Mac) <= sizeof (EFI_MAC_ADDRESS));
132 CopyMem (Ptr, DestAddr, SIZE_OF_VNET (Mac));
133 Ptr += SIZE_OF_VNET (Mac);
137 SIZE_OF_VNET (Mac));
138 Ptr += SIZE_OF_VNET (Mac);
[all...] |
SnpReceive.c | 36 @param SrcAddr The source HW MAC address. If this parameter is NULL, the
37 HW MAC source address will not be extracted from the media
39 @param DestAddr The destination HW MAC address. If this parameter is NULL,
40 the HW MAC destination address will not be extracted from
150 CopyMem (DestAddr, RxPtr, SIZE_OF_VNET (Mac));
152 RxPtr += SIZE_OF_VNET (Mac);
155 CopyMem (SrcAddr, RxPtr, SIZE_OF_VNET (Mac));
157 RxPtr += SIZE_OF_VNET (Mac);
|
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/stlport/stlport/ |
.___init__.py | 0 Mac OS X 2 x ? ATTR v?H ? ? (…)
|
._printers.py | 0 Mac OS X 2 x ? ATTR v?I ? ? (…)
|
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/stlport/test/ |
._test.cpp | 0 Mac OS X 2 x ? ATTR v?N ? ? (…)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/ |
MacOutputStream.java | 6 import org.bouncycastle.crypto.Mac; 11 protected Mac mac; field in class:MacOutputStream 14 Mac mac) 16 this.mac = mac; 22 mac.update((byte)b); 31 mac.update(b, off, len); 36 byte[] res = new byte[mac.getMacSize()] [all...] |
MacInputStream.java | 7 import org.bouncycastle.crypto.Mac; 12 protected Mac mac; field in class:MacInputStream 16 Mac mac) 19 this.mac = mac; 29 mac.update((byte)b); 43 mac.update(b, off, n); 48 public Mac getMac( [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
Network.c | 44 EFI_MAC_ADDRESS Mac;
48 // Get current IP/MAC
50 // Get current MAC address
51 Status = EblGetCurrentMacAddress (&Mac);
56 AsciiPrint ("MAC Address: %02x:%02x:%02x:%02x:%02x:%02x\n", Mac.Addr[0], Mac.Addr[1], Mac.Addr[2], Mac.Addr[3], Mac.Addr[4], Mac.Addr[5]); [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
MacAuthenticatedInputStreamTest.java | 24 import javax.crypto.Mac; 70 Mac mac = Mac.getInstance("HMAC-SHA1"); local 71 mac.init(HMAC_KEY_1); 73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); 81 Mac mac = Mac.getInstance("HMAC-SHA1"); local 82 mac.init(HMAC_KEY_1) 92 Mac mac = Mac.getInstance("HMAC-SHA1"); local 103 Mac mac = Mac.getInstance("HMAC-SHA1"); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
MacAuthenticatedInputStream.java | 23 import javax.crypto.Mac; 26 * An input stream filter that applies a MAC to the data passing through it. At 33 private final Mac mMac; 35 public MacAuthenticatedInputStream(InputStream in, Mac mac) { 38 mMac = mac;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 36 import javax.crypto.Mac; 52 * Tests for Mac class constructors and methods 57 public static final String srvMac = "Mac"; 67 private static final String NotSupportedMsg = "There is no suitable provider for Mac"; 80 Mac mac = Mac.getInstance(validAlgorithmsMac[i]); external variable declarations 81 mac.init(new SecretKeySpec(new byte[64], validAlgorithmsMac[i])); 82 defaultProvider = mac.getProvider(); 98 private Mac[] createMacs() throws Exception 151 Mac mac; local 229 Mac mac; local 294 Mac mac; local 778 Mac mac = new myMac(spi, defaultProvider, defaultAlgorithm); local 804 Mac mac; local 815 Mac mac; local 867 Mac mac = Mac.getInstance("HmacMD5", providers[i]); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Mac.java | 7 public interface Mac 10 * Initialise the MAC. 12 * @param params the key and other data required by the MAC. 20 * Return the name of the algorithm the MAC implements. 22 * @return the name of the algorithm the MAC implements. 27 * Return the block size for this MAC (in bytes). 29 * @return the block size for this MAC in bytes. 34 * add a single byte to the mac for processing. 37 * @exception IllegalStateException if the MAC is not initialised. 46 * @exception IllegalStateException if the MAC is not initialised [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
MacTest.java | 25 import javax.crypto.Mac; 51 put("Mac.FOO", MockMacSpi.AllKeyTypes.class.getName()); 52 put("Mac.FOO SupportedKeyClasses", "none"); 59 Mac c = Mac.getInstance("FOO"); 74 assertEquals("HmacSHA224", androidOpenSSLProvider.get("Alg.Alias.Mac.1.2.840.113549.2.8")); 75 assertEquals("HmacSHA256", androidOpenSSLProvider.get("Alg.Alias.Mac.1.2.840.113549.2.9")); 86 // mac = Mac.getInstance("PBEWITHHMACSHA" + shaVariant, new com.sun.crypto.provider.SunJCE()); 87 // mac.init(secretKey, new PBEParameterSpec(salt, iterationCount)) 126 Mac mac = Mac.getInstance("PBEWITHHMACSHA" + shaVariant, "BC"); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
MacThread.java | 18 import javax.crypto.Mac; 39 Mac m = Mac.getInstance(algName);
|
/libcore/ojluni/src/main/java/javax/crypto/ |
Mac.java | 45 * (MAC) algorithm. 47 * <p> A MAC provides a way to check 54 * <p> A MAC mechanism that is based on cryptographic hash functions is 59 * <p> Android provides the following <code>Mac</code> algorithms: 148 * <a href="{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#Mac"> 149 * Mac section</a> of the 157 public class Mac implements Cloneable { 163 Debug.isOn("engine=") && !Debug.isOn("mac"); 172 // The name of the MAC algorithm. 181 * Creates a MAC object [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
MacTest.java | 37 import javax.crypto.Mac; 42 * Tests for algorithm-agnostic functionality of MAC implementations backed by Android Keystore. 186 // Assert that Android Keystore Provider exposes exactly the expected MAC algorithms. We 199 if ("Mac".equalsIgnoreCase(service.getType())) { 216 // Generate a MAC 217 Mac mac = Mac.getInstance(algorithm); local 218 mac.init(key); 219 assertSame(provider, mac.getProvider()) 234 Mac mac = Mac.getInstance(algorithm, provider); local 255 Mac mac = Mac.getInstance(algorithm, provider); local 277 Mac mac = Mac.getInstance(algorithm, provider); local 300 Mac mac = Mac.getInstance(algorithm); local 552 Mac mac = Mac.getInstance(macAlgorithm); local 565 Mac mac = Mac.getInstance(macAlgorithm); local 598 public byte[] mac; field in class:MacTest.KatVector [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
DefaultJcaJceHelper.java | 17 import javax.crypto.Mac; 35 public Mac createMac(String algorithm) 38 return Mac.getInstance(algorithm);
|
NamedJcaJceHelper.java | 18 import javax.crypto.Mac; 42 public Mac createMac(String algorithm) 45 return Mac.getInstance(algorithm, providerName);
|
ProviderJcaJceHelper.java | 18 import javax.crypto.Mac; 42 public Mac createMac(String algorithm) 45 return Mac.getInstance(algorithm, provider);
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
HMAC_SHA1.java | 23 import javax.crypto.Mac; 74 Mac mac = Mac.getInstance(MAC_NAME); local 75 mac.init(key); 77 return mac.doFinal(text);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Igmp.c | 63 Status = Ip4GetMulticastMac (Mnp, IP4_ALLSYSTEM_ADDRESS, &Group->Mac);
69 Status = Mnp->Groups (Mnp, TRUE, &Group->Mac);
119 same MAC address. Several IP4 multicast address may be mapped to
120 the same MAC address.
123 @param[in] Mac The MAC address to search.
126 multicast group Mac.
132 IN EFI_MAC_ADDRESS *Mac
144 if (NET_MAC_EQUAL (&Group->Mac, Mac, sizeof (EFI_MAC_ADDRESS))) { [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/ |
Lan9118DxeUtil.h | 37 IN EFI_MAC_ADDRESS *Mac,
41 /* ------------------ MAC CSR Access ------------------- */
43 // Read from MAC indirect registers
93 EFI_MAC_ADDRESS *Mac,
262 OUT EFI_MAC_ADDRESS *Mac
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/ |
EblNetworkLib.h | 31 IN OUT EFI_MAC_ADDRESS *Mac
|
/frameworks/support/compat/api23/android/support/v4/hardware/fingerprint/ |
FingerprintManagerCompatApi23.java | 32 import javax.crypto.Mac; 137 private final Mac mMac; 151 public CryptoObject(Mac mac) { 152 mMac = mac; 159 public Mac getMac() { return mMac; }
|