Changeset 97372 in vbox for trunk/src/libs/openssl-3.0.7/crypto/aes
- Timestamp:
- Nov 2, 2022 7:40:16 AM (2 years ago)
- Location:
- trunk/src/libs/openssl-3.0.7
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.7
- Property svn:mergeinfo
-
old new 15 15 /vendor/openssl/3.0.2:150728-150729 16 16 /vendor/openssl/3.0.3:151497-151729 17 /vendor/openssl/current:147554-151496 17 /vendor/openssl/3.0.7:154371 18 /vendor/openssl/current:147554-154370
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.7/crypto/aes/asm/aesni-x86.pl
r94082 r97372 1 1 #! /usr/bin/env perl 2 # Copyright 2009-202 0The OpenSSL Project Authors. All Rights Reserved.2 # Copyright 2009-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 4 # Licensed under the Apache License 2.0 (the "License"). You may not use … … 2033 2033 &movdqu (&QWP(-16*1,$out,$inp),$inout5); 2034 2034 &cmp ($inp,$len); # done yet? 2035 &jb (&label("grandloop"));2035 &jbe (&label("grandloop")); 2036 2036 2037 2037 &set_label("short"); … … 2459 2459 &movdqu (&QWP(-16*1,$out,$inp),$inout5); 2460 2460 &cmp ($inp,$len); # done yet? 2461 &jb (&label("grandloop"));2461 &jbe (&label("grandloop")); 2462 2462 2463 2463 &set_label("short"); -
trunk/src/libs/openssl-3.0.7/crypto/aes/asm/aesv8-armx.pl
r94082 r97372 1 1 #! /usr/bin/env perl 2 # Copyright 2014-202 0The OpenSSL Project Authors. All Rights Reserved.2 # Copyright 2014-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 4 # Licensed under the Apache License 2.0 (the "License"). You may not use … … 1798 1798 rev $ctr, $ctr 1799 1799 #endif 1800 ___ 1801 $code.=<<___ if ($flavour =~ /64/); 1802 vorr $dat1,$dat0,$dat0 1803 add $tctr1, $ctr, #1 1804 vorr $dat2,$dat0,$dat0 1805 add $ctr, $ctr, #2 1806 vorr $ivec,$dat0,$dat0 1807 rev $tctr1, $tctr1 1808 vmov.32 ${dat1}[3],$tctr1 1809 b.ls .Lctr32_tail 1810 rev $tctr2, $ctr 1811 sub $len,$len,#3 // bias 1812 vmov.32 ${dat2}[3],$tctr2 1813 ___ 1814 $code.=<<___ if ($flavour !~ /64/); 1800 1815 add $tctr1, $ctr, #1 1801 1816 vorr $ivec,$dat0,$dat0 … … 1811 1826 ___ 1812 1827 $code.=<<___ if ($flavour =~ /64/); 1813 cmp $len,# 21828 cmp $len,#32 1814 1829 b.lo .Loop3x_ctr32 1815 1830 … … 2004 2019 aesmc $tmp1,$dat1 2005 2020 vld1.8 {$in0},[$inp],#16 2021 ___ 2022 $code.=<<___ if ($flavour =~ /64/); 2023 vorr $dat0,$ivec,$ivec 2024 ___ 2025 $code.=<<___ if ($flavour !~ /64/); 2006 2026 add $tctr0,$ctr,#1 2027 ___ 2028 $code.=<<___; 2007 2029 aese $dat2,q8 2008 2030 aesmc $dat2,$dat2 2009 2031 vld1.8 {$in1},[$inp],#16 2032 ___ 2033 $code.=<<___ if ($flavour =~ /64/); 2034 vorr $dat1,$ivec,$ivec 2035 ___ 2036 $code.=<<___ if ($flavour !~ /64/); 2010 2037 rev $tctr0,$tctr0 2038 ___ 2039 $code.=<<___; 2011 2040 aese $tmp0,q9 2012 2041 aesmc $tmp0,$tmp0 … … 2017 2046 aese $dat2,q9 2018 2047 aesmc $tmp2,$dat2 2048 ___ 2049 $code.=<<___ if ($flavour =~ /64/); 2050 vorr $dat2,$ivec,$ivec 2051 add $tctr0,$ctr,#1 2052 ___ 2053 $code.=<<___; 2019 2054 aese $tmp0,q12 2020 2055 aesmc $tmp0,$tmp0 … … 2032 2067 aesmc $tmp1,$tmp1 2033 2068 veor $in2,$in2,$rndlast 2069 ___ 2070 $code.=<<___ if ($flavour =~ /64/); 2071 rev $tctr0,$tctr0 2072 aese $tmp2,q13 2073 aesmc $tmp2,$tmp2 2074 vmov.32 ${dat0}[3], $tctr0 2075 ___ 2076 $code.=<<___ if ($flavour !~ /64/); 2034 2077 vmov.32 ${ivec}[3], $tctr0 2035 2078 aese $tmp2,q13 2036 2079 aesmc $tmp2,$tmp2 2037 2080 vorr $dat0,$ivec,$ivec 2081 ___ 2082 $code.=<<___; 2038 2083 rev $tctr1,$tctr1 2039 2084 aese $tmp0,q14 2040 2085 aesmc $tmp0,$tmp0 2086 ___ 2087 $code.=<<___ if ($flavour !~ /64/); 2041 2088 vmov.32 ${ivec}[3], $tctr1 2042 2089 rev $tctr2,$ctr 2090 ___ 2091 $code.=<<___; 2043 2092 aese $tmp1,q14 2044 2093 aesmc $tmp1,$tmp1 2094 ___ 2095 $code.=<<___ if ($flavour =~ /64/); 2096 vmov.32 ${dat1}[3], $tctr1 2097 rev $tctr2,$ctr 2098 aese $tmp2,q14 2099 aesmc $tmp2,$tmp2 2100 vmov.32 ${dat2}[3], $tctr2 2101 ___ 2102 $code.=<<___ if ($flavour !~ /64/); 2045 2103 vorr $dat1,$ivec,$ivec 2046 2104 vmov.32 ${ivec}[3], $tctr2 … … 2048 2106 aesmc $tmp2,$tmp2 2049 2107 vorr $dat2,$ivec,$ivec 2108 ___ 2109 $code.=<<___; 2050 2110 subs $len,$len,#3 2051 2111 aese $tmp0,q15 -
trunk/src/libs/openssl-3.0.7/crypto/aes/build.info
r94082 r97372 3 3 $AESASM=aes_core.c aes_cbc.c 4 4 IF[{- !$disabled{asm} -}] 5 $AESASM_x86=aes-586. s5 $AESASM_x86=aes-586.S 6 6 $AESDEF_x86=AES_ASM 7 $AESASM_x86_sse2=vpaes-x86. s aesni-x86.s7 $AESASM_x86_sse2=vpaes-x86.S aesni-x86.S 8 8 $AESDEF_x86_sse2=VPAES_ASM OPENSSL_IA32_SSE2 9 9 … … 82 82 GENERATE[aes-ia64.s]=asm/aes-ia64.S 83 83 84 GENERATE[aes-586. s]=asm/aes-586.pl85 DEPEND[aes-586. s]=../perlasm/x86asm.pl86 GENERATE[vpaes-x86. s]=asm/vpaes-x86.pl87 DEPEND[vpaes-586. s]=../perlasm/x86asm.pl88 GENERATE[aesni-x86. s]=asm/aesni-x86.pl89 DEPEND[aesni-586. s]=../perlasm/x86asm.pl84 GENERATE[aes-586.S]=asm/aes-586.pl 85 DEPEND[aes-586.S]=../perlasm/x86asm.pl 86 GENERATE[vpaes-x86.S]=asm/vpaes-x86.pl 87 DEPEND[vpaes-586.S]=../perlasm/x86asm.pl 88 GENERATE[aesni-x86.S]=asm/aesni-x86.pl 89 DEPEND[aesni-586.S]=../perlasm/x86asm.pl 90 90 91 91 GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl
Note:
See TracChangeset
for help on using the changeset viewer.