mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8288047: Accelerate Poly1305 on x86_64 using AVX512 instructions
Reviewed-by: sviswanathan, vlivanov
This commit is contained in:
parent
cd6a203a3e
commit
f12710e938
32 changed files with 1857 additions and 36 deletions
|
@ -153,6 +153,11 @@ public interface IntegerModuloP {
|
|||
*/
|
||||
void asByteArray(byte[] result);
|
||||
|
||||
/**
|
||||
* Break encapsulation, used for IntrinsicCandidate functions
|
||||
*/
|
||||
long[] getLimbs();
|
||||
|
||||
/**
|
||||
* Compute the multiplicative inverse of this field element.
|
||||
*
|
||||
|
|
|
@ -626,6 +626,10 @@ public abstract sealed class IntegerPolynomial implements IntegerFieldModuloP
|
|||
}
|
||||
limbsToByteArray(limbs, result);
|
||||
}
|
||||
|
||||
public long[] getLimbs() {
|
||||
return limbs;
|
||||
}
|
||||
}
|
||||
|
||||
protected class MutableElement extends Element
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue