Changeset 94082 in vbox for trunk/src/libs/openssl-3.0.1/crypto/camellia
- Timestamp:
- Mar 3, 2022 7:17:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150325
- Location:
- trunk/src/libs/openssl-3.0.1
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.1
- Property svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/crypto/camellia/asm/cmll-x86.pl
r91772 r94082 2 2 # Copyright 2008-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 # Licensed under the OpenSSL license(the "License"). You may not use4 # Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 # this file except in compliance with the License. You can obtain a copy 6 6 # in the file LICENSE in the source distribution or at … … 50 50 $OPENSSL=1; 51 51 52 $output = pop; 53 open STDOUT,">$output"; 52 $output = pop and open STDOUT,">$output"; 54 53 55 54 &asm_init($ARGV[0],$ARGV[$#ARGV] eq "386"); -
trunk/src/libs/openssl-3.0.1/crypto/camellia/asm/cmll-x86_64.pl
r91772 r94082 2 2 # Copyright 2008-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 # Licensed under the OpenSSL license(the "License"). You may not use4 # Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 # this file except in compliance with the License. You can obtain a copy 6 6 # in the file LICENSE in the source distribution or at … … 37 37 # apparently emulates some of 64-bit operations in [32-bit] microcode. 38 38 39 $flavour = shift; 40 $output = shift; 41 if ($flavour =~ /\./) { $output = $flavour; undef $flavour; } 39 # $output is the last argument if it looks like a file (it has an extension) 40 # $flavour is the first argument if it doesn't look like a file 41 $output = $#ARGV >= 0 && $ARGV[$#ARGV] =~ m|\.\w+$| ? pop : undef; 42 $flavour = $#ARGV >= 0 && $ARGV[0] !~ m|\.| ? shift : undef; 42 43 43 44 $win64=0; $win64=1 if ($flavour =~ /[nm]asm|mingw64/ || $output =~ /\.asm$/); … … 48 49 die "can't locate x86_64-xlate.pl"; 49 50 50 open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\""; 51 open OUT,"| \"$^X\" \"$xlate\" $flavour \"$output\"" 52 or die "can't call $xlate: $!"; 51 53 *STDOUT=*OUT; 52 54 … … 686 688 Camellia_cbc_encrypt: 687 689 .cfi_startproc 690 endbranch 688 691 cmp \$0,%rdx 689 692 je .Lcbc_abort -
trunk/src/libs/openssl-3.0.1/crypto/camellia/asm/cmllt4-sparcv9.pl
r91772 r94082 1 1 #! /usr/bin/env perl 2 # Copyright 2012-202 0The OpenSSL Project Authors. All Rights Reserved.2 # Copyright 2012-2021 The OpenSSL Project Authors. All Rights Reserved. 3 3 # 4 # Licensed under the OpenSSL license(the "License"). You may not use4 # Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 # this file except in compliance with the License. You can obtain a copy 6 6 # in the file LICENSE in the source distribution or at … … 54 54 require "sparcv9_modes.pl"; 55 55 56 $output = pop; 57 open STDOUT,">$output"; 56 $output = pop and open STDOUT,">$output"; 58 57 59 58 $::evp=1; # if $evp is set to 0, script generates module with … … 68 67 69 68 $code=<<___; 70 #include "sparc_arch.h" 69 #ifndef __ASSEMBLER__ 70 # define __ASSEMBLER__ 1 71 #endif 72 #include "crypto/sparc_arch.h" 71 73 72 74 .text -
trunk/src/libs/openssl-3.0.1/crypto/camellia/build.info
r91772 r94082 1 1 LIBS=../../libcrypto 2 SOURCE[../../libcrypto]=\3 cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c \4 {- $target{cmll_asm_src} -}5 2 6 GENERATE[cmll-x86.s]=asm/cmll-x86.pl \ 7 $(PERLASM_SCHEME) $(LIB_CFLAGS) $(LIB_CPPFLAGS) \ 8 $(PROCESSOR) 3 $CMLLASM=camellia.c cmll_misc.c cmll_cbc.c 4 IF[{- !$disabled{asm} -}] 5 $CMLLASM_x86=cmll-x86.s 6 $CMLLASM_x86_64=cmll-x86_64.s cmll_misc.c 7 $CMLLASM_sparcv9=camellia.c cmll_misc.c cmll_cbc.c cmllt4-sparcv9.S 8 9 # Now that we have defined all the arch specific variables, use the 10 # appropriate one 11 IF[$CMLLASM_{- $target{asm_arch} -}] 12 $CMLLASM=$CMLLASM_{- $target{asm_arch} -} 13 $CMLLDEF=CMLL_ASM 14 ENDIF 15 ENDIF 16 17 SOURCE[../../libcrypto]=cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c $CMLLASM 18 DEFINE[../../libcrypto]=$CMLLDEF 19 20 GENERATE[cmll-x86.s]=asm/cmll-x86.pl 9 21 DEPEND[cmll-x86.s]=../perlasm/x86asm.pl 10 GENERATE[cmll-x86_64.s]=asm/cmll-x86_64.pl $(PERLASM_SCHEME)11 GENERATE[cmllt4-sparcv9.S]=asm/cmllt4-sparcv9.pl $(PERLASM_SCHEME)22 GENERATE[cmll-x86_64.s]=asm/cmll-x86_64.pl 23 GENERATE[cmllt4-sparcv9.S]=asm/cmllt4-sparcv9.pl 12 24 INCLUDE[cmllt4-sparcv9.o]=.. 13 25 DEPEND[cmllt4-sparcv9.S]=../perlasm/sparcv9_modes.pl -
trunk/src/libs/openssl-3.0.1/crypto/camellia/camellia.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 18The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at … … 39 39 * words reasonable performance even with not so modern compilers. 40 40 */ 41 42 /* 43 * Camellia low level APIs are deprecated for public use, but still ok for 44 * internal use. 45 */ 46 #include "internal/deprecated.h" 41 47 42 48 #include <openssl/camellia.h> -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_cbc.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * Camellia low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/camellia.h> -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_cfb.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * Camellia low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/camellia.h> -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_ctr.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * Camellia low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/camellia.h> -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_ecb.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * Camellia low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/camellia.h> -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_local.h
r91772 r94082 2 2 * Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_misc.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * Camellia low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/opensslv.h> -
trunk/src/libs/openssl-3.0.1/crypto/camellia/cmll_ofb.c
r91772 r94082 1 1 /* 2 * Copyright 2006-20 16The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at 7 7 * https://www.openssl.org/source/license.html 8 8 */ 9 10 /* 11 * Camellia low level APIs are deprecated for public use, but still ok for 12 * internal use. 13 */ 14 #include "internal/deprecated.h" 9 15 10 16 #include <openssl/camellia.h>
Note:
See TracChangeset
for help on using the changeset viewer.