1 (edited by meobeou 2019-01-07 19:47:25)

Topic: 64MB is limited with SHA* functions ?

I'm experiencing a weird problem getting bad SHA digests on file larger than 64MB

The attached (small) sample code basically do a Init, Update loop and Finalize over a file.

Everything is running fine (aka, digests are ok) till checked file is larger than 64MB.

Behavior occurs at least with SHA1, SHA256, both on windows and linux, using wolfssl 2.0.8 embedded ssl.

Did I missed something?

Thanks

Lee!

Share

Re: 64MB is limited with SHA* functions ?

Hi meobeou,

I ran some test with our sha algortihm and can find no such limiting factor. Can you share your application code for review? We suspect the issue is likely at the application level.

Can you tell us a bit about what you are working on and which organization you represent?

Warm Regards,

K