HomeSort by relevance Sort by last modified time
    Searched refs:Mac (Results 1 - 25 of 46) sorted by null

1 2

  /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/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
421 Mac mac = new Mac(newSpiImpl, this.provider, this.algorithm); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
MacTest.java 40 import javax.crypto.Mac;
55 @TestTargetClass(Mac.class)
57 * Tests for Mac class constructors and methods
63 public static final String srvMac = "Mac";
73 private static final String NotSupportedMsg = "There is no suitable provider for Mac";
99 private Mac [] createMacs() {
105 Mac m [] = new Mac[3];
106 m[0] = Mac.getInstance(defaultAlgorithm);
107 m[1] = Mac.getInstance(defaultAlgorithm, defaultProvider)
159 Mac mac; local
255 Mac mac; local
338 Mac mac; local
1105 Mac mac = new myMac(spi, defaultProvider, defaultAlgorithm); local
1138 Mac mac; local
1155 Mac mac; 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);
  /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 4 import org.bouncycastle.crypto.Mac;
57 private Mac macEngine;
64 Mac macEngine)
70 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...]
CMac.java 5 import org.bouncycastle.crypto.Mac;
20 * CMAC/OMAC1 is a simple variant of the CBC MAC (Cipher Block Chaining Message
21 * Authentication Code). OMAC stands for One-Key CBC MAC.
24 * a MAC with dimension less or equal to the block size of the underlying
28 public class CMac implements Mac
35 private byte[] mac; field in class:CMac
46 * create a standard MAC based on a CBC block cipher (64 or 128 bit block).
50 * @param cipher the cipher to be used as the basis of the MAC generation.
58 * create a standard MAC based on a block cipher with the size of the
59 * MAC been given in bits
    [all...]
HMac.java 8 import org.bouncycastle.crypto.Mac;
17 implements Mac
185 * Reset the mac generator.
  /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/chromium/third_party/icu/source/data/mappings/
ucmlocal.mk 26 # * Mac encodings : MacRoman, MacCyrillic
34 # - Mac encodings (other than Roman and Cyrillic) : extremly rare
  /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);
EAXBlockCipher.java 7 import org.bouncycastle.crypto.Mac;
41 private Mac mac; field in class:EAXBlockCipher
59 mac = new CMac(cipher);
62 associatedTextMac = new byte[mac.getMacSize()];
63 nonceMac = new byte[mac.getMacSize()];
105 macSize = mac.getMacSize() / 2;
115 mac.init(keyParam);
117 mac.update(tag, 0, blockSize);
118 mac.update(associatedText, 0, associatedText.length)
    [all...]
  /external/webkit/WebKitTools/Scripts/
run-sunspider 60 --shark Sample with the Mac OS X "Shark" performance testing tool (implies --runs=1)
  /external/openssl/crypto/perlasm/
x86asm.pl 195 macosx - Mac OS X
  /build/core/
config.mk 237 # Deal with archaic version of bison on Mac OS X.
261 # Mac OS' screwy version of java uses a non-standard directory layout
276 # It's called md5 on Mac OS and md5sum on Linux
  /external/chromium/base/
base_main.scons 19 # Linux, Unix and Mac OS X:
22 # Linux and Unix or Mac OS X with python >= 2.5:
24 else: # Mac OS X with Python < 2.5:
  /external/chromium/net/
net_main.scons 19 # Linux, Unix and Mac OS X:
22 # Linux and Unix or Mac OS X with python >= 2.5:
24 else: # Mac OS X with Python < 2.5:
  /external/chromium/sdch/
sdch_main.scons 19 # Linux, Unix and Mac OS X:
22 # Linux and Unix or Mac OS X with python >= 2.5:
24 else: # Mac OS X with Python < 2.5:
  /external/chromium/third_party/icu/
icu_main.scons 19 # Linux, Unix and Mac OS X:
22 # Linux and Unix or Mac OS X with python >= 2.5:
24 else: # Mac OS X with Python < 2.5:

Completed in 749 milliseconds

1 2