1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +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

@ -126,9 +126,10 @@ ecp_keypair;
#define POLARSSL_ECP_DP_SECP521R1 25
/**
* Maximum bit size of the groups (that is, of N)
* Maximum size of the groups (that is, of N and P)
*/
#define POLARSSL_ECP_MAX_N_BITS 521
#define POLARSSL_ECP_MAX_BITS 521
#define POLARSSL_ECP_MAX_BYTES ( ( POLARSSL_ECP_MAX_BITS + 7 ) / 8 )
/*
* Maximum window size (actually, NAF width) used for point multipliation.