mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +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,14 +24,14 @@
|
|||
|
||||
#include "polarssl/bignum.h"
|
||||
|
||||
#define POLARSSL_ERR_RSA_BAD_INPUT_DATA -0x0400
|
||||
#define POLARSSL_ERR_RSA_INVALID_PADDING -0x0410
|
||||
#define POLARSSL_ERR_RSA_KEY_GEN_FAILED -0x0420
|
||||
#define POLARSSL_ERR_RSA_KEY_CHECK_FAILED -0x0430
|
||||
#define POLARSSL_ERR_RSA_PUBLIC_FAILED -0x0440
|
||||
#define POLARSSL_ERR_RSA_PRIVATE_FAILED -0x0450
|
||||
#define POLARSSL_ERR_RSA_VERIFY_FAILED -0x0460
|
||||
#define POLARSSL_ERR_RSA_OUTPUT_TO_LARGE -0x0470
|
||||
#define POLARSSL_ERR_RSA_BAD_INPUT_DATA 0x0400
|
||||
#define POLARSSL_ERR_RSA_INVALID_PADDING 0x0410
|
||||
#define POLARSSL_ERR_RSA_KEY_GEN_FAILED 0x0420
|
||||
#define POLARSSL_ERR_RSA_KEY_CHECK_FAILED 0x0430
|
||||
#define POLARSSL_ERR_RSA_PUBLIC_FAILED 0x0440
|
||||
#define POLARSSL_ERR_RSA_PRIVATE_FAILED 0x0450
|
||||
#define POLARSSL_ERR_RSA_VERIFY_FAILED 0x0460
|
||||
#define POLARSSL_ERR_RSA_OUTPUT_TO_LARGE 0x0470
|
||||
|
||||
/*
|
||||
* PKCS#1 constants
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue