licel / jcardsim

https://jcardsim.org
222 stars 123 forks source link

Support AES_CTR Cipher and add proxy tests for checking not implemented #190

Closed pongpet-licel closed 2 years ago

pongpet-licel commented 2 years ago

Use bouncycastle SICBlockCipher as Block cipher for AES_CTR implementation https://www.javadoc.io/static/org.bouncycastle/bcprov-jdk18on/1.71/org/bouncycastle/crypto/modes/SICBlockCipher.html

Use test vectors from NIST (sp800-38a), Appendix F.5 CTR Example Vectors

Add CipherProxyTest, SignatureProxyTest and MessageDigestTest to check and print out not implemented modules, excluding deprecated