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

1 2 3 4 5

  /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...]
  /external/conscrypt/src/test/java/org/conscrypt/
MacTest.java 23 import javax.crypto.Mac;
56 Mac mac1 = Mac.getInstance("HmacSHA256", p);
62 Mac mac2 = Mac.getInstance("HmacSHA256", p);
  /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
46 private static final String srvMac = "Mac";
83 protected void checkResult(Mac mac) throws InvalidKeyException,
85 assertEquals("Incorrect MacLength", mac.getMacLength(), 0);
90 mac.init(scs);
91 byte[] bb = mac.doFinal();
93 mac.reset();
94 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
52 public static final String srvMac = "Mac";
62 private static final String NotSupportedMsg = "There is no suitable provider for Mac";
88 private Mac[] createMacs() {
94 Mac m[] = new Mac[3];
95 m[0] = Mac.getInstance(defaultAlgorithm);
96 m[1] = Mac.getInstance(defaultAlgorithm, defaultProvider);
97 m[2] = Mac.getInstance(defaultAlgorithm, defaultProviderName)
136 Mac mac; local
216 Mac mac; local
282 Mac mac; local
772 Mac mac = new myMac(spi, defaultProvider, defaultAlgorithm); 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...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DefaultJcaJceHelper.java 16 import javax.crypto.Mac;
30 public Mac createMac(String algorithm)
33 return Mac.getInstance(algorithm);
JcaJceHelper.java 17 import javax.crypto.Mac;
27 Mac createMac(String algorithm)
NamedJcaJceHelper.java 17 import javax.crypto.Mac;
38 public Mac createMac(String algorithm)
41 return Mac.getInstance(algorithm, providerName);
ProviderJcaJceHelper.java 17 import javax.crypto.Mac;
38 public Mac createMac(String algorithm)
41 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);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseMac.java 16 import org.bouncycastle.crypto.Mac;
27 private Mac macEngine;
34 Mac macEngine)
40 Mac macEngine,
  /external/lldb/utils/vim-lldb/python-vim-lldb/
import_lldb.py 11 path, it is added to sys.path and the import is attempted again. If that fails, 3. On Mac OS X the
46 # On Mac OS X, use the try the default path to XCode lldb module
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
WebappAuthenticator.java 22 import javax.crypto.Mac;
31 * authentication code (MAC) along with the URL for the web app, and then Chrome can verify the MAC
49 * @param mac The bytes of a previously-calculated MAC.
51 * @return true if the MAC is a valid MAC for the URL, false otherwise.
53 public static boolean isUrlValid(Context context, String url, byte[] mac) {
58 return constantTimeAreArraysEqual(goodMac, mac);
64 * @param url A URL for which to calculate a MAC
69 Mac mac = getMac(context); local
251 Mac mac = Mac.getInstance(MAC_ALGORITHM_NAME); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
PKCS5S2ParametersGenerator.java 5 import org.bouncycastle.crypto.Mac;
25 private Mac hMac;
146 * Generate a key parameter for use with a MAC derived from the password,
  /external/bouncycastle/bcprov/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;
19 implements Mac
215 * Reset the mac generator.
  /external/chromium_org/tools/clang/scripts/
repackage.sh 22 PLATFORM=Mac
  /external/chromium_org/tools/vim/
clang-format.vim 5 " Binds cmd-shift-i (on Mac) or ctrl-shift-i (elsewhere) to invoking
13 if has('mac')
  /external/chromium_org/chrome/browser/printing/cloud_print/test/
cloud_print_policy_browsertest.cc 19 // These tests don't apply to the Mac version; see GetCommandLineForRelaunch
22 #error This test file should not be part of the Mac build.
  /external/chromium_org/third_party/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.
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/toolbox/
OverridesUI.js 312 {title: "Apple iPhone 3GS", width: 320, height: 480, deviceScaleFactor: 1, userAgent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5", touch: true, mobile: true},
313 {title: "Apple iPhone 4", width: 320, height: 480, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5", touch: true, mobile: true},
314 {title: "Apple iPhone 5", width: 320, height: 568, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53", touch: true, mobile: true},
315 {title: "Apple iPhone 6", width: 375, height: 667, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4", touch: true, mobile: true},
316 {title: "Apple iPhone 6 Plus", width: 414, height: 736, deviceScaleFactor: 3, userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4", touch: true, mobile: true},
349 {title: "Amazon Kindle Fire (First Generation)", width: 1024, height: 600, deviceScaleFactor: 1, userAgent: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.0.141.16-Gen4_11004310) AppleWebkit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk-Accelerated=true", touch: true, mobile: true},
350 {title: "Apple iPad 1 / 2 / iPad Mini", width: 1024, height: 768, deviceScaleFactor: 1, userAgent: "Mozilla/5.0 (iPad; CPU OS 4_3_5 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8L1 Safari/6533.18.5", touch: true, mobile: true},
351 {title: "Apple iPad 3 / 4", width: 1024, height: 768, deviceScaleFactor: 2, userAgent: "Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53", touch: true, mobile: true},
386 {title: "Chrome 31 \u2014 Mac", value: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36"}
    [all...]
  /build/core/combo/
mac_version.mk 1 # Detect Mac OS X and SDK versions.
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
platform_util.js 21 MAC: 2,
43 } else if (uA.indexOf('Mac') != -1) {
44 return (filter & cvox.PlatformFilter.MAC) != 0;
  /external/chromium_org/media/base/simd/
media_export.asm 17 ; a hidden flag on Linux and a private_extern flag on Mac. (We can use this

Completed in 689 milliseconds

1 2 3 4 5