Skip to content

Enhanced HMAC handling, bugfixes in secure channel support

Latest
Compare
Choose a tag to compare
@PThierry PThierry released this 05 Sep 12:11
· 35 commits to master since this release

[bugfixes]

  • Bugfix in secure channel APDU encryption (missing offset)
  • Bugfix in AES CBC mode where doFinal must be calle in place of Update because of potential buffering yielding in bad result + check in AES when inputbuffer == outputffer and overlapping buffers (see Javacard API)
  • Use non overlapping buffer when encrypting data in get_key

[enhancements]

  • Better handling of native versus non-native HMAC + explicit warnings to the end user
  • Remove transaction when constructing persistent objects since some Javacards do not support this well
  • Remove DEBUG mode in the WooKey class since it is not necessary in production