Skip to content

Commit

Permalink
Merge pull request #651 from ikvmnet/reorgaes
Browse files Browse the repository at this point in the history
Organize and comment on AES implementations.
  • Loading branch information
wasabii authored Jan 18, 2025
2 parents 6f6d70d + e04d0fb commit 2c0baab
Show file tree
Hide file tree
Showing 15 changed files with 974 additions and 799 deletions.
10 changes: 5 additions & 5 deletions src/IKVM.Java/map.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@
<ldarg_0 />
<ldfld class="com.sun.crypto.provider.AESCrypt" name="K" sig="[I" />
<!-- bool AESCrypt.DecryptBlock(byte[] in, int inOffset, byte[] out, int outOffset, int[] K) -->
<call type="IKVM.Java.Externs.com.sun.crypto.provider.AESCrypt" name="DecryptBlock" sig="([BI[BI[I)Z" />
<call type="IKVM.Runtime.Util.Com.Sun.Crypto.Provider.AESCrypt" name="DecryptBlock" sig="([BI[BI[I)Z" />
<brfalse name="continue" />
<ret />
<label name="continue" />
Expand All @@ -1663,7 +1663,7 @@
<ldarg_0 />
<ldfld class="com.sun.crypto.provider.AESCrypt" name="K" sig="[I" />
<!-- bool AESCrypt.EncryptBlock(byte[] in, int inOffset, byte[] out, int outOffset, int[] K) -->
<call type="IKVM.Java.Externs.com.sun.crypto.provider.AESCrypt" name="EncryptBlock" sig="([BI[BI[I)Z" />
<call type="IKVM.Runtime.Util.Com.Sun.Crypto.Provider.AESCrypt" name="EncryptBlock" sig="([BI[BI[I)Z" />
<brfalse name="continue" />
<ret />
<label name="continue" />
Expand All @@ -1679,7 +1679,7 @@
<ldarg_3 />
<ldarg_s argNum="4" />
<!-- bool GHASH.ProcessBlocks(byte[] data, int inOffs, int blocks, long[] state, long[] subH) -->
<call type="IKVM.Java.Externs.com.sun.crypto.provider.GHASH" name="ProcessBlocks" sig="([BII[J[J)Z" />
<call type="IKVM.Runtime.Util.Com.Sun.Crypto.Provider.GHASH" name="ProcessBlocks" sig="([BII[J[J)Z" />
<brfalse name="continue" />
<ret />
<label name="continue" />
Expand All @@ -1696,7 +1696,7 @@
<ldarg_s argNum="4" />
<ldarg_s argNum="5" />
<!-- bool CipherBlockChaining.DecryptAESCrypt(object self, byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset, ) -->
<call type="IKVM.Java.Externs.com.sun.crypto.provider.CipherBlockChaining" name="DecryptAESCrypt" sig="(Ljava.lang.Object;[BII[BI)Z" />
<call type="IKVM.Runtime.Util.Com.Sun.Crypto.Provider.CipherBlockChaining" name="DecryptAESCrypt" sig="(Ljava.lang.Object;[BII[BI)Z" />
<brfalse name="continue" />
<ldarg_3 />
<ret />
Expand All @@ -1712,7 +1712,7 @@
<ldarg_s argNum="4" />
<ldarg_s argNum="5" />
<!-- bool CipherBlockChaining.EncryptAESCrypt(object self, byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) -->
<call type="IKVM.Java.Externs.com.sun.crypto.provider.CipherBlockChaining" name="EncryptAESCrypt" sig="(Ljava.lang.Object;[BII[BI)Z" />
<call type="IKVM.Runtime.Util.Com.Sun.Crypto.Provider.CipherBlockChaining" name="EncryptAESCrypt" sig="(Ljava.lang.Object;[BII[BI)Z" />
<brfalse name="continue" />
<ldarg_3 />
<ret />
Expand Down
163 changes: 0 additions & 163 deletions src/IKVM.Runtime/Java/Externs/com/sun/crypto/provider/AESCrypt.X86.cs

This file was deleted.

37 changes: 0 additions & 37 deletions src/IKVM.Runtime/Java/Externs/com/sun/crypto/provider/AESCrypt.cs

This file was deleted.

Loading

0 comments on commit 2c0baab

Please sign in to comment.