X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fcurve448%2Farch_32%2Farch_intrinsics.h;h=22fd8bd0f49bf17d6f117b49e40cce4a88a247f1;hp=33439822fea3111fcadea74703f5377c152488d1;hb=52a9587c78a135ff200b8c92f8aad7ea1bd4de75;hpb=575d5afcf8852056c996117578bcaade7ad21fef diff --git a/crypto/ec/curve448/arch_32/arch_intrinsics.h b/crypto/ec/curve448/arch_32/arch_intrinsics.h index 33439822fe..22fd8bd0f4 100644 --- a/crypto/ec/curve448/arch_32/arch_intrinsics.h +++ b/crypto/ec/curve448/arch_32/arch_intrinsics.h @@ -15,15 +15,13 @@ # define ARCH_WORD_BITS 32 -static __inline__ __attribute((always_inline, unused)) -uint32_t word_is_zero(uint32_t a) +static ossl_inline uint32_t word_is_zero(uint32_t a) { /* let's hope the compiler isn't clever enough to optimize this. */ return (((uint64_t)a) - 1) >> 32; } -static __inline__ __attribute((always_inline, unused)) -uint64_t widemul(uint32_t a, uint32_t b) +static ossl_inline uint64_t widemul(uint32_t a, uint32_t b) { return ((uint64_t)a) * b; }