Hi all,
I'm using and ST implementation of mbedtls hash functions.
When it calls the finish function, the ST implementation calls a Accumulate for 
the remain bytes and I got an assert because the length is not multiple of 4
as from the ST's documentation:
  *         The input buffer size (in bytes) must be a multiple of 4 otherwise, 
the
  *         HASH digest computation is corrupted. Only HAL_HASH_SHA1_Start() is 
able
  *         to manage the ending buffer with a length in bytes not a multiple 
of 4.

I was trying to understand from SNMP v3 if there was something related with the 
size of data.
In any case and meanwhile, could you point me how do I get a multiple of 4 size 
to test the code?

Mario Luzeiro
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to