wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.36k stars 834 forks source link

/dev/crypto auth error fix/adjustment for benchmark #8210

Open night1rider opened 6 hours ago

night1rider commented 6 hours ago

When configuring wolfSSL to use /dev/crypto and running our benchmark tool, GMAC benchmarks will throw the -265 error code after calling this line.

This is because is due to this line in /dev/crypto driver.

This PR adds better debugging and will set size when running GMAC to that of the system's page size. It also allows for an override for this size by setting the macro WOLFSSL_AUTHSZ_BENCH