Deleted Added
full compact
aeskeys_i386.S (210409) aeskeys_i386.S (213797)
1/*-
2* The white paper of AES-NI instructions can be downloaded from:
3 * http://softwarecommunity.intel.com/isn/downloads/intelavx/AES-Instructions-Set_WP.pdf
4 *
5 * Copyright (C) 2008-2010, Intel Corporation
6 * Author: Huang Ying <ying.huang@intel.com>
7 * Vinodh Gopal <vinodh.gopal@intel.com>
8 * Kahraman Akdemir

--- 38 unchanged lines hidden (view full) ---

47 pshufd $0b11111111,%xmm1,%xmm1
48 shufps $0b00010000,%xmm0,%xmm4
49 pxor %xmm4,%xmm0
50 shufps $0b10001100,%xmm0,%xmm4
51 pxor %xmm4,%xmm0
52 pxor %xmm1,%xmm0
53 movaps %xmm0,(%edx)
54 addl $0x10,%edx
1/*-
2* The white paper of AES-NI instructions can be downloaded from:
3 * http://softwarecommunity.intel.com/isn/downloads/intelavx/AES-Instructions-Set_WP.pdf
4 *
5 * Copyright (C) 2008-2010, Intel Corporation
6 * Author: Huang Ying <ying.huang@intel.com>
7 * Vinodh Gopal <vinodh.gopal@intel.com>
8 * Kahraman Akdemir

--- 38 unchanged lines hidden (view full) ---

47 pshufd $0b11111111,%xmm1,%xmm1
48 shufps $0b00010000,%xmm0,%xmm4
49 pxor %xmm4,%xmm0
50 shufps $0b10001100,%xmm0,%xmm4
51 pxor %xmm4,%xmm0
52 pxor %xmm1,%xmm0
53 movaps %xmm0,(%edx)
54 addl $0x10,%edx
55 retq
55 retl
56 .cfi_endproc
57END(_key_expansion_128)
58
59ENTRY(_key_expansion_192a)
60 .cfi_startproc
61 pshufd $0b01010101,%xmm1,%xmm1
62 shufps $0b00010000,%xmm0,%xmm4
63 pxor %xmm4,%xmm0

--- 7 unchanged lines hidden (view full) ---

71 pxor %xmm3,%xmm2
72 pxor %xmm5,%xmm2
73 movaps %xmm0,%xmm1
74 shufps $0b01000100,%xmm0,%xmm6
75 movaps %xmm6,(%edx)
76 shufps $0b01001110,%xmm2,%xmm1
77 movaps %xmm1,0x10(%edx)
78 addl $0x20,%edx
56 .cfi_endproc
57END(_key_expansion_128)
58
59ENTRY(_key_expansion_192a)
60 .cfi_startproc
61 pshufd $0b01010101,%xmm1,%xmm1
62 shufps $0b00010000,%xmm0,%xmm4
63 pxor %xmm4,%xmm0

--- 7 unchanged lines hidden (view full) ---

71 pxor %xmm3,%xmm2
72 pxor %xmm5,%xmm2
73 movaps %xmm0,%xmm1
74 shufps $0b01000100,%xmm0,%xmm6
75 movaps %xmm6,(%edx)
76 shufps $0b01001110,%xmm2,%xmm1
77 movaps %xmm1,0x10(%edx)
78 addl $0x20,%edx
79 retq
79 retl
80 .cfi_endproc
81END(_key_expansion_192a)
82
83ENTRY(_key_expansion_192b)
84 .cfi_startproc
85 pshufd $0b01010101,%xmm1,%xmm1
86 shufps $0b00010000,%xmm0,%xmm4
87 pxor %xmm4,%xmm0

--- 177 unchanged lines hidden (view full) ---

265 movdqa (%ecx),%xmm0
266 movdqa %xmm0,(%edx)
267 leave
268 .cfi_adjust_cfa_offset -4
269 retl
270 .cfi_endproc
271END(aesni_set_deckey)
272
80 .cfi_endproc
81END(_key_expansion_192a)
82
83ENTRY(_key_expansion_192b)
84 .cfi_startproc
85 pshufd $0b01010101,%xmm1,%xmm1
86 shufps $0b00010000,%xmm0,%xmm4
87 pxor %xmm4,%xmm0

--- 177 unchanged lines hidden (view full) ---

265 movdqa (%ecx),%xmm0
266 movdqa %xmm0,(%edx)
267 leave
268 .cfi_adjust_cfa_offset -4
269 retl
270 .cfi_endproc
271END(aesni_set_deckey)
272
273 .ident "$FreeBSD: head/sys/crypto/aesni/aeskeys_i386.S 210409 2010-07-23 11:00:46Z kib $"
273 .ident "$FreeBSD: head/sys/crypto/aesni/aeskeys_i386.S 213797 2010-10-13 17:55:53Z dim $"