Searched defs:eax (Results 1 - 25 of 98) sorted by relevance

1234

/external/dropbear/libtomcrypt/src/encauth/eax/
H A Deax_addheader.c21 @param eax The current EAX state
26 int eax_addheader(eax_state *eax, const unsigned char *header, argument
29 LTC_ARGCHK(eax != NULL);
31 return omac_process(&eax->headeromac, header, length);
36 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_addheader.c,v $ */
H A Deax_decrypt.c22 @param eax The EAX state
28 int eax_decrypt(eax_state *eax, const unsigned char *ct, unsigned char *pt, argument
33 LTC_ARGCHK(eax != NULL);
38 if ((err = omac_process(&eax->ctomac, ct, length)) != CRYPT_OK) {
43 return ctr_decrypt(ct, pt, length, &eax->ctr);
48 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_decrypt.c,v $ */
H A Deax_encrypt.c22 @param eax The EAX state
28 int eax_encrypt(eax_state *eax, const unsigned char *pt, unsigned char *ct, argument
33 LTC_ARGCHK(eax != NULL);
38 if ((err = ctr_encrypt(pt, ct, length, &eax->ctr)) != CRYPT_OK) {
43 return omac_process(&eax->ctomac, ct, length);
49 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_encrypt.c,v $ */
H A Deax_done.c22 @param eax The EAX state
27 int eax_done(eax_state *eax, unsigned char *tag, unsigned long *taglen) argument
33 LTC_ARGCHK(eax != NULL);
53 if ((err = omac_done(&eax->ctomac, ctmac, &len)) != CRYPT_OK) {
61 if ((err = omac_done(&eax->headeromac, headermac, &len)) != CRYPT_OK) {
66 if ((err = ctr_done(&eax->ctr)) != CRYPT_OK) {
72 tag[x] = eax->N[x] ^ headermac[x] ^ ctmac[x];
81 zeromem(eax, sizeof(*eax));
92 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_don
[all...]
H A Deax_encrypt_authenticate_memory.c45 eax_state *eax; local
53 eax = XMALLOC(sizeof(*eax));
55 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
59 if ((err = eax_encrypt(eax, pt, ct, ptlen)) != CRYPT_OK) {
63 if ((err = eax_done(eax, tag, taglen)) != CRYPT_OK) {
70 zeromem(eax, sizeof(*eax));
73 XFREE(eax);
80 /* $Source: /cvs/libtom/libtomcrypt/src/encauth/eax/eax_encrypt_authenticate_memor
[all...]
H A Deax_init.c22 @param eax [out] The EAX state to initialize
32 int eax_init(eax_state *eax, int cipher, argument
43 LTC_ARGCHK(eax != NULL);
84 len = sizeof(eax->N);
85 if ((err = omac_done(omac, eax->N, &len)) != CRYPT_OK) {
93 if ((err = omac_init(&eax->headeromac, cipher, key, keylen)) != CRYPT_OK) {
98 if ((err = omac_process(&eax->headeromac, buf, blklen)) != CRYPT_OK) {
103 if ((err = omac_process(&eax->headeromac, header, headerlen)) != CRYPT_OK) {
111 if ((err = ctr_start(cipher, eax->N, key, keylen, 0, CTR_COUNTER_BIG_ENDIAN, &eax
[all...]
H A Deax_decrypt_verify_memory.c47 eax_state *eax; local
62 eax = XMALLOC(sizeof(*eax));
63 if (eax == NULL || buf == NULL) {
64 if (eax != NULL) {
65 XFREE(eax);
73 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
77 if ((err = eax_decrypt(eax, ct, pt, ctlen)) != CRYPT_OK) {
82 if ((err = eax_done(eax, buf, &buflen)) != CRYPT_OK) {
95 zeromem(eax, sizeo
[all...]
/external/chromium/base/
H A Dcpu_unittest.cc52 __asm crc32 eax, eax; local
87 __asm__ __volatile__("crc32 %%eax, %%eax\n" : : : "eax");
H A Datomicops_internals_x86_gcc.cc48 uint32 eax; local
53 // Get vendor string (issue CPUID with eax = 0)
54 cpuid(eax, ebx, ecx, edx, 0);
61 // get feature flags in ecx/edx, and family/model in eax
62 cpuid(eax, ebx, ecx, edx, 1);
64 int family = (eax >> 8) & 0xf; // family and model fields
65 int model = (eax >> 4) & 0xf;
67 family += (eax >> 20) & 0xff;
68 model += ((eax >> 16) & 0xf) << 4;
/external/clang/lib/Headers/
H A Dcpuid.h28 static inline int __get_cpuid (unsigned int level, unsigned int *eax, argument
31 asm("cpuid" : "=a"(*eax), "=b" (*ebx), "=c"(*ecx), "=d"(*edx) : "0"(level));
/external/clang/lib/include/
H A Dcpuid.h28 static inline int __get_cpuid (unsigned int level, unsigned int *eax, argument
31 asm("cpuid" : "=a"(*eax), "=b" (*ebx), "=c"(*ecx), "=d"(*edx) : "0"(level));
/external/clang/test/Parser/
H A Dms-inline-asm.c9 void t4(void) { __asm mov eax, fs:[0x10] } // expected-warning {{MS-style inline assembly is not supported}} local
/external/kernel-headers/original/asm-x86/
H A Dtsc.h39 unsigned eax, edx; local
46 ASM_OUTPUT2("=a" (eax), "=d" (edx)),
48 ret = (((unsigned long long)edx) << 32) | ((unsigned long long)eax);
57 "=a" (eax), "0" (1) : "ebx","ecx","edx","memory");
/external/valgrind/main/none/tests/x86/
H A Dcmpxchg8b.c9 UInt eax; variable
18 "\tpushl %eax\n"
23 "\txorl %eax, %eax\n" // get eflags in a known state
25 "\tmovl " VG_SYM(eax) ",%eax\n"
30 "\tmovl %eax," VG_SYM(eax) "\n"
35 "\tpopl %eax\n"
36 "\tmovl %eax," VG_SY
[all...]
/external/openssl/crypto/des/
H A Ddess.cpp11 #pragma aux GetTSC = 0x0f 0x31 "mov [edi], eax" parm [edi] modify [edx eax];
17 : "=eax" (tsc)
19 : "%edx", "%eax");
28 __asm mov a, eax; local
H A Ddes3s.cpp11 #pragma aux GetTSC = 0x0f 0x31 "mov [edi], eax" parm [edi] modify [edx eax];
17 : "=eax" (tsc)
19 : "%edx", "%eax");
28 __asm mov a, eax; local
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_stdlib.c54 mov eax,dword ptr [esp+10h] local
55 test eax,eax local
65 adc eax,0 local
73 sbb eax,0 local
103 mov eax,dword ptr [ebp+10h] local
105 mov ebx,eax
106 mov esi,eax
108 mov eax,dword ptr [ebp+8] local
112 mov dword ptr [ebp-18h],eax
116 mov eax,dword ptr [ebp-18h] local
135 mov eax,dword ptr [esp+14h] local
136 or eax,eax local
142 sbb eax,0 local
146 mov eax,dword ptr [esp+1Ch] local
147 or eax,eax local
153 sbb eax,0 local
157 or eax,eax local
160 mov eax,dword ptr [esp+14h] local
164 mov eax,dword ptr [esp+10h] local
172 mov eax,dword ptr [esp+10h] local
177 rcr eax,1 local
184 mov eax,dword ptr [esp+18h] local
191 cmp eax,dword ptr [esp+10h] local
197 mov eax,esi local
216 mov eax,dword ptr [esp+18h] local
217 or eax,eax local
220 mov eax,dword ptr [esp+10h] local
224 mov eax,dword ptr [esp+0Ch] local
232 mov eax,dword ptr [esp+0Ch] local
237 rcr eax,1 local
244 mov eax,dword ptr [esp+14h] local
251 cmp eax,dword ptr [esp+0Ch] local
257 mov eax,esi local
270 mov eax,dword ptr [esp+10h] local
271 or eax,eax local
277 sbb eax,0 local
281 mov eax,dword ptr [esp+18h] local
282 or eax,eax local
287 sbb eax,0 local
291 or eax,eax local
294 mov eax,dword ptr [esp+10h] local
297 mov eax,dword ptr [esp+0Ch] local
299 mov eax,edx local
308 mov eax,dword ptr [esp+0Ch] local
313 rcr eax,1 local
319 xchg eax,ecx local
326 cmp eax,dword ptr [esp+0Ch] local
329 sub eax,dword ptr [esp+14h] local
332 sub eax,dword ptr [esp+0Ch] local
350 mov eax,dword ptr [esp+14h] local
351 or eax,eax local
354 mov eax,dword ptr [esp+0Ch] local
357 mov eax,dword ptr [esp+8] local
359 mov eax,edx local
366 mov eax,dword ptr [esp+8] local
371 rcr eax,1 local
377 xchg eax,ecx local
384 cmp eax,dword ptr [esp+8] local
387 sub eax,dword ptr [esp+10h] local
390 sub eax,dword ptr [esp+8] local
408 mov eax,dword ptr [esp+14h] local
409 or eax,eax local
416 sbb eax,0 local
420 mov eax,dword ptr [esp+1Ch] local
421 or eax,eax local
427 sbb eax,0 local
431 or eax,eax local
434 mov eax,dword ptr [esp+14h] local
438 mov eax,dword ptr [esp+10h] local
441 mov eax,ebx local
444 mov eax,esi local
452 mov eax,dword ptr [esp+10h] local
457 rcr eax,1 local
464 mov eax,dword ptr [esp+18h] local
471 cmp eax,dword ptr [esp+10h] local
475 sub eax,dword ptr [esp+18h] local
480 sub eax,dword ptr [esp+10h] local
492 mov eax,esi local
509 mov eax,dword ptr [esp+14h] local
510 or eax,eax local
513 mov eax,dword ptr [esp+0Ch] local
517 mov eax,dword ptr [esp+8] local
520 mov eax,ebx local
523 mov eax,esi local
531 mov eax,dword ptr [esp+8] local
536 rcr eax,1 local
543 mov eax,dword ptr [esp+10h] local
550 cmp eax,dword ptr [esp+8] local
554 sub eax,dword ptr [esp+10h] local
559 sub eax,dword ptr [esp+8] local
568 mov eax,esi local
580 shld edx,eax,cl local
581 shl eax,cl local
585 xor eax,eax local
590 xor eax,eax local
602 shrd eax,edx,cl local
606 mov eax,edx local
609 shr eax,cl local
612 xor eax,eax local
[all...]
/external/aac/libFDK/include/x86/
H A Dfixmul_x86.h113 mov eax, a local
126 mov eax, a local
/external/openssl/crypto/md4/
H A Dmd4s.cpp11 #pragma aux GetTSC = 0x0f 0x31 "mov [edi], eax" parm [edi] modify [edx eax];
17 : "=eax" (tsc)
19 : "%edx", "%eax");
28 __asm mov a, eax; local
/external/openssl/crypto/md5/
H A Dmd5s.cpp11 #pragma aux GetTSC = 0x0f 0x31 "mov [edi], eax" parm [edi] modify [edx eax];
17 : "=eax" (tsc)
19 : "%edx", "%eax");
28 __asm mov a, eax; local
/external/openssl/crypto/rc4/
H A Drc4s.cpp11 #pragma aux GetTSC = 0x0f 0x31 "mov [edi], eax" parm [edi] modify [edx eax];
17 : "=eax" (tsc)
19 : "%edx", "%eax");
28 __asm mov a, eax; local
/external/oprofile/module/x86/
H A Dcpu_type.c36 int eax, ebx, ecx, edx; local
38 cpuid (1, &eax, &ebx, &ecx, &edx);
55 int eax, ebx, ecx, edx; local
58 cpuid(1, &eax, &ebx, &ecx, &edx);
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_mixer_MMX_VC.c52 mov eax, volume // eax = volume local
58 movd mm0, eax //%%eax,%%mm0
133 mov eax, volume //%3,%%eax // eax = volume local
135 movd mm0, eax //%%eax,%%mm0
/external/valgrind/main/VEX/useful/
H A Dcpuid.c7 void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, argument
14 *eax = a; *ebx = b; *ecx = c; *edx = d;
21 UInt eax, ebx, ecx, edx; local
25 cpuid(&eax,&ebx,&ecx,&edx, 0,0);
26 maxidx = eax;
29 cpuid(&eax,&ebx,&ecx,&edx, i,0);
34 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
42 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
50 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
60 cpuid(&eax,
79 cpuid( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, UInt index, UInt ecx_in ) argument
93 UInt eax, ebx, ecx, edx; local
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h92 mov eax, a local
94 xchg [eax], cl // NOLINT
105 mov eax, a local
107 xchg [eax], cx // NOLINT

Completed in 676 milliseconds

1234