VirtualBox

Ignore:
Timestamp:
Nov 2, 2022 7:40:16 AM (2 years ago)
Author:
vboxsync
Message:

libs: Switch to openssl-3.0.7, bugref:10317

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  
        1515/vendor/openssl/3.0.2:150728-150729
        1616/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
  • trunk/src/libs/openssl-3.0.7/crypto/aes/asm/aesni-x86.pl

    r94082 r97372  
    11#! /usr/bin/env perl
    2 # Copyright 2009-2020 The OpenSSL Project Authors. All Rights Reserved.
     2# Copyright 2009-2022 The OpenSSL Project Authors. All Rights Reserved.
    33#
    44# Licensed under the Apache License 2.0 (the "License").  You may not use
     
    20332033        &movdqu         (&QWP(-16*1,$out,$inp),$inout5);
    20342034        &cmp            ($inp,$len);                    # done yet?
    2035         &jb             (&label("grandloop"));
     2035        &jbe            (&label("grandloop"));
    20362036
    20372037&set_label("short");
     
    24592459        &movdqu         (&QWP(-16*1,$out,$inp),$inout5);
    24602460        &cmp            ($inp,$len);                    # done yet?
    2461         &jb             (&label("grandloop"));
     2461        &jbe            (&label("grandloop"));
    24622462
    24632463&set_label("short");
  • trunk/src/libs/openssl-3.0.7/crypto/aes/asm/aesv8-armx.pl

    r94082 r97372  
    11#! /usr/bin/env perl
    2 # Copyright 2014-2020 The OpenSSL Project Authors. All Rights Reserved.
     2# Copyright 2014-2022 The OpenSSL Project Authors. All Rights Reserved.
    33#
    44# Licensed under the Apache License 2.0 (the "License").  You may not use
     
    17981798        rev             $ctr, $ctr
    17991799#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/);
    18001815        add             $tctr1, $ctr, #1
    18011816        vorr            $ivec,$dat0,$dat0
     
    18111826___
    18121827$code.=<<___    if ($flavour =~ /64/);
    1813         cmp             $len,#2
     1828        cmp             $len,#32
    18141829        b.lo            .Loop3x_ctr32
    18151830
     
    20042019        aesmc           $tmp1,$dat1
    20052020         vld1.8         {$in0},[$inp],#16
     2021___
     2022$code.=<<___    if ($flavour =~ /64/);
     2023         vorr           $dat0,$ivec,$ivec
     2024___
     2025$code.=<<___    if ($flavour !~ /64/);
    20062026         add            $tctr0,$ctr,#1
     2027___
     2028$code.=<<___;
    20072029        aese            $dat2,q8
    20082030        aesmc           $dat2,$dat2
    20092031         vld1.8         {$in1},[$inp],#16
     2032___
     2033$code.=<<___    if ($flavour =~ /64/);
     2034         vorr           $dat1,$ivec,$ivec
     2035___
     2036$code.=<<___    if ($flavour !~ /64/);
    20102037         rev            $tctr0,$tctr0
     2038___
     2039$code.=<<___;
    20112040        aese            $tmp0,q9
    20122041        aesmc           $tmp0,$tmp0
     
    20172046        aese            $dat2,q9
    20182047        aesmc           $tmp2,$dat2
     2048___
     2049$code.=<<___    if ($flavour =~ /64/);
     2050         vorr           $dat2,$ivec,$ivec
     2051         add            $tctr0,$ctr,#1
     2052___
     2053$code.=<<___;
    20192054        aese            $tmp0,q12
    20202055        aesmc           $tmp0,$tmp0
     
    20322067        aesmc           $tmp1,$tmp1
    20332068         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/);
    20342077         vmov.32        ${ivec}[3], $tctr0
    20352078        aese            $tmp2,q13
    20362079        aesmc           $tmp2,$tmp2
    20372080         vorr           $dat0,$ivec,$ivec
     2081___
     2082$code.=<<___;
    20382083         rev            $tctr1,$tctr1
    20392084        aese            $tmp0,q14
    20402085        aesmc           $tmp0,$tmp0
     2086___
     2087$code.=<<___    if ($flavour !~ /64/);
    20412088         vmov.32        ${ivec}[3], $tctr1
    20422089         rev            $tctr2,$ctr
     2090___
     2091$code.=<<___;
    20432092        aese            $tmp1,q14
    20442093        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/);
    20452103         vorr           $dat1,$ivec,$ivec
    20462104         vmov.32        ${ivec}[3], $tctr2
     
    20482106        aesmc           $tmp2,$tmp2
    20492107         vorr           $dat2,$ivec,$ivec
     2108___
     2109$code.=<<___;
    20502110         subs           $len,$len,#3
    20512111        aese            $tmp0,q15
  • trunk/src/libs/openssl-3.0.7/crypto/aes/build.info

    r94082 r97372  
    33$AESASM=aes_core.c aes_cbc.c
    44IF[{- !$disabled{asm} -}]
    5   $AESASM_x86=aes-586.s
     5  $AESASM_x86=aes-586.S
    66  $AESDEF_x86=AES_ASM
    7   $AESASM_x86_sse2=vpaes-x86.s aesni-x86.s
     7  $AESASM_x86_sse2=vpaes-x86.S aesni-x86.S
    88  $AESDEF_x86_sse2=VPAES_ASM OPENSSL_IA32_SSE2
    99
     
    8282GENERATE[aes-ia64.s]=asm/aes-ia64.S
    8383
    84 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
     84GENERATE[aes-586.S]=asm/aes-586.pl
     85DEPEND[aes-586.S]=../perlasm/x86asm.pl
     86GENERATE[vpaes-x86.S]=asm/vpaes-x86.pl
     87DEPEND[vpaes-586.S]=../perlasm/x86asm.pl
     88GENERATE[aesni-x86.S]=asm/aesni-x86.pl
     89DEPEND[aesni-586.S]=../perlasm/x86asm.pl
    9090
    9191GENERATE[aes-x86_64.s]=asm/aes-x86_64.pl
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette