mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Increase MPI_MAX_BYTES to allow RSA 8192
This commit is contained in:
parent
5a5fa92bfe
commit
da1b4de0e4
6 changed files with 10 additions and 8 deletions
|
|
@ -90,7 +90,7 @@ typedef UINT64 uint64_t;
|
|||
* Note: Calculations can results temporarily in larger MPIs. So the number
|
||||
* of limbs required (POLARSSL_MPI_MAX_LIMBS) is higher.
|
||||
*/
|
||||
#define POLARSSL_MPI_MAX_SIZE 512 /**< Maximum number of bytes for usable MPIs. */
|
||||
#define POLARSSL_MPI_MAX_SIZE 1024 /**< Maximum number of bytes for usable MPIs. */
|
||||
#endif /* !POLARSSL_MPI_MAX_SIZE */
|
||||
|
||||
#define POLARSSL_MPI_MAX_BITS ( 8 * POLARSSL_MPI_MAX_SIZE ) /**< Maximum number of bits for usable MPIs. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue