mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Add mbedtls_asn1_write_len() support for 3 and 4 byte lengths
As a consequence also adds coverage for reading 3 and 4 byte lengths (which were not covered before)
This commit is contained in:
committed by
Simon Butcher
parent
5e8b77cd8c
commit
c7d6bd4b5f
@ -40,8 +40,6 @@ extern "C" {
|
||||
* \param start start of the buffer (for bounds-checking)
|
||||
* \param len the length to write
|
||||
*
|
||||
* \note lengths over 65535 are not supported at the moment
|
||||
*
|
||||
* \return the length written or a negative error code
|
||||
*/
|
||||
int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len );
|
||||
|
Reference in New Issue
Block a user