/external/bouncycastle/src/main/java/org/bouncycastle/crypto/io/ |
MacOutputStream.java | 7 import org.bouncycastle.crypto.Mac; 12 protected Mac mac; field in class:MacOutputStream 16 Mac mac) 19 this.mac = mac; 25 mac.update((byte)b); 35 mac.update(b, off, len); 39 public Mac getMac( [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...] |
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Mac_ImplTest.java | 33 import javax.crypto.Mac; 41 * Tests for Mac class constructors and methods 47 private static final String srvMac = "Mac"; 84 protected void checkResult(Mac mac) throws InvalidKeyException, 86 assertEquals("Incorrect MacLength", mac.getMacLength(), 0); 91 mac.init(scs); 92 byte[] bb = mac.doFinal(); 94 mac.reset(); 95 bb = mac.doFinal() [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 31 import javax.crypto.Mac; 47 * Tests for Mac class constructors and methods 53 public static final String srvMac = "Mac"; 63 private static final String NotSupportedMsg = "There is no suitable provider for Mac"; 89 private Mac [] createMacs() { 95 Mac m [] = new Mac[3]; 96 m[0] = Mac.getInstance(defaultAlgorithm); 97 m[1] = Mac.getInstance(defaultAlgorithm, defaultProvider); 98 m[2] = Mac.getInstance(defaultAlgorithm, defaultProviderName) 137 Mac mac; local 215 Mac mac; local 280 Mac mac; local 760 Mac mac = new myMac(spi, defaultProvider, defaultAlgorithm); local [all...] |
/external/bouncycastle/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/main/java/javax/crypto/ |
Mac.java | 34 * (MAC) algorithms. 36 public class Mac implements Cloneable { 39 private static final Engine ENGINE = new Engine("Mac"); 50 // Store Mac state (initialized or not initialized) 54 * Creates a new {@code Mac} instance. 61 * the name of the MAC algorithm. 63 protected Mac(MacSpi macSpi, Provider provider, String algorithm) { 71 * Returns the name of the MAC algorithm. 73 * @return the name of the MAC algorithm. 80 * Returns the provider of this {@code Mac} instance 417 Mac mac = new Mac(newSpiImpl, this.provider, this.algorithm); 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/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 35 import javax.crypto.Mac; 51 * Tests for Mac class constructors and methods 56 public static final String srvMac = "Mac"; 66 private static final String NotSupportedMsg = "There is no suitable provider for Mac"; 92 private Mac [] createMacs() { 98 Mac m [] = new Mac[3]; 99 m[0] = Mac.getInstance(defaultAlgorithm); 100 m[1] = Mac.getInstance(defaultAlgorithm, defaultProvider); 101 m[2] = Mac.getInstance(defaultAlgorithm, defaultProviderName) 140 Mac mac; local 218 Mac mac; local 283 Mac mac; local 783 Mac mac = new myMac(spi, defaultProvider, defaultAlgorithm); local 810 Mac mac; local 821 Mac mac; local [all...] |
/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);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
PRF.java | 24 import javax.crypto.Mac; 36 private static Mac md5_mac; 37 private static Mac sha_mac; 45 md5_mac = Mac.getInstance("HmacMD5"); 46 sha_mac = Mac.getInstance("HmacSHA1");
|
ConnectionStateTLS.java | 23 import javax.crypto.Mac; 65 private final Mac encMac; 66 private final Mac decMac; 69 // is used to create the header of the MAC material value: 102 logger.println(" mac alg name: " + macName); 214 encMac = Mac.getInstance(macName); 215 decMac = Mac.getInstance(macName); 254 // logger.println("MAC Material:"); 327 decMac.update(data, 0, content.length); // mac.update(fragment); 332 //logger.println("MAC Material:") [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEMac.java | 13 import org.bouncycastle.crypto.Mac; 54 private Mac macEngine; 61 Mac macEngine) 67 Mac macEngine,
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
PKCS5S2ParametersGenerator.java | 4 import org.bouncycastle.crypto.Mac; 22 private Mac hMac = new HMac(new SHA1Digest()); 140 * Generate a key parameter for use with a MAC derived from the password,
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/ |
CBCBlockCipherMac.java | 5 import org.bouncycastle.crypto.Mac; 10 * standard CBC Block Cipher MAC - if no padding is specified the default of 14 implements Mac 16 private byte[] mac; field in class:CBCBlockCipherMac 26 * create a standard MAC based on a CBC block cipher. This will produce an 29 * @param cipher the cipher to be used as the basis of the MAC generation. 38 * create a standard MAC based on a CBC block cipher. This will produce an 41 * @param cipher the cipher to be used as the basis of the MAC generation. 52 * create a standard MAC based on a block cipher with the size of the 53 * MAC been given in bits. This class uses CBC mode as the basis for th [all...] |
HMac.java | 8 import org.bouncycastle.crypto.Mac; 17 implements Mac 185 * Reset the mac generator.
|
/external/webkit/Source/WebCore/inspector/front-end/ |
InspectorFrontendHostStub.js | 46 match = navigator.userAgent.match(/Mac OS X/); 48 return "mac";
|
/external/webkit/Tools/Scripts/webkitperl/VCSUtils_unittest/ |
mergeChangeLogs.pl | 77 Fix the Mac build. 146 Fix the Mac build. 229 Fix the Mac build. 273 Fix the Mac build. 288 Fix the Mac build.
|
/build/core/combo/ |
HOST_darwin-x86.mk | 17 # Configuration for Darwin (Mac OS X) on x86. 26 # Use the Mac OSX SDK 10.5 if the build host is 10.6 32 $(warning * You are building on Mac OSX 10.6.)
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/ |
CCMBlockCipher.java | 9 import org.bouncycastle.crypto.Mac; 132 * Returns a byte array containing the mac calculated as part of the 135 * @return the last mac calculated. 139 byte[] mac = new byte[macSize]; 141 System.arraycopy(macBlock, 0, mac, 0, mac.length); 143 return mac; 248 throw new InvalidCipherTextException("mac check in CCM failed"); 257 Mac cMac = new CBCBlockCipherMac(cipher, macSize * 8);
|
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
CipherSuiteTest.java | 24 import javax.crypto.Mac; 86 assertNotNull(name, Mac.getInstance(hmacName));
|
/external/webkit/Tools/Scripts/ |
run-sunspider | 61 --shark Sample with the Mac OS X "Shark" performance testing tool (implies --runs=1)
|
/external/chromium/chrome/browser/resources/ |
crashes.js | 53 '"Mac%20OS%20X%2010.6"%0A%0A' +
|
/external/openssl/crypto/perlasm/ |
x86asm.pl | 195 macosx - Mac OS X
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
armCOMM.c | 647 * accumulation with Mac 652 * [in] Mac Accumulator 658 OMX_S32 armSatMac_S32(OMX_S32 Mac,OMX_S16 Value1,OMX_S16 Value2) 663 Result = armSatAdd_S32( Mac , Result ); 672 * Returns the result of saturated MAC operation of the three inputs delayElem, filTap , mac 674 * mac = mac + Saturate_in_32Bits(delayElem * filTap) 679 * [in] mac Result of MAC operatio [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
armCOMM.c | 647 * accumulation with Mac 652 * [in] Mac Accumulator 658 OMX_S32 armSatMac_S32(OMX_S32 Mac,OMX_S16 Value1,OMX_S16 Value2) 663 Result = armSatAdd_S32( Mac , Result ); 672 * Returns the result of saturated MAC operation of the three inputs delayElem, filTap , mac 674 * mac = mac + Saturate_in_32Bits(delayElem * filTap) 679 * [in] mac Result of MAC operatio [all...] |