Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/external/openssh/
Dmac.c75 mac_setup_by_id(Mac *mac, int which) in mac_setup_by_id() argument
78 mac->type = macs[which].type; in mac_setup_by_id()
79 if (mac->type == SSH_EVP) { in mac_setup_by_id()
80 mac->evp_md = (*macs[which].mdfunc)(); in mac_setup_by_id()
81 if ((evp_len = EVP_MD_size(mac->evp_md)) <= 0) in mac_setup_by_id()
82 fatal("mac %s len %d", mac->name, evp_len); in mac_setup_by_id()
83 mac->key_len = mac->mac_len = (u_int)evp_len; in mac_setup_by_id()
85 mac->mac_len = macs[which].len / 8; in mac_setup_by_id()
86 mac->key_len = macs[which].key_len / 8; in mac_setup_by_id()
87 mac->umac_ctx = NULL; in mac_setup_by_id()
[all …]
/external/openssl/crypto/pkcs12/
Dp12_mutl.c68 unsigned char *mac, unsigned int *maclen) in PKCS12_gen_mac() argument
82 salt = p12->mac->salt->data; in PKCS12_gen_mac()
83 saltlen = p12->mac->salt->length; in PKCS12_gen_mac()
84 if (!p12->mac->iter) iter = 1; in PKCS12_gen_mac()
85 else iter = ASN1_INTEGER_get (p12->mac->iter); in PKCS12_gen_mac()
87 EVP_get_digestbyobj (p12->mac->dinfo->algor->algorithm))) { in PKCS12_gen_mac()
103 || !HMAC_Final(&hmac, mac, maclen)) in PKCS12_gen_mac()
115 unsigned char mac[EVP_MAX_MD_SIZE]; in PKCS12_verify_mac() local
117 if(p12->mac == NULL) { in PKCS12_verify_mac()
121 if (!PKCS12_gen_mac (p12, pass, passlen, mac, &maclen)) { in PKCS12_verify_mac()
[all …]
/external/webkit/Source/WebCore/platform/text/mac/
Dmac-encodings.txt24 MacArabic: x-mac-arabic
25 MacChineseSimp: x-mac-chinesesimp, xmacsimpchinese
26 MacChineseTrad: x-mac-chinesetrad, xmactradchinese
27 MacCroatian: x-mac-croatian
28 MacDevanagari: x-mac-devanagari
29 MacDingbats: x-mac-dingbats
30 MacFarsi: x-mac-farsi
31 MacGujarati: x-mac-gujarati
32 MacGurmukhi: x-mac-gurmukhi
33 MacHebrew: x-mac-hebrew
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/
DMAC.java15 Digest mac; field in MAC
48 mac = new HMAC(new SHA1(), key, 20); in MAC()
52 mac = new HMAC(new SHA1(), key, 12); in MAC()
56 mac = new HMAC(new MD5(), key, 16); in MAC()
60 mac = new HMAC(new MD5(), key, 12); in MAC()
65 size = mac.getDigestLength(); in MAC()
70 mac.reset(); in initMac()
71 mac.update((byte) (seq >> 24)); in initMac()
72 mac.update((byte) (seq >> 16)); in initMac()
73 mac.update((byte) (seq >> 8)); in initMac()
[all …]
/external/skia/gyp/
DSimpleCocoaApp.gyp11 '../src/views/mac/SkEventNotifier.h',
12 '../src/views/mac/SkEventNotifier.mm',
13 '../src/views/mac/skia_mac.mm',
14 '../src/views/mac/SkNSView.h',
15 '../src/views/mac/SkNSView.mm',
16 '../src/views/mac/SkOptionsTableView.h',
17 '../src/views/mac/SkOptionsTableView.mm',
18 '../src/views/mac/SkOSWindow_Mac.mm',
19 '../src/views/mac/SkTextFieldCell.h',
20 '../src/views/mac/SkTextFieldCell.m',
[all …]
DSampleApp.gyp154 [ 'skia_os == "mac"', {
160 '../src/views/mac/SampleApp-Info.plist',
161 '../src/views/mac/SampleAppDelegate.h',
162 '../src/views/mac/SampleAppDelegate.mm',
163 '../src/views/mac/SkSampleNSView.h',
164 '../src/views/mac/SkSampleNSView.mm',
167 '../src/views/mac/SkEventNotifier.h',
168 '../src/views/mac/SkEventNotifier.mm',
169 '../src/views/mac/skia_mac.mm',
170 '../src/views/mac/SkNSView.h',
[all …]
Dshapeops_demo.gyp81 [ 'skia_os == "mac"', {
85 '../src/views/mac/SkEventNotifier.h',
86 '../src/views/mac/SkEventNotifier.mm',
87 '../src/views/mac/skia_mac.mm',
88 '../src/views/mac/SkNSView.h',
89 '../src/views/mac/SkNSView.mm',
90 '../src/views/mac/SkOptionsTableView.h',
91 '../src/views/mac/SkOptionsTableView.mm',
92 '../src/views/mac/SkOSWindow_Mac.mm',
93 '../src/views/mac/SkTextFieldCell.h',
[all …]
/external/dropbear/libtomcrypt/
DAndroid.mk29 src/hashes/whirl/whirl.c src/mac/f9/f9_done.c src/mac/f9/f9_file.c src/mac/f9/f9_init.c \
30 src/mac/f9/f9_memory.c src/mac/f9/f9_memory_multi.c src/mac/f9/f9_process.c src/mac/f9/f9_test.c \
31 src/mac/hmac/hmac_done.c src/mac/hmac/hmac_file.c src/mac/hmac/hmac_init.c src/mac/hmac/hmac_memory…
32 src/mac/hmac/hmac_memory_multi.c src/mac/hmac/hmac_process.c src/mac/hmac/hmac_test.c \
33 src/mac/omac/omac_done.c src/mac/omac/omac_file.c src/mac/omac/omac_init.c src/mac/omac/omac_memory…
34 src/mac/omac/omac_memory_multi.c src/mac/omac/omac_process.c src/mac/omac/omac_test.c \
35 src/mac/pelican/pelican.c src/mac/pelican/pelican_memory.c src/mac/pelican/pelican_test.c \
36 src/mac/pmac/pmac_done.c src/mac/pmac/pmac_file.c src/mac/pmac/pmac_init.c src/mac/pmac/pmac_memory…
37 src/mac/pmac/pmac_memory_multi.c src/mac/pmac/pmac_ntz.c src/mac/pmac/pmac_process.c \
38 src/mac/pmac/pmac_shift_xor.c src/mac/pmac/pmac_test.c src/mac/xcbc/xcbc_done.c \
[all …]
DMakefile.in120 src/hashes/whirl/whirl.o src/mac/f9/f9_done.o src/mac/f9/f9_file.o src/mac/f9/f9_init.o \
121 src/mac/f9/f9_memory.o src/mac/f9/f9_memory_multi.o src/mac/f9/f9_process.o src/mac/f9/f9_test.o \
122 src/mac/hmac/hmac_done.o src/mac/hmac/hmac_file.o src/mac/hmac/hmac_init.o src/mac/hmac/hmac_memory…
123 src/mac/hmac/hmac_memory_multi.o src/mac/hmac/hmac_process.o src/mac/hmac/hmac_test.o \
124 src/mac/omac/omac_done.o src/mac/omac/omac_file.o src/mac/omac/omac_init.o src/mac/omac/omac_memory…
125 src/mac/omac/omac_memory_multi.o src/mac/omac/omac_process.o src/mac/omac/omac_test.o \
126 src/mac/pelican/pelican.o src/mac/pelican/pelican_memory.o src/mac/pelican/pelican_test.o \
127 src/mac/pmac/pmac_done.o src/mac/pmac/pmac_file.o src/mac/pmac/pmac_init.o src/mac/pmac/pmac_memory…
128 src/mac/pmac/pmac_memory_multi.o src/mac/pmac/pmac_ntz.o src/mac/pmac/pmac_process.o \
129 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
[all …]
Dmakefile.msvc27 src/hashes/whirl/whirl.obj src/mac/f9/f9_done.obj src/mac/f9/f9_file.obj src/mac/f9/f9_init.obj \
28 src/mac/f9/f9_memory.obj src/mac/f9/f9_memory_multi.obj src/mac/f9/f9_process.obj src/mac/f9/f9_tes…
29 src/mac/hmac/hmac_done.obj src/mac/hmac/hmac_file.obj src/mac/hmac/hmac_init.obj src/mac/hmac/hmac_…
30 src/mac/hmac/hmac_memory_multi.obj src/mac/hmac/hmac_process.obj src/mac/hmac/hmac_test.obj \
31 src/mac/omac/omac_done.obj src/mac/omac/omac_file.obj src/mac/omac/omac_init.obj src/mac/omac/omac_…
32 src/mac/omac/omac_memory_multi.obj src/mac/omac/omac_process.obj src/mac/omac/omac_test.obj \
33 src/mac/pelican/pelican.obj src/mac/pelican/pelican_memory.obj src/mac/pelican/pelican_test.obj \
34 src/mac/pmac/pmac_done.obj src/mac/pmac/pmac_file.obj src/mac/pmac/pmac_init.obj src/mac/pmac/pmac_…
35 src/mac/pmac/pmac_memory_multi.obj src/mac/pmac/pmac_ntz.obj src/mac/pmac/pmac_process.obj \
36 src/mac/pmac/pmac_shift_xor.obj src/mac/pmac/pmac_test.obj src/mac/xcbc/xcbc_done.obj \
[all …]
Dmakefile.unix63 src/hashes/whirl/whirl.o src/mac/f9/f9_done.o src/mac/f9/f9_file.o src/mac/f9/f9_init.o \
64 src/mac/f9/f9_memory.o src/mac/f9/f9_memory_multi.o src/mac/f9/f9_process.o src/mac/f9/f9_test.o \
65 src/mac/hmac/hmac_done.o src/mac/hmac/hmac_file.o src/mac/hmac/hmac_init.o src/mac/hmac/hmac_memory…
66 src/mac/hmac/hmac_memory_multi.o src/mac/hmac/hmac_process.o src/mac/hmac/hmac_test.o \
67 src/mac/omac/omac_done.o src/mac/omac/omac_file.o src/mac/omac/omac_init.o src/mac/omac/omac_memory…
68 src/mac/omac/omac_memory_multi.o src/mac/omac/omac_process.o src/mac/omac/omac_test.o \
69 src/mac/pelican/pelican.o src/mac/pelican/pelican_memory.o src/mac/pelican/pelican_test.o \
70 src/mac/pmac/pmac_done.o src/mac/pmac/pmac_file.o src/mac/pmac/pmac_init.o src/mac/pmac/pmac_memory…
71 src/mac/pmac/pmac_memory_multi.o src/mac/pmac/pmac_ntz.o src/mac/pmac/pmac_process.o \
72 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
[all …]
Dmakefile.icc117 src/hashes/whirl/whirl.o src/mac/f9/f9_done.o src/mac/f9/f9_file.o src/mac/f9/f9_init.o \
118 src/mac/f9/f9_memory.o src/mac/f9/f9_memory_multi.o src/mac/f9/f9_process.o src/mac/f9/f9_test.o \
119 src/mac/hmac/hmac_done.o src/mac/hmac/hmac_file.o src/mac/hmac/hmac_init.o src/mac/hmac/hmac_memory…
120 src/mac/hmac/hmac_memory_multi.o src/mac/hmac/hmac_process.o src/mac/hmac/hmac_test.o \
121 src/mac/omac/omac_done.o src/mac/omac/omac_file.o src/mac/omac/omac_init.o src/mac/omac/omac_memory…
122 src/mac/omac/omac_memory_multi.o src/mac/omac/omac_process.o src/mac/omac/omac_test.o \
123 src/mac/pelican/pelican.o src/mac/pelican/pelican_memory.o src/mac/pelican/pelican_test.o \
124 src/mac/pmac/pmac_done.o src/mac/pmac/pmac_file.o src/mac/pmac/pmac_init.o src/mac/pmac/pmac_memory…
125 src/mac/pmac/pmac_memory_multi.o src/mac/pmac/pmac_ntz.o src/mac/pmac/pmac_process.o \
126 src/mac/pmac/pmac_shift_xor.o src/mac/pmac/pmac_test.o src/mac/xcbc/xcbc_done.o \
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
DMacOutputStream.java11 protected Mac mac; field in MacOutputStream
14 Mac mac) in MacOutputStream() argument
16 this.mac = mac; in MacOutputStream()
22 mac.update((byte)b); in write()
31 mac.update(b, off, len); in write()
36 byte[] res = new byte[mac.getMacSize()]; in getMac()
38 mac.doFinal(res, 0); in getMac()
DMacInputStream.java12 protected Mac mac; field in MacInputStream
16 Mac mac) in MacInputStream() argument
19 this.mac = mac; in MacInputStream()
29 mac.update((byte)b); in read()
43 mac.update(b, off, n); in read()
50 return mac; in getMac()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/io/
DMacOutputStream.java11 protected Mac mac; field in MacOutputStream
14 Mac mac) in MacOutputStream() argument
16 this.mac = mac; in MacOutputStream()
22 mac.update((byte)b); in write()
31 mac.update(b, off, len); in write()
36 return mac.doFinal(); in getMac()
/external/chromium/chrome/browser/ui/cocoa/
Dnsimage_cache_unittest.mm7 #include "app/mac/nsimage_cache.h"
9 #include "base/mac/mac_util.h"
27 base::mac::SetOverrideAppBundlePath(path);
30 base::mac::SetOverrideAppBundle(nil);
35 EXPECT_TRUE(app::mac::GetCachedImageWithName(@"back_Template.pdf") != nil)
40 EXPECT_EQ(app::mac::GetCachedImageWithName(@"back_Template.pdf"),
41 app::mac::GetCachedImageWithName(@"back_Template.pdf"))
46 EXPECT_TRUE(app::mac::GetCachedImageWithName(@"should_not.exist") == nil)
51 NSImage *first = app::mac::GetCachedImageWithName(@"back_Template.pdf");
57 app::mac::ClearCachedImages();
[all …]
/external/webkit/LayoutTests/fast/encoding/
Dchar-decoding-mac-expected.txt6 PASS decode('mac', '%C3') is 'U+221A'
9 PASS decode('x-mac-greek', '%B0') is 'U+0391'
10 PASS decode('x-mac-ukrainian', '%80') is 'U+0410'
11 PASS decode('x-mac-cyrillic', '%80') is 'U+0410'
12 PASS decode('mac-cyrillic', '%80') is 'U+0410'
13 PASS decode('x-mac-centraleurroman', '%81') is 'U+0100'
14 PASS decode('x-mac-ce', '%81') is 'U+0100'
15 PASS decode('x-mac-turkish', '%81') is 'U+00C5'
Dchar-encoding-mac-expected.txt6 PASS encode('mac', 'U+221A') is '%C3'
9 PASS encode('x-mac-greek', 'U+0391') is '%B0'
10 PASS encode('x-mac-cyrillic', 'U+0410') is '%80'
11 PASS encode('mac-cyrillic', 'U+0410') is '%80'
12 PASS encode('x-mac-centraleurroman', 'U+0100') is '%81'
13 PASS encode('x-mac-turkish', 'U+00C5') is '%81'
/external/wpa_supplicant_8/hostapd/logwatch/
Dhostapd29 if (my ($iface,$mac,$layer,$details) = ($line =~ /(.*?): STA (.*?) (.*?): (.*?)$/i)) {
34 $hostapd{$iface}->{$mac}->{$layer}->{$details}++;
43 foreach my $mac (sort keys %{$hostapd{$iface}}) {
44 print " Client MAC Address $mac:\n";
45 foreach my $layer (sort keys %{$hostapd{$iface}->{$mac}}) {
47 foreach my $details (sort keys %{$hostapd{$iface}->{$mac}->{$layer}}) {
49 my $count = $hostapd{$iface}->{$mac}->{$layer}->{$details};
/external/chromium/chrome/common/
Dservice_process_util_mac.mm15 #include "base/mac/foundation_util.h"
16 #include "base/mac/mac_util.h"
17 #include "base/mac/scoped_nsautorelease_pool.h"
39 base::mac::ScopedNSAutoreleasePool pool;
40 NSBundle* bundle = base::mac::MainAppBundle();
42 base::mac::NSToCFCast([bundle bundleIdentifier]));
47 base::mac::CFToNSCast(CopyServiceProcessLaunchDName()));
79 base::mac::ScopedCFTypeRef<CFStringRef> name(CopyServiceProcessLaunchDName());
101 base::mac::ScopedNSAutoreleasePool pool;
104 base::mac::CFToNSCast(Launchd::GetInstance()->CopyExports()));
[all …]
Dlaunchd_mac.mm10 #include "base/mac/mac_util.h"
11 #include "base/mac/scoped_cftyperef.h"
12 #include "base/mac/scoped_nsautorelease_pool.h"
47 LOG(ERROR) << "GetPlistURL " << base::mac::NSToCFCast(err);
52 [launch_dir stringByAppendingPathComponent:base::mac::CFToNSCast(name)];
110 base::mac::ScopedNSAutoreleasePool pool;
117 SanitizeShellArgument(base::mac::CFToNSCast(cf_session_type));
143 base::mac::ScopedNSAutoreleasePool pool;
147 return base::mac::NSToCFCast(plist);
154 base::mac::ScopedNSAutoreleasePool pool;
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
Dcpp.c155 MacroSymbol mac; in CPPdefine() local
158 memset(&mac, 0, sizeof(mac)); in CPPdefine()
184 mac.argc = argc; in CPPdefine()
185 mac.args = mem_Alloc(macros->pool, argc * sizeof(int)); in CPPdefine()
186 memcpy(mac.args, args, argc * sizeof(int)); in CPPdefine()
189 mac.body = NewTokenStream(GetAtomString(atable, name), macros->pool); in CPPdefine()
198 RecordToken(mac.body, token, yylvalpp); in CPPdefine()
204 if (!symb->details.mac.undef) { in CPPdefine()
206 if (symb->details.mac.argc != mac.argc) goto error; in CPPdefine()
207 for (argc=0; argc < mac.argc; argc++) in CPPdefine()
[all …]
/external/chromium/net/base/
Dssl_cipher_suite_names_unittest.cc13 const char *key_exchange, *cipher, *mac; in TEST() local
14 SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, 0xc001); in TEST()
17 EXPECT_STREQ(mac, "SHA1"); in TEST()
19 SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, 0xff31); in TEST()
22 EXPECT_STREQ(mac, "???"); in TEST()
Dplatform_mime_util_mac.cc21 base::mac::ScopedCFTypeRef<CFStringRef> ext_ref( in GetPlatformMimeTypeFromExtension()
25 base::mac::ScopedCFTypeRef<CFStringRef> uti( in GetPlatformMimeTypeFromExtension()
31 base::mac::ScopedCFTypeRef<CFStringRef> mime_ref( in GetPlatformMimeTypeFromExtension()
42 base::mac::ScopedCFTypeRef<CFStringRef> mime_ref( in GetPreferredExtensionForMimeType()
46 base::mac::ScopedCFTypeRef<CFStringRef> uti( in GetPreferredExtensionForMimeType()
52 base::mac::ScopedCFTypeRef<CFStringRef> ext_ref( in GetPreferredExtensionForMimeType()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c151 int crypto_hash_finish(struct crypto_hash *ctx, u8 *mac, size_t *len) in crypto_hash_finish() argument
159 if (mac == NULL || len == NULL) { in crypto_hash_finish()
172 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish()
181 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
191 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
202 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish()
211 MD5Update(&ctx->u.md5, mac, 16); in crypto_hash_finish()
212 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish()
222 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
231 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
[all …]

12345678910>>...23