mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
- Major change: Errors are now positive numbers instead of negative.
Reason: You cannot OR negative values correctly
This commit is contained in:
parent
1e27bb24bc
commit
b5bf176f4c
7 changed files with 90 additions and 90 deletions
|
|
@ -24,12 +24,12 @@
|
|||
|
||||
#include "polarssl/bignum.h"
|
||||
|
||||
#define POLARSSL_ERR_DHM_BAD_INPUT_DATA -0x0480
|
||||
#define POLARSSL_ERR_DHM_READ_PARAMS_FAILED -0x0490
|
||||
#define POLARSSL_ERR_DHM_MAKE_PARAMS_FAILED -0x04A0
|
||||
#define POLARSSL_ERR_DHM_READ_PUBLIC_FAILED -0x04B0
|
||||
#define POLARSSL_ERR_DHM_MAKE_PUBLIC_FAILED -0x04C0
|
||||
#define POLARSSL_ERR_DHM_CALC_SECRET_FAILED -0x04D0
|
||||
#define POLARSSL_ERR_DHM_BAD_INPUT_DATA 0x0480
|
||||
#define POLARSSL_ERR_DHM_READ_PARAMS_FAILED 0x0490
|
||||
#define POLARSSL_ERR_DHM_MAKE_PARAMS_FAILED 0x04A0
|
||||
#define POLARSSL_ERR_DHM_READ_PUBLIC_FAILED 0x04B0
|
||||
#define POLARSSL_ERR_DHM_MAKE_PUBLIC_FAILED 0x04C0
|
||||
#define POLARSSL_ERR_DHM_CALC_SECRET_FAILED 0x04D0
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue