[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] snmpv3 - issue with size when call mbedtls_xxx_finish
From: |
Mário Luzeiro |
Subject: |
[lwip-users] snmpv3 - issue with size when call mbedtls_xxx_finish |
Date: |
Thu, 26 Sep 2019 14:41:28 +0000 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] snmpv3 - issue with size when call mbedtls_xxx_finish,
Mário Luzeiro <=