1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Add ecdsa_{read,write}_signature()

This commit is contained in:
Manuel Pégourié-Gonnard
2013-08-08 13:30:57 +02:00
parent 5a8a62ce1c
commit b694b4896c
6 changed files with 206 additions and 3 deletions

View File

@ -1146,7 +1146,7 @@ cleanup:
* (that is: grp->nbits / w + 1)
* Allow p_bits + 1 bits in case M = grp->N + 1 is one bit longer than N.
*/
#define MAX_NAF_LEN ( POLARSSL_ECP_MAX_N_BITS / 2 + 1 )
#define MAX_NAF_LEN ( POLARSSL_ECP_MAX_BITS / 2 + 1 )
/*
* Integer multiplication: R = m * P