/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
p12_mutl.c | 66 /* Generate a MAC */ 68 unsigned char *mac, unsigned int *maclen) 82 salt = p12->mac->salt->data; 83 saltlen = p12->mac->salt->length; 84 if (!p12->mac->iter) iter = 1; 85 else iter = ASN1_INTEGER_get (p12->mac->iter); 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { 103 || !HMAC_Final(&hmac, mac, maclen)) 112 /* Verify the mac */ 115 unsigned char mac[EVP_MAX_MD_SIZE] local 135 unsigned char mac[EVP_MAX_MD_SIZE]; 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);
|
/external/openssl/crypto/pkcs12/ |
p12_mutl.c | 66 /* Generate a MAC */ 68 unsigned char *mac, unsigned int *maclen) 82 salt = p12->mac->salt->data; 83 saltlen = p12->mac->salt->length; 84 if (!p12->mac->iter) iter = 1; 85 else iter = ASN1_INTEGER_get (p12->mac->iter); 87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { 103 || !HMAC_Final(&hmac, mac, maclen)) 112 /* Verify the mac */ 115 unsigned char mac[EVP_MAX_MD_SIZE] local 135 unsigned char mac[EVP_MAX_MD_SIZE]; local [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pax_common.c | 18 * @mac_id: MAC ID (EAP_PAX_MAC_*) / currently, only HMAC_SHA1_128 is supported 35 u8 mac[SHA1_MAC_LEN]; local 60 hmac_sha1_vector(key, key_len, 3, addr, len, mac); 61 os_memcpy(pos, mac, clen); 71 * eap_pax_mac - EAP-PAX MAC 72 * @mac_id: MAC ID (EAP_PAX_MAC_*) / currently, only HMAC_SHA1_128 is supported 81 * @mac: Buffer for the MAC value (EAP_PAX_MAC_LEN = 16 bytes) 84 * Wrapper function to calculate EAP-PAX MAC. 90 u8 *mac) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 35 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"; 93 private Mac [] createMacs() { 99 Mac m [] = new Mac[3]; 100 m[0] = Mac.getInstance(defaultAlgorithm); 101 m[1] = Mac.getInstance(defaultAlgorithm, defaultProvider); 102 m[2] = Mac.getInstance(defaultAlgorithm, defaultProviderName) 141 Mac mac; local 219 Mac mac; local 284 Mac mac; local 783 Mac mac = new myMac(spi, defaultProvider, defaultAlgorithm); local 810 Mac mac; local 821 Mac mac; local 866 Mac mac = Mac.getInstance("HmacMD5", providers[i]); local [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
AbstractCursor_SelfContentObserverTest.java | 24 MockAbstractCursor mac = new MockAbstractCursor(); local 25 mac.getMockSelfContentObserver(); 29 MockAbstractCursor mac = new MockAbstractCursor(); local 30 MockAbstractCursor.MockSelfContentObserver msc = mac.getMockSelfContentObserver();
|
/external/chromium/base/mac/ |
mac_util.h | 15 #include "base/mac/foundation_util.h" 26 namespace mac { namespace in namespace:base 113 } // namespace mac 139 namespace mac { \ 150 namespace mac { \ 179 // e.g. LOG(INFO) << base::mac::NSToCFCast(@"foo");
|
/external/chromium_org/base/mac/ |
mac_util.h | 16 #include "base/mac/foundation_util.h" 28 namespace mac { namespace in namespace:base 138 // Snow Leopard is Mac OS X 10.6, Darwin 10. 141 // Lion is Mac OS X 10.7, Darwin 11. 146 // Mountain Lion is Mac OS X 10.8, Darwin 12. 201 } // namespace mac
|
scoped_ioplugininterface.h | 14 namespace mac { namespace in namespace:base 73 } // namespace mac
|
foundation_util.h | 15 #include "base/mac/scoped_cftyperef.h" 57 namespace mac { namespace in namespace:base 164 } // namespace mac 190 namespace mac { \ 201 namespace mac { \ 233 namespace mac { namespace in namespace:base 245 // CFNumberRef some_number = base::mac::CFCast<CFNumberRef>( 249 // CFStringRef some_string = base::mac::CFCastStrict<CFStringRef>(hello); 306 // NSString* version = base::mac::ObjCCast<NSString>( 309 // NSString* str = base::mac::ObjCCastStrict<NSString> [all...] |
/external/chromium_org/chrome/common/ |
crash_keys.cc | 54 { mac::kFirstNSException, kMediumSize }, 55 { mac::kFirstNSExceptionTrace, kMediumSize }, 56 { mac::kLastNSException, kMediumSize }, 57 { mac::kLastNSExceptionTrace, kMediumSize }, 58 { mac::kNSException, kMediumSize }, 59 { mac::kNSExceptionTrace, kMediumSize }, 60 { mac::kSendAction, kMediumSize }, 61 { mac::kZombie, kMediumSize }, 62 { mac::kZombieTrace, kMediumSize }, 76 namespace mac { namespace in namespace:crash_keys [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
sslgathr.c | 47 ** and checks and discards the MAC, then advances to GS_INIT. 210 ** Check the MAC. 217 unsigned char mac[SSL_MAX_MAC_BYTES]; local 252 /* Have read in all the MAC portion of record 254 ** Prepare MAC by resetting it and feeding it the shared secret 272 (*ss->sec.hash->end)(ss->sec.hashcx, mac, &macLen, macLen); 278 if (NSS_SecureMemcmp(mac, pBuf, macLen) != 0) { 279 /* MAC's didn't match... */ 280 SSL_DBG(("%d: SSL[%d]: mac check failed, seq=%d", 282 PRINT_BUF(1, (ss, "computed mac:", mac, macLen)) [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
mac_unittest.py | 31 from webkitpy.layout_tests.port import mac namespace 37 os_name = 'mac' 39 port_name = 'mac' 40 port_maker = mac.MacPort 47 self.assertTrue(self.make_port().name() in ('mac-snowleopard', 'mac-lion', 'mac-mountainlion')) 49 self.assert_name(None, 'snowleopard', 'mac-snowleopard') 50 self.assert_name('mac', 'snowleopard', 'mac-snowleopard' [all...] |
factory_unittest.py | 36 from webkitpy.layout_tests.port import mac namespace 56 self.assert_port(port_name='mac', os_name='mac', os_version='snowleopard', 57 cls=mac.MacPort) 58 self.assert_port(port_name='chromium', os_name='mac', os_version='lion', 59 cls=mac.MacPort) 86 'mac-lion')
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
virtio_net.h | 10 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */ 15 /* The config defining mac address (if VIRTIO_NET_F_MAC) */ 16 __u8 mac[6]; member in struct:virtio_net_config
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
virtio_net.h | 10 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */ 15 /* The config defining mac address (if VIRTIO_NET_F_MAC) */ 16 __u8 mac[6]; member in struct:virtio_net_config
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
virtio_net.h | 10 #define VIRTIO_NET_F_MAC 5 /* Host has given MAC address. */ 15 /* The config defining mac address (if VIRTIO_NET_F_MAC) */ 16 __u8 mac[6]; member in struct:virtio_net_config
|
/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...] |
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ipt_ULOG.h | 51 unsigned char mac[ULOG_MAC_LEN]; member in struct:ulog_packet_msg
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_ULOG.h | 44 unsigned char mac[ULOG_MAC_LEN]; member in struct:ulog_packet_msg
|
/external/chromium/chrome/browser/ |
page_info_model.cc | 223 const char *key_exchange, *cipher, *mac; local 224 net::SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, cipher_suite); 229 ASCIIToUTF16(cipher), ASCIIToUTF16(mac), ASCIIToUTF16(key_exchange));
|
/external/chromium/net/base/ |
ssl_cipher_suite_names.cc | 14 // and mac. For all the ciphersuites in the IANA registry, we extract each of 21 // <3 bits> mac 332 const int mac = cs->encoded & 0x7; local 336 *mac_str = kMacNames[mac].name;
|
/external/chromium_org/chrome/test/base/ |
in_process_browser_test.h | 23 namespace mac { namespace in namespace:base 25 } // namespace mac 162 // the Mac because re-using an existing browser process when launching from 163 // the command line isn't a concept that we support on the Mac; AppleEvents 164 // are the Mac solution for the same need. Any test based on these functions 165 // doesn't apply to the Mac. 177 base::mac::ScopedNSAutoreleasePool* AutoreleasePool() const { 225 base::mac::ScopedNSAutoreleasePool* autorelease_pool_;
|
/external/chromium_org/net/ssl/ |
ssl_cipher_suite_names.cc | 16 // and mac. For all the ciphersuites in the IANA registry, we extract each of 23 // <3 bits> mac 294 const int mac = cs->encoded & 0x7; local 298 if (mac == kAEADMACValue) { 302 *mac_str = kMacNames[mac].name;
|