briansmith / ring

Safe, fast, small crypto using Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fuchsia AAarch64: Use SHA512 acceleration instructions

briansmith opened this issue · comments

See https://fuchsia.googlesource.com/fuchsia/+/66208a41ba8a8d9a2ad1049e6a3ac34a52d6f9da

  • Use the new name ZX_ARM64_FEATURE_ISA_SHA256 instead of the old name ZX_ARM64_FEATURE_ISA_SHA2 for SHA-256.
  • Use the feature flag ZX_ARM64_FEATURE_ISA_SHA512 ((uint32_t)(1u << 18)) to detect SHA-512.