8288047: Accelerate Poly1305 on x86_64 using AVX512 instructions

Reviewed-by: sviswanathan, vlivanov
This commit is contained in:
Volodymyr Paprotski 2022-11-21 21:01:25 +00:00 committed by Sandhya Viswanathan
parent cd6a203a3e
commit f12710e938
32 changed files with 1857 additions and 36 deletions

View file

@ -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.
*

View file

@ -626,6 +626,10 @@ public abstract sealed class IntegerPolynomial implements IntegerFieldModuloP
}
limbsToByteArray(limbs, result);
}
public long[] getLimbs() {
return limbs;
}
}
protected class MutableElement extends Element