aeskeys_i386.S (6f3544cd7084abbadd83637993a4f41fd30e6ccd) aeskeys_i386.S (93ed70f9b49087f7041b2086d6b8d125cf89f275)
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

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

162 call _key_expansion_256b
163// aeskeygenassist $0x20,%xmm2,%xmm1 # round 6
164 .byte 0x66,0x0f,0x3a,0xdf,0xca,0x20
165 call _key_expansion_256a
166// aeskeygenassist $0x20,%xmm0,%xmm1
167 .byte 0x66,0x0f,0x3a,0xdf,0xc8,0x20
168 call _key_expansion_256b
169// aeskeygenassist $0x40,%xmm2,%xmm1 # round 7
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

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

162 call _key_expansion_256b
163// aeskeygenassist $0x20,%xmm2,%xmm1 # round 6
164 .byte 0x66,0x0f,0x3a,0xdf,0xca,0x20
165 call _key_expansion_256a
166// aeskeygenassist $0x20,%xmm0,%xmm1
167 .byte 0x66,0x0f,0x3a,0xdf,0xc8,0x20
168 call _key_expansion_256b
169// aeskeygenassist $0x40,%xmm2,%xmm1 # round 7
170 .byte 0x66,0x0f,0x3a,0xdf,0xca,0x20
170 .byte 0x66,0x0f,0x3a,0xdf,0xca,0x40
171 call _key_expansion_256a
172 .cfi_adjust_cfa_offset -4
173 leave
174 retl
175.Lenc_key192:
176 movq 0x10(%ecx),%xmm2 # other user key
177// aeskeygenassist $0x1,%xmm2,%xmm1 # round 1
178 .byte 0x66,0x0f,0x3a,0xdf,0xca,0x01

--- 95 unchanged lines hidden ---
171 call _key_expansion_256a
172 .cfi_adjust_cfa_offset -4
173 leave
174 retl
175.Lenc_key192:
176 movq 0x10(%ecx),%xmm2 # other user key
177// aeskeygenassist $0x1,%xmm2,%xmm1 # round 1
178 .byte 0x66,0x0f,0x3a,0xdf,0xca,0x01

--- 95 unchanged lines hidden ---