1

(1 replies, posted in wolfCrypt)

Hi,

I have:
PIC32MZ EF Starter Kit w/Crypto Engine (P/N: DM320007-C)
MPLAB X IDE v3.65
XC32 v1.42

wolfSSL 3.11.0 - couldn't compile it after many tries...
wolfSSL 3.12.0 - lots of warnings about optimization levels not supported and such but it does compile and the test runs halfway through, the result is this:


WolfCrypt Test:
error    test passed!
base64   test passed!
MD5      test passed!
SHA      test passed!
SHA-256  test passed!
SHA-384  test passed!
SHA-512  test passed!
Hash     test passed!
HMAC-MD5 test passed!
HMAC-SHA test passed!
HMAC-SHA256 test passed!
HMAC-SHA384 test passed!
HMAC-SHA512 test passed!
GMAC     test passed!
DES      test passed!
DES3     test passed!
AES      test passed!
AES192   test passed!
AES256   test passed!
AES-GCM  test passed!
AES-CCM  test passed!
RANDOM   test passed!
GetLength value exceeds buffer length
GetLength value exceeds buffer length
GetLength value exceeds buffer length
wc_SignatureGetSize: Invalid RsaKey key size
RSA Signature Verify difference!
wolfSSL Using RSA OAEP padding
wolfSSL Using RSA OAEP un-padding

then some error number and it exits. Any suggestions where should i start looking? I only need SHA1 and RSA, my luck that of course it dies out at RSA....

The HW Crypto can only do the SHA, not the RSA right?