Skip to content

Add more Hotspot HW intrinsics for hashing and BigInteger #652

Description

@AliveDevil

With #390 completed, all of the cryptography algorithms are hardware accelerated.
There's a bunch of hashing algorithms, that are hardware accelerated on Hotspot, but aren't on IKVM:

  • Crc32 (Aarch64, X86_32)
  • Sha1 (Aarch64)
  • Sha256 (Aarch64)

Some java.math.BigInteger improvements:

  • MultiplyToLen
  • SquareToLen
  • MontgomeryMultiply
  • MontgomerySquare

In library_call.cpp are all usages of these intrinsics specified, e.g. inline_digestBase_implCompressMB is used for SHA1, SHA256, SHA512 intrinsics.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions