mbed TLS v2.2.0
|
The RSA public-key cryptosystem.
Copyright (C) 2006-2015, ARM Limited, All Rights Reserved SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This file is part of mbed TLS (https://tls.mbed.org)
Definition in file rsa.h.
Go to the source code of this file.
Macros | |
#define | MBEDTLS_ERR_RSA_BAD_INPUT_DATA -0x4080 |
Bad input parameters to function. More... | |
#define | MBEDTLS_ERR_RSA_INVALID_PADDING -0x4100 |
Input data contains invalid padding and is rejected. More... | |
#define | MBEDTLS_ERR_RSA_KEY_GEN_FAILED -0x4180 |
Something failed during generation of a key. More... | |
#define | MBEDTLS_ERR_RSA_KEY_CHECK_FAILED -0x4200 |
Key failed to pass the library's validity check. More... | |
#define | MBEDTLS_ERR_RSA_PUBLIC_FAILED -0x4280 |
The public key operation failed. More... | |
#define | MBEDTLS_ERR_RSA_PRIVATE_FAILED -0x4300 |
The private key operation failed. More... | |
#define | MBEDTLS_ERR_RSA_VERIFY_FAILED -0x4380 |
The PKCS#1 verification failed. More... | |
#define | MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE -0x4400 |
The output buffer for decryption is not large enough. More... | |
#define | MBEDTLS_ERR_RSA_RNG_FAILED -0x4480 |
The random generator failed to generate non-zeros. More... | |
#define | MBEDTLS_RSA_PUBLIC 0 |
#define | MBEDTLS_RSA_PRIVATE 1 |
#define | MBEDTLS_RSA_PKCS_V15 0 |
#define | MBEDTLS_RSA_PKCS_V21 1 |
#define | MBEDTLS_RSA_SIGN 1 |
#define | MBEDTLS_RSA_CRYPT 2 |
#define | MBEDTLS_RSA_SALT_LEN_ANY -1 |
#define MBEDTLS_ERR_RSA_BAD_INPUT_DATA -0x4080 |
#define MBEDTLS_ERR_RSA_INVALID_PADDING -0x4100 |
#define MBEDTLS_ERR_RSA_KEY_CHECK_FAILED -0x4200 |
#define MBEDTLS_ERR_RSA_KEY_GEN_FAILED -0x4180 |
#define MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE -0x4400 |
#define MBEDTLS_ERR_RSA_PRIVATE_FAILED -0x4300 |
#define MBEDTLS_ERR_RSA_PUBLIC_FAILED -0x4280 |
#define MBEDTLS_ERR_RSA_RNG_FAILED -0x4480 |
#define MBEDTLS_ERR_RSA_VERIFY_FAILED -0x4380 |