src/java.base/share/classes/com/sun/crypto/provider/GHASH.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/java.base/share/classes/com/sun/crypto/provider/GHASH.java Fri Jun 26 17:30:20 2015
--- new/src/java.base/share/classes/com/sun/crypto/provider/GHASH.java Fri Jun 26 17:30:19 2015
*** 29,38 ****
--- 29,40 ----
package com.sun.crypto.provider;
import java.security.ProviderException;
+ import jdk.internal.HotSpotIntrinsicCandidate;
+
/**
* This class represents the GHASH function defined in NIST 800-38D
* under section 6.4. It needs to be constructed w/ a hash subkey, i.e.
* block H. Given input of 128-bit blocks, it will process and output
* a 128-bit block.
*** 225,234 ****
--- 227,237 ----
/*
* This is an intrinsified method. The method's argument list must match
* the hotspot signature. This method and methods called by it, cannot
* throw exceptions or allocate arrays as it will breaking intrinsics
*/
+ @HotSpotIntrinsicCandidate
private static void processBlocks(byte[] data, int inOfs, int blocks, long[] st, long[] subH) {
int offset = inOfs;
while (blocks > 0) {
processBlock(data, offset, st, subH);
blocks--;
src/java.base/share/classes/com/sun/crypto/provider/GHASH.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File