config_asm.h had goodness like this:

  #if defined(__ANDROID__) || defined(ANDROID)
  # undef CRYPTOPP_ARM_ACLE_HEADER
  #endif

The ACLE hack is a workarounds from old NDKs that depended on GCC 4.8 and 
4.9. The old GCC sources did not include the header.

Another hack from the old days was this. It dates back to a time when the 
hardware compatibility list did not specify advanced ISA and the toolchain 
left out the support.

  #if defined(__ANDROID__) || defined(ANDROID)
  # undef CRYPTOPP_ARM_CRC32_AVAILABLE
  # undef CRYPTOPP_ARM_PMULL_AVAILABLE
  # undef CRYPTOPP_ARM_AES_AVAILABLE
  # undef CRYPTOPP_ARM_SHA1_AVAILABLE
  # undef CRYPTOPP_ARM_SHA2_AVAILABLE
  #endif

Nowadays, the hardware compatibility list no longer has the limitations. 
And the latest NDKs and toolchains support the ISAs.

We made the changes at https://github.com/weidai11/cryptopp/issues/1015.

Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/d76a7c38-4a29-46da-83de-4227cc160b6bn%40googlegroups.com.

Reply via email to