X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Farm_arch.h;h=5b156d3c448b7c5d6fea4049e4ce4bd4863a6930;hb=792ea008af17238d2af91301241973dc4f4f544c;hp=3fc9e69b1c0a09568e8bcd732f8db2291f15e744;hpb=d2e9e320186f0917cc940f46bdf1a7e4120da9b0;p=oweals%2Fopenssl.git diff --git a/crypto/arm_arch.h b/crypto/arm_arch.h index 3fc9e69b1c..5b156d3c44 100644 --- a/crypto/arm_arch.h +++ b/crypto/arm_arch.h @@ -1,7 +1,7 @@ /* - * Copyright 2011-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2011-2018 The OpenSSL Project Authors. All Rights Reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html @@ -28,7 +28,7 @@ # endif /* * Why doesn't gcc define __ARM_ARCH__? Instead it defines - * bunch of below macros. See all_architectires[] table in + * bunch of below macros. See all_architectures[] table in * gcc/config/arm/arm.c. On a side note it defines * __ARMEL__/__ARMEB__ for little-/big-endian. */ @@ -69,7 +69,7 @@ # endif # endif -# if !__ASSEMBLER__ +# ifndef __ASSEMBLER__ extern unsigned int OPENSSL_armcap_P; # endif @@ -79,5 +79,6 @@ extern unsigned int OPENSSL_armcap_P; # define ARMV8_SHA1 (1<<3) # define ARMV8_SHA256 (1<<4) # define ARMV8_PMULL (1<<5) +# define ARMV8_SHA512 (1<<6) #endif