3 .type aesni_encrypt,@function
13 .byte 102,15,56,220,197
18 .byte 102,15,56,221,197
21 .size aesni_encrypt,.-aesni_encrypt
24 .type aesni_decrypt,@function
34 .byte 102,15,56,222,197
39 .byte 102,15,56,223,197
42 .size aesni_decrypt, .-aesni_decrypt
43 .type _aesni_encrypt3,@function
55 .byte 102,15,56,220,197
57 .byte 102,15,56,220,205
59 .byte 102,15,56,220,213
60 .byte 102,15,56,220,196
62 .byte 102,15,56,220,204
64 .byte 102,15,56,220,212
67 .byte 102,15,56,220,197
69 .byte 102,15,56,220,205
70 .byte 102,15,56,220,213
71 .byte 102,15,56,221,196
72 .byte 102,15,56,221,204
73 .byte 102,15,56,221,212
75 .size _aesni_encrypt3,.-_aesni_encrypt3
76 .type _aesni_decrypt3,@function
88 .byte 102,15,56,222,197
90 .byte 102,15,56,222,205
92 .byte 102,15,56,222,213
93 .byte 102,15,56,222,196
95 .byte 102,15,56,222,204
97 .byte 102,15,56,222,212
100 .byte 102,15,56,222,197
102 .byte 102,15,56,222,205
103 .byte 102,15,56,222,213
104 .byte 102,15,56,223,196
105 .byte 102,15,56,223,204
106 .byte 102,15,56,223,212
108 .size _aesni_decrypt3,.-_aesni_decrypt3
109 .type _aesni_encrypt4,@function
114 movaps 16(%rcx),%xmm5
122 .byte 102,15,56,220,197
124 .byte 102,15,56,220,205
126 .byte 102,15,56,220,213
127 .byte 102,15,56,220,221
128 .byte 102,15,56,220,196
129 movaps 16(%rcx),%xmm5
130 .byte 102,15,56,220,204
132 .byte 102,15,56,220,212
133 .byte 102,15,56,220,220
136 .byte 102,15,56,220,197
138 .byte 102,15,56,220,205
139 .byte 102,15,56,220,213
140 .byte 102,15,56,220,221
141 .byte 102,15,56,221,196
142 .byte 102,15,56,221,204
143 .byte 102,15,56,221,212
144 .byte 102,15,56,221,220
146 .size _aesni_encrypt4,.-_aesni_encrypt4
147 .type _aesni_decrypt4,@function
152 movaps 16(%rcx),%xmm5
160 .byte 102,15,56,222,197
162 .byte 102,15,56,222,205
164 .byte 102,15,56,222,213
165 .byte 102,15,56,222,221
166 .byte 102,15,56,222,196
167 movaps 16(%rcx),%xmm5
168 .byte 102,15,56,222,204
170 .byte 102,15,56,222,212
171 .byte 102,15,56,222,220
174 .byte 102,15,56,222,197
176 .byte 102,15,56,222,205
177 .byte 102,15,56,222,213
178 .byte 102,15,56,222,221
179 .byte 102,15,56,223,196
180 .byte 102,15,56,223,204
181 .byte 102,15,56,223,212
182 .byte 102,15,56,223,220
184 .size _aesni_decrypt4,.-_aesni_decrypt4
185 .globl aesni_ecb_encrypt
186 .type aesni_ecb_encrypt,@function
205 movups 16(%rdi),%xmm1
206 movups 32(%rdi),%xmm2
211 movups %xmm0,-48(%rsi)
213 movups %xmm1,-32(%rsi)
215 movups %xmm2,-16(%rsi)
226 movups 16(%rdi),%xmm1
229 movups 32(%rdi),%xmm2
231 movups 48(%rdi),%xmm3
234 movups %xmm1,16(%rsi)
235 movups %xmm2,32(%rsi)
236 movups %xmm3,48(%rsi)
241 movaps 16(%rcx),%xmm5
245 .byte 102,15,56,220,197
250 .byte 102,15,56,221,197
257 movups %xmm1,16(%rsi)
263 movups %xmm1,16(%rsi)
264 movups %xmm2,32(%rsi)
275 movups 16(%rdi),%xmm1
276 movups 32(%rdi),%xmm2
281 movups %xmm0,-48(%rsi)
283 movups %xmm1,-32(%rsi)
285 movups %xmm2,-16(%rsi)
296 movups 16(%rdi),%xmm1
299 movups 32(%rdi),%xmm2
301 movups 48(%rdi),%xmm3
304 movups %xmm1,16(%rsi)
305 movups %xmm2,32(%rsi)
306 movups %xmm3,48(%rsi)
311 movaps 16(%rcx),%xmm5
315 .byte 102,15,56,222,197
320 .byte 102,15,56,223,197
327 movups %xmm1,16(%rsi)
333 movups %xmm1,16(%rsi)
334 movups %xmm2,32(%rsi)
338 .size aesni_ecb_encrypt,.-aesni_ecb_encrypt
339 .globl aesni_cbc_encrypt
340 .type aesni_cbc_encrypt,@function
363 movaps 16(%rcx),%xmm5
367 .byte 102,15,56,220,197
372 .byte 102,15,56,221,197
377 movups %xmm0,-16(%rsi)
409 movups 16(%rdi),%xmm1
410 movups 32(%rdi),%xmm2
422 movups %xmm0,-48(%rsi)
424 movups %xmm1,-32(%rsi)
426 movups %xmm2,-16(%rsi)
438 movups 16(%rdi),%xmm1
442 movups 32(%rdi),%xmm2
446 movups 48(%rdi),%xmm3
449 movups 48(%rdi),%xmm6
453 movups %xmm1,16(%rsi)
455 movups %xmm2,32(%rsi)
458 jmp .Lcbc_dec_tail_collected
462 movaps 16(%rcx),%xmm5
466 .byte 102,15,56,222,197
471 .byte 102,15,56,223,197
474 jmp .Lcbc_dec_tail_collected
484 jmp .Lcbc_dec_tail_collected
492 movups %xmm1,16(%rsi)
496 jmp .Lcbc_dec_tail_collected
498 .Lcbc_dec_tail_collected:
501 jnz .Lcbc_dec_tail_partial
504 .Lcbc_dec_tail_partial:
505 movaps %xmm0,-24(%rsp)
514 .size aesni_cbc_encrypt,.-aesni_cbc_encrypt
515 .globl aesni_set_decrypt_key
516 .type aesni_set_decrypt_key,@function
518 aesni_set_decrypt_key:
519 .byte 0x48,0x83,0xEC,0x08
520 call _aesni_set_encrypt_key
524 leaq 16(%rdx,%rsi,1),%rdi
536 .byte 102,15,56,219,192
537 .byte 102,15,56,219,201
541 movaps %xmm0,16(%rdi)
542 movaps %xmm1,-16(%rdx)
546 .byte 102,15,56,219,192
551 .LSEH_end_set_decrypt_key:
552 .size aesni_set_decrypt_key,.-aesni_set_decrypt_key
553 .globl aesni_set_encrypt_key
554 .type aesni_set_encrypt_key,@function
556 aesni_set_encrypt_key:
557 _aesni_set_encrypt_key:
558 .byte 0x48,0x83,0xEC,0x08
578 .byte 102,15,58,223,200,1
579 call .Lkey_expansion_128_cold
580 .byte 102,15,58,223,200,2
581 call .Lkey_expansion_128
582 .byte 102,15,58,223,200,4
583 call .Lkey_expansion_128
584 .byte 102,15,58,223,200,8
585 call .Lkey_expansion_128
586 .byte 102,15,58,223,200,16
587 call .Lkey_expansion_128
588 .byte 102,15,58,223,200,32
589 call .Lkey_expansion_128
590 .byte 102,15,58,223,200,64
591 call .Lkey_expansion_128
592 .byte 102,15,58,223,200,128
593 call .Lkey_expansion_128
594 .byte 102,15,58,223,200,27
595 call .Lkey_expansion_128
596 .byte 102,15,58,223,200,54
597 call .Lkey_expansion_128
608 .byte 102,15,58,223,202,1
609 call .Lkey_expansion_192a_cold
610 .byte 102,15,58,223,202,2
611 call .Lkey_expansion_192b
612 .byte 102,15,58,223,202,4
613 call .Lkey_expansion_192a
614 .byte 102,15,58,223,202,8
615 call .Lkey_expansion_192b
616 .byte 102,15,58,223,202,16
617 call .Lkey_expansion_192a
618 .byte 102,15,58,223,202,32
619 call .Lkey_expansion_192b
620 .byte 102,15,58,223,202,64
621 call .Lkey_expansion_192a
622 .byte 102,15,58,223,202,128
623 call .Lkey_expansion_192b
631 movups 16(%rdi),%xmm2
635 movaps %xmm2,16(%rdx)
636 .byte 102,15,58,223,202,1
637 call .Lkey_expansion_256a_cold
638 .byte 102,15,58,223,200,1
639 call .Lkey_expansion_256b
640 .byte 102,15,58,223,202,2
641 call .Lkey_expansion_256a
642 .byte 102,15,58,223,200,2
643 call .Lkey_expansion_256b
644 .byte 102,15,58,223,202,4
645 call .Lkey_expansion_256a
646 .byte 102,15,58,223,200,4
647 call .Lkey_expansion_256b
648 .byte 102,15,58,223,202,8
649 call .Lkey_expansion_256a
650 .byte 102,15,58,223,200,8
651 call .Lkey_expansion_256b
652 .byte 102,15,58,223,202,16
653 call .Lkey_expansion_256a
654 .byte 102,15,58,223,200,16
655 call .Lkey_expansion_256b
656 .byte 102,15,58,223,202,32
657 call .Lkey_expansion_256a
658 .byte 102,15,58,223,200,32
659 call .Lkey_expansion_256b
660 .byte 102,15,58,223,202,64
661 call .Lkey_expansion_256a
673 .LSEH_end_set_encrypt_key:
679 .Lkey_expansion_128_cold:
680 shufps $16,%xmm0,%xmm4
682 shufps $140,%xmm0,%xmm4
684 pshufd $255,%xmm1,%xmm1
689 .Lkey_expansion_192a:
692 .Lkey_expansion_192a_cold:
694 .Lkey_expansion_192b_warm:
695 shufps $16,%xmm0,%xmm4
698 shufps $140,%xmm0,%xmm4
701 pshufd $85,%xmm1,%xmm1
704 pshufd $255,%xmm0,%xmm3
709 .Lkey_expansion_192b:
711 shufps $68,%xmm0,%xmm5
713 shufps $78,%xmm2,%xmm3
714 movaps %xmm3,16(%rax)
716 jmp .Lkey_expansion_192b_warm
719 .Lkey_expansion_256a:
722 .Lkey_expansion_256a_cold:
723 shufps $16,%xmm0,%xmm4
725 shufps $140,%xmm0,%xmm4
727 pshufd $255,%xmm1,%xmm1
732 .Lkey_expansion_256b:
736 shufps $16,%xmm2,%xmm4
738 shufps $140,%xmm2,%xmm4
740 pshufd $170,%xmm1,%xmm1
743 .size aesni_set_encrypt_key,.-aesni_set_encrypt_key
744 .byte 65,69,83,32,102,111,114,32,73,110,116,101,108,32,65,69,83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0