From 865968c4a587c0c55ea4489d02589ea2a95d8cf9 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 27 Aug 2021 08:40:57 -0600 Subject: [PATCH] polyval: remove use of ARMv8 `crypto` feature It was removed from the nightly compiler: https://github.com/rust-lang/rust/pull/87729 --- .gitignore | 1 + polyval/src/backend/pmull.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2f7896d..b9d396d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ target/ +**/Cargo.lock diff --git a/polyval/src/backend/pmull.rs b/polyval/src/backend/pmull.rs index 0cdebfc..01d3626 100644 --- a/polyval/src/backend/pmull.rs +++ b/polyval/src/backend/pmull.rs @@ -68,7 +68,6 @@ impl Polyval { // TODO(tarcieri): investigate ordering optimizations and fusions e.g.`fuse-crypto-eor` #[inline] #[target_feature(enable = "neon")] - #[target_feature(enable = "crypto")] unsafe fn mul(&mut self, x: &Block) { let h = self.h; let y = veorq_u8(self.y, vld1q_u8(x.as_ptr()));