mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-11-15 15:21:08 +03:00
Merge pull request #1428 from Mbed-TLS/mbedtls-3.6.5rc0-pr
Mbedtls 3.6.5RC
This commit is contained in:
@@ -108,7 +108,7 @@ The following branches are currently maintained:
|
|||||||
- [`development`](https://github.com/Mbed-TLS/mbedtls/)
|
- [`development`](https://github.com/Mbed-TLS/mbedtls/)
|
||||||
- [`mbedtls-3.6`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-3.6)
|
- [`mbedtls-3.6`](https://github.com/Mbed-TLS/mbedtls/tree/mbedtls-3.6)
|
||||||
maintained until March 2027, see
|
maintained until March 2027, see
|
||||||
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.6.3>.
|
<https://github.com/Mbed-TLS/mbedtls/releases/tag/v3.6.5>.
|
||||||
|
|
||||||
> Note: [**`mbedtls-2.28.10`**](https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.10)
|
> Note: [**`mbedtls-2.28.10`**](https://github.com/Mbed-TLS/mbedtls/releases/tag/v2.28.10)
|
||||||
is the last release of the 2.28 LTS and won't receive bug fixes or security fixes anymore.
|
is the last release of the 2.28 LTS and won't receive bug fixes or security fixes anymore.
|
||||||
|
|||||||
@@ -40,12 +40,12 @@ cmake_policy(SET CMP0012 NEW)
|
|||||||
if(TEST_CPP)
|
if(TEST_CPP)
|
||||||
project("Mbed TLS"
|
project("Mbed TLS"
|
||||||
LANGUAGES C CXX
|
LANGUAGES C CXX
|
||||||
VERSION 3.6.4
|
VERSION 3.6.5
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
project("Mbed TLS"
|
project("Mbed TLS"
|
||||||
LANGUAGES C
|
LANGUAGES C
|
||||||
VERSION 3.6.4
|
VERSION 3.6.5
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ if(CMAKE_HOST_WIN32)
|
|||||||
# CMakeLists.txt.
|
# CMakeLists.txt.
|
||||||
option(GEN_FILES "Generate the auto-generated files as needed" OFF) # off in development
|
option(GEN_FILES "Generate the auto-generated files as needed" OFF) # off in development
|
||||||
else()
|
else()
|
||||||
option(GEN_FILES "Generate the auto-generated files as needed" ON)
|
option(GEN_FILES "Generate the auto-generated files as needed" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(DISABLE_PACKAGE_CONFIG_AND_INSTALL "Disable package configuration, target export and installation" ${MBEDTLS_AS_SUBPROJECT})
|
option(DISABLE_PACKAGE_CONFIG_AND_INSTALL "Disable package configuration, target export and installation" ${MBEDTLS_AS_SUBPROJECT})
|
||||||
@@ -476,7 +476,7 @@ if(NOT DISABLE_PACKAGE_CONFIG_AND_INSTALL)
|
|||||||
write_basic_package_version_file(
|
write_basic_package_version_file(
|
||||||
"cmake/MbedTLSConfigVersion.cmake"
|
"cmake/MbedTLSConfigVersion.cmake"
|
||||||
COMPATIBILITY SameMajorVersion
|
COMPATIBILITY SameMajorVersion
|
||||||
VERSION 3.6.4)
|
VERSION 3.6.5)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake/MbedTLSConfig.cmake"
|
FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake/MbedTLSConfig.cmake"
|
||||||
|
|||||||
43
ChangeLog
43
ChangeLog
@@ -1,5 +1,48 @@
|
|||||||
Mbed TLS ChangeLog (Sorted per branch, date)
|
Mbed TLS ChangeLog (Sorted per branch, date)
|
||||||
|
|
||||||
|
= Mbed TLS 3.6.5 branch released 2025-10-15
|
||||||
|
|
||||||
|
API changes
|
||||||
|
* When building the library as a PSA client (MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
enabled and MBEDTLS_PSA_CRYPTO_C disabled), you need to provide the
|
||||||
|
function psa_can_do_cipher() in addition to psa_can_do_hash(). This
|
||||||
|
changed was made in Mbed TLS 3.6.0 but was not announced then.
|
||||||
|
|
||||||
|
Features
|
||||||
|
* The new function mbedtls_cipher_finish_padded() is similar to
|
||||||
|
mbedtls_cipher_finish(), but makes it easier to process invalid-padding
|
||||||
|
conditions in constant time.
|
||||||
|
|
||||||
|
Security
|
||||||
|
* Fix a timing side channel in CBC-PKCS7 decryption that could
|
||||||
|
allow an attacker who can submit chosen ciphertexts to recover
|
||||||
|
some plaintexts through a timing-based padding oracle attack.
|
||||||
|
Credits to Beat Heeb from Oberon microsystems AG. CVE-2025-59438
|
||||||
|
* Fix a local timing side-channel in modular inversion and GCD that was
|
||||||
|
exploitable in RSA key generation and other RSA operations (see the full
|
||||||
|
advisory for details), allowing a local attacker to fully recover the
|
||||||
|
private key. This can be exploited on some Arm-v9 CPUs by an unprivileged
|
||||||
|
attacker running code on the same core (SSBleed), or when Trustzone-M is
|
||||||
|
used, by the non-secure side abusing timer interrupts (M-Step), and
|
||||||
|
probably in other similar settings as well. Found and reported
|
||||||
|
independently by: SSBleed: Chang Liu (Tsinghua University) and Trevor E.
|
||||||
|
Carlson (National University of Singapore); M-Step: Cristiano Rodrigues
|
||||||
|
(University of Minho), Marton Bognar (DistriNet, KU Leuven), Sandro Pinto
|
||||||
|
(University of Minho), Jo Van Bulck (DistriNet, KU Leuven). CVE-2025-54764
|
||||||
|
|
||||||
|
Bugfix
|
||||||
|
* Fix potential CMake parallel build failure when building both the static
|
||||||
|
and shared libraries.
|
||||||
|
* Fix a build error or incorrect TLS session
|
||||||
|
lifetime on platforms where mbedtls_time_t
|
||||||
|
is not time_t. Fixes #10236.
|
||||||
|
|
||||||
|
Changes
|
||||||
|
* The function mbedtls_mpi_gcd() now always gives a non-negative output.
|
||||||
|
Previously the output was negative when B = 0 and A < 0, which was not
|
||||||
|
documented, and inconsistent as all other inputs resulted in a non-negative
|
||||||
|
output.
|
||||||
|
|
||||||
= Mbed TLS 3.6.4 branch released 2025-06-30
|
= Mbed TLS 3.6.4 branch released 2025-06-30
|
||||||
|
|
||||||
Features
|
Features
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix potential CMake parallel build failure when building both the static
|
|
||||||
and shared libraries.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
API changes
|
|
||||||
* When building the library as a PSA client (MBEDTLS_PSA_CRYPTO_CLIENT
|
|
||||||
enabled and MBEDTLS_PSA_CRYPTO_C disabled), you need to provide the
|
|
||||||
function psa_can_do_cipher() in addition to psa_can_do_hash(). This
|
|
||||||
changed was made in Mbed TLS 3.6.0 but was not announced then.
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
Bugfix
|
|
||||||
* Fix a build error or incorrect TLS session
|
|
||||||
lifetime on platforms where mbedtls_time_t
|
|
||||||
is not time_t. Fixes #10236.
|
|
||||||
2
Makefile
2
Makefile
@@ -71,7 +71,7 @@ generated_files: visualc_files
|
|||||||
# that lacks some of the necessary tools to re-generate the files.
|
# that lacks some of the necessary tools to re-generate the files.
|
||||||
# If $(GEN_FILES) is non-empty, the generated source files' dependencies
|
# If $(GEN_FILES) is non-empty, the generated source files' dependencies
|
||||||
# are treated ordinarily, based on file timestamps.
|
# are treated ordinarily, based on file timestamps.
|
||||||
GEN_FILES ?= yes
|
GEN_FILES ?=
|
||||||
|
|
||||||
# In dependencies where the target is a configuration-independent generated
|
# In dependencies where the target is a configuration-independent generated
|
||||||
# file, use `TARGET: $(gen_file_dep) DEPENDENCY1 DEPENDENCY2 ...`
|
# file, use `TARGET: $(gen_file_dep) DEPENDENCY1 DEPENDENCY2 ...`
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @mainpage Mbed TLS v3.6.4 API Documentation
|
* @mainpage Mbed TLS v3.6.5 API Documentation
|
||||||
*
|
*
|
||||||
* This documentation describes the internal structure of Mbed TLS. It was
|
* This documentation describes the internal structure of Mbed TLS. It was
|
||||||
* automatically generated from specially formatted comment blocks in
|
* automatically generated from specially formatted comment blocks in
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
PROJECT_NAME = "Mbed TLS v3.6.4"
|
PROJECT_NAME = "Mbed TLS v3.6.5"
|
||||||
OUTPUT_DIRECTORY = ../apidoc/
|
OUTPUT_DIRECTORY = ../apidoc/
|
||||||
FULL_PATH_NAMES = NO
|
FULL_PATH_NAMES = NO
|
||||||
OPTIMIZE_OUTPUT_FOR_C = YES
|
OPTIMIZE_OUTPUT_FOR_C = YES
|
||||||
|
|||||||
Submodule framework updated: bf53c3d027...4579964747
@@ -974,6 +974,7 @@ int mbedtls_mpi_random(mbedtls_mpi *X,
|
|||||||
* \brief Compute the greatest common divisor: G = gcd(A, B)
|
* \brief Compute the greatest common divisor: G = gcd(A, B)
|
||||||
*
|
*
|
||||||
* \param G The destination MPI. This must point to an initialized MPI.
|
* \param G The destination MPI. This must point to an initialized MPI.
|
||||||
|
* This will always be positive or 0.
|
||||||
* \param A The first operand. This must point to an initialized MPI.
|
* \param A The first operand. This must point to an initialized MPI.
|
||||||
* \param B The second operand. This must point to an initialized MPI.
|
* \param B The second operand. This must point to an initialized MPI.
|
||||||
*
|
*
|
||||||
@@ -988,10 +989,12 @@ int mbedtls_mpi_gcd(mbedtls_mpi *G, const mbedtls_mpi *A,
|
|||||||
* \brief Compute the modular inverse: X = A^-1 mod N
|
* \brief Compute the modular inverse: X = A^-1 mod N
|
||||||
*
|
*
|
||||||
* \param X The destination MPI. This must point to an initialized MPI.
|
* \param X The destination MPI. This must point to an initialized MPI.
|
||||||
|
* The value returned on success will be between [1, N-1].
|
||||||
* \param A The MPI to calculate the modular inverse of. This must point
|
* \param A The MPI to calculate the modular inverse of. This must point
|
||||||
* to an initialized MPI.
|
* to an initialized MPI. This value can be negative, in which
|
||||||
|
* case a positive answer will still be returned in \p X.
|
||||||
* \param N The base of the modular inversion. This must point to an
|
* \param N The base of the modular inversion. This must point to an
|
||||||
* initialized MPI.
|
* initialized MPI and be greater than one.
|
||||||
*
|
*
|
||||||
* \return \c 0 if successful.
|
* \return \c 0 if successful.
|
||||||
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
||||||
|
|||||||
@@ -26,16 +26,16 @@
|
|||||||
*/
|
*/
|
||||||
#define MBEDTLS_VERSION_MAJOR 3
|
#define MBEDTLS_VERSION_MAJOR 3
|
||||||
#define MBEDTLS_VERSION_MINOR 6
|
#define MBEDTLS_VERSION_MINOR 6
|
||||||
#define MBEDTLS_VERSION_PATCH 4
|
#define MBEDTLS_VERSION_PATCH 5
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The single version number has the following structure:
|
* The single version number has the following structure:
|
||||||
* MMNNPP00
|
* MMNNPP00
|
||||||
* Major version | Minor version | Patch version
|
* Major version | Minor version | Patch version
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_VERSION_NUMBER 0x03060400
|
#define MBEDTLS_VERSION_NUMBER 0x03060500
|
||||||
#define MBEDTLS_VERSION_STRING "3.6.4"
|
#define MBEDTLS_VERSION_STRING "3.6.5"
|
||||||
#define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 3.6.4"
|
#define MBEDTLS_VERSION_STRING_FULL "Mbed TLS 3.6.5"
|
||||||
|
|
||||||
/* Macros for build-time platform detection */
|
/* Macros for build-time platform detection */
|
||||||
|
|
||||||
|
|||||||
@@ -329,8 +329,15 @@ typedef struct mbedtls_cipher_context_t {
|
|||||||
/** Padding functions to use, if relevant for
|
/** Padding functions to use, if relevant for
|
||||||
* the specific cipher mode.
|
* the specific cipher mode.
|
||||||
*/
|
*/
|
||||||
void(*MBEDTLS_PRIVATE(add_padding))(unsigned char *output, size_t olen, size_t data_len);
|
void(*MBEDTLS_PRIVATE(add_padding))(unsigned char *output, size_t olen,
|
||||||
int(*MBEDTLS_PRIVATE(get_padding))(unsigned char *input, size_t ilen, size_t *data_len);
|
size_t data_len);
|
||||||
|
/* Report invalid-padding condition through the output parameter
|
||||||
|
* invalid_padding. To minimize changes in Mbed TLS 3.6, where this
|
||||||
|
* declaration is in a public header, use the public type size_t
|
||||||
|
* rather than the internal type mbedtls_ct_condition_t. */
|
||||||
|
int(*MBEDTLS_PRIVATE(get_padding))(unsigned char *input, size_t ilen,
|
||||||
|
size_t *data_len,
|
||||||
|
size_t *invalid_padding);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Buffer for input that has not been processed yet. */
|
/** Buffer for input that has not been processed yet. */
|
||||||
@@ -878,23 +885,24 @@ int mbedtls_cipher_set_iv(mbedtls_cipher_context_t *ctx,
|
|||||||
*
|
*
|
||||||
* \note With non-AEAD ciphers, the order of calls for each message
|
* \note With non-AEAD ciphers, the order of calls for each message
|
||||||
* is as follows:
|
* is as follows:
|
||||||
* 1. mbedtls_cipher_set_iv() if the mode uses an IV/nonce.
|
* 1. mbedtls_cipher_set_iv() if the mode uses an IV/nonce;
|
||||||
* 2. mbedtls_cipher_reset()
|
* 2. mbedtls_cipher_reset();
|
||||||
* 3. mbedtls_cipher_update() one or more times
|
* 3. mbedtls_cipher_update() zero, one or more times;
|
||||||
* 4. mbedtls_cipher_finish()
|
* 4. mbedtls_cipher_finish_padded() (recommended for decryption
|
||||||
|
* if the mode uses padding) or mbedtls_cipher_finish().
|
||||||
* .
|
* .
|
||||||
* This sequence can be repeated to encrypt or decrypt multiple
|
* This sequence can be repeated to encrypt or decrypt multiple
|
||||||
* messages with the same key.
|
* messages with the same key.
|
||||||
*
|
*
|
||||||
* \note With AEAD ciphers, the order of calls for each message
|
* \note With AEAD ciphers, the order of calls for each message
|
||||||
* is as follows:
|
* is as follows:
|
||||||
* 1. mbedtls_cipher_set_iv() if the mode uses an IV/nonce.
|
* 1. mbedtls_cipher_set_iv() if the mode uses an IV/nonce;
|
||||||
* 2. mbedtls_cipher_reset()
|
* 2. mbedtls_cipher_reset();
|
||||||
* 3. mbedtls_cipher_update_ad()
|
* 3. mbedtls_cipher_update_ad();
|
||||||
* 4. mbedtls_cipher_update() one or more times
|
* 4. mbedtls_cipher_update() zero, one or more times;
|
||||||
* 5. mbedtls_cipher_finish()
|
* 5. mbedtls_cipher_finish() (or mbedtls_cipher_finish_padded());
|
||||||
* 6. mbedtls_cipher_check_tag() (for decryption) or
|
* 6. mbedtls_cipher_check_tag() (for decryption) or
|
||||||
* mbedtls_cipher_write_tag() (for encryption).
|
* mbedtls_cipher_write_tag() (for encryption).
|
||||||
* .
|
* .
|
||||||
* This sequence can be repeated to encrypt or decrypt multiple
|
* This sequence can be repeated to encrypt or decrypt multiple
|
||||||
* messages with the same key.
|
* messages with the same key.
|
||||||
@@ -930,7 +938,8 @@ int mbedtls_cipher_update_ad(mbedtls_cipher_context_t *ctx,
|
|||||||
* many block-sized blocks of data as possible to output.
|
* many block-sized blocks of data as possible to output.
|
||||||
* Any data that cannot be written immediately is either
|
* Any data that cannot be written immediately is either
|
||||||
* added to the next block, or flushed when
|
* added to the next block, or flushed when
|
||||||
* mbedtls_cipher_finish() is called.
|
* mbedtls_cipher_finish() or mbedtls_cipher_finish_padded()
|
||||||
|
* is called.
|
||||||
* Exception: For MBEDTLS_MODE_ECB, expects a single block
|
* Exception: For MBEDTLS_MODE_ECB, expects a single block
|
||||||
* in size. For example, 16 Bytes for AES.
|
* in size. For example, 16 Bytes for AES.
|
||||||
*
|
*
|
||||||
@@ -964,12 +973,30 @@ int mbedtls_cipher_update(mbedtls_cipher_context_t *ctx,
|
|||||||
* contained in it is padded to the size of
|
* contained in it is padded to the size of
|
||||||
* the last block, and written to the \p output buffer.
|
* the last block, and written to the \p output buffer.
|
||||||
*
|
*
|
||||||
|
* \warning This function reports invalid padding through an error
|
||||||
|
* code. Adversaries may be able to decrypt encrypted
|
||||||
|
* data if they can submit chosen ciphertexts and
|
||||||
|
* detect whether it has valid padding or not,
|
||||||
|
* either through direct observation or through a side
|
||||||
|
* channel such as timing. This is known as a
|
||||||
|
* padding oracle attack.
|
||||||
|
* Therefore applications that call this function for
|
||||||
|
* decryption with a cipher that involves padding
|
||||||
|
* should take care around error handling. Preferably,
|
||||||
|
* such applications should use
|
||||||
|
* mbedtls_cipher_finish_padded() instead of this function.
|
||||||
|
*
|
||||||
* \param ctx The generic cipher context. This must be initialized and
|
* \param ctx The generic cipher context. This must be initialized and
|
||||||
* bound to a key.
|
* bound to a key.
|
||||||
* \param output The buffer to write data to. This needs to be a writable
|
* \param output The buffer to write data to. This needs to be a writable
|
||||||
* buffer of at least block_size Bytes.
|
* buffer of at least block_size Bytes.
|
||||||
* \param olen The length of the data written to the \p output buffer.
|
* \param olen The length of the data written to the \p output buffer.
|
||||||
* This may not be \c NULL.
|
* This may not be \c NULL.
|
||||||
|
* Note that when decrypting in a mode with padding,
|
||||||
|
* the actual output length is sensitive and may be
|
||||||
|
* used to mount a padding oracle attack (see warning
|
||||||
|
* above), although less efficiently than through
|
||||||
|
* the invalid-padding condition.
|
||||||
*
|
*
|
||||||
* \return \c 0 on success.
|
* \return \c 0 on success.
|
||||||
* \return #MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA on
|
* \return #MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA on
|
||||||
@@ -977,17 +1004,66 @@ int mbedtls_cipher_update(mbedtls_cipher_context_t *ctx,
|
|||||||
* \return #MBEDTLS_ERR_CIPHER_FULL_BLOCK_EXPECTED on decryption
|
* \return #MBEDTLS_ERR_CIPHER_FULL_BLOCK_EXPECTED on decryption
|
||||||
* expecting a full block but not receiving one.
|
* expecting a full block but not receiving one.
|
||||||
* \return #MBEDTLS_ERR_CIPHER_INVALID_PADDING on invalid padding
|
* \return #MBEDTLS_ERR_CIPHER_INVALID_PADDING on invalid padding
|
||||||
* while decrypting.
|
* while decrypting. Note that invalid-padding errors
|
||||||
|
* should be handled carefully; see the warning above.
|
||||||
* \return A cipher-specific error code on failure.
|
* \return A cipher-specific error code on failure.
|
||||||
*/
|
*/
|
||||||
int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
||||||
unsigned char *output, size_t *olen);
|
unsigned char *output, size_t *olen);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief The generic cipher finalization function. If data still
|
||||||
|
* needs to be flushed from an incomplete block, the data
|
||||||
|
* contained in it is padded to the size of
|
||||||
|
* the last block, and written to the \p output buffer.
|
||||||
|
*
|
||||||
|
* \note This function is similar to mbedtls_cipher_finish().
|
||||||
|
* The only difference is that it reports invalid padding
|
||||||
|
* decryption differently, through the \p invalid_padding
|
||||||
|
* parameter rather than an error code.
|
||||||
|
* For encryption, and in modes without padding (including
|
||||||
|
* all authenticated modes), this function is identical
|
||||||
|
* to mbedtls_cipher_finish().
|
||||||
|
*
|
||||||
|
* \param[in,out] ctx The generic cipher context. This must be initialized and
|
||||||
|
* bound to a key.
|
||||||
|
* \param[out] output The buffer to write data to. This needs to be a writable
|
||||||
|
* buffer of at least block_size Bytes.
|
||||||
|
* \param[out] olen The length of the data written to the \p output buffer.
|
||||||
|
* This may not be \c NULL.
|
||||||
|
* Note that when decrypting in a mode with padding,
|
||||||
|
* the actual output length is sensitive and may be
|
||||||
|
* used to mount a padding oracle attack (see warning
|
||||||
|
* on mbedtls_cipher_finish()).
|
||||||
|
* \param[out] invalid_padding
|
||||||
|
* If this function returns \c 0 on decryption,
|
||||||
|
* \p *invalid_padding is \c 0 if the ciphertext was
|
||||||
|
* valid, and all-bits-one if the ciphertext had invalid
|
||||||
|
* padding.
|
||||||
|
* On encryption, or in a mode without padding (including
|
||||||
|
* all authenticated modes), \p *invalid_padding is \c 0
|
||||||
|
* on success.
|
||||||
|
* The value in \p *invalid_padding is unspecified if
|
||||||
|
* this function returns a nonzero status.
|
||||||
|
*
|
||||||
|
* \return \c 0 on success.
|
||||||
|
* Also \c 0 for decryption with invalid padding.
|
||||||
|
* \return #MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA on
|
||||||
|
* parameter-verification failure.
|
||||||
|
* \return #MBEDTLS_ERR_CIPHER_FULL_BLOCK_EXPECTED on decryption
|
||||||
|
* expecting a full block but not receiving one.
|
||||||
|
* \return A cipher-specific error code on failure.
|
||||||
|
*/
|
||||||
|
int mbedtls_cipher_finish_padded(mbedtls_cipher_context_t *ctx,
|
||||||
|
unsigned char *output, size_t *olen,
|
||||||
|
size_t *invalid_padding);
|
||||||
|
|
||||||
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
/**
|
/**
|
||||||
* \brief This function writes a tag for AEAD ciphers.
|
* \brief This function writes a tag for AEAD ciphers.
|
||||||
* Currently supported with GCM and ChaCha20+Poly1305.
|
* Currently supported with GCM and ChaCha20+Poly1305.
|
||||||
* This must be called after mbedtls_cipher_finish().
|
* This must be called after mbedtls_cipher_finish()
|
||||||
|
* or mbedtls_cipher_finish_padded().
|
||||||
*
|
*
|
||||||
* \param ctx The generic cipher context. This must be initialized,
|
* \param ctx The generic cipher context. This must be initialized,
|
||||||
* bound to a key, and have just completed a cipher
|
* bound to a key, and have just completed a cipher
|
||||||
@@ -1006,7 +1082,8 @@ int mbedtls_cipher_write_tag(mbedtls_cipher_context_t *ctx,
|
|||||||
/**
|
/**
|
||||||
* \brief This function checks the tag for AEAD ciphers.
|
* \brief This function checks the tag for AEAD ciphers.
|
||||||
* Currently supported with GCM and ChaCha20+Poly1305.
|
* Currently supported with GCM and ChaCha20+Poly1305.
|
||||||
* This must be called after mbedtls_cipher_finish().
|
* This must be called after mbedtls_cipher_finish()
|
||||||
|
* or mbedtls_cipher_finish_padded().
|
||||||
*
|
*
|
||||||
* \param ctx The generic cipher context. This must be initialized.
|
* \param ctx The generic cipher context. This must be initialized.
|
||||||
* \param tag The buffer holding the tag. This must be a readable
|
* \param tag The buffer holding the tag. This must be a readable
|
||||||
|
|||||||
@@ -760,6 +760,17 @@ int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg);
|
|||||||
* To make the authentication explicit there are various methods, see Section 5
|
* To make the authentication explicit there are various methods, see Section 5
|
||||||
* of RFC 8236 for two examples.
|
* of RFC 8236 for two examples.
|
||||||
*
|
*
|
||||||
|
* \note The JPAKE implementation has the following limitations:
|
||||||
|
* - The only supported primitive is ECC on the curve secp256r1, i.e.
|
||||||
|
* `PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC,
|
||||||
|
* PSA_ECC_FAMILY_SECP_R1, 256)`.
|
||||||
|
* - The only supported hash algorithm is SHA-256, i.e.
|
||||||
|
* `PSA_ALG_SHA_256`.
|
||||||
|
* - When using the built-in implementation, the user ID and the peer ID
|
||||||
|
* must be `"client"` (6-byte string) and `"server"` (6-byte string),
|
||||||
|
* or the other way round.
|
||||||
|
* Third-party drivers may or may not have this limitation.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
#define PSA_ALG_JPAKE ((psa_algorithm_t) 0x0a000100)
|
#define PSA_ALG_JPAKE ((psa_algorithm_t) 0x0a000100)
|
||||||
|
|
||||||
@@ -1196,6 +1207,8 @@ static psa_algorithm_t psa_pake_cs_get_algorithm(
|
|||||||
* This function overwrites any PAKE algorithm
|
* This function overwrites any PAKE algorithm
|
||||||
* previously set in \p cipher_suite.
|
* previously set in \p cipher_suite.
|
||||||
*
|
*
|
||||||
|
* \note For #PSA_ALG_JPAKE, the only supported hash algorithm is SHA-256.
|
||||||
|
*
|
||||||
* \param[out] cipher_suite The cipher suite structure to write to.
|
* \param[out] cipher_suite The cipher suite structure to write to.
|
||||||
* \param algorithm The PAKE algorithm to write.
|
* \param algorithm The PAKE algorithm to write.
|
||||||
* (`PSA_ALG_XXX` values of type ::psa_algorithm_t
|
* (`PSA_ALG_XXX` values of type ::psa_algorithm_t
|
||||||
@@ -1219,6 +1232,10 @@ static psa_pake_primitive_t psa_pake_cs_get_primitive(
|
|||||||
*
|
*
|
||||||
* This function overwrites any primitive previously set in \p cipher_suite.
|
* This function overwrites any primitive previously set in \p cipher_suite.
|
||||||
*
|
*
|
||||||
|
* \note For #PSA_ALG_JPAKE, the only supported primitive is ECC on the curve
|
||||||
|
* secp256r1, i.e. `PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC,
|
||||||
|
* PSA_ECC_FAMILY_SECP_R1, 256)`.
|
||||||
|
*
|
||||||
* \param[out] cipher_suite The cipher suite structure to write to.
|
* \param[out] cipher_suite The cipher suite structure to write to.
|
||||||
* \param primitive The primitive to write. If this is 0, the
|
* \param primitive The primitive to write. If this is 0, the
|
||||||
* primitive type in \p cipher_suite becomes
|
* primitive type in \p cipher_suite becomes
|
||||||
@@ -1555,6 +1572,10 @@ psa_status_t psa_pake_set_password_key(psa_pake_operation_t *operation,
|
|||||||
* values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
|
* values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
|
||||||
* for more information.
|
* for more information.
|
||||||
*
|
*
|
||||||
|
* \note When using the built-in implementation of #PSA_ALG_JPAKE, the user ID
|
||||||
|
* must be `"client"` (6-byte string) or `"server"` (6-byte string).
|
||||||
|
* Third-party drivers may or may not have this limitation.
|
||||||
|
*
|
||||||
* \param[in,out] operation The operation object to set the user ID for. It
|
* \param[in,out] operation The operation object to set the user ID for. It
|
||||||
* must have been set up by psa_pake_setup() and
|
* must have been set up by psa_pake_setup() and
|
||||||
* not yet in use (neither psa_pake_output() nor
|
* not yet in use (neither psa_pake_output() nor
|
||||||
@@ -1596,6 +1617,10 @@ psa_status_t psa_pake_set_user(psa_pake_operation_t *operation,
|
|||||||
* values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
|
* values of type ::psa_algorithm_t such that #PSA_ALG_IS_PAKE(\c alg) is true)
|
||||||
* for more information.
|
* for more information.
|
||||||
*
|
*
|
||||||
|
* \note When using the built-in implementation of #PSA_ALG_JPAKE, the peer ID
|
||||||
|
* must be `"client"` (6-byte string) or `"server"` (6-byte string).
|
||||||
|
* Third-party drivers may or may not have this limitation.
|
||||||
|
*
|
||||||
* \param[in,out] operation The operation object to set the peer ID for. It
|
* \param[in,out] operation The operation object to set the peer ID for. It
|
||||||
* must have been set up by psa_pake_setup() and
|
* must have been set up by psa_pake_setup() and
|
||||||
* not yet in use (neither psa_pake_output() nor
|
* not yet in use (neither psa_pake_output() nor
|
||||||
|
|||||||
14
library/.gitignore
vendored
14
library/.gitignore
vendored
@@ -2,10 +2,10 @@ libmbed*
|
|||||||
*.sln
|
*.sln
|
||||||
*.vcxproj
|
*.vcxproj
|
||||||
|
|
||||||
###START_GENERATED_FILES###
|
####START_COMMENTED_GENERATED_FILES###
|
||||||
/error.c
|
#/error.c
|
||||||
/version_features.c
|
#/version_features.c
|
||||||
/ssl_debug_helpers_generated.c
|
#/ssl_debug_helpers_generated.c
|
||||||
/psa_crypto_driver_wrappers.h
|
#/psa_crypto_driver_wrappers.h
|
||||||
/psa_crypto_driver_wrappers_no_static.c
|
#/psa_crypto_driver_wrappers_no_static.c
|
||||||
###END_GENERATED_FILES###
|
####END_COMMENTED_GENERATED_FILES###
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ endif(USE_STATIC_MBEDTLS_LIBRARY)
|
|||||||
if(USE_SHARED_MBEDTLS_LIBRARY)
|
if(USE_SHARED_MBEDTLS_LIBRARY)
|
||||||
set(CMAKE_LIBRARY_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
set(CMAKE_LIBRARY_PATH ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
add_library(${mbedcrypto_target} SHARED ${src_crypto})
|
add_library(${mbedcrypto_target} SHARED ${src_crypto})
|
||||||
set_target_properties(${mbedcrypto_target} PROPERTIES VERSION 3.6.4 SOVERSION 16)
|
set_target_properties(${mbedcrypto_target} PROPERTIES VERSION 3.6.5 SOVERSION 16)
|
||||||
target_link_libraries(${mbedcrypto_target} PUBLIC ${libs})
|
target_link_libraries(${mbedcrypto_target} PUBLIC ${libs})
|
||||||
|
|
||||||
if(TARGET ${everest_target})
|
if(TARGET ${everest_target})
|
||||||
@@ -325,11 +325,11 @@ if(USE_SHARED_MBEDTLS_LIBRARY)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(${mbedx509_target} SHARED ${src_x509})
|
add_library(${mbedx509_target} SHARED ${src_x509})
|
||||||
set_target_properties(${mbedx509_target} PROPERTIES VERSION 3.6.4 SOVERSION 7)
|
set_target_properties(${mbedx509_target} PROPERTIES VERSION 3.6.5 SOVERSION 7)
|
||||||
target_link_libraries(${mbedx509_target} PUBLIC ${libs} ${mbedcrypto_target})
|
target_link_libraries(${mbedx509_target} PUBLIC ${libs} ${mbedcrypto_target})
|
||||||
|
|
||||||
add_library(${mbedtls_target} SHARED ${src_tls})
|
add_library(${mbedtls_target} SHARED ${src_tls})
|
||||||
set_target_properties(${mbedtls_target} PROPERTIES VERSION 3.6.4 SOVERSION 21)
|
set_target_properties(${mbedtls_target} PROPERTIES VERSION 3.6.5 SOVERSION 21)
|
||||||
target_link_libraries(${mbedtls_target} PUBLIC ${libs} ${mbedx509_target})
|
target_link_libraries(${mbedtls_target} PUBLIC ${libs} ${mbedx509_target})
|
||||||
|
|
||||||
if(GEN_FILES)
|
if(GEN_FILES)
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ libmbedcrypto.dll: $(OBJS_CRYPTO)
|
|||||||
generated_files: $(GENERATED_FILES)
|
generated_files: $(GENERATED_FILES)
|
||||||
|
|
||||||
# See root Makefile
|
# See root Makefile
|
||||||
GEN_FILES ?= yes
|
GEN_FILES ?=
|
||||||
ifdef GEN_FILES
|
ifdef GEN_FILES
|
||||||
gen_file_dep =
|
gen_file_dep =
|
||||||
else
|
else
|
||||||
|
|||||||
407
library/bignum.c
407
library/bignum.c
@@ -430,13 +430,6 @@ cleanup:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Return the number of less significant zero-bits
|
|
||||||
*/
|
|
||||||
size_t mbedtls_mpi_lsb(const mbedtls_mpi *X)
|
|
||||||
{
|
|
||||||
size_t i;
|
|
||||||
|
|
||||||
#if defined(__has_builtin)
|
#if defined(__has_builtin)
|
||||||
#if (MBEDTLS_MPI_UINT_MAX == UINT_MAX) && __has_builtin(__builtin_ctz)
|
#if (MBEDTLS_MPI_UINT_MAX == UINT_MAX) && __has_builtin(__builtin_ctz)
|
||||||
#define mbedtls_mpi_uint_ctz __builtin_ctz
|
#define mbedtls_mpi_uint_ctz __builtin_ctz
|
||||||
@@ -447,22 +440,34 @@ size_t mbedtls_mpi_lsb(const mbedtls_mpi *X)
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(mbedtls_mpi_uint_ctz)
|
#if !defined(mbedtls_mpi_uint_ctz)
|
||||||
|
static size_t mbedtls_mpi_uint_ctz(mbedtls_mpi_uint x)
|
||||||
|
{
|
||||||
|
size_t count = 0;
|
||||||
|
mbedtls_ct_condition_t done = MBEDTLS_CT_FALSE;
|
||||||
|
|
||||||
|
for (size_t i = 0; i < biL; i++) {
|
||||||
|
mbedtls_ct_condition_t non_zero = mbedtls_ct_bool((x >> i) & 1);
|
||||||
|
done = mbedtls_ct_bool_or(done, non_zero);
|
||||||
|
count = mbedtls_ct_size_if(done, count, i + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
return count;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Return the number of less significant zero-bits
|
||||||
|
*/
|
||||||
|
size_t mbedtls_mpi_lsb(const mbedtls_mpi *X)
|
||||||
|
{
|
||||||
|
size_t i;
|
||||||
|
|
||||||
for (i = 0; i < X->n; i++) {
|
for (i = 0; i < X->n; i++) {
|
||||||
if (X->p[i] != 0) {
|
if (X->p[i] != 0) {
|
||||||
return i * biL + mbedtls_mpi_uint_ctz(X->p[i]);
|
return i * biL + mbedtls_mpi_uint_ctz(X->p[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
size_t count = 0;
|
|
||||||
for (i = 0; i < X->n; i++) {
|
|
||||||
for (size_t j = 0; j < biL; j++, count++) {
|
|
||||||
if (((X->p[i] >> j) & 1) != 0) {
|
|
||||||
return count;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -1743,104 +1748,122 @@ int mbedtls_mpi_exp_mod_unsafe(mbedtls_mpi *X, const mbedtls_mpi *A,
|
|||||||
return mbedtls_mpi_exp_mod_optionally_safe(X, A, E, MBEDTLS_MPI_IS_PUBLIC, N, prec_RR);
|
return mbedtls_mpi_exp_mod_optionally_safe(X, A, E, MBEDTLS_MPI_IS_PUBLIC, N, prec_RR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Constant-time GCD and/or modinv with odd modulus and A <= N */
|
||||||
|
int mbedtls_mpi_gcd_modinv_odd(mbedtls_mpi *G,
|
||||||
|
mbedtls_mpi *I,
|
||||||
|
const mbedtls_mpi *A,
|
||||||
|
const mbedtls_mpi *N)
|
||||||
|
{
|
||||||
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
|
mbedtls_mpi local_g;
|
||||||
|
mbedtls_mpi_uint *T = NULL;
|
||||||
|
const size_t T_factor = I != NULL ? 5 : 4;
|
||||||
|
const mbedtls_mpi_uint zero = 0;
|
||||||
|
|
||||||
|
/* Check requirements on A and N */
|
||||||
|
if (mbedtls_mpi_cmp_int(A, 0) < 0 ||
|
||||||
|
mbedtls_mpi_cmp_mpi(A, N) > 0 ||
|
||||||
|
mbedtls_mpi_get_bit(N, 0) != 1 ||
|
||||||
|
(I != NULL && mbedtls_mpi_cmp_int(N, 1) == 0)) {
|
||||||
|
return MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Check aliasing requirements */
|
||||||
|
if (A == N || (I != NULL && (I == N || G == N))) {
|
||||||
|
return MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
||||||
|
}
|
||||||
|
|
||||||
|
mbedtls_mpi_init(&local_g);
|
||||||
|
|
||||||
|
if (G == NULL) {
|
||||||
|
G = &local_g;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* We can't modify the values of G or I before use in the main function,
|
||||||
|
* as they could be aliased to A or N. */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_grow(G, N->n));
|
||||||
|
if (I != NULL) {
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_grow(I, N->n));
|
||||||
|
}
|
||||||
|
|
||||||
|
T = mbedtls_calloc(sizeof(mbedtls_mpi_uint) * N->n, T_factor);
|
||||||
|
if (T == NULL) {
|
||||||
|
ret = MBEDTLS_ERR_MPI_ALLOC_FAILED;
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
|
mbedtls_mpi_uint *Ip = I != NULL ? I->p : NULL;
|
||||||
|
/* If A is 0 (null), then A->p would be null, and A->n would be 0,
|
||||||
|
* which would be an issue if A->p and A->n were passed to
|
||||||
|
* mbedtls_mpi_core_gcd_modinv_odd below. */
|
||||||
|
const mbedtls_mpi_uint *Ap = A->p != NULL ? A->p : &zero;
|
||||||
|
size_t An = A->n >= N->n ? N->n : A->p != NULL ? A->n : 1;
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G->p, Ip, Ap, An, N->p, N->n, T);
|
||||||
|
|
||||||
|
G->s = 1;
|
||||||
|
if (I != NULL) {
|
||||||
|
I->s = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (G->n > N->n) {
|
||||||
|
memset(G->p + N->n, 0, ciL * (G->n - N->n));
|
||||||
|
}
|
||||||
|
if (I != NULL && I->n > N->n) {
|
||||||
|
memset(I->p + N->n, 0, ciL * (I->n - N->n));
|
||||||
|
}
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
mbedtls_mpi_free(&local_g);
|
||||||
|
mbedtls_free(T);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Greatest common divisor: G = gcd(A, B) (HAC 14.54)
|
* Greatest common divisor: G = gcd(A, B)
|
||||||
|
* Wrapper around mbedtls_mpi_gcd_modinv() that removes its restrictions.
|
||||||
*/
|
*/
|
||||||
int mbedtls_mpi_gcd(mbedtls_mpi *G, const mbedtls_mpi *A, const mbedtls_mpi *B)
|
int mbedtls_mpi_gcd(mbedtls_mpi *G, const mbedtls_mpi *A, const mbedtls_mpi *B)
|
||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
size_t lz, lzt;
|
|
||||||
mbedtls_mpi TA, TB;
|
mbedtls_mpi TA, TB;
|
||||||
|
|
||||||
mbedtls_mpi_init(&TA); mbedtls_mpi_init(&TB);
|
mbedtls_mpi_init(&TA); mbedtls_mpi_init(&TB);
|
||||||
|
|
||||||
|
/* Make copies and take absolute values */
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TA, A));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TA, A));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TB, B));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TB, B));
|
||||||
|
TA.s = TB.s = 1;
|
||||||
|
|
||||||
lz = mbedtls_mpi_lsb(&TA);
|
/* Make the two values the same (non-zero) number of limbs.
|
||||||
lzt = mbedtls_mpi_lsb(&TB);
|
* This is needed to use mbedtls_mpi_core functions below. */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&TA, TB.n != 0 ? TB.n : 1));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_grow(&TB, TA.n)); // non-zero from above
|
||||||
|
|
||||||
/* The loop below gives the correct result when A==0 but not when B==0.
|
/* Handle special cases (that don't happen in crypto usage) */
|
||||||
* So have a special case for B==0. Leverage the fact that we just
|
if (mbedtls_mpi_core_check_zero_ct(TA.p, TA.n) == MBEDTLS_CT_FALSE) {
|
||||||
* calculated the lsb and lsb(B)==0 iff B is odd or 0 to make the test
|
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(G, &TB)); // GCD(0, B) = abs(B)
|
||||||
* slightly more efficient than cmp_int(). */
|
goto cleanup;
|
||||||
if (lzt == 0 && mbedtls_mpi_get_bit(&TB, 0) == 0) {
|
}
|
||||||
ret = mbedtls_mpi_copy(G, A);
|
if (mbedtls_mpi_core_check_zero_ct(TB.p, TB.n) == MBEDTLS_CT_FALSE) {
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(G, &TA)); // GCD(A, 0) = abs(A)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lzt < lz) {
|
/* Make boths inputs odd by putting powers of 2 on the side */
|
||||||
lz = lzt;
|
const size_t za = mbedtls_mpi_lsb(&TA);
|
||||||
}
|
const size_t zb = mbedtls_mpi_lsb(&TB);
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TA, za));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TB, zb));
|
||||||
|
|
||||||
TA.s = TB.s = 1;
|
/* Ensure A <= B: if B < A, swap them */
|
||||||
|
mbedtls_ct_condition_t swap = mbedtls_mpi_core_lt_ct(TB.p, TA.p, TA.n);
|
||||||
|
mbedtls_mpi_core_cond_swap(TA.p, TB.p, TA.n, swap);
|
||||||
|
|
||||||
/* We mostly follow the procedure described in HAC 14.54, but with some
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(G, NULL, &TA, &TB));
|
||||||
* minor differences:
|
|
||||||
* - Sequences of multiplications or divisions by 2 are grouped into a
|
|
||||||
* single shift operation.
|
|
||||||
* - The procedure in HAC assumes that 0 < TB <= TA.
|
|
||||||
* - The condition TB <= TA is not actually necessary for correctness.
|
|
||||||
* TA and TB have symmetric roles except for the loop termination
|
|
||||||
* condition, and the shifts at the beginning of the loop body
|
|
||||||
* remove any significance from the ordering of TA vs TB before
|
|
||||||
* the shifts.
|
|
||||||
* - If TA = 0, the loop goes through 0 iterations and the result is
|
|
||||||
* correctly TB.
|
|
||||||
* - The case TB = 0 was short-circuited above.
|
|
||||||
*
|
|
||||||
* For the correctness proof below, decompose the original values of
|
|
||||||
* A and B as
|
|
||||||
* A = sa * 2^a * A' with A'=0 or A' odd, and sa = +-1
|
|
||||||
* B = sb * 2^b * B' with B'=0 or B' odd, and sb = +-1
|
|
||||||
* Then gcd(A, B) = 2^{min(a,b)} * gcd(A',B'),
|
|
||||||
* and gcd(A',B') is odd or 0.
|
|
||||||
*
|
|
||||||
* At the beginning, we have TA = |A| and TB = |B| so gcd(A,B) = gcd(TA,TB).
|
|
||||||
* The code maintains the following invariant:
|
|
||||||
* gcd(A,B) = 2^k * gcd(TA,TB) for some k (I)
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Proof that the loop terminates:
|
/* Re-inject the power of 2 we had previously put aside */
|
||||||
* At each iteration, either the right-shift by 1 is made on a nonzero
|
size_t zg = za > zb ? zb : za; // zg = min(za, zb)
|
||||||
* value and the nonnegative integer bitlen(TA) + bitlen(TB) decreases
|
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_l(G, zg));
|
||||||
* by at least 1, or the right-shift by 1 is made on zero and then
|
|
||||||
* TA becomes 0 which ends the loop (TB cannot be 0 if it is right-shifted
|
|
||||||
* since in that case TB is calculated from TB-TA with the condition TB>TA).
|
|
||||||
*/
|
|
||||||
while (mbedtls_mpi_cmp_int(&TA, 0) != 0) {
|
|
||||||
/* Divisions by 2 preserve the invariant (I). */
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TA, mbedtls_mpi_lsb(&TA)));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TB, mbedtls_mpi_lsb(&TB)));
|
|
||||||
|
|
||||||
/* Set either TA or TB to |TA-TB|/2. Since TA and TB are both odd,
|
|
||||||
* TA-TB is even so the division by 2 has an integer result.
|
|
||||||
* Invariant (I) is preserved since any odd divisor of both TA and TB
|
|
||||||
* also divides |TA-TB|/2, and any odd divisor of both TA and |TA-TB|/2
|
|
||||||
* also divides TB, and any odd divisor of both TB and |TA-TB|/2 also
|
|
||||||
* divides TA.
|
|
||||||
*/
|
|
||||||
if (mbedtls_mpi_cmp_mpi(&TA, &TB) >= 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TA, &TA, &TB));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TA, 1));
|
|
||||||
} else {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_abs(&TB, &TB, &TA));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TB, 1));
|
|
||||||
}
|
|
||||||
/* Note that one of TA or TB is still odd. */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* By invariant (I), gcd(A,B) = 2^k * gcd(TA,TB) for some k.
|
|
||||||
* At the loop exit, TA = 0, so gcd(TA,TB) = TB.
|
|
||||||
* - If there was at least one loop iteration, then one of TA or TB is odd,
|
|
||||||
* and TA = 0, so TB is odd and gcd(TA,TB) = gcd(A',B'). In this case,
|
|
||||||
* lz = min(a,b) so gcd(A,B) = 2^lz * TB.
|
|
||||||
* - If there was no loop iteration, then A was 0, and gcd(A,B) = B.
|
|
||||||
* In this case, lz = 0 and B = TB so gcd(A,B) = B = 2^lz * TB as well.
|
|
||||||
*/
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_l(&TB, lz));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(G, &TB));
|
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|
||||||
@@ -1899,93 +1922,141 @@ int mbedtls_mpi_random(mbedtls_mpi *X,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Modular inverse: X = A^-1 mod N (HAC 14.61 / 14.64)
|
* Modular inverse: X = A^-1 mod N with N odd (and A any range)
|
||||||
*/
|
*/
|
||||||
int mbedtls_mpi_inv_mod(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *N)
|
int mbedtls_mpi_inv_mod_odd(mbedtls_mpi *X,
|
||||||
|
const mbedtls_mpi *A,
|
||||||
|
const mbedtls_mpi *N)
|
||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
mbedtls_mpi G, TA, TU, U1, U2, TB, TV, V1, V2;
|
mbedtls_mpi T, G;
|
||||||
|
|
||||||
if (mbedtls_mpi_cmp_int(N, 1) <= 0) {
|
mbedtls_mpi_init(&T);
|
||||||
return MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
mbedtls_mpi_init(&G);
|
||||||
}
|
|
||||||
|
|
||||||
mbedtls_mpi_init(&TA); mbedtls_mpi_init(&TU); mbedtls_mpi_init(&U1); mbedtls_mpi_init(&U2);
|
|
||||||
mbedtls_mpi_init(&G); mbedtls_mpi_init(&TB); mbedtls_mpi_init(&TV);
|
|
||||||
mbedtls_mpi_init(&V1); mbedtls_mpi_init(&V2);
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(&G, A, N));
|
|
||||||
|
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&T, A, N));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(&G, &T, &T, N));
|
||||||
if (mbedtls_mpi_cmp_int(&G, 1) != 0) {
|
if (mbedtls_mpi_cmp_int(&G, 1) != 0) {
|
||||||
ret = MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
|
ret = MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&TA, A, N));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(X, &T));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TU, &TA));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TB, N));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(&TV, N));
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&U1, 1));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&U2, 0));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&V1, 0));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&V2, 1));
|
|
||||||
|
|
||||||
do {
|
|
||||||
while ((TU.p[0] & 1) == 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TU, 1));
|
|
||||||
|
|
||||||
if ((U1.p[0] & 1) != 0 || (U2.p[0] & 1) != 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&U1, &U1, &TB));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U2, &U2, &TA));
|
|
||||||
}
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&U1, 1));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&U2, 1));
|
|
||||||
}
|
|
||||||
|
|
||||||
while ((TV.p[0] & 1) == 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&TV, 1));
|
|
||||||
|
|
||||||
if ((V1.p[0] & 1) != 0 || (V2.p[0] & 1) != 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&V1, &V1, &TB));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V2, &V2, &TA));
|
|
||||||
}
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&V1, 1));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_shift_r(&V2, 1));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mbedtls_mpi_cmp_mpi(&TU, &TV) >= 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&TU, &TU, &TV));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U1, &U1, &V1));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&U2, &U2, &V2));
|
|
||||||
} else {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&TV, &TV, &TU));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V1, &V1, &U1));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V2, &V2, &U2));
|
|
||||||
}
|
|
||||||
} while (mbedtls_mpi_cmp_int(&TU, 0) != 0);
|
|
||||||
|
|
||||||
while (mbedtls_mpi_cmp_int(&V1, 0) < 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&V1, &V1, N));
|
|
||||||
}
|
|
||||||
|
|
||||||
while (mbedtls_mpi_cmp_mpi(&V1, N) >= 0) {
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&V1, &V1, N));
|
|
||||||
}
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(X, &V1));
|
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
mbedtls_mpi_free(&T);
|
||||||
mbedtls_mpi_free(&TA); mbedtls_mpi_free(&TU); mbedtls_mpi_free(&U1); mbedtls_mpi_free(&U2);
|
mbedtls_mpi_free(&G);
|
||||||
mbedtls_mpi_free(&G); mbedtls_mpi_free(&TB); mbedtls_mpi_free(&TV);
|
|
||||||
mbedtls_mpi_free(&V1); mbedtls_mpi_free(&V2);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Compute X = A^-1 mod N with N even, A odd and 1 < A < N.
|
||||||
|
*
|
||||||
|
* This is not obvious because our constant-time modinv function only works with
|
||||||
|
* an odd modulus, and here the modulus is even. The idea is that computing a
|
||||||
|
* a^-1 mod b is really just computing the u coefficient in the Bézout relation
|
||||||
|
* a*u + b*v = 1 (assuming gcd(a,b) = 1, i.e. the inverse exists). But if we know
|
||||||
|
* one of u, v in this relation then the other is easy to find. So we can
|
||||||
|
* actually start by computing N^-1 mod A with gives us "the wrong half" of the
|
||||||
|
* Bézout relation, from which we'll deduce the interesting half A^-1 mod N.
|
||||||
|
*
|
||||||
|
* Return MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if the inverse doesn't exist.
|
||||||
|
*/
|
||||||
|
int mbedtls_mpi_inv_mod_even_in_range(mbedtls_mpi *X,
|
||||||
|
mbedtls_mpi const *A,
|
||||||
|
mbedtls_mpi const *N)
|
||||||
|
{
|
||||||
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
|
mbedtls_mpi I, G;
|
||||||
|
|
||||||
|
mbedtls_mpi_init(&I);
|
||||||
|
mbedtls_mpi_init(&G);
|
||||||
|
|
||||||
|
/* Set I = N^-1 mod A */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&I, N, A));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(&G, &I, &I, A));
|
||||||
|
if (mbedtls_mpi_cmp_int(&G, 1) != 0) {
|
||||||
|
ret = MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* We know N * I = 1 + k * A for some k, which we can easily compute
|
||||||
|
* as k = (N*I - 1) / A (we know there will be no remainder). */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&I, &I, N));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&I, &I, 1));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_div_mpi(&G, NULL, &I, A));
|
||||||
|
|
||||||
|
/* Now we have a Bézout relation N * (previous value of I) - G * A = 1,
|
||||||
|
* so A^-1 mod N is -G mod N, which is N - G.
|
||||||
|
* Note that 0 < k < N since 0 < I < A, so G (k) is already in range. */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(X, N, &G));
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
mbedtls_mpi_free(&I);
|
||||||
|
mbedtls_mpi_free(&G);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Compute X = A^-1 mod N with N even and A odd (but in any range).
|
||||||
|
*
|
||||||
|
* Return MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if the inverse doesn't exist.
|
||||||
|
*/
|
||||||
|
static int mbedtls_mpi_inv_mod_even(mbedtls_mpi *X,
|
||||||
|
mbedtls_mpi const *A,
|
||||||
|
mbedtls_mpi const *N)
|
||||||
|
{
|
||||||
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
|
mbedtls_mpi AA;
|
||||||
|
|
||||||
|
mbedtls_mpi_init(&AA);
|
||||||
|
|
||||||
|
/* Bring A in the range [0, N). */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&AA, A, N));
|
||||||
|
|
||||||
|
/* We know A >= 0 but the next function wants A > 1 */
|
||||||
|
int cmp = mbedtls_mpi_cmp_int(&AA, 1);
|
||||||
|
if (cmp < 0) { // AA == 0
|
||||||
|
ret = MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
if (cmp == 0) { // AA = 1
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(X, 1));
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Now we know 1 < A < N, N is even and AA is still odd */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod_even_in_range(X, &AA, N));
|
||||||
|
|
||||||
|
cleanup:
|
||||||
|
mbedtls_mpi_free(&AA);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Modular inverse: X = A^-1 mod N
|
||||||
|
*
|
||||||
|
* Wrapper around mbedtls_mpi_gcd_modinv_odd() that lifts its limitations.
|
||||||
|
*/
|
||||||
|
int mbedtls_mpi_inv_mod(mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *N)
|
||||||
|
{
|
||||||
|
if (mbedtls_mpi_cmp_int(N, 1) <= 0) {
|
||||||
|
return MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mbedtls_mpi_get_bit(N, 0) == 1) {
|
||||||
|
return mbedtls_mpi_inv_mod_odd(X, A, N);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mbedtls_mpi_get_bit(A, 0) == 1) {
|
||||||
|
return mbedtls_mpi_inv_mod_even(X, A, N);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If A and N are both even, 2 divides their GCD, so no inverse. */
|
||||||
|
return MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(MBEDTLS_GENPRIME)
|
#if defined(MBEDTLS_GENPRIME)
|
||||||
|
|
||||||
/* Gaps between primes, starting at 3. https://oeis.org/A001223 */
|
/* Gaps between primes, starting at 3. https://oeis.org/A001223 */
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
#include "mbedtls/platform.h"
|
#include "mbedtls/platform.h"
|
||||||
|
|
||||||
#include "bignum_core.h"
|
#include "bignum_core.h"
|
||||||
|
#include "bignum_core_invasive.h"
|
||||||
#include "bn_mul.h"
|
#include "bn_mul.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
|
|
||||||
@@ -1019,4 +1020,221 @@ void mbedtls_mpi_core_from_mont_rep(mbedtls_mpi_uint *X,
|
|||||||
mbedtls_mpi_core_montmul(X, A, &Rinv, 1, N, AN_limbs, mm, T);
|
mbedtls_mpi_core_montmul(X, A, &Rinv, 1, N, AN_limbs, mm, T);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Compute X = A - B mod N.
|
||||||
|
* Both A and B must be in [0, N) and so will the output.
|
||||||
|
*/
|
||||||
|
static void mpi_core_sub_mod(mbedtls_mpi_uint *X,
|
||||||
|
const mbedtls_mpi_uint *A,
|
||||||
|
const mbedtls_mpi_uint *B,
|
||||||
|
const mbedtls_mpi_uint *N,
|
||||||
|
size_t limbs)
|
||||||
|
{
|
||||||
|
mbedtls_mpi_uint c = mbedtls_mpi_core_sub(X, A, B, limbs);
|
||||||
|
(void) mbedtls_mpi_core_add_if(X, N, limbs, (unsigned) c);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Divide X by 2 mod N in place, assuming N is odd.
|
||||||
|
* The input must be in [0, N) and so will the output.
|
||||||
|
*/
|
||||||
|
MBEDTLS_STATIC_TESTABLE
|
||||||
|
void mbedtls_mpi_core_div2_mod_odd(mbedtls_mpi_uint *X,
|
||||||
|
const mbedtls_mpi_uint *N,
|
||||||
|
size_t limbs)
|
||||||
|
{
|
||||||
|
/* If X is odd, add N to make it even before shifting. */
|
||||||
|
unsigned odd = (unsigned) X[0] & 1;
|
||||||
|
mbedtls_mpi_uint c = mbedtls_mpi_core_add_if(X, N, limbs, odd);
|
||||||
|
mbedtls_mpi_core_shift_r(X, limbs, 1);
|
||||||
|
X[limbs - 1] |= c << (biL - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Constant-time GCD and modular inversion - odd modulus.
|
||||||
|
*
|
||||||
|
* Pre-conditions: see public documentation.
|
||||||
|
*
|
||||||
|
* See https://www.jstage.jst.go.jp/article/transinf/E106.D/9/E106.D_2022ICP0009/_pdf
|
||||||
|
*
|
||||||
|
* The paper gives two computationally equivalent algorithms: Alg 7 (readable)
|
||||||
|
* and Alg 8 (constant-time). We use a third version that's hopefully both:
|
||||||
|
*
|
||||||
|
* u, v = A, N # N is called p in the paper but doesn't have to be prime
|
||||||
|
* q, r = 0, 1
|
||||||
|
* repeat bits(A_limbs + N_limbs) times:
|
||||||
|
* d = v - u # t1 in Alg 7
|
||||||
|
* t1 = (u and v both odd) ? u : d # t1 in Alg 8
|
||||||
|
* t2 = (u and v both odd) ? d : (u odd) ? v : u # t2 in Alg 8
|
||||||
|
* t2 >>= 1
|
||||||
|
* swap = t1 > t2 # similar to s, z in Alg 8
|
||||||
|
* u, v = (swap) ? t2, t1 : t1, t2
|
||||||
|
*
|
||||||
|
* d = r - q mod N # t2 in Alg 7
|
||||||
|
* t1 = (u and v both odd) ? q : d # t3 in Alg 8
|
||||||
|
* t2 = (u and v both odd) ? d : (u odd) ? r : q # t4 Alg 8
|
||||||
|
* t2 /= 2 mod N # see below (pre_com)
|
||||||
|
* q, r = (swap) ? t2, t1 : t1, t2
|
||||||
|
* return v, q # v: GCD, see Alg 6; q: no mult by pre_com, see below
|
||||||
|
*
|
||||||
|
* The ternary operators in the above pseudo-code need to be realised in a
|
||||||
|
* constant-time fashion. We use conditional assign for t1, t2 and conditional
|
||||||
|
* swap for the final update. (Note: the similarity between branches of Alg 7
|
||||||
|
* are highlighted in tables 2 and 3 and the surrounding text.)
|
||||||
|
*
|
||||||
|
* Also, we re-order operations, grouping things related to the inverse, which
|
||||||
|
* facilitates making its computation optional, and requires fewer temporaries.
|
||||||
|
*
|
||||||
|
* The only actual change from the paper is dropping the trick with pre_com,
|
||||||
|
* which I think complicates things for no benefit.
|
||||||
|
* See the comment on the big I != NULL block below for details.
|
||||||
|
*/
|
||||||
|
void mbedtls_mpi_core_gcd_modinv_odd(mbedtls_mpi_uint *G,
|
||||||
|
mbedtls_mpi_uint *I,
|
||||||
|
const mbedtls_mpi_uint *A,
|
||||||
|
size_t A_limbs,
|
||||||
|
const mbedtls_mpi_uint *N,
|
||||||
|
size_t N_limbs,
|
||||||
|
mbedtls_mpi_uint *T)
|
||||||
|
{
|
||||||
|
/* GCD and modinv, names common to Alg 7 and Alg 8 */
|
||||||
|
mbedtls_mpi_uint *u = T + 0 * N_limbs;
|
||||||
|
mbedtls_mpi_uint *v = G;
|
||||||
|
|
||||||
|
/* GCD and modinv, my name (t1, t2 from Alg 7) */
|
||||||
|
mbedtls_mpi_uint *d = T + 1 * N_limbs;
|
||||||
|
|
||||||
|
/* GCD and modinv, names from Alg 8 (note: t1, t2 from Alg 7 are d above) */
|
||||||
|
mbedtls_mpi_uint *t1 = T + 2 * N_limbs;
|
||||||
|
mbedtls_mpi_uint *t2 = T + 3 * N_limbs;
|
||||||
|
|
||||||
|
/* modinv only, names common to Alg 7 and Alg 8 */
|
||||||
|
mbedtls_mpi_uint *q = I;
|
||||||
|
mbedtls_mpi_uint *r = I != NULL ? T + 4 * N_limbs : NULL;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Initial values:
|
||||||
|
* u, v = A, N
|
||||||
|
* q, r = 0, 1
|
||||||
|
*
|
||||||
|
* We only write to G (aka v) after reading from inputs (A and N), which
|
||||||
|
* allows aliasing, except with N when I != NULL, as then we'll be operating
|
||||||
|
* mod N on q and r later - see the public documentation.
|
||||||
|
*/
|
||||||
|
if (A_limbs > N_limbs) {
|
||||||
|
/* Violating this precondition should not result in memory errors. */
|
||||||
|
A_limbs = N_limbs;
|
||||||
|
}
|
||||||
|
memcpy(u, A, A_limbs * ciL);
|
||||||
|
memset((char *) u + A_limbs * ciL, 0, (N_limbs - A_limbs) * ciL);
|
||||||
|
|
||||||
|
/* Avoid possible UB with memcpy when src == dst. */
|
||||||
|
if (v != N) {
|
||||||
|
memcpy(v, N, N_limbs * ciL);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (I != NULL) {
|
||||||
|
memset(q, 0, N_limbs * ciL);
|
||||||
|
|
||||||
|
memset(r, 0, N_limbs * ciL);
|
||||||
|
r[0] = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* At each step, out of u, v, v - u we keep one, shift another, and discard
|
||||||
|
* the third, then update (u, v) with the ordered result.
|
||||||
|
* Then we mirror those actions with q, r, r - q mod N.
|
||||||
|
*
|
||||||
|
* Loop invariants:
|
||||||
|
* u <= v (on entry: A <= N)
|
||||||
|
* GCD(u, v) == GCD(A, N) (on entry: trivial)
|
||||||
|
* v = A * q mod N (on entry: N = A * 0 mod N)
|
||||||
|
* u = A * r mod N (on entry: A = A * 1 mod N)
|
||||||
|
* q, r in [0, N) (on entry: 0, 1)
|
||||||
|
*
|
||||||
|
* On exit:
|
||||||
|
* u = 0
|
||||||
|
* v = GCD(A, N) = A * q mod N
|
||||||
|
* if v == 1 then 1 = A * q mod N ie q is A's inverse mod N
|
||||||
|
* r = 0
|
||||||
|
*
|
||||||
|
* The exit state is a fixed point of the loop's body.
|
||||||
|
* Alg 7 and Alg 8 use 2 * bitlen(N) iterations but Theorem 2 (above in the
|
||||||
|
* paper) says bitlen(A) + bitlen(N) is actually enough.
|
||||||
|
*/
|
||||||
|
for (size_t i = 0; i < (A_limbs + N_limbs) * biL; i++) {
|
||||||
|
/* s, z in Alg 8 - use meaningful names instead */
|
||||||
|
mbedtls_ct_condition_t u_odd = mbedtls_ct_bool(u[0] & 1);
|
||||||
|
mbedtls_ct_condition_t v_odd = mbedtls_ct_bool(v[0] & 1);
|
||||||
|
|
||||||
|
/* Other conditions that will be useful below */
|
||||||
|
mbedtls_ct_condition_t u_odd_v_odd = mbedtls_ct_bool_and(u_odd, v_odd);
|
||||||
|
mbedtls_ct_condition_t v_even = mbedtls_ct_bool_not(v_odd);
|
||||||
|
mbedtls_ct_condition_t u_odd_v_even = mbedtls_ct_bool_and(u_odd, v_even);
|
||||||
|
|
||||||
|
/* This is called t1 in Alg 7 (no name in Alg 8).
|
||||||
|
* We know that u <= v so there is no carry */
|
||||||
|
(void) mbedtls_mpi_core_sub(d, v, u, N_limbs);
|
||||||
|
|
||||||
|
/* t1 (the thing that's kept) can be d (default) or u (if t2 is d) */
|
||||||
|
memcpy(t1, d, N_limbs * ciL);
|
||||||
|
mbedtls_mpi_core_cond_assign(t1, u, N_limbs, u_odd_v_odd);
|
||||||
|
|
||||||
|
/* t2 (the thing that's shifted) can be u (if even), or v (if even),
|
||||||
|
* or d (which is even if both u and v were odd) */
|
||||||
|
memcpy(t2, u, N_limbs * ciL);
|
||||||
|
mbedtls_mpi_core_cond_assign(t2, v, N_limbs, u_odd_v_even);
|
||||||
|
mbedtls_mpi_core_cond_assign(t2, d, N_limbs, u_odd_v_odd);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_shift_r(t2, N_limbs, 1); // t2 is even
|
||||||
|
|
||||||
|
/* Update u, v and re-order them if needed */
|
||||||
|
memcpy(u, t1, N_limbs * ciL);
|
||||||
|
memcpy(v, t2, N_limbs * ciL);
|
||||||
|
mbedtls_ct_condition_t swap = mbedtls_mpi_core_lt_ct(v, u, N_limbs);
|
||||||
|
mbedtls_mpi_core_cond_swap(u, v, N_limbs, swap);
|
||||||
|
|
||||||
|
/* Now, if modinv was requested, do the same with q, r, but:
|
||||||
|
* - decisions still based on u and v (their initial values);
|
||||||
|
* - operations are now mod N;
|
||||||
|
* - we re-use t1, t2 for what the paper calls t3, t4 in Alg 8.
|
||||||
|
*
|
||||||
|
* Here we slightly diverge from the paper and instead do the obvious
|
||||||
|
* thing that preserves the invariants involving q and r: mirror
|
||||||
|
* operations on u and v, ie also divide by 2 here (mod N).
|
||||||
|
*
|
||||||
|
* The paper uses a trick where it replaces division by 2 with
|
||||||
|
* multiplication by 2 here, and compensates in the end by multiplying
|
||||||
|
* by pre_com, which is probably intended as an optimisation.
|
||||||
|
*
|
||||||
|
* However I believe it's not actually an optimisation, since
|
||||||
|
* constant-time modular multiplication by 2 (left-shift + conditional
|
||||||
|
* subtract) is just as costly as constant-time modular division by 2
|
||||||
|
* (conditional add + right-shift). So, skip it and keep things simple.
|
||||||
|
*/
|
||||||
|
if (I != NULL) {
|
||||||
|
/* This is called t2 in Alg 7 (no name in Alg 8). */
|
||||||
|
mpi_core_sub_mod(d, q, r, N, N_limbs);
|
||||||
|
|
||||||
|
/* t3 (the thing that's kept) */
|
||||||
|
memcpy(t1, d, N_limbs * ciL);
|
||||||
|
mbedtls_mpi_core_cond_assign(t1, r, N_limbs, u_odd_v_odd);
|
||||||
|
|
||||||
|
/* t4 (the thing that's shifted) */
|
||||||
|
memcpy(t2, r, N_limbs * ciL);
|
||||||
|
mbedtls_mpi_core_cond_assign(t2, q, N_limbs, u_odd_v_even);
|
||||||
|
mbedtls_mpi_core_cond_assign(t2, d, N_limbs, u_odd_v_odd);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_div2_mod_odd(t2, N, N_limbs);
|
||||||
|
|
||||||
|
/* Update and possibly swap */
|
||||||
|
memcpy(r, t1, N_limbs * ciL);
|
||||||
|
memcpy(q, t2, N_limbs * ciL);
|
||||||
|
mbedtls_mpi_core_cond_swap(r, q, N_limbs, swap);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* G and I already hold the correct values by virtue of being aliased */
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* MBEDTLS_BIGNUM_C */
|
#endif /* MBEDTLS_BIGNUM_C */
|
||||||
|
|||||||
@@ -822,4 +822,45 @@ void mbedtls_mpi_core_from_mont_rep(mbedtls_mpi_uint *X,
|
|||||||
mbedtls_mpi_uint mm,
|
mbedtls_mpi_uint mm,
|
||||||
mbedtls_mpi_uint *T);
|
mbedtls_mpi_uint *T);
|
||||||
|
|
||||||
|
/** Compute GCD(A, N) and optionally the inverse of A mod N if it exists.
|
||||||
|
*
|
||||||
|
* Requires N to be odd, 0 <= A <= N and A_limbs <= N_limbs.
|
||||||
|
* When I != NULL, N (the modulus) must be greater than 1.
|
||||||
|
*
|
||||||
|
* A and N may not alias each other.
|
||||||
|
* When I == NULL (computing only the GCD), G may alias A or N.
|
||||||
|
* When I != NULL (computing the modular inverse), G or I may alias A
|
||||||
|
* but none of them may alias N (the modulus).
|
||||||
|
*
|
||||||
|
* If any of the above preconditions is not met, output values are unspecified.
|
||||||
|
*
|
||||||
|
* \param[out] G The GCD of \p A and \p N.
|
||||||
|
* Must have the same number of limbs as \p N.
|
||||||
|
* \param[out] I The inverse of \p A modulo \p N if it exists (that is,
|
||||||
|
* if \p G above is 1 on exit); indeterminate otherwise.
|
||||||
|
* This must either be NULL (to only compute the GCD),
|
||||||
|
* or have the same number of limbs as \p N.
|
||||||
|
* \param[in] A The 1st operand of GCD and number to invert.
|
||||||
|
* This value must be less than or equal to \p N.
|
||||||
|
* \param A_limbs The number of limbs of \p A.
|
||||||
|
* Must be less than or equal to \p N_limbs.
|
||||||
|
* \param[in] N The 2nd operand of GCD and modulus for inversion.
|
||||||
|
* This value must be odd.
|
||||||
|
* If I != NULL this value must be greater than 1.
|
||||||
|
* \param N_limbs The number of limbs of \p N.
|
||||||
|
* \param[in,out] T Temporary storage of size at least 5 * N_limbs limbs,
|
||||||
|
* or 4 * N_limbs if \p I is NULL (GCD only).
|
||||||
|
* Its initial content is unused and
|
||||||
|
* its final content is indeterminate.
|
||||||
|
* It must not alias or otherwise overlap any of the
|
||||||
|
* other parameters.
|
||||||
|
*/
|
||||||
|
void mbedtls_mpi_core_gcd_modinv_odd(mbedtls_mpi_uint *G,
|
||||||
|
mbedtls_mpi_uint *I,
|
||||||
|
const mbedtls_mpi_uint *A,
|
||||||
|
size_t A_limbs,
|
||||||
|
const mbedtls_mpi_uint *N,
|
||||||
|
size_t N_limbs,
|
||||||
|
mbedtls_mpi_uint *T);
|
||||||
|
|
||||||
#endif /* MBEDTLS_BIGNUM_CORE_H */
|
#endif /* MBEDTLS_BIGNUM_CORE_H */
|
||||||
|
|||||||
@@ -13,11 +13,26 @@
|
|||||||
|
|
||||||
#include "bignum_core.h"
|
#include "bignum_core.h"
|
||||||
|
|
||||||
#if defined(MBEDTLS_TEST_HOOKS) && !defined(MBEDTLS_THREADING_C)
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_THREADING_C)
|
||||||
|
|
||||||
extern void (*mbedtls_safe_codepath_hook)(void);
|
extern void (*mbedtls_safe_codepath_hook)(void);
|
||||||
extern void (*mbedtls_unsafe_codepath_hook)(void);
|
extern void (*mbedtls_unsafe_codepath_hook)(void);
|
||||||
|
|
||||||
#endif /* MBEDTLS_TEST_HOOKS && !MBEDTLS_THREADING_C */
|
#endif /* !MBEDTLS_THREADING_C */
|
||||||
|
|
||||||
|
/** Divide X by 2 mod N in place, assuming N is odd.
|
||||||
|
*
|
||||||
|
* \param[in,out] X The value to divide by 2 mod \p N.
|
||||||
|
* \param[in] N The modulus. Must be odd.
|
||||||
|
* \param[in] limbs The number of limbs in \p X and \p N.
|
||||||
|
*/
|
||||||
|
MBEDTLS_STATIC_TESTABLE
|
||||||
|
void mbedtls_mpi_core_div2_mod_odd(mbedtls_mpi_uint *X,
|
||||||
|
const mbedtls_mpi_uint *N,
|
||||||
|
size_t limbs);
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_TEST_HOOKS */
|
||||||
|
|
||||||
#endif /* MBEDTLS_BIGNUM_CORE_INVASIVE_H */
|
#endif /* MBEDTLS_BIGNUM_CORE_INVASIVE_H */
|
||||||
|
|||||||
@@ -47,4 +47,76 @@ int mbedtls_mpi_exp_mod_unsafe(mbedtls_mpi *X, const mbedtls_mpi *A,
|
|||||||
const mbedtls_mpi *E, const mbedtls_mpi *N,
|
const mbedtls_mpi *E, const mbedtls_mpi *N,
|
||||||
mbedtls_mpi *prec_RR);
|
mbedtls_mpi *prec_RR);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief A wrapper around a constant time function to compute
|
||||||
|
* GCD(A, N) and/or A^-1 mod N if it exists.
|
||||||
|
*
|
||||||
|
* \warning Requires N to be odd, and 0 <= A <= N. Additionally, if
|
||||||
|
* I != NULL, requires N > 1.
|
||||||
|
* The wrapper part of this function is not constant time.
|
||||||
|
*
|
||||||
|
* \note A and N must not alias each other.
|
||||||
|
* When I == NULL (computing only the GCD), G can alias A or N.
|
||||||
|
* When I != NULL (computing the modular inverse), G or I can
|
||||||
|
* alias A, but neither of them can alias N (the modulus).
|
||||||
|
*
|
||||||
|
* \param[out] G The GCD of \p A and \p N.
|
||||||
|
* This may be NULL, to only compute I.
|
||||||
|
* \param[out] I The inverse of \p A modulo \p N if it exists (that is,
|
||||||
|
* if \p G above is 1 on exit), in the range [1, \p N);
|
||||||
|
* indeterminate otherwise.
|
||||||
|
* This may be NULL, to only compute G.
|
||||||
|
* \param[in] A The 1st operand of GCD and number to invert.
|
||||||
|
* This value must be less than or equal to \p N.
|
||||||
|
* \param[in] N The 2nd operand of GCD and modulus for inversion.
|
||||||
|
* Must be odd or the results are indeterminate.
|
||||||
|
*
|
||||||
|
* \return \c 0 if successful.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if preconditions were not
|
||||||
|
* met.
|
||||||
|
*/
|
||||||
|
int mbedtls_mpi_gcd_modinv_odd(mbedtls_mpi *G,
|
||||||
|
mbedtls_mpi *I,
|
||||||
|
const mbedtls_mpi *A,
|
||||||
|
const mbedtls_mpi *N);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Modular inverse: X = A^-1 mod N with N odd
|
||||||
|
*
|
||||||
|
* \param[out] X The inverse of \p A modulo \p N in the range [1, \p N)
|
||||||
|
* on success; indeterminate otherwise.
|
||||||
|
* \param[in] A The number to invert.
|
||||||
|
* \param[in] N The modulus. Must be odd and greater than 1.
|
||||||
|
*
|
||||||
|
* \return \c 0 if successful.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if preconditions were not
|
||||||
|
* met.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if A is not invertible mod N.
|
||||||
|
*/
|
||||||
|
int mbedtls_mpi_inv_mod_odd(mbedtls_mpi *X,
|
||||||
|
const mbedtls_mpi *A,
|
||||||
|
const mbedtls_mpi *N);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Modular inverse: X = A^-1 mod N with N even,
|
||||||
|
* A odd and 1 < A < N.
|
||||||
|
*
|
||||||
|
* \param[out] X The inverse of \p A modulo \p N in the range [1, \p N)
|
||||||
|
* on success; indeterminate otherwise.
|
||||||
|
* \param[in] A The number to invert. Must be odd, greated than 1
|
||||||
|
* and less than \p N.
|
||||||
|
* \param[in] N The modulus. Must be even and greater than 1.
|
||||||
|
*
|
||||||
|
* \return \c 0 if successful.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if preconditions were not
|
||||||
|
* met.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if A is not invertible mod N.
|
||||||
|
*/
|
||||||
|
int mbedtls_mpi_inv_mod_even_in_range(mbedtls_mpi *X,
|
||||||
|
mbedtls_mpi const *A,
|
||||||
|
mbedtls_mpi const *N);
|
||||||
|
|
||||||
#endif /* bignum_internal.h */
|
#endif /* bignum_internal.h */
|
||||||
|
|||||||
@@ -846,7 +846,8 @@ static void add_pkcs_padding(unsigned char *output, size_t output_len,
|
|||||||
*/
|
*/
|
||||||
MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,
|
MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,
|
||||||
size_t input_len,
|
size_t input_len,
|
||||||
size_t *data_len)
|
size_t *data_len,
|
||||||
|
size_t *invalid_padding)
|
||||||
{
|
{
|
||||||
size_t i, pad_idx;
|
size_t i, pad_idx;
|
||||||
unsigned char padding_len;
|
unsigned char padding_len;
|
||||||
@@ -872,7 +873,8 @@ MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,
|
|||||||
/* If the padding is invalid, set the output length to 0 */
|
/* If the padding is invalid, set the output length to 0 */
|
||||||
*data_len = mbedtls_ct_if(bad, 0, input_len - padding_len);
|
*data_len = mbedtls_ct_if(bad, 0, input_len - padding_len);
|
||||||
|
|
||||||
return mbedtls_ct_error_if_else_0(bad, MBEDTLS_ERR_CIPHER_INVALID_PADDING);
|
*invalid_padding = mbedtls_ct_size_if_else_0(bad, SIZE_MAX);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
|
#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
|
||||||
|
|
||||||
@@ -893,7 +895,7 @@ static void add_one_and_zeros_padding(unsigned char *output,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int get_one_and_zeros_padding(unsigned char *input, size_t input_len,
|
static int get_one_and_zeros_padding(unsigned char *input, size_t input_len,
|
||||||
size_t *data_len)
|
size_t *data_len, size_t *invalid_padding)
|
||||||
{
|
{
|
||||||
if (NULL == input || NULL == data_len) {
|
if (NULL == input || NULL == data_len) {
|
||||||
return MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA;
|
return MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA;
|
||||||
@@ -916,7 +918,8 @@ static int get_one_and_zeros_padding(unsigned char *input, size_t input_len,
|
|||||||
in_padding = mbedtls_ct_bool_and(in_padding, mbedtls_ct_bool_not(is_nonzero));
|
in_padding = mbedtls_ct_bool_and(in_padding, mbedtls_ct_bool_not(is_nonzero));
|
||||||
}
|
}
|
||||||
|
|
||||||
return mbedtls_ct_error_if_else_0(bad, MBEDTLS_ERR_CIPHER_INVALID_PADDING);
|
*invalid_padding = mbedtls_ct_size_if_else_0(bad, SIZE_MAX);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
|
#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
|
||||||
|
|
||||||
@@ -937,7 +940,7 @@ static void add_zeros_and_len_padding(unsigned char *output,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int get_zeros_and_len_padding(unsigned char *input, size_t input_len,
|
static int get_zeros_and_len_padding(unsigned char *input, size_t input_len,
|
||||||
size_t *data_len)
|
size_t *data_len, size_t *invalid_padding)
|
||||||
{
|
{
|
||||||
size_t i, pad_idx;
|
size_t i, pad_idx;
|
||||||
unsigned char padding_len;
|
unsigned char padding_len;
|
||||||
@@ -963,7 +966,8 @@ static int get_zeros_and_len_padding(unsigned char *input, size_t input_len,
|
|||||||
bad = mbedtls_ct_bool_or(bad, nonzero_pad_byte);
|
bad = mbedtls_ct_bool_or(bad, nonzero_pad_byte);
|
||||||
}
|
}
|
||||||
|
|
||||||
return mbedtls_ct_error_if_else_0(bad, MBEDTLS_ERR_CIPHER_INVALID_PADDING);
|
*invalid_padding = mbedtls_ct_size_if_else_0(bad, SIZE_MAX);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
|
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
|
||||||
|
|
||||||
@@ -978,7 +982,7 @@ static void add_zeros_padding(unsigned char *output,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int get_zeros_padding(unsigned char *input, size_t input_len,
|
static int get_zeros_padding(unsigned char *input, size_t input_len,
|
||||||
size_t *data_len)
|
size_t *data_len, size_t *invalid_padding)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
mbedtls_ct_condition_t done = MBEDTLS_CT_FALSE, prev_done;
|
mbedtls_ct_condition_t done = MBEDTLS_CT_FALSE, prev_done;
|
||||||
@@ -994,6 +998,7 @@ static int get_zeros_padding(unsigned char *input, size_t input_len,
|
|||||||
*data_len = mbedtls_ct_size_if(mbedtls_ct_bool_ne(done, prev_done), i, *data_len);
|
*data_len = mbedtls_ct_size_if(mbedtls_ct_bool_ne(done, prev_done), i, *data_len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*invalid_padding = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
|
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
|
||||||
@@ -1005,20 +1010,21 @@ static int get_zeros_padding(unsigned char *input, size_t input_len,
|
|||||||
* but a trivial get_padding function
|
* but a trivial get_padding function
|
||||||
*/
|
*/
|
||||||
static int get_no_padding(unsigned char *input, size_t input_len,
|
static int get_no_padding(unsigned char *input, size_t input_len,
|
||||||
size_t *data_len)
|
size_t *data_len, size_t *invalid_padding)
|
||||||
{
|
{
|
||||||
if (NULL == input || NULL == data_len) {
|
if (NULL == input || NULL == data_len) {
|
||||||
return MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA;
|
return MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
*data_len = input_len;
|
*data_len = input_len;
|
||||||
|
*invalid_padding = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
#endif /* MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
||||||
|
|
||||||
int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
int mbedtls_cipher_finish_padded(mbedtls_cipher_context_t *ctx,
|
||||||
unsigned char *output, size_t *olen)
|
unsigned char *output, size_t *olen,
|
||||||
|
size_t *invalid_padding)
|
||||||
{
|
{
|
||||||
if (ctx->cipher_info == NULL) {
|
if (ctx->cipher_info == NULL) {
|
||||||
return MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA;
|
return MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA;
|
||||||
@@ -1034,6 +1040,7 @@ int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
|||||||
#endif /* MBEDTLS_USE_PSA_CRYPTO && !MBEDTLS_DEPRECATED_REMOVED */
|
#endif /* MBEDTLS_USE_PSA_CRYPTO && !MBEDTLS_DEPRECATED_REMOVED */
|
||||||
|
|
||||||
*olen = 0;
|
*olen = 0;
|
||||||
|
*invalid_padding = 0;
|
||||||
|
|
||||||
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
||||||
/* CBC mode requires padding so we make sure a call to
|
/* CBC mode requires padding so we make sure a call to
|
||||||
@@ -1110,7 +1117,7 @@ int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
|||||||
/* Set output size for decryption */
|
/* Set output size for decryption */
|
||||||
if (MBEDTLS_DECRYPT == ctx->operation) {
|
if (MBEDTLS_DECRYPT == ctx->operation) {
|
||||||
return ctx->get_padding(output, mbedtls_cipher_get_block_size(ctx),
|
return ctx->get_padding(output, mbedtls_cipher_get_block_size(ctx),
|
||||||
olen);
|
olen, invalid_padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set output size for encryption */
|
/* Set output size for encryption */
|
||||||
@@ -1124,6 +1131,19 @@ int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
|||||||
return MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
return MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int mbedtls_cipher_finish(mbedtls_cipher_context_t *ctx,
|
||||||
|
unsigned char *output, size_t *olen)
|
||||||
|
{
|
||||||
|
size_t invalid_padding = 0;
|
||||||
|
int ret = mbedtls_cipher_finish_padded(ctx, output, olen,
|
||||||
|
&invalid_padding);
|
||||||
|
if (ret == 0) {
|
||||||
|
ret = mbedtls_ct_error_if_else_0(invalid_padding,
|
||||||
|
MBEDTLS_ERR_CIPHER_INVALID_PADDING);
|
||||||
|
}
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
||||||
int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
|
int mbedtls_cipher_set_padding_mode(mbedtls_cipher_context_t *ctx,
|
||||||
mbedtls_cipher_padding_t mode)
|
mbedtls_cipher_padding_t mode)
|
||||||
@@ -1393,14 +1413,17 @@ int mbedtls_cipher_crypt(mbedtls_cipher_context_t *ctx,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ret = mbedtls_cipher_finish(ctx, output + *olen,
|
size_t invalid_padding = 0;
|
||||||
&finish_olen)) != 0) {
|
if ((ret = mbedtls_cipher_finish_padded(ctx, output + *olen,
|
||||||
|
&finish_olen,
|
||||||
|
&invalid_padding)) != 0) {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
*olen += finish_olen;
|
*olen += finish_olen;
|
||||||
|
|
||||||
return 0;
|
ret = mbedtls_ct_error_if_else_0(invalid_padding,
|
||||||
|
MBEDTLS_ERR_CIPHER_INVALID_PADDING);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(MBEDTLS_CIPHER_MODE_AEAD)
|
#if defined(MBEDTLS_CIPHER_MODE_AEAD)
|
||||||
|
|||||||
@@ -20,7 +20,8 @@
|
|||||||
|
|
||||||
MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,
|
MBEDTLS_STATIC_TESTABLE int mbedtls_get_pkcs_padding(unsigned char *input,
|
||||||
size_t input_len,
|
size_t input_len,
|
||||||
size_t *data_len);
|
size_t *data_len,
|
||||||
|
size_t *invalid_padding);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
#if defined(MBEDTLS_DHM_C)
|
#if defined(MBEDTLS_DHM_C)
|
||||||
|
|
||||||
#include "mbedtls/dhm.h"
|
#include "mbedtls/dhm.h"
|
||||||
|
#include "bignum_internal.h"
|
||||||
#include "mbedtls/platform_util.h"
|
#include "mbedtls/platform_util.h"
|
||||||
#include "mbedtls/error.h"
|
#include "mbedtls/error.h"
|
||||||
|
|
||||||
@@ -344,9 +345,6 @@ static int dhm_update_blinding(mbedtls_dhm_context *ctx,
|
|||||||
int (*f_rng)(void *, unsigned char *, size_t), void *p_rng)
|
int (*f_rng)(void *, unsigned char *, size_t), void *p_rng)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
mbedtls_mpi R;
|
|
||||||
|
|
||||||
mbedtls_mpi_init(&R);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Don't use any blinding the first time a particular X is used,
|
* Don't use any blinding the first time a particular X is used,
|
||||||
@@ -381,21 +379,11 @@ static int dhm_update_blinding(mbedtls_dhm_context *ctx,
|
|||||||
/* Vi = random( 2, P-2 ) */
|
/* Vi = random( 2, P-2 ) */
|
||||||
MBEDTLS_MPI_CHK(dhm_random_below(&ctx->Vi, &ctx->P, f_rng, p_rng));
|
MBEDTLS_MPI_CHK(dhm_random_below(&ctx->Vi, &ctx->P, f_rng, p_rng));
|
||||||
|
|
||||||
/* Vf = Vi^-X mod P
|
/* Vf = Vi^-X = (Vi^-1)^X mod P */
|
||||||
* First compute Vi^-1 = R * (R Vi)^-1, (avoiding leaks from inv_mod),
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(NULL, &ctx->Vf, &ctx->Vi, &ctx->P));
|
||||||
* then elevate to the Xth power. */
|
|
||||||
MBEDTLS_MPI_CHK(dhm_random_below(&R, &ctx->P, f_rng, p_rng));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vf, &ctx->Vi, &R));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&ctx->Vf, &ctx->Vf, &ctx->P));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(&ctx->Vf, &ctx->Vf, &ctx->P));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vf, &ctx->Vf, &R));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&ctx->Vf, &ctx->Vf, &ctx->P));
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&ctx->Vf, &ctx->Vf, &ctx->X, &ctx->P, &ctx->RP));
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
mbedtls_mpi_free(&R);
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include "mbedtls/ecdsa.h"
|
#include "mbedtls/ecdsa.h"
|
||||||
#include "mbedtls/asn1write.h"
|
#include "mbedtls/asn1write.h"
|
||||||
|
#include "bignum_internal.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
@@ -251,7 +252,7 @@ int mbedtls_ecdsa_sign_restartable(mbedtls_ecp_group *grp,
|
|||||||
int ret, key_tries, sign_tries;
|
int ret, key_tries, sign_tries;
|
||||||
int *p_sign_tries = &sign_tries, *p_key_tries = &key_tries;
|
int *p_sign_tries = &sign_tries, *p_key_tries = &key_tries;
|
||||||
mbedtls_ecp_point R;
|
mbedtls_ecp_point R;
|
||||||
mbedtls_mpi k, e, t;
|
mbedtls_mpi k, e;
|
||||||
mbedtls_mpi *pk = &k, *pr = r;
|
mbedtls_mpi *pk = &k, *pr = r;
|
||||||
|
|
||||||
/* Fail cleanly on curves such as Curve25519 that can't be used for ECDSA */
|
/* Fail cleanly on curves such as Curve25519 that can't be used for ECDSA */
|
||||||
@@ -265,7 +266,7 @@ int mbedtls_ecdsa_sign_restartable(mbedtls_ecp_group *grp,
|
|||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_ecp_point_init(&R);
|
mbedtls_ecp_point_init(&R);
|
||||||
mbedtls_mpi_init(&k); mbedtls_mpi_init(&e); mbedtls_mpi_init(&t);
|
mbedtls_mpi_init(&k); mbedtls_mpi_init(&e);
|
||||||
|
|
||||||
ECDSA_RS_ENTER(sig);
|
ECDSA_RS_ENTER(sig);
|
||||||
|
|
||||||
@@ -340,21 +341,11 @@ modn:
|
|||||||
MBEDTLS_MPI_CHK(derive_mpi(grp, &e, buf, blen));
|
MBEDTLS_MPI_CHK(derive_mpi(grp, &e, buf, blen));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generate a random value to blind inv_mod in next step,
|
* Step 6: compute s = (e + r * d) / k
|
||||||
* avoiding a potential timing leak.
|
|
||||||
*/
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_ecp_gen_privkey(grp, &t, f_rng_blind,
|
|
||||||
p_rng_blind));
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Step 6: compute s = (e + r * d) / k = t (e + rd) / (kt) mod n
|
|
||||||
*/
|
*/
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, pr, d));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, pr, d));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&e, &e, s));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_add_mpi(&e, &e, s));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&e, &e, &t));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(NULL, s, pk, &grp->N));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(pk, pk, &t));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(pk, pk, &grp->N));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(s, pk, &grp->N));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, s, &e));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(s, s, &e));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(s, s, &grp->N));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(s, s, &grp->N));
|
||||||
} while (mbedtls_mpi_cmp_int(s, 0) == 0);
|
} while (mbedtls_mpi_cmp_int(s, 0) == 0);
|
||||||
@@ -367,7 +358,7 @@ modn:
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
mbedtls_ecp_point_free(&R);
|
mbedtls_ecp_point_free(&R);
|
||||||
mbedtls_mpi_free(&k); mbedtls_mpi_free(&e); mbedtls_mpi_free(&t);
|
mbedtls_mpi_free(&k); mbedtls_mpi_free(&e);
|
||||||
|
|
||||||
ECDSA_RS_LEAVE(sig);
|
ECDSA_RS_LEAVE(sig);
|
||||||
|
|
||||||
@@ -540,7 +531,7 @@ int mbedtls_ecdsa_verify_restartable(mbedtls_ecp_group *grp,
|
|||||||
*/
|
*/
|
||||||
ECDSA_BUDGET(MBEDTLS_ECP_OPS_CHK + MBEDTLS_ECP_OPS_INV + 2);
|
ECDSA_BUDGET(MBEDTLS_ECP_OPS_CHK + MBEDTLS_ECP_OPS_INV + 2);
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(&s_inv, s, &grp->N));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(NULL, &s_inv, s, &grp->N));
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(pu1, &e, &s_inv));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(pu1, &e, &s_inv));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(pu1, pu1, &grp->N));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(pu1, pu1, &grp->N));
|
||||||
|
|||||||
@@ -68,6 +68,7 @@
|
|||||||
#include "mbedtls/error.h"
|
#include "mbedtls/error.h"
|
||||||
|
|
||||||
#include "bn_mul.h"
|
#include "bn_mul.h"
|
||||||
|
#include "bignum_internal.h"
|
||||||
#include "ecp_invasive.h"
|
#include "ecp_invasive.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -1173,7 +1174,7 @@ cleanup:
|
|||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_int_mod(grp, X, A, c))
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_int_mod(grp, X, A, c))
|
||||||
|
|
||||||
#define MPI_ECP_INV(dst, src) \
|
#define MPI_ECP_INV(dst, src) \
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod((dst), (src), &grp->P))
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(NULL, (dst), (src), &grp->P))
|
||||||
|
|
||||||
#define MPI_ECP_MOV(X, A) \
|
#define MPI_ECP_MOV(X, A) \
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(X, A))
|
MBEDTLS_MPI_CHK(mbedtls_mpi_copy(X, A))
|
||||||
@@ -2201,21 +2202,6 @@ static int ecp_mul_comb_after_precomp(const mbedtls_ecp_group *grp,
|
|||||||
final_norm:
|
final_norm:
|
||||||
MBEDTLS_ECP_BUDGET(MBEDTLS_ECP_OPS_INV);
|
MBEDTLS_ECP_BUDGET(MBEDTLS_ECP_OPS_INV);
|
||||||
#endif
|
#endif
|
||||||
/*
|
|
||||||
* Knowledge of the jacobian coordinates may leak the last few bits of the
|
|
||||||
* scalar [1], and since our MPI implementation isn't constant-flow,
|
|
||||||
* inversion (used for coordinate normalization) may leak the full value
|
|
||||||
* of its input via side-channels [2].
|
|
||||||
*
|
|
||||||
* [1] https://eprint.iacr.org/2003/191
|
|
||||||
* [2] https://eprint.iacr.org/2020/055
|
|
||||||
*
|
|
||||||
* Avoid the leak by randomizing coordinates before we normalize them.
|
|
||||||
*/
|
|
||||||
if (f_rng != 0) {
|
|
||||||
MBEDTLS_MPI_CHK(ecp_randomize_jac(grp, RR, f_rng, p_rng));
|
|
||||||
}
|
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(ecp_normalize_jac(grp, RR));
|
MBEDTLS_MPI_CHK(ecp_normalize_jac(grp, RR));
|
||||||
|
|
||||||
#if defined(MBEDTLS_ECP_RESTARTABLE)
|
#if defined(MBEDTLS_ECP_RESTARTABLE)
|
||||||
@@ -2594,18 +2580,6 @@ static int ecp_mul_mxz(mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
|
|||||||
MPI_ECP_COND_SWAP(&R->Z, &RP.Z, b);
|
MPI_ECP_COND_SWAP(&R->Z, &RP.Z, b);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Knowledge of the projective coordinates may leak the last few bits of the
|
|
||||||
* scalar [1], and since our MPI implementation isn't constant-flow,
|
|
||||||
* inversion (used for coordinate normalization) may leak the full value
|
|
||||||
* of its input via side-channels [2].
|
|
||||||
*
|
|
||||||
* [1] https://eprint.iacr.org/2003/191
|
|
||||||
* [2] https://eprint.iacr.org/2020/055
|
|
||||||
*
|
|
||||||
* Avoid the leak by randomizing coordinates before we normalize them.
|
|
||||||
*/
|
|
||||||
MBEDTLS_MPI_CHK(ecp_randomize_mxz(grp, R, f_rng, p_rng));
|
|
||||||
MBEDTLS_MPI_CHK(ecp_normalize_mxz(grp, R));
|
MBEDTLS_MPI_CHK(ecp_normalize_mxz(grp, R));
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|||||||
878
library/error.c
Normal file
878
library/error.c
Normal file
@@ -0,0 +1,878 @@
|
|||||||
|
/*
|
||||||
|
* Error message information
|
||||||
|
*
|
||||||
|
* Copyright The Mbed TLS Contributors
|
||||||
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
#include "mbedtls/error.h"
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ERROR_C) || defined(MBEDTLS_ERROR_STRERROR_DUMMY)
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ERROR_C)
|
||||||
|
|
||||||
|
#include "mbedtls/platform.h"
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_AES_C)
|
||||||
|
#include "mbedtls/aes.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ARIA_C)
|
||||||
|
#include "mbedtls/aria.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ASN1_PARSE_C)
|
||||||
|
#include "mbedtls/asn1.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_BASE64_C)
|
||||||
|
#include "mbedtls/base64.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_BIGNUM_C)
|
||||||
|
#include "mbedtls/bignum.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CAMELLIA_C)
|
||||||
|
#include "mbedtls/camellia.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CCM_C)
|
||||||
|
#include "mbedtls/ccm.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CHACHA20_C)
|
||||||
|
#include "mbedtls/chacha20.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
#include "mbedtls/chachapoly.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CIPHER_C)
|
||||||
|
#include "mbedtls/cipher.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CTR_DRBG_C)
|
||||||
|
#include "mbedtls/ctr_drbg.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DES_C)
|
||||||
|
#include "mbedtls/des.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DHM_C)
|
||||||
|
#include "mbedtls/dhm.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ECP_C)
|
||||||
|
#include "mbedtls/ecp.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ENTROPY_C)
|
||||||
|
#include "mbedtls/entropy.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ERROR_C)
|
||||||
|
#include "mbedtls/error.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PLATFORM_C)
|
||||||
|
#include "mbedtls/platform.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_GCM_C)
|
||||||
|
#include "mbedtls/gcm.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_HKDF_C)
|
||||||
|
#include "mbedtls/hkdf.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_HMAC_DRBG_C)
|
||||||
|
#include "mbedtls/hmac_drbg.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_LMS_C)
|
||||||
|
#include "mbedtls/lms.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_MD_C)
|
||||||
|
#include "mbedtls/md.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_NET_C)
|
||||||
|
#include "mbedtls/net_sockets.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_OID_C)
|
||||||
|
#include "mbedtls/oid.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PEM_PARSE_C) || defined(MBEDTLS_PEM_WRITE_C)
|
||||||
|
#include "mbedtls/pem.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PK_C)
|
||||||
|
#include "mbedtls/pk.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PKCS12_C)
|
||||||
|
#include "mbedtls/pkcs12.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PKCS5_C)
|
||||||
|
#include "mbedtls/pkcs5.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PKCS7_C)
|
||||||
|
#include "mbedtls/pkcs7.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_POLY1305_C)
|
||||||
|
#include "mbedtls/poly1305.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_RSA_C)
|
||||||
|
#include "mbedtls/rsa.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA1_C)
|
||||||
|
#include "mbedtls/sha1.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA256_C)
|
||||||
|
#include "mbedtls/sha256.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA3_C)
|
||||||
|
#include "mbedtls/sha3.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA512_C)
|
||||||
|
#include "mbedtls/sha512.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_TLS_C)
|
||||||
|
#include "mbedtls/ssl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_THREADING_C)
|
||||||
|
#include "mbedtls/threading.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_X509_USE_C) || defined(MBEDTLS_X509_CREATE_C)
|
||||||
|
#include "mbedtls/x509.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
const char *mbedtls_high_level_strerr(int error_code)
|
||||||
|
{
|
||||||
|
int high_level_error_code;
|
||||||
|
|
||||||
|
if (error_code < 0) {
|
||||||
|
error_code = -error_code;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Extract the high-level part from the error code. */
|
||||||
|
high_level_error_code = error_code & 0xFF80;
|
||||||
|
|
||||||
|
switch (high_level_error_code) {
|
||||||
|
/* Begin Auto-Generated Code. */
|
||||||
|
#if defined(MBEDTLS_CIPHER_C)
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE):
|
||||||
|
return( "CIPHER - The selected feature is not available" );
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA):
|
||||||
|
return( "CIPHER - Bad input parameters" );
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_ALLOC_FAILED):
|
||||||
|
return( "CIPHER - Failed to allocate memory" );
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_INVALID_PADDING):
|
||||||
|
return( "CIPHER - Input data contains invalid padding and is rejected" );
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_FULL_BLOCK_EXPECTED):
|
||||||
|
return( "CIPHER - Decryption of block requires a full block" );
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_AUTH_FAILED):
|
||||||
|
return( "CIPHER - Authentication failed (for AEAD modes)" );
|
||||||
|
case -(MBEDTLS_ERR_CIPHER_INVALID_CONTEXT):
|
||||||
|
return( "CIPHER - The context is invalid. For example, because it was freed" );
|
||||||
|
#endif /* MBEDTLS_CIPHER_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DHM_C)
|
||||||
|
case -(MBEDTLS_ERR_DHM_BAD_INPUT_DATA):
|
||||||
|
return( "DHM - Bad input parameters" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_READ_PARAMS_FAILED):
|
||||||
|
return( "DHM - Reading of the DHM parameters failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_MAKE_PARAMS_FAILED):
|
||||||
|
return( "DHM - Making of the DHM parameters failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_READ_PUBLIC_FAILED):
|
||||||
|
return( "DHM - Reading of the public values failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_MAKE_PUBLIC_FAILED):
|
||||||
|
return( "DHM - Making of the public value failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_CALC_SECRET_FAILED):
|
||||||
|
return( "DHM - Calculation of the DHM secret failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_INVALID_FORMAT):
|
||||||
|
return( "DHM - The ASN.1 data is not formatted correctly" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_ALLOC_FAILED):
|
||||||
|
return( "DHM - Allocation of memory failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_FILE_IO_ERROR):
|
||||||
|
return( "DHM - Read or write of file failed" );
|
||||||
|
case -(MBEDTLS_ERR_DHM_SET_GROUP_FAILED):
|
||||||
|
return( "DHM - Setting the modulus and generator failed" );
|
||||||
|
#endif /* MBEDTLS_DHM_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ECP_C)
|
||||||
|
case -(MBEDTLS_ERR_ECP_BAD_INPUT_DATA):
|
||||||
|
return( "ECP - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_BUFFER_TOO_SMALL):
|
||||||
|
return( "ECP - The buffer is too small to write to" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE):
|
||||||
|
return( "ECP - The requested feature is not available, for example, the requested curve is not supported" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_VERIFY_FAILED):
|
||||||
|
return( "ECP - The signature is not valid" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_ALLOC_FAILED):
|
||||||
|
return( "ECP - Memory allocation failed" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_RANDOM_FAILED):
|
||||||
|
return( "ECP - Generation of random value, such as ephemeral key, failed" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_INVALID_KEY):
|
||||||
|
return( "ECP - Invalid private or public key" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_SIG_LEN_MISMATCH):
|
||||||
|
return( "ECP - The buffer contains a valid signature followed by more data" );
|
||||||
|
case -(MBEDTLS_ERR_ECP_IN_PROGRESS):
|
||||||
|
return( "ECP - Operation in progress, call again with the same parameters to continue" );
|
||||||
|
#endif /* MBEDTLS_ECP_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_MD_C)
|
||||||
|
case -(MBEDTLS_ERR_MD_FEATURE_UNAVAILABLE):
|
||||||
|
return( "MD - The selected feature is not available" );
|
||||||
|
case -(MBEDTLS_ERR_MD_BAD_INPUT_DATA):
|
||||||
|
return( "MD - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_MD_ALLOC_FAILED):
|
||||||
|
return( "MD - Failed to allocate memory" );
|
||||||
|
case -(MBEDTLS_ERR_MD_FILE_IO_ERROR):
|
||||||
|
return( "MD - Opening or reading of file failed" );
|
||||||
|
#endif /* MBEDTLS_MD_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PEM_PARSE_C) || defined(MBEDTLS_PEM_WRITE_C)
|
||||||
|
case -(MBEDTLS_ERR_PEM_NO_HEADER_FOOTER_PRESENT):
|
||||||
|
return( "PEM - No PEM header or footer found" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_INVALID_DATA):
|
||||||
|
return( "PEM - PEM string is not as expected" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_ALLOC_FAILED):
|
||||||
|
return( "PEM - Failed to allocate memory" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_INVALID_ENC_IV):
|
||||||
|
return( "PEM - RSA IV is not in hex-format" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_UNKNOWN_ENC_ALG):
|
||||||
|
return( "PEM - Unsupported key encryption algorithm" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_PASSWORD_REQUIRED):
|
||||||
|
return( "PEM - Private key password can't be empty" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_PASSWORD_MISMATCH):
|
||||||
|
return( "PEM - Given private key password does not allow for correct decryption" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_FEATURE_UNAVAILABLE):
|
||||||
|
return( "PEM - Unavailable feature, e.g. hashing/encryption combination" );
|
||||||
|
case -(MBEDTLS_ERR_PEM_BAD_INPUT_DATA):
|
||||||
|
return( "PEM - Bad input parameters to function" );
|
||||||
|
#endif /* MBEDTLS_PEM_PARSE_C || MBEDTLS_PEM_WRITE_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PK_C)
|
||||||
|
case -(MBEDTLS_ERR_PK_ALLOC_FAILED):
|
||||||
|
return( "PK - Memory allocation failed" );
|
||||||
|
case -(MBEDTLS_ERR_PK_TYPE_MISMATCH):
|
||||||
|
return( "PK - Type mismatch, eg attempt to encrypt with an ECDSA key" );
|
||||||
|
case -(MBEDTLS_ERR_PK_BAD_INPUT_DATA):
|
||||||
|
return( "PK - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_PK_FILE_IO_ERROR):
|
||||||
|
return( "PK - Read/write of file failed" );
|
||||||
|
case -(MBEDTLS_ERR_PK_KEY_INVALID_VERSION):
|
||||||
|
return( "PK - Unsupported key version" );
|
||||||
|
case -(MBEDTLS_ERR_PK_KEY_INVALID_FORMAT):
|
||||||
|
return( "PK - Invalid key tag or value" );
|
||||||
|
case -(MBEDTLS_ERR_PK_UNKNOWN_PK_ALG):
|
||||||
|
return( "PK - Key algorithm is unsupported (only RSA and EC are supported)" );
|
||||||
|
case -(MBEDTLS_ERR_PK_PASSWORD_REQUIRED):
|
||||||
|
return( "PK - Private key password can't be empty" );
|
||||||
|
case -(MBEDTLS_ERR_PK_PASSWORD_MISMATCH):
|
||||||
|
return( "PK - Given private key password does not allow for correct decryption" );
|
||||||
|
case -(MBEDTLS_ERR_PK_INVALID_PUBKEY):
|
||||||
|
return( "PK - The pubkey tag or value is invalid (only RSA and EC are supported)" );
|
||||||
|
case -(MBEDTLS_ERR_PK_INVALID_ALG):
|
||||||
|
return( "PK - The algorithm tag or value is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_PK_UNKNOWN_NAMED_CURVE):
|
||||||
|
return( "PK - Elliptic curve is unsupported (only NIST curves are supported)" );
|
||||||
|
case -(MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE):
|
||||||
|
return( "PK - Unavailable feature, e.g. RSA disabled for RSA key" );
|
||||||
|
case -(MBEDTLS_ERR_PK_SIG_LEN_MISMATCH):
|
||||||
|
return( "PK - The buffer contains a valid signature followed by more data" );
|
||||||
|
case -(MBEDTLS_ERR_PK_BUFFER_TOO_SMALL):
|
||||||
|
return( "PK - The output buffer is too small" );
|
||||||
|
#endif /* MBEDTLS_PK_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PKCS12_C)
|
||||||
|
case -(MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA):
|
||||||
|
return( "PKCS12 - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS12_FEATURE_UNAVAILABLE):
|
||||||
|
return( "PKCS12 - Feature not available, e.g. unsupported encryption scheme" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT):
|
||||||
|
return( "PKCS12 - PBE ASN.1 data not as expected" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS12_PASSWORD_MISMATCH):
|
||||||
|
return( "PKCS12 - Given private key password does not allow for correct decryption" );
|
||||||
|
#endif /* MBEDTLS_PKCS12_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PKCS5_C)
|
||||||
|
case -(MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA):
|
||||||
|
return( "PKCS5 - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS5_INVALID_FORMAT):
|
||||||
|
return( "PKCS5 - Unexpected ASN.1 data" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE):
|
||||||
|
return( "PKCS5 - Requested encryption or digest alg not available" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS5_PASSWORD_MISMATCH):
|
||||||
|
return( "PKCS5 - Given private key password does not allow for correct decryption" );
|
||||||
|
#endif /* MBEDTLS_PKCS5_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PKCS7_C)
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_FORMAT):
|
||||||
|
return( "PKCS7 - The format is invalid, e.g. different type expected" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_FEATURE_UNAVAILABLE):
|
||||||
|
return( "PKCS7 - Unavailable feature, e.g. anything other than signed data" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_VERSION):
|
||||||
|
return( "PKCS7 - The PKCS #7 version element is invalid or cannot be parsed" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_CONTENT_INFO):
|
||||||
|
return( "PKCS7 - The PKCS #7 content info is invalid or cannot be parsed" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_ALG):
|
||||||
|
return( "PKCS7 - The algorithm tag or value is invalid or cannot be parsed" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_CERT):
|
||||||
|
return( "PKCS7 - The certificate tag or value is invalid or cannot be parsed" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_SIGNATURE):
|
||||||
|
return( "PKCS7 - Error parsing the signature" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_INVALID_SIGNER_INFO):
|
||||||
|
return( "PKCS7 - Error parsing the signer's info" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_BAD_INPUT_DATA):
|
||||||
|
return( "PKCS7 - Input invalid" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_ALLOC_FAILED):
|
||||||
|
return( "PKCS7 - Allocation of memory failed" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_VERIFY_FAIL):
|
||||||
|
return( "PKCS7 - Verification Failed" );
|
||||||
|
case -(MBEDTLS_ERR_PKCS7_CERT_DATE_INVALID):
|
||||||
|
return( "PKCS7 - The PKCS #7 date issued/expired dates are invalid" );
|
||||||
|
#endif /* MBEDTLS_PKCS7_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_RSA_C)
|
||||||
|
case -(MBEDTLS_ERR_RSA_BAD_INPUT_DATA):
|
||||||
|
return( "RSA - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_INVALID_PADDING):
|
||||||
|
return( "RSA - Input data contains invalid padding and is rejected" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_KEY_GEN_FAILED):
|
||||||
|
return( "RSA - Something failed during generation of a key" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_KEY_CHECK_FAILED):
|
||||||
|
return( "RSA - Key failed to pass the validity check of the library" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_PUBLIC_FAILED):
|
||||||
|
return( "RSA - The public key operation failed" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_PRIVATE_FAILED):
|
||||||
|
return( "RSA - The private key operation failed" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_VERIFY_FAILED):
|
||||||
|
return( "RSA - The PKCS#1 verification failed" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_OUTPUT_TOO_LARGE):
|
||||||
|
return( "RSA - The output buffer for decryption is not large enough" );
|
||||||
|
case -(MBEDTLS_ERR_RSA_RNG_FAILED):
|
||||||
|
return( "RSA - The random generator failed to generate non-zeros" );
|
||||||
|
#endif /* MBEDTLS_RSA_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_TLS_C)
|
||||||
|
case -(MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS):
|
||||||
|
return( "SSL - A cryptographic operation is in progress. Try again later" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE):
|
||||||
|
return( "SSL - The requested feature is not available" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_BAD_INPUT_DATA):
|
||||||
|
return( "SSL - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_INVALID_MAC):
|
||||||
|
return( "SSL - Verification of the message MAC failed" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_INVALID_RECORD):
|
||||||
|
return( "SSL - An invalid SSL record was received" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CONN_EOF):
|
||||||
|
return( "SSL - The connection indicated an EOF" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_DECODE_ERROR):
|
||||||
|
return( "SSL - A message could not be parsed due to a syntactic error" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_NO_RNG):
|
||||||
|
return( "SSL - No RNG was provided to the SSL module" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_NO_CLIENT_CERTIFICATE):
|
||||||
|
return( "SSL - No client certification received from the client, but required by the authentication mode" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_UNSUPPORTED_EXTENSION):
|
||||||
|
return( "SSL - Client received an extended server hello containing an unsupported extension" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_NO_APPLICATION_PROTOCOL):
|
||||||
|
return( "SSL - No ALPN protocols supported that the client advertises" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED):
|
||||||
|
return( "SSL - The own private key or pre-shared key is not set, but needed" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CA_CHAIN_REQUIRED):
|
||||||
|
return( "SSL - No CA Chain is set, but required to operate" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_UNEXPECTED_MESSAGE):
|
||||||
|
return( "SSL - An unexpected message was received from our peer" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE):
|
||||||
|
return( "SSL - A fatal alert message was received from our peer" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_UNRECOGNIZED_NAME):
|
||||||
|
return( "SSL - No server could be identified matching the client's SNI" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY):
|
||||||
|
return( "SSL - The peer notified us that the connection is going to be closed" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_BAD_CERTIFICATE):
|
||||||
|
return( "SSL - Processing of the Certificate handshake message failed" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET):
|
||||||
|
return( "SSL - A TLS 1.3 NewSessionTicket message has been received" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CANNOT_READ_EARLY_DATA):
|
||||||
|
return( "SSL - Not possible to read early data" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_RECEIVED_EARLY_DATA):
|
||||||
|
return( "SSL - * Early data has been received as part of an on-going handshake. This error code can be returned only on server side if and only if early data has been enabled by means of the mbedtls_ssl_conf_early_data() API. This error code can then be returned by mbedtls_ssl_handshake(), mbedtls_ssl_handshake_step(), mbedtls_ssl_read() or mbedtls_ssl_write() if early data has been received as part of the handshake sequence they triggered. To read the early data, call mbedtls_ssl_read_early_data()" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CANNOT_WRITE_EARLY_DATA):
|
||||||
|
return( "SSL - Not possible to write early data" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CACHE_ENTRY_NOT_FOUND):
|
||||||
|
return( "SSL - Cache entry not found" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_ALLOC_FAILED):
|
||||||
|
return( "SSL - Memory allocation failed" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_HW_ACCEL_FAILED):
|
||||||
|
return( "SSL - Hardware acceleration function returned with error" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_HW_ACCEL_FALLTHROUGH):
|
||||||
|
return( "SSL - Hardware acceleration function skipped / left alone data" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_BAD_PROTOCOL_VERSION):
|
||||||
|
return( "SSL - Handshake protocol not within min/max boundaries" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_HANDSHAKE_FAILURE):
|
||||||
|
return( "SSL - The handshake negotiation failed" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_SESSION_TICKET_EXPIRED):
|
||||||
|
return( "SSL - Session ticket has expired" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_PK_TYPE_MISMATCH):
|
||||||
|
return( "SSL - Public key type mismatch (eg, asked for RSA key exchange and presented EC key)" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_UNKNOWN_IDENTITY):
|
||||||
|
return( "SSL - Unknown identity received (eg, PSK identity)" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_INTERNAL_ERROR):
|
||||||
|
return( "SSL - Internal error (eg, unexpected failure in lower-level module)" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_COUNTER_WRAPPING):
|
||||||
|
return( "SSL - A counter would wrap (eg, too many messages exchanged)" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_WAITING_SERVER_HELLO_RENEGO):
|
||||||
|
return( "SSL - Unexpected message at ServerHello in renegotiation" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_HELLO_VERIFY_REQUIRED):
|
||||||
|
return( "SSL - DTLS client must retry for hello verification" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL):
|
||||||
|
return( "SSL - A buffer is too small to receive or write a message" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_WANT_READ):
|
||||||
|
return( "SSL - No data of requested type currently available on underlying transport" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_WANT_WRITE):
|
||||||
|
return( "SSL - Connection requires a write call" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_TIMEOUT):
|
||||||
|
return( "SSL - The operation timed out" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CLIENT_RECONNECT):
|
||||||
|
return( "SSL - The client initiated a reconnect from the same port" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_UNEXPECTED_RECORD):
|
||||||
|
return( "SSL - Record header looks valid but is not expected" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_NON_FATAL):
|
||||||
|
return( "SSL - The alert message received indicates a non-fatal error" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER):
|
||||||
|
return( "SSL - A field in a message was incorrect or inconsistent with other fields" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CONTINUE_PROCESSING):
|
||||||
|
return( "SSL - Internal-only message signaling that further message-processing should be done" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS):
|
||||||
|
return( "SSL - The asynchronous operation is not completed yet" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_EARLY_MESSAGE):
|
||||||
|
return( "SSL - Internal-only message signaling that a message arrived early" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_UNEXPECTED_CID):
|
||||||
|
return( "SSL - An encrypted DTLS-frame with an unexpected CID was received" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_VERSION_MISMATCH):
|
||||||
|
return( "SSL - An operation failed due to an unexpected version or configuration" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_BAD_CONFIG):
|
||||||
|
return( "SSL - Invalid value in SSL config" );
|
||||||
|
case -(MBEDTLS_ERR_SSL_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME):
|
||||||
|
return( "SSL - Attempt to verify a certificate without an expected hostname. This is usually insecure. In TLS clients, when a client authenticates a server through its certificate, the client normally checks three things: - the certificate chain must be valid; - the chain must start from a trusted CA; - the certificate must cover the server name that is expected by the client. Omitting any of these checks is generally insecure, and can allow a malicious server to impersonate a legitimate server. The third check may be safely skipped in some unusual scenarios, such as networks where eavesdropping is a risk but not active attacks, or a private PKI where the client equally trusts all servers that are accredited by the root CA. You should call mbedtls_ssl_set_hostname() with the expected server name before starting a TLS handshake on a client (unless the client is set up to only use PSK-based authentication, which does not rely on the host name). If you have determined that server name verification is not required for security in your scenario, call mbedtls_ssl_set_hostname() with \\p NULL as the server name. This error is raised if all of the following conditions are met: - A TLS client is configured with the authentication mode #MBEDTLS_SSL_VERIFY_REQUIRED (default). - Certificate authentication is enabled. - The client does not call mbedtls_ssl_set_hostname(). - The configuration option #MBEDTLS_SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME is not enabled" );
|
||||||
|
#endif /* MBEDTLS_SSL_TLS_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_X509_USE_C) || defined(MBEDTLS_X509_CREATE_C)
|
||||||
|
case -(MBEDTLS_ERR_X509_FEATURE_UNAVAILABLE):
|
||||||
|
return( "X509 - Unavailable feature, e.g. RSA hashing/encryption combination" );
|
||||||
|
case -(MBEDTLS_ERR_X509_UNKNOWN_OID):
|
||||||
|
return( "X509 - Requested OID is unknown" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_FORMAT):
|
||||||
|
return( "X509 - The CRT/CRL/CSR format is invalid, e.g. different type expected" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_VERSION):
|
||||||
|
return( "X509 - The CRT/CRL/CSR version element is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_SERIAL):
|
||||||
|
return( "X509 - The serial tag or value is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_ALG):
|
||||||
|
return( "X509 - The algorithm tag or value is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_NAME):
|
||||||
|
return( "X509 - The name tag or value is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_DATE):
|
||||||
|
return( "X509 - The date tag or value is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_SIGNATURE):
|
||||||
|
return( "X509 - The signature tag or value invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_INVALID_EXTENSIONS):
|
||||||
|
return( "X509 - The extension tag or value is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_UNKNOWN_VERSION):
|
||||||
|
return( "X509 - CRT/CRL/CSR has an unsupported version number" );
|
||||||
|
case -(MBEDTLS_ERR_X509_UNKNOWN_SIG_ALG):
|
||||||
|
return( "X509 - Signature algorithm (oid) is unsupported" );
|
||||||
|
case -(MBEDTLS_ERR_X509_SIG_MISMATCH):
|
||||||
|
return( "X509 - Signature algorithms do not match. (see \\c ::mbedtls_x509_crt sig_oid)" );
|
||||||
|
case -(MBEDTLS_ERR_X509_CERT_VERIFY_FAILED):
|
||||||
|
return( "X509 - Certificate verification failed, e.g. CRL, CA or signature check failed" );
|
||||||
|
case -(MBEDTLS_ERR_X509_CERT_UNKNOWN_FORMAT):
|
||||||
|
return( "X509 - Format not recognized as DER or PEM" );
|
||||||
|
case -(MBEDTLS_ERR_X509_BAD_INPUT_DATA):
|
||||||
|
return( "X509 - Input invalid" );
|
||||||
|
case -(MBEDTLS_ERR_X509_ALLOC_FAILED):
|
||||||
|
return( "X509 - Allocation of memory failed" );
|
||||||
|
case -(MBEDTLS_ERR_X509_FILE_IO_ERROR):
|
||||||
|
return( "X509 - Read/write of file failed" );
|
||||||
|
case -(MBEDTLS_ERR_X509_BUFFER_TOO_SMALL):
|
||||||
|
return( "X509 - Destination buffer is too small" );
|
||||||
|
case -(MBEDTLS_ERR_X509_FATAL_ERROR):
|
||||||
|
return( "X509 - A fatal error occurred, eg the chain is too long or the vrfy callback failed" );
|
||||||
|
#endif /* MBEDTLS_X509_USE_C || MBEDTLS_X509_CREATE_C */
|
||||||
|
/* End Auto-Generated Code. */
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
const char *mbedtls_low_level_strerr(int error_code)
|
||||||
|
{
|
||||||
|
int low_level_error_code;
|
||||||
|
|
||||||
|
if (error_code < 0) {
|
||||||
|
error_code = -error_code;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Extract the low-level part from the error code. */
|
||||||
|
low_level_error_code = error_code & ~0xFF80;
|
||||||
|
|
||||||
|
switch (low_level_error_code) {
|
||||||
|
/* Begin Auto-Generated Code. */
|
||||||
|
#if defined(MBEDTLS_AES_C)
|
||||||
|
case -(MBEDTLS_ERR_AES_INVALID_KEY_LENGTH):
|
||||||
|
return( "AES - Invalid key length" );
|
||||||
|
case -(MBEDTLS_ERR_AES_INVALID_INPUT_LENGTH):
|
||||||
|
return( "AES - Invalid data input length" );
|
||||||
|
case -(MBEDTLS_ERR_AES_BAD_INPUT_DATA):
|
||||||
|
return( "AES - Invalid input data" );
|
||||||
|
#endif /* MBEDTLS_AES_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ARIA_C)
|
||||||
|
case -(MBEDTLS_ERR_ARIA_BAD_INPUT_DATA):
|
||||||
|
return( "ARIA - Bad input data" );
|
||||||
|
case -(MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH):
|
||||||
|
return( "ARIA - Invalid data input length" );
|
||||||
|
#endif /* MBEDTLS_ARIA_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ASN1_PARSE_C)
|
||||||
|
case -(MBEDTLS_ERR_ASN1_OUT_OF_DATA):
|
||||||
|
return( "ASN1 - Out of data when parsing an ASN1 data structure" );
|
||||||
|
case -(MBEDTLS_ERR_ASN1_UNEXPECTED_TAG):
|
||||||
|
return( "ASN1 - ASN1 tag was of an unexpected value" );
|
||||||
|
case -(MBEDTLS_ERR_ASN1_INVALID_LENGTH):
|
||||||
|
return( "ASN1 - Error when trying to determine the length or invalid length" );
|
||||||
|
case -(MBEDTLS_ERR_ASN1_LENGTH_MISMATCH):
|
||||||
|
return( "ASN1 - Actual length differs from expected length" );
|
||||||
|
case -(MBEDTLS_ERR_ASN1_INVALID_DATA):
|
||||||
|
return( "ASN1 - Data is invalid" );
|
||||||
|
case -(MBEDTLS_ERR_ASN1_ALLOC_FAILED):
|
||||||
|
return( "ASN1 - Memory allocation failed" );
|
||||||
|
case -(MBEDTLS_ERR_ASN1_BUF_TOO_SMALL):
|
||||||
|
return( "ASN1 - Buffer too small when writing ASN.1 data structure" );
|
||||||
|
#endif /* MBEDTLS_ASN1_PARSE_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_BASE64_C)
|
||||||
|
case -(MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL):
|
||||||
|
return( "BASE64 - Output buffer too small" );
|
||||||
|
case -(MBEDTLS_ERR_BASE64_INVALID_CHARACTER):
|
||||||
|
return( "BASE64 - Invalid character in input" );
|
||||||
|
#endif /* MBEDTLS_BASE64_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_BIGNUM_C)
|
||||||
|
case -(MBEDTLS_ERR_MPI_FILE_IO_ERROR):
|
||||||
|
return( "BIGNUM - An error occurred while reading from or writing to a file" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_BAD_INPUT_DATA):
|
||||||
|
return( "BIGNUM - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_INVALID_CHARACTER):
|
||||||
|
return( "BIGNUM - There is an invalid character in the digit string" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL):
|
||||||
|
return( "BIGNUM - The buffer is too small to write to" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_NEGATIVE_VALUE):
|
||||||
|
return( "BIGNUM - The input arguments are negative or result in illegal output" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_DIVISION_BY_ZERO):
|
||||||
|
return( "BIGNUM - The input argument for division is zero, which is not allowed" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_NOT_ACCEPTABLE):
|
||||||
|
return( "BIGNUM - The input arguments are not acceptable" );
|
||||||
|
case -(MBEDTLS_ERR_MPI_ALLOC_FAILED):
|
||||||
|
return( "BIGNUM - Memory allocation failed" );
|
||||||
|
#endif /* MBEDTLS_BIGNUM_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CAMELLIA_C)
|
||||||
|
case -(MBEDTLS_ERR_CAMELLIA_BAD_INPUT_DATA):
|
||||||
|
return( "CAMELLIA - Bad input data" );
|
||||||
|
case -(MBEDTLS_ERR_CAMELLIA_INVALID_INPUT_LENGTH):
|
||||||
|
return( "CAMELLIA - Invalid data input length" );
|
||||||
|
#endif /* MBEDTLS_CAMELLIA_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CCM_C)
|
||||||
|
case -(MBEDTLS_ERR_CCM_BAD_INPUT):
|
||||||
|
return( "CCM - Bad input parameters to the function" );
|
||||||
|
case -(MBEDTLS_ERR_CCM_AUTH_FAILED):
|
||||||
|
return( "CCM - Authenticated decryption failed" );
|
||||||
|
#endif /* MBEDTLS_CCM_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CHACHA20_C)
|
||||||
|
case -(MBEDTLS_ERR_CHACHA20_BAD_INPUT_DATA):
|
||||||
|
return( "CHACHA20 - Invalid input parameter(s)" );
|
||||||
|
#endif /* MBEDTLS_CHACHA20_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
case -(MBEDTLS_ERR_CHACHAPOLY_BAD_STATE):
|
||||||
|
return( "CHACHAPOLY - The requested operation is not permitted in the current state" );
|
||||||
|
case -(MBEDTLS_ERR_CHACHAPOLY_AUTH_FAILED):
|
||||||
|
return( "CHACHAPOLY - Authenticated decryption failed: data was not authentic" );
|
||||||
|
#endif /* MBEDTLS_CHACHAPOLY_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_CTR_DRBG_C)
|
||||||
|
case -(MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED):
|
||||||
|
return( "CTR_DRBG - The entropy source failed" );
|
||||||
|
case -(MBEDTLS_ERR_CTR_DRBG_REQUEST_TOO_BIG):
|
||||||
|
return( "CTR_DRBG - The requested random buffer length is too big" );
|
||||||
|
case -(MBEDTLS_ERR_CTR_DRBG_INPUT_TOO_BIG):
|
||||||
|
return( "CTR_DRBG - The input (entropy + additional data) is too large" );
|
||||||
|
case -(MBEDTLS_ERR_CTR_DRBG_FILE_IO_ERROR):
|
||||||
|
return( "CTR_DRBG - Read or write error in file" );
|
||||||
|
#endif /* MBEDTLS_CTR_DRBG_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DES_C)
|
||||||
|
case -(MBEDTLS_ERR_DES_INVALID_INPUT_LENGTH):
|
||||||
|
return( "DES - The data input has an invalid length" );
|
||||||
|
#endif /* MBEDTLS_DES_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ENTROPY_C)
|
||||||
|
case -(MBEDTLS_ERR_ENTROPY_SOURCE_FAILED):
|
||||||
|
return( "ENTROPY - Critical entropy source failure" );
|
||||||
|
case -(MBEDTLS_ERR_ENTROPY_MAX_SOURCES):
|
||||||
|
return( "ENTROPY - No more sources can be added" );
|
||||||
|
case -(MBEDTLS_ERR_ENTROPY_NO_SOURCES_DEFINED):
|
||||||
|
return( "ENTROPY - No sources have been added to poll" );
|
||||||
|
case -(MBEDTLS_ERR_ENTROPY_NO_STRONG_SOURCE):
|
||||||
|
return( "ENTROPY - No strong sources have been added to poll" );
|
||||||
|
case -(MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR):
|
||||||
|
return( "ENTROPY - Read/write error in file" );
|
||||||
|
#endif /* MBEDTLS_ENTROPY_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_ERROR_C)
|
||||||
|
case -(MBEDTLS_ERR_ERROR_GENERIC_ERROR):
|
||||||
|
return( "ERROR - Generic error" );
|
||||||
|
case -(MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED):
|
||||||
|
return( "ERROR - This is a bug in the library" );
|
||||||
|
#endif /* MBEDTLS_ERROR_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PLATFORM_C)
|
||||||
|
case -(MBEDTLS_ERR_PLATFORM_HW_ACCEL_FAILED):
|
||||||
|
return( "PLATFORM - Hardware accelerator failed" );
|
||||||
|
case -(MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED):
|
||||||
|
return( "PLATFORM - The requested feature is not supported by the platform" );
|
||||||
|
#endif /* MBEDTLS_PLATFORM_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_GCM_C)
|
||||||
|
case -(MBEDTLS_ERR_GCM_AUTH_FAILED):
|
||||||
|
return( "GCM - Authenticated decryption failed" );
|
||||||
|
case -(MBEDTLS_ERR_GCM_BAD_INPUT):
|
||||||
|
return( "GCM - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL):
|
||||||
|
return( "GCM - An output buffer is too small" );
|
||||||
|
#endif /* MBEDTLS_GCM_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_HKDF_C)
|
||||||
|
case -(MBEDTLS_ERR_HKDF_BAD_INPUT_DATA):
|
||||||
|
return( "HKDF - Bad input parameters to function" );
|
||||||
|
#endif /* MBEDTLS_HKDF_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_HMAC_DRBG_C)
|
||||||
|
case -(MBEDTLS_ERR_HMAC_DRBG_REQUEST_TOO_BIG):
|
||||||
|
return( "HMAC_DRBG - Too many random requested in single call" );
|
||||||
|
case -(MBEDTLS_ERR_HMAC_DRBG_INPUT_TOO_BIG):
|
||||||
|
return( "HMAC_DRBG - Input too large (Entropy + additional)" );
|
||||||
|
case -(MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR):
|
||||||
|
return( "HMAC_DRBG - Read/write error in file" );
|
||||||
|
case -(MBEDTLS_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED):
|
||||||
|
return( "HMAC_DRBG - The entropy source failed" );
|
||||||
|
#endif /* MBEDTLS_HMAC_DRBG_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_LMS_C)
|
||||||
|
case -(MBEDTLS_ERR_LMS_BAD_INPUT_DATA):
|
||||||
|
return( "LMS - Bad data has been input to an LMS function" );
|
||||||
|
case -(MBEDTLS_ERR_LMS_OUT_OF_PRIVATE_KEYS):
|
||||||
|
return( "LMS - Specified LMS key has utilised all of its private keys" );
|
||||||
|
case -(MBEDTLS_ERR_LMS_VERIFY_FAILED):
|
||||||
|
return( "LMS - LMS signature verification failed" );
|
||||||
|
case -(MBEDTLS_ERR_LMS_ALLOC_FAILED):
|
||||||
|
return( "LMS - LMS failed to allocate space for a private key" );
|
||||||
|
case -(MBEDTLS_ERR_LMS_BUFFER_TOO_SMALL):
|
||||||
|
return( "LMS - Input/output buffer is too small to contain requited data" );
|
||||||
|
#endif /* MBEDTLS_LMS_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_NET_C)
|
||||||
|
case -(MBEDTLS_ERR_NET_SOCKET_FAILED):
|
||||||
|
return( "NET - Failed to open a socket" );
|
||||||
|
case -(MBEDTLS_ERR_NET_CONNECT_FAILED):
|
||||||
|
return( "NET - The connection to the given server / port failed" );
|
||||||
|
case -(MBEDTLS_ERR_NET_BIND_FAILED):
|
||||||
|
return( "NET - Binding of the socket failed" );
|
||||||
|
case -(MBEDTLS_ERR_NET_LISTEN_FAILED):
|
||||||
|
return( "NET - Could not listen on the socket" );
|
||||||
|
case -(MBEDTLS_ERR_NET_ACCEPT_FAILED):
|
||||||
|
return( "NET - Could not accept the incoming connection" );
|
||||||
|
case -(MBEDTLS_ERR_NET_RECV_FAILED):
|
||||||
|
return( "NET - Reading information from the socket failed" );
|
||||||
|
case -(MBEDTLS_ERR_NET_SEND_FAILED):
|
||||||
|
return( "NET - Sending information through the socket failed" );
|
||||||
|
case -(MBEDTLS_ERR_NET_CONN_RESET):
|
||||||
|
return( "NET - Connection was reset by peer" );
|
||||||
|
case -(MBEDTLS_ERR_NET_UNKNOWN_HOST):
|
||||||
|
return( "NET - Failed to get an IP address for the given hostname" );
|
||||||
|
case -(MBEDTLS_ERR_NET_BUFFER_TOO_SMALL):
|
||||||
|
return( "NET - Buffer is too small to hold the data" );
|
||||||
|
case -(MBEDTLS_ERR_NET_INVALID_CONTEXT):
|
||||||
|
return( "NET - The context is invalid, eg because it was free()ed" );
|
||||||
|
case -(MBEDTLS_ERR_NET_POLL_FAILED):
|
||||||
|
return( "NET - Polling the net context failed" );
|
||||||
|
case -(MBEDTLS_ERR_NET_BAD_INPUT_DATA):
|
||||||
|
return( "NET - Input invalid" );
|
||||||
|
#endif /* MBEDTLS_NET_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_OID_C)
|
||||||
|
case -(MBEDTLS_ERR_OID_NOT_FOUND):
|
||||||
|
return( "OID - OID is not found" );
|
||||||
|
case -(MBEDTLS_ERR_OID_BUF_TOO_SMALL):
|
||||||
|
return( "OID - output buffer is too small" );
|
||||||
|
#endif /* MBEDTLS_OID_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_POLY1305_C)
|
||||||
|
case -(MBEDTLS_ERR_POLY1305_BAD_INPUT_DATA):
|
||||||
|
return( "POLY1305 - Invalid input parameter(s)" );
|
||||||
|
#endif /* MBEDTLS_POLY1305_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA1_C)
|
||||||
|
case -(MBEDTLS_ERR_SHA1_BAD_INPUT_DATA):
|
||||||
|
return( "SHA1 - SHA-1 input data was malformed" );
|
||||||
|
#endif /* MBEDTLS_SHA1_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA256_C)
|
||||||
|
case -(MBEDTLS_ERR_SHA256_BAD_INPUT_DATA):
|
||||||
|
return( "SHA256 - SHA-256 input data was malformed" );
|
||||||
|
#endif /* MBEDTLS_SHA256_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA3_C)
|
||||||
|
case -(MBEDTLS_ERR_SHA3_BAD_INPUT_DATA):
|
||||||
|
return( "SHA3 - SHA-3 input data was malformed" );
|
||||||
|
#endif /* MBEDTLS_SHA3_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SHA512_C)
|
||||||
|
case -(MBEDTLS_ERR_SHA512_BAD_INPUT_DATA):
|
||||||
|
return( "SHA512 - SHA-512 input data was malformed" );
|
||||||
|
#endif /* MBEDTLS_SHA512_C */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_THREADING_C)
|
||||||
|
case -(MBEDTLS_ERR_THREADING_BAD_INPUT_DATA):
|
||||||
|
return( "THREADING - Bad input parameters to function" );
|
||||||
|
case -(MBEDTLS_ERR_THREADING_MUTEX_ERROR):
|
||||||
|
return( "THREADING - Locking / unlocking / free failed with error code" );
|
||||||
|
#endif /* MBEDTLS_THREADING_C */
|
||||||
|
/* End Auto-Generated Code. */
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
void mbedtls_strerror(int ret, char *buf, size_t buflen)
|
||||||
|
{
|
||||||
|
size_t len;
|
||||||
|
int use_ret;
|
||||||
|
const char *high_level_error_description = NULL;
|
||||||
|
const char *low_level_error_description = NULL;
|
||||||
|
|
||||||
|
if (buflen == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
memset(buf, 0x00, buflen);
|
||||||
|
|
||||||
|
if (ret < 0) {
|
||||||
|
ret = -ret;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ret & 0xFF80) {
|
||||||
|
use_ret = ret & 0xFF80;
|
||||||
|
|
||||||
|
// Translate high level error code.
|
||||||
|
high_level_error_description = mbedtls_high_level_strerr(ret);
|
||||||
|
|
||||||
|
if (high_level_error_description == NULL) {
|
||||||
|
mbedtls_snprintf(buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret);
|
||||||
|
} else {
|
||||||
|
mbedtls_snprintf(buf, buflen, "%s", high_level_error_description);
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_TLS_C)
|
||||||
|
// Early return in case of a fatal error - do not try to translate low
|
||||||
|
// level code.
|
||||||
|
if (use_ret == -(MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif /* MBEDTLS_SSL_TLS_C */
|
||||||
|
}
|
||||||
|
|
||||||
|
use_ret = ret & ~0xFF80;
|
||||||
|
|
||||||
|
if (use_ret == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If high level code is present, make a concatenation between both
|
||||||
|
// error strings.
|
||||||
|
//
|
||||||
|
len = strlen(buf);
|
||||||
|
|
||||||
|
if (len > 0) {
|
||||||
|
if (buflen - len < 5) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
mbedtls_snprintf(buf + len, buflen - len, " : ");
|
||||||
|
|
||||||
|
buf += len + 3;
|
||||||
|
buflen -= len + 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Translate low level error code.
|
||||||
|
low_level_error_description = mbedtls_low_level_strerr(ret);
|
||||||
|
|
||||||
|
if (low_level_error_description == NULL) {
|
||||||
|
mbedtls_snprintf(buf, buflen, "UNKNOWN ERROR CODE (%04X)", (unsigned int) use_ret);
|
||||||
|
} else {
|
||||||
|
mbedtls_snprintf(buf, buflen, "%s", low_level_error_description);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#else /* MBEDTLS_ERROR_C */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Provide a dummy implementation when MBEDTLS_ERROR_C is not defined
|
||||||
|
*/
|
||||||
|
void mbedtls_strerror(int ret, char *buf, size_t buflen)
|
||||||
|
{
|
||||||
|
((void) ret);
|
||||||
|
|
||||||
|
if (buflen > 0) {
|
||||||
|
buf[0] = '\0';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_ERROR_C */
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_ERROR_C || MBEDTLS_ERROR_STRERROR_DUMMY */
|
||||||
@@ -73,6 +73,8 @@
|
|||||||
#include "mbedtls/psa_util.h"
|
#include "mbedtls/psa_util.h"
|
||||||
#include "mbedtls/threading.h"
|
#include "mbedtls/threading.h"
|
||||||
|
|
||||||
|
#include "constant_time_internal.h"
|
||||||
|
|
||||||
#if defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF) || \
|
#if defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF) || \
|
||||||
defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT) || \
|
defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXTRACT) || \
|
||||||
defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND)
|
defined(MBEDTLS_PSA_BUILTIN_ALG_HKDF_EXPAND)
|
||||||
@@ -4692,13 +4694,27 @@ psa_status_t psa_cipher_finish(psa_cipher_operation_t *operation,
|
|||||||
output_length);
|
output_length);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
if (status == PSA_SUCCESS) {
|
/* C99 doesn't allow a declaration to follow a label */;
|
||||||
status = psa_cipher_abort(operation);
|
psa_status_t abort_status = psa_cipher_abort(operation);
|
||||||
} else {
|
/* Normally abort shouldn't fail unless the operation is in a bad
|
||||||
*output_length = 0;
|
* state, in which case we'd expect finish to fail with the same error.
|
||||||
(void) psa_cipher_abort(operation);
|
* So it doesn't matter much which call's error code we pick when both
|
||||||
|
* fail. However, in unauthenticated decryption specifically, the
|
||||||
|
* distinction between PSA_SUCCESS and PSA_ERROR_INVALID_PADDING is
|
||||||
|
* security-sensitive (risk of a padding oracle attack), so here we
|
||||||
|
* must not have a code path that depends on the value of status. */
|
||||||
|
if (abort_status != PSA_SUCCESS) {
|
||||||
|
status = abort_status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Set *output_length to 0 if status != PSA_SUCCESS, without
|
||||||
|
* leaking the value of status through a timing side channel
|
||||||
|
* (status == PSA_ERROR_INVALID_PADDING is sensitive when doing
|
||||||
|
* unpadded decryption, due to the risk of padding oracle attack). */
|
||||||
|
mbedtls_ct_condition_t success =
|
||||||
|
mbedtls_ct_bool_not(mbedtls_ct_bool(status));
|
||||||
|
*output_length = mbedtls_ct_size_if_else_0(success, *output_length);
|
||||||
|
|
||||||
LOCAL_OUTPUT_FREE(output_external, output);
|
LOCAL_OUTPUT_FREE(output_external, output);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
@@ -4841,13 +4857,17 @@ psa_status_t psa_cipher_decrypt(mbedtls_svc_key_id_t key,
|
|||||||
|
|
||||||
exit:
|
exit:
|
||||||
unlock_status = psa_unregister_read_under_mutex(slot);
|
unlock_status = psa_unregister_read_under_mutex(slot);
|
||||||
if (status == PSA_SUCCESS) {
|
if (unlock_status != PSA_SUCCESS) {
|
||||||
status = unlock_status;
|
status = unlock_status;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status != PSA_SUCCESS) {
|
/* Set *output_length to 0 if status != PSA_SUCCESS, without
|
||||||
*output_length = 0;
|
* leaking the value of status through a timing side channel
|
||||||
}
|
* (status == PSA_ERROR_INVALID_PADDING is sensitive when doing
|
||||||
|
* unpadded decryption, due to the risk of padding oracle attack). */
|
||||||
|
mbedtls_ct_condition_t success =
|
||||||
|
mbedtls_ct_bool_not(mbedtls_ct_bool(status));
|
||||||
|
*output_length = mbedtls_ct_size_if_else_0(success, *output_length);
|
||||||
|
|
||||||
LOCAL_INPUT_FREE(input_external, input);
|
LOCAL_INPUT_FREE(input_external, input);
|
||||||
LOCAL_OUTPUT_FREE(output_external, output);
|
LOCAL_OUTPUT_FREE(output_external, output);
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
#include "psa_crypto_cipher.h"
|
#include "psa_crypto_cipher.h"
|
||||||
#include "psa_crypto_core.h"
|
#include "psa_crypto_core.h"
|
||||||
#include "psa_crypto_random_impl.h"
|
#include "psa_crypto_random_impl.h"
|
||||||
|
#include "constant_time_internal.h"
|
||||||
|
|
||||||
#include "mbedtls/cipher.h"
|
#include "mbedtls/cipher.h"
|
||||||
#include "mbedtls/error.h"
|
#include "mbedtls/error.h"
|
||||||
@@ -551,7 +552,19 @@ psa_status_t mbedtls_psa_cipher_finish(
|
|||||||
uint8_t *output, size_t output_size, size_t *output_length)
|
uint8_t *output, size_t output_size, size_t *output_length)
|
||||||
{
|
{
|
||||||
psa_status_t status = PSA_ERROR_GENERIC_ERROR;
|
psa_status_t status = PSA_ERROR_GENERIC_ERROR;
|
||||||
uint8_t temp_output_buffer[MBEDTLS_MAX_BLOCK_LENGTH];
|
size_t invalid_padding = 0;
|
||||||
|
|
||||||
|
/* We will copy output_size bytes from temp_output_buffer to the
|
||||||
|
* output buffer. We can't use *output_length to determine how
|
||||||
|
* much to copy because we must not leak that value through timing
|
||||||
|
* when doing decryption with unpadding. But the underlying function
|
||||||
|
* is not guaranteed to write beyond *output_length. To ensure we don't
|
||||||
|
* leak the former content of the stack to the caller, wipe that
|
||||||
|
* former content. */
|
||||||
|
uint8_t temp_output_buffer[MBEDTLS_MAX_BLOCK_LENGTH] = { 0 };
|
||||||
|
if (output_size > sizeof(temp_output_buffer)) {
|
||||||
|
output_size = sizeof(temp_output_buffer);
|
||||||
|
}
|
||||||
|
|
||||||
if (operation->ctx.cipher.unprocessed_len != 0) {
|
if (operation->ctx.cipher.unprocessed_len != 0) {
|
||||||
if (operation->alg == PSA_ALG_ECB_NO_PADDING ||
|
if (operation->alg == PSA_ALG_ECB_NO_PADDING ||
|
||||||
@@ -562,25 +575,34 @@ psa_status_t mbedtls_psa_cipher_finish(
|
|||||||
}
|
}
|
||||||
|
|
||||||
status = mbedtls_to_psa_error(
|
status = mbedtls_to_psa_error(
|
||||||
mbedtls_cipher_finish(&operation->ctx.cipher,
|
mbedtls_cipher_finish_padded(&operation->ctx.cipher,
|
||||||
temp_output_buffer,
|
temp_output_buffer,
|
||||||
output_length));
|
output_length,
|
||||||
|
&invalid_padding));
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*output_length == 0) {
|
if (output_size == 0) {
|
||||||
; /* Nothing to copy. Note that output may be NULL in this case. */
|
; /* Nothing to copy. Note that output may be NULL in this case. */
|
||||||
} else if (output_size >= *output_length) {
|
|
||||||
memcpy(output, temp_output_buffer, *output_length);
|
|
||||||
} else {
|
} else {
|
||||||
status = PSA_ERROR_BUFFER_TOO_SMALL;
|
/* Do not use the value of *output_length to determine how much
|
||||||
|
* to copy. When decrypting a padded cipher, the output length is
|
||||||
|
* sensitive, and leaking it could allow a padding oracle attack. */
|
||||||
|
memcpy(output, temp_output_buffer, output_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
status = mbedtls_ct_error_if_else_0(invalid_padding,
|
||||||
|
PSA_ERROR_INVALID_PADDING);
|
||||||
|
mbedtls_ct_condition_t buffer_too_small =
|
||||||
|
mbedtls_ct_uint_lt(output_size, *output_length);
|
||||||
|
status = mbedtls_ct_error_if(buffer_too_small,
|
||||||
|
PSA_ERROR_BUFFER_TOO_SMALL,
|
||||||
|
status);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
mbedtls_platform_zeroize(temp_output_buffer,
|
mbedtls_platform_zeroize(temp_output_buffer,
|
||||||
sizeof(temp_output_buffer));
|
sizeof(temp_output_buffer));
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -701,17 +723,21 @@ psa_status_t mbedtls_psa_cipher_decrypt(
|
|||||||
&operation,
|
&operation,
|
||||||
mbedtls_buffer_offset(output, accumulated_length),
|
mbedtls_buffer_offset(output, accumulated_length),
|
||||||
output_size - accumulated_length, &olength);
|
output_size - accumulated_length, &olength);
|
||||||
if (status != PSA_SUCCESS) {
|
|
||||||
goto exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
*output_length = accumulated_length + olength;
|
*output_length = accumulated_length + olength;
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
if (status == PSA_SUCCESS) {
|
/* C99 doesn't allow a declaration to follow a label */;
|
||||||
status = mbedtls_psa_cipher_abort(&operation);
|
psa_status_t abort_status = mbedtls_psa_cipher_abort(&operation);
|
||||||
} else {
|
/* Normally abort shouldn't fail unless the operation is in a bad
|
||||||
mbedtls_psa_cipher_abort(&operation);
|
* state, in which case we'd expect finish to fail with the same error.
|
||||||
|
* So it doesn't matter much which call's error code we pick when both
|
||||||
|
* fail. However, in unauthenticated decryption specifically, the
|
||||||
|
* distinction between PSA_SUCCESS and PSA_ERROR_INVALID_PADDING is
|
||||||
|
* security-sensitive (risk of a padding oracle attack), so here we
|
||||||
|
* must not have a code path that depends on the value of status. */
|
||||||
|
if (abort_status != PSA_SUCCESS) {
|
||||||
|
status = abort_status;
|
||||||
}
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|||||||
2896
library/psa_crypto_driver_wrappers.h
Normal file
2896
library/psa_crypto_driver_wrappers.h
Normal file
File diff suppressed because it is too large
Load Diff
256
library/psa_crypto_driver_wrappers_no_static.c
Normal file
256
library/psa_crypto_driver_wrappers_no_static.c
Normal file
@@ -0,0 +1,256 @@
|
|||||||
|
/*
|
||||||
|
* Functions to delegate cryptographic operations to an available
|
||||||
|
* and appropriate accelerator.
|
||||||
|
* Warning: This file is now auto-generated.
|
||||||
|
*/
|
||||||
|
/* Copyright The Mbed TLS Contributors
|
||||||
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/* BEGIN-common headers */
|
||||||
|
#include "common.h"
|
||||||
|
#include "psa_crypto_aead.h"
|
||||||
|
#include "psa_crypto_cipher.h"
|
||||||
|
#include "psa_crypto_core.h"
|
||||||
|
#include "psa_crypto_driver_wrappers_no_static.h"
|
||||||
|
#include "psa_crypto_hash.h"
|
||||||
|
#include "psa_crypto_mac.h"
|
||||||
|
#include "psa_crypto_pake.h"
|
||||||
|
#include "psa_crypto_rsa.h"
|
||||||
|
|
||||||
|
#include "mbedtls/platform.h"
|
||||||
|
/* END-common headers */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||||
|
|
||||||
|
/* BEGIN-driver headers */
|
||||||
|
/* Headers for mbedtls_test opaque driver */
|
||||||
|
#if defined(PSA_CRYPTO_DRIVER_TEST)
|
||||||
|
#include "test/drivers/test_driver.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* Headers for mbedtls_test transparent driver */
|
||||||
|
#if defined(PSA_CRYPTO_DRIVER_TEST)
|
||||||
|
#include "test/drivers/test_driver.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* Headers for p256 transparent driver */
|
||||||
|
#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)
|
||||||
|
#include "../3rdparty/p256-m/p256-m_driver_entrypoints.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* END-driver headers */
|
||||||
|
|
||||||
|
/* Auto-generated values depending on which drivers are registered.
|
||||||
|
* ID 0 is reserved for unallocated operations.
|
||||||
|
* ID 1 is reserved for the Mbed TLS software driver. */
|
||||||
|
/* BEGIN-driver id definition */
|
||||||
|
#define PSA_CRYPTO_MBED_TLS_DRIVER_ID (1)
|
||||||
|
#define MBEDTLS_TEST_OPAQUE_DRIVER_ID (2)
|
||||||
|
#define MBEDTLS_TEST_TRANSPARENT_DRIVER_ID (3)
|
||||||
|
#define P256_TRANSPARENT_DRIVER_ID (4)
|
||||||
|
|
||||||
|
/* END-driver id */
|
||||||
|
|
||||||
|
/* BEGIN-Common Macro definitions */
|
||||||
|
|
||||||
|
/* END-Common Macro definitions */
|
||||||
|
|
||||||
|
/* Support the 'old' SE interface when asked to */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
||||||
|
/* PSA_CRYPTO_DRIVER_PRESENT is defined when either a new-style or old-style
|
||||||
|
* SE driver is present, to avoid unused argument errors at compile time. */
|
||||||
|
#ifndef PSA_CRYPTO_DRIVER_PRESENT
|
||||||
|
#define PSA_CRYPTO_DRIVER_PRESENT
|
||||||
|
#endif
|
||||||
|
#include "psa_crypto_se.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** Get the key buffer size required to store the key material of a key
|
||||||
|
* associated with an opaque driver.
|
||||||
|
*
|
||||||
|
* \param[in] attributes The key attributes.
|
||||||
|
* \param[out] key_buffer_size Minimum buffer size to contain the key material
|
||||||
|
*
|
||||||
|
* \retval #PSA_SUCCESS
|
||||||
|
* The minimum size for a buffer to contain the key material has been
|
||||||
|
* returned successfully.
|
||||||
|
* \retval #PSA_ERROR_NOT_SUPPORTED
|
||||||
|
* The type and/or the size in bits of the key or the combination of
|
||||||
|
* the two is not supported.
|
||||||
|
* \retval #PSA_ERROR_INVALID_ARGUMENT
|
||||||
|
* The key is declared with a lifetime not known to us.
|
||||||
|
*/
|
||||||
|
psa_status_t psa_driver_wrapper_get_key_buffer_size(
|
||||||
|
const psa_key_attributes_t *attributes,
|
||||||
|
size_t *key_buffer_size )
|
||||||
|
{
|
||||||
|
psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) );
|
||||||
|
psa_key_type_t key_type = psa_get_key_type(attributes);
|
||||||
|
size_t key_bits = psa_get_key_bits(attributes);
|
||||||
|
|
||||||
|
*key_buffer_size = 0;
|
||||||
|
switch( location )
|
||||||
|
{
|
||||||
|
#if defined(PSA_CRYPTO_DRIVER_TEST)
|
||||||
|
case PSA_CRYPTO_TEST_DRIVER_LOCATION:
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
|
||||||
|
/* Emulate property 'builtin_key_size' */
|
||||||
|
if( psa_key_id_is_builtin(
|
||||||
|
MBEDTLS_SVC_KEY_ID_GET_KEY_ID(
|
||||||
|
psa_get_key_id( attributes ) ) ) )
|
||||||
|
{
|
||||||
|
*key_buffer_size = sizeof( psa_drv_slot_number_t );
|
||||||
|
return( PSA_SUCCESS );
|
||||||
|
}
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
|
||||||
|
*key_buffer_size = mbedtls_test_opaque_size_function( key_type,
|
||||||
|
key_bits );
|
||||||
|
return( ( *key_buffer_size != 0 ) ?
|
||||||
|
PSA_SUCCESS : PSA_ERROR_NOT_SUPPORTED );
|
||||||
|
#endif /* PSA_CRYPTO_DRIVER_TEST */
|
||||||
|
|
||||||
|
default:
|
||||||
|
(void)key_type;
|
||||||
|
(void)key_bits;
|
||||||
|
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
psa_status_t psa_driver_wrapper_export_public_key(
|
||||||
|
const psa_key_attributes_t *attributes,
|
||||||
|
const uint8_t *key_buffer, size_t key_buffer_size,
|
||||||
|
uint8_t *data, size_t data_size, size_t *data_length )
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
psa_status_t status = PSA_ERROR_INVALID_ARGUMENT;
|
||||||
|
psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION(
|
||||||
|
psa_get_key_lifetime( attributes ) );
|
||||||
|
|
||||||
|
/* Try dynamically-registered SE interface first */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
||||||
|
const psa_drv_se_t *drv;
|
||||||
|
psa_drv_se_context_t *drv_context;
|
||||||
|
|
||||||
|
if( psa_get_se_driver( psa_get_key_lifetime(attributes), &drv, &drv_context ) )
|
||||||
|
{
|
||||||
|
if( ( drv->key_management == NULL ) ||
|
||||||
|
( drv->key_management->p_export_public == NULL ) )
|
||||||
|
{
|
||||||
|
return( PSA_ERROR_NOT_SUPPORTED );
|
||||||
|
}
|
||||||
|
|
||||||
|
return( drv->key_management->p_export_public(
|
||||||
|
drv_context,
|
||||||
|
*( (psa_key_slot_number_t *)key_buffer ),
|
||||||
|
data, data_size, data_length ) );
|
||||||
|
}
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
||||||
|
|
||||||
|
switch( location )
|
||||||
|
{
|
||||||
|
case PSA_KEY_LOCATION_LOCAL_STORAGE:
|
||||||
|
/* Key is stored in the slot in export representation, so
|
||||||
|
* cycle through all known transparent accelerators */
|
||||||
|
#if defined(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)
|
||||||
|
|
||||||
|
#if (defined(PSA_CRYPTO_DRIVER_TEST) )
|
||||||
|
status = mbedtls_test_transparent_export_public_key
|
||||||
|
(attributes,
|
||||||
|
key_buffer,
|
||||||
|
key_buffer_size,
|
||||||
|
data,
|
||||||
|
data_size,
|
||||||
|
data_length
|
||||||
|
);
|
||||||
|
|
||||||
|
if( status != PSA_ERROR_NOT_SUPPORTED )
|
||||||
|
return( status );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if (defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED) )
|
||||||
|
status = p256_transparent_export_public_key
|
||||||
|
(attributes,
|
||||||
|
key_buffer,
|
||||||
|
key_buffer_size,
|
||||||
|
data,
|
||||||
|
data_size,
|
||||||
|
data_length
|
||||||
|
);
|
||||||
|
|
||||||
|
if( status != PSA_ERROR_NOT_SUPPORTED )
|
||||||
|
return( status );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT */
|
||||||
|
/* Fell through, meaning no accelerator supports this operation */
|
||||||
|
return( psa_export_public_key_internal( attributes,
|
||||||
|
key_buffer,
|
||||||
|
key_buffer_size,
|
||||||
|
data,
|
||||||
|
data_size,
|
||||||
|
data_length ) );
|
||||||
|
|
||||||
|
/* Add cases for opaque driver here */
|
||||||
|
#if defined(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)
|
||||||
|
|
||||||
|
#if (defined(PSA_CRYPTO_DRIVER_TEST) )
|
||||||
|
case 0x7fffff:
|
||||||
|
return( mbedtls_test_opaque_export_public_key
|
||||||
|
(attributes,
|
||||||
|
key_buffer,
|
||||||
|
key_buffer_size,
|
||||||
|
data,
|
||||||
|
data_size,
|
||||||
|
data_length
|
||||||
|
));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT */
|
||||||
|
default:
|
||||||
|
/* Key is declared with a lifetime not known to us */
|
||||||
|
return( status );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
psa_status_t psa_driver_wrapper_get_builtin_key(
|
||||||
|
psa_drv_slot_number_t slot_number,
|
||||||
|
psa_key_attributes_t *attributes,
|
||||||
|
uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length )
|
||||||
|
{
|
||||||
|
|
||||||
|
psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( psa_get_key_lifetime(attributes) );
|
||||||
|
switch( location )
|
||||||
|
{
|
||||||
|
#if defined(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)
|
||||||
|
|
||||||
|
#if (defined(PSA_CRYPTO_DRIVER_TEST) )
|
||||||
|
case 0x7fffff:
|
||||||
|
return( mbedtls_test_opaque_get_builtin_key
|
||||||
|
(slot_number,
|
||||||
|
attributes,
|
||||||
|
key_buffer,
|
||||||
|
key_buffer_size,
|
||||||
|
key_buffer_length
|
||||||
|
));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT */
|
||||||
|
default:
|
||||||
|
(void) slot_number;
|
||||||
|
(void) key_buffer;
|
||||||
|
(void) key_buffer_size;
|
||||||
|
(void) key_buffer_length;
|
||||||
|
return( PSA_ERROR_DOES_NOT_EXIST );
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_C */
|
||||||
@@ -1047,7 +1047,7 @@ int mbedtls_rsa_gen_key(mbedtls_rsa_context *ctx,
|
|||||||
unsigned int nbits, int exponent)
|
unsigned int nbits, int exponent)
|
||||||
{
|
{
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
mbedtls_mpi H, G, L;
|
mbedtls_mpi H;
|
||||||
int prime_quality = 0;
|
int prime_quality = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -1060,8 +1060,6 @@ int mbedtls_rsa_gen_key(mbedtls_rsa_context *ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
mbedtls_mpi_init(&H);
|
mbedtls_mpi_init(&H);
|
||||||
mbedtls_mpi_init(&G);
|
|
||||||
mbedtls_mpi_init(&L);
|
|
||||||
|
|
||||||
if (exponent < 3 || nbits % 2 != 0) {
|
if (exponent < 3 || nbits % 2 != 0) {
|
||||||
ret = MBEDTLS_ERR_RSA_BAD_INPUT_DATA;
|
ret = MBEDTLS_ERR_RSA_BAD_INPUT_DATA;
|
||||||
@@ -1099,35 +1097,28 @@ int mbedtls_rsa_gen_key(mbedtls_rsa_context *ctx,
|
|||||||
mbedtls_mpi_swap(&ctx->P, &ctx->Q);
|
mbedtls_mpi_swap(&ctx->P, &ctx->Q);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Temporarily replace P,Q by P-1, Q-1 */
|
/* Compute D = E^-1 mod LCM(P-1, Q-1) (FIPS 186-4 §B.3.1 criterion 3(b))
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&ctx->P, &ctx->P, 1));
|
* if it exists (FIPS 186-4 §B.3.1 criterion 2(a)) */
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&ctx->Q, &ctx->Q, 1));
|
ret = mbedtls_rsa_deduce_private_exponent(&ctx->P, &ctx->Q, &ctx->E, &ctx->D);
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&H, &ctx->P, &ctx->Q));
|
if (ret == MBEDTLS_ERR_MPI_NOT_ACCEPTABLE) {
|
||||||
|
mbedtls_mpi_lset(&ctx->D, 0); /* needed for the next call */
|
||||||
/* check GCD( E, (P-1)*(Q-1) ) == 1 (FIPS 186-4 §B.3.1 criterion 2(a)) */
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(&G, &ctx->E, &H));
|
|
||||||
if (mbedtls_mpi_cmp_int(&G, 1) != 0) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (ret != 0) {
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
/* compute smallest possible D = E^-1 mod LCM(P-1, Q-1) (FIPS 186-4 §B.3.1 criterion 3(b)) */
|
/* (FIPS 186-4 §B.3.1 criterion 3(a)) */
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(&G, &ctx->P, &ctx->Q));
|
if (mbedtls_mpi_bitlen(&ctx->D) <= ((nbits + 1) / 2)) {
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_div_mpi(&L, NULL, &H, &G));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(&ctx->D, &ctx->E, &L));
|
|
||||||
|
|
||||||
if (mbedtls_mpi_bitlen(&ctx->D) <= ((nbits + 1) / 2)) { // (FIPS 186-4 §B.3.1 criterion 3(a))
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
} while (1);
|
} while (1);
|
||||||
|
|
||||||
/* Restore P,Q */
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&ctx->P, &ctx->P, 1));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&ctx->Q, &ctx->Q, 1));
|
|
||||||
|
|
||||||
|
/* N = P * Q */
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->N, &ctx->P, &ctx->Q));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->N, &ctx->P, &ctx->Q));
|
||||||
|
|
||||||
ctx->len = mbedtls_mpi_size(&ctx->N);
|
ctx->len = mbedtls_mpi_size(&ctx->N);
|
||||||
|
|
||||||
#if !defined(MBEDTLS_RSA_NO_CRT)
|
#if !defined(MBEDTLS_RSA_NO_CRT)
|
||||||
@@ -1146,8 +1137,6 @@ int mbedtls_rsa_gen_key(mbedtls_rsa_context *ctx,
|
|||||||
cleanup:
|
cleanup:
|
||||||
|
|
||||||
mbedtls_mpi_free(&H);
|
mbedtls_mpi_free(&H);
|
||||||
mbedtls_mpi_free(&G);
|
|
||||||
mbedtls_mpi_free(&L);
|
|
||||||
|
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
mbedtls_rsa_free(ctx);
|
mbedtls_rsa_free(ctx);
|
||||||
@@ -1304,33 +1293,16 @@ static int rsa_prepare_blinding(mbedtls_rsa_context *ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Unblinding value: Vf = random number, invertible mod N */
|
/* Unblinding value: Vf = random number, invertible mod N */
|
||||||
|
mbedtls_mpi_lset(&R, 0);
|
||||||
do {
|
do {
|
||||||
if (count++ > 10) {
|
if (count++ > 10) {
|
||||||
ret = MBEDTLS_ERR_RSA_RNG_FAILED;
|
ret = MBEDTLS_ERR_RSA_RNG_FAILED;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_fill_random(&ctx->Vf, ctx->len - 1, f_rng, p_rng));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_random(&ctx->Vf, 1, &ctx->N, f_rng, p_rng));
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(&R, &ctx->Vi, &ctx->Vf, &ctx->N));
|
||||||
/* Compute Vf^-1 as R * (R Vf)^-1 to avoid leaks from inv_mod. */
|
} while (mbedtls_mpi_cmp_int(&R, 1) != 0);
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_fill_random(&R, ctx->len - 1, f_rng, p_rng));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vi, &ctx->Vf, &R));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&ctx->Vi, &ctx->Vi, &ctx->N));
|
|
||||||
|
|
||||||
/* At this point, Vi is invertible mod N if and only if both Vf and R
|
|
||||||
* are invertible mod N. If one of them isn't, we don't need to know
|
|
||||||
* which one, we just loop and choose new values for both of them.
|
|
||||||
* (Each iteration succeeds with overwhelming probability.) */
|
|
||||||
ret = mbedtls_mpi_inv_mod(&ctx->Vi, &ctx->Vi, &ctx->N);
|
|
||||||
if (ret != 0 && ret != MBEDTLS_ERR_MPI_NOT_ACCEPTABLE) {
|
|
||||||
goto cleanup;
|
|
||||||
}
|
|
||||||
|
|
||||||
} while (ret == MBEDTLS_ERR_MPI_NOT_ACCEPTABLE);
|
|
||||||
|
|
||||||
/* Finish the computation of Vf^-1 = R * (R Vf)^-1 */
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&ctx->Vi, &ctx->Vi, &R));
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&ctx->Vi, &ctx->Vi, &ctx->N));
|
|
||||||
|
|
||||||
/* Blinding value: Vi = Vf^(-e) mod N
|
/* Blinding value: Vi = Vf^(-e) mod N
|
||||||
* (Vi already contains Vf^-1 at this point) */
|
* (Vi already contains Vf^-1 at this point) */
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include "mbedtls/rsa.h"
|
#include "mbedtls/rsa.h"
|
||||||
#include "mbedtls/bignum.h"
|
#include "mbedtls/bignum.h"
|
||||||
|
#include "bignum_internal.h"
|
||||||
#include "rsa_alt_helpers.h"
|
#include "rsa_alt_helpers.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -117,7 +118,7 @@ int mbedtls_rsa_deduce_primes(mbedtls_mpi const *N,
|
|||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&K, primes[attempt]));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&K, primes[attempt]));
|
||||||
|
|
||||||
/* Check if gcd(K,N) = 1 */
|
/* Check if gcd(K,N) = 1 */
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(P, &K, N));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(P, NULL, &K, N));
|
||||||
if (mbedtls_mpi_cmp_int(P, 1) != 0) {
|
if (mbedtls_mpi_cmp_int(P, 1) != 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -136,7 +137,7 @@ int mbedtls_rsa_deduce_primes(mbedtls_mpi const *N,
|
|||||||
}
|
}
|
||||||
|
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&K, &K, 1));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_add_int(&K, &K, 1));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(P, &K, N));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_gcd_modinv_odd(P, NULL, &K, N));
|
||||||
|
|
||||||
if (mbedtls_mpi_cmp_int(P, 1) == 1 &&
|
if (mbedtls_mpi_cmp_int(P, 1) == 1 &&
|
||||||
mbedtls_mpi_cmp_mpi(P, N) == -1) {
|
mbedtls_mpi_cmp_mpi(P, N) == -1) {
|
||||||
@@ -197,6 +198,10 @@ int mbedtls_rsa_deduce_private_exponent(mbedtls_mpi const *P,
|
|||||||
return MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
return MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mbedtls_mpi_get_bit(E, 0) != 1) {
|
||||||
|
return MBEDTLS_ERR_MPI_NOT_ACCEPTABLE;
|
||||||
|
}
|
||||||
|
|
||||||
mbedtls_mpi_init(&K);
|
mbedtls_mpi_init(&K);
|
||||||
mbedtls_mpi_init(&L);
|
mbedtls_mpi_init(&L);
|
||||||
|
|
||||||
@@ -211,8 +216,11 @@ int mbedtls_rsa_deduce_private_exponent(mbedtls_mpi const *P,
|
|||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, &K, &L));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&K, &K, &L));
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_div_mpi(&K, NULL, &K, D));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_div_mpi(&K, NULL, &K, D));
|
||||||
|
|
||||||
/* Compute modular inverse of E in LCM(P-1, Q-1) */
|
/* Compute modular inverse of E mod LCM(P-1, Q-1)
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(D, E, &K));
|
* This is FIPS 186-4 §B.3.1 criterion 3(b).
|
||||||
|
* This will return MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if E is not coprime to
|
||||||
|
* (P-1)(Q-1), also validating FIPS 186-4 §B.3.1 criterion 2(a). */
|
||||||
|
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod_even_in_range(D, E, &K));
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|
||||||
@@ -244,7 +252,7 @@ int mbedtls_rsa_deduce_crt(const mbedtls_mpi *P, const mbedtls_mpi *Q,
|
|||||||
|
|
||||||
/* QP = Q^{-1} mod P */
|
/* QP = Q^{-1} mod P */
|
||||||
if (QP != NULL) {
|
if (QP != NULL) {
|
||||||
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod(QP, Q, P));
|
MBEDTLS_MPI_CHK(mbedtls_mpi_inv_mod_odd(QP, Q, P));
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|||||||
@@ -89,12 +89,15 @@ int mbedtls_rsa_deduce_primes(mbedtls_mpi const *N, mbedtls_mpi const *E,
|
|||||||
* \param P First prime factor of RSA modulus
|
* \param P First prime factor of RSA modulus
|
||||||
* \param Q Second prime factor of RSA modulus
|
* \param Q Second prime factor of RSA modulus
|
||||||
* \param E RSA public exponent
|
* \param E RSA public exponent
|
||||||
* \param D Pointer to MPI holding the private exponent on success.
|
* \param D Pointer to MPI holding the private exponent on success,
|
||||||
|
* i.e. the modular inverse of E modulo LCM(P-1,Q-1).
|
||||||
*
|
*
|
||||||
* \return
|
* \return \c 0 if successful.
|
||||||
* - 0 if successful. In this case, D is set to a simultaneous
|
* \return #MBEDTLS_ERR_MPI_ALLOC_FAILED if a memory allocation failed.
|
||||||
* modular inverse of E modulo both P-1 and Q-1.
|
* \return #MBEDTLS_ERR_MPI_NOT_ACCEPTABLE if E is not coprime to P-1
|
||||||
* - A non-zero error code otherwise.
|
* and Q-1, that is, if GCD( E, (P-1)*(Q-1) ) != 1.
|
||||||
|
* \return #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if inputs are otherwise
|
||||||
|
* invalid.
|
||||||
*
|
*
|
||||||
* \note This function does not check whether P and Q are primes.
|
* \note This function does not check whether P and Q are primes.
|
||||||
*
|
*
|
||||||
|
|||||||
251
library/ssl_debug_helpers_generated.c
Normal file
251
library/ssl_debug_helpers_generated.c
Normal file
@@ -0,0 +1,251 @@
|
|||||||
|
/* Automatically generated by generate_ssl_debug_helpers.py. DO NOT EDIT. */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \file ssl_debug_helpers_generated.c
|
||||||
|
*
|
||||||
|
* \brief Automatically generated helper functions for debugging
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Copyright The Mbed TLS Contributors
|
||||||
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ssl_misc.h"
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DEBUG_C)
|
||||||
|
|
||||||
|
#include "ssl_debug_helpers.h"
|
||||||
|
|
||||||
|
|
||||||
|
const char *mbedtls_ssl_named_group_to_str( uint16_t in )
|
||||||
|
{
|
||||||
|
switch( in )
|
||||||
|
{
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP192K1:
|
||||||
|
return "secp192k1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP192R1:
|
||||||
|
return "secp192r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP224K1:
|
||||||
|
return "secp224k1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP224R1:
|
||||||
|
return "secp224r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP256K1:
|
||||||
|
return "secp256k1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP256R1:
|
||||||
|
return "secp256r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP384R1:
|
||||||
|
return "secp384r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_SECP521R1:
|
||||||
|
return "secp521r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_BP256R1:
|
||||||
|
return "bp256r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_BP384R1:
|
||||||
|
return "bp384r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_BP512R1:
|
||||||
|
return "bp512r1";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_X25519:
|
||||||
|
return "x25519";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_X448:
|
||||||
|
return "x448";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_FFDHE2048:
|
||||||
|
return "ffdhe2048";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_FFDHE3072:
|
||||||
|
return "ffdhe3072";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_FFDHE4096:
|
||||||
|
return "ffdhe4096";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_FFDHE6144:
|
||||||
|
return "ffdhe6144";
|
||||||
|
case MBEDTLS_SSL_IANA_TLS_GROUP_FFDHE8192:
|
||||||
|
return "ffdhe8192";
|
||||||
|
};
|
||||||
|
|
||||||
|
return "UNKNOWN";
|
||||||
|
}
|
||||||
|
const char *mbedtls_ssl_sig_alg_to_str( uint16_t in )
|
||||||
|
{
|
||||||
|
switch( in )
|
||||||
|
{
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PKCS1_SHA256:
|
||||||
|
return "rsa_pkcs1_sha256";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PKCS1_SHA384:
|
||||||
|
return "rsa_pkcs1_sha384";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PKCS1_SHA512:
|
||||||
|
return "rsa_pkcs1_sha512";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_ECDSA_SECP256R1_SHA256:
|
||||||
|
return "ecdsa_secp256r1_sha256";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_ECDSA_SECP384R1_SHA384:
|
||||||
|
return "ecdsa_secp384r1_sha384";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_ECDSA_SECP521R1_SHA512:
|
||||||
|
return "ecdsa_secp521r1_sha512";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PSS_RSAE_SHA256:
|
||||||
|
return "rsa_pss_rsae_sha256";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PSS_RSAE_SHA384:
|
||||||
|
return "rsa_pss_rsae_sha384";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PSS_RSAE_SHA512:
|
||||||
|
return "rsa_pss_rsae_sha512";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_ED25519:
|
||||||
|
return "ed25519";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_ED448:
|
||||||
|
return "ed448";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PSS_PSS_SHA256:
|
||||||
|
return "rsa_pss_pss_sha256";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PSS_PSS_SHA384:
|
||||||
|
return "rsa_pss_pss_sha384";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PSS_PSS_SHA512:
|
||||||
|
return "rsa_pss_pss_sha512";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_RSA_PKCS1_SHA1:
|
||||||
|
return "rsa_pkcs1_sha1";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_ECDSA_SHA1:
|
||||||
|
return "ecdsa_sha1";
|
||||||
|
case MBEDTLS_TLS1_3_SIG_NONE:
|
||||||
|
return "none";
|
||||||
|
};
|
||||||
|
|
||||||
|
return "UNKNOWN";
|
||||||
|
}
|
||||||
|
const char *mbedtls_ssl_states_str( mbedtls_ssl_states in )
|
||||||
|
{
|
||||||
|
switch (in) {
|
||||||
|
case MBEDTLS_SSL_HELLO_REQUEST:
|
||||||
|
return "MBEDTLS_SSL_HELLO_REQUEST";
|
||||||
|
case MBEDTLS_SSL_CLIENT_HELLO:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_HELLO";
|
||||||
|
case MBEDTLS_SSL_SERVER_HELLO:
|
||||||
|
return "MBEDTLS_SSL_SERVER_HELLO";
|
||||||
|
case MBEDTLS_SSL_SERVER_CERTIFICATE:
|
||||||
|
return "MBEDTLS_SSL_SERVER_CERTIFICATE";
|
||||||
|
case MBEDTLS_SSL_SERVER_KEY_EXCHANGE:
|
||||||
|
return "MBEDTLS_SSL_SERVER_KEY_EXCHANGE";
|
||||||
|
case MBEDTLS_SSL_CERTIFICATE_REQUEST:
|
||||||
|
return "MBEDTLS_SSL_CERTIFICATE_REQUEST";
|
||||||
|
case MBEDTLS_SSL_SERVER_HELLO_DONE:
|
||||||
|
return "MBEDTLS_SSL_SERVER_HELLO_DONE";
|
||||||
|
case MBEDTLS_SSL_CLIENT_CERTIFICATE:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_CERTIFICATE";
|
||||||
|
case MBEDTLS_SSL_CLIENT_KEY_EXCHANGE:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_KEY_EXCHANGE";
|
||||||
|
case MBEDTLS_SSL_CERTIFICATE_VERIFY:
|
||||||
|
return "MBEDTLS_SSL_CERTIFICATE_VERIFY";
|
||||||
|
case MBEDTLS_SSL_CLIENT_CHANGE_CIPHER_SPEC:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_CHANGE_CIPHER_SPEC";
|
||||||
|
case MBEDTLS_SSL_CLIENT_FINISHED:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_FINISHED";
|
||||||
|
case MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC:
|
||||||
|
return "MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC";
|
||||||
|
case MBEDTLS_SSL_SERVER_FINISHED:
|
||||||
|
return "MBEDTLS_SSL_SERVER_FINISHED";
|
||||||
|
case MBEDTLS_SSL_FLUSH_BUFFERS:
|
||||||
|
return "MBEDTLS_SSL_FLUSH_BUFFERS";
|
||||||
|
case MBEDTLS_SSL_HANDSHAKE_WRAPUP:
|
||||||
|
return "MBEDTLS_SSL_HANDSHAKE_WRAPUP";
|
||||||
|
case MBEDTLS_SSL_NEW_SESSION_TICKET:
|
||||||
|
return "MBEDTLS_SSL_NEW_SESSION_TICKET";
|
||||||
|
case MBEDTLS_SSL_SERVER_HELLO_VERIFY_REQUEST_SENT:
|
||||||
|
return "MBEDTLS_SSL_SERVER_HELLO_VERIFY_REQUEST_SENT";
|
||||||
|
case MBEDTLS_SSL_HELLO_RETRY_REQUEST:
|
||||||
|
return "MBEDTLS_SSL_HELLO_RETRY_REQUEST";
|
||||||
|
case MBEDTLS_SSL_ENCRYPTED_EXTENSIONS:
|
||||||
|
return "MBEDTLS_SSL_ENCRYPTED_EXTENSIONS";
|
||||||
|
case MBEDTLS_SSL_END_OF_EARLY_DATA:
|
||||||
|
return "MBEDTLS_SSL_END_OF_EARLY_DATA";
|
||||||
|
case MBEDTLS_SSL_CLIENT_CERTIFICATE_VERIFY:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_CERTIFICATE_VERIFY";
|
||||||
|
case MBEDTLS_SSL_CLIENT_CCS_AFTER_SERVER_FINISHED:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_CCS_AFTER_SERVER_FINISHED";
|
||||||
|
case MBEDTLS_SSL_CLIENT_CCS_BEFORE_2ND_CLIENT_HELLO:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_CCS_BEFORE_2ND_CLIENT_HELLO";
|
||||||
|
case MBEDTLS_SSL_SERVER_CCS_AFTER_SERVER_HELLO:
|
||||||
|
return "MBEDTLS_SSL_SERVER_CCS_AFTER_SERVER_HELLO";
|
||||||
|
case MBEDTLS_SSL_CLIENT_CCS_AFTER_CLIENT_HELLO:
|
||||||
|
return "MBEDTLS_SSL_CLIENT_CCS_AFTER_CLIENT_HELLO";
|
||||||
|
case MBEDTLS_SSL_SERVER_CCS_AFTER_HELLO_RETRY_REQUEST:
|
||||||
|
return "MBEDTLS_SSL_SERVER_CCS_AFTER_HELLO_RETRY_REQUEST";
|
||||||
|
case MBEDTLS_SSL_HANDSHAKE_OVER:
|
||||||
|
return "MBEDTLS_SSL_HANDSHAKE_OVER";
|
||||||
|
case MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET:
|
||||||
|
return "MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET";
|
||||||
|
case MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET_FLUSH:
|
||||||
|
return "MBEDTLS_SSL_TLS1_3_NEW_SESSION_TICKET_FLUSH";
|
||||||
|
default:
|
||||||
|
return "UNKNOWN_VALUE";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_SSL_EARLY_DATA) && defined(MBEDTLS_SSL_CLI_C)
|
||||||
|
const char *mbedtls_ssl_early_data_status_str( mbedtls_ssl_early_data_status in )
|
||||||
|
{
|
||||||
|
switch (in) {
|
||||||
|
case MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_INDICATED:
|
||||||
|
return "MBEDTLS_SSL_EARLY_DATA_STATUS_NOT_INDICATED";
|
||||||
|
case MBEDTLS_SSL_EARLY_DATA_STATUS_ACCEPTED:
|
||||||
|
return "MBEDTLS_SSL_EARLY_DATA_STATUS_ACCEPTED";
|
||||||
|
case MBEDTLS_SSL_EARLY_DATA_STATUS_REJECTED:
|
||||||
|
return "MBEDTLS_SSL_EARLY_DATA_STATUS_REJECTED";
|
||||||
|
default:
|
||||||
|
return "UNKNOWN_VALUE";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* defined(MBEDTLS_SSL_EARLY_DATA) && defined(MBEDTLS_SSL_CLI_C) */
|
||||||
|
const char *mbedtls_ssl_protocol_version_str( mbedtls_ssl_protocol_version in )
|
||||||
|
{
|
||||||
|
switch (in) {
|
||||||
|
case MBEDTLS_SSL_VERSION_UNKNOWN:
|
||||||
|
return "MBEDTLS_SSL_VERSION_UNKNOWN";
|
||||||
|
case MBEDTLS_SSL_VERSION_TLS1_2:
|
||||||
|
return "MBEDTLS_SSL_VERSION_TLS1_2";
|
||||||
|
case MBEDTLS_SSL_VERSION_TLS1_3:
|
||||||
|
return "MBEDTLS_SSL_VERSION_TLS1_3";
|
||||||
|
default:
|
||||||
|
return "UNKNOWN_VALUE";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const char *mbedtls_tls_prf_types_str( mbedtls_tls_prf_types in )
|
||||||
|
{
|
||||||
|
switch (in) {
|
||||||
|
case MBEDTLS_SSL_TLS_PRF_NONE:
|
||||||
|
return "MBEDTLS_SSL_TLS_PRF_NONE";
|
||||||
|
case MBEDTLS_SSL_TLS_PRF_SHA384:
|
||||||
|
return "MBEDTLS_SSL_TLS_PRF_SHA384";
|
||||||
|
case MBEDTLS_SSL_TLS_PRF_SHA256:
|
||||||
|
return "MBEDTLS_SSL_TLS_PRF_SHA256";
|
||||||
|
case MBEDTLS_SSL_HKDF_EXPAND_SHA384:
|
||||||
|
return "MBEDTLS_SSL_HKDF_EXPAND_SHA384";
|
||||||
|
case MBEDTLS_SSL_HKDF_EXPAND_SHA256:
|
||||||
|
return "MBEDTLS_SSL_HKDF_EXPAND_SHA256";
|
||||||
|
default:
|
||||||
|
return "UNKNOWN_VALUE";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const char *mbedtls_ssl_key_export_type_str( mbedtls_ssl_key_export_type in )
|
||||||
|
{
|
||||||
|
switch (in) {
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS12_MASTER_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS12_MASTER_SECRET";
|
||||||
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS1_3_CLIENT_EARLY_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS1_3_CLIENT_EARLY_SECRET";
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS1_3_EARLY_EXPORTER_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS1_3_EARLY_EXPORTER_SECRET";
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS1_3_CLIENT_HANDSHAKE_TRAFFIC_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS1_3_CLIENT_HANDSHAKE_TRAFFIC_SECRET";
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS1_3_SERVER_HANDSHAKE_TRAFFIC_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS1_3_SERVER_HANDSHAKE_TRAFFIC_SECRET";
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS1_3_CLIENT_APPLICATION_TRAFFIC_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS1_3_CLIENT_APPLICATION_TRAFFIC_SECRET";
|
||||||
|
case MBEDTLS_SSL_KEY_EXPORT_TLS1_3_SERVER_APPLICATION_TRAFFIC_SECRET:
|
||||||
|
return "MBEDTLS_SSL_KEY_EXPORT_TLS1_3_SERVER_APPLICATION_TRAFFIC_SECRET";
|
||||||
|
#endif
|
||||||
|
default:
|
||||||
|
return "UNKNOWN_VALUE";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_DEBUG_C */
|
||||||
|
/* End of automatically generated file. */
|
||||||
|
|
||||||
853
library/version_features.c
Normal file
853
library/version_features.c
Normal file
@@ -0,0 +1,853 @@
|
|||||||
|
/*
|
||||||
|
* Version feature information
|
||||||
|
*
|
||||||
|
* Copyright The Mbed TLS Contributors
|
||||||
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_VERSION_C)
|
||||||
|
|
||||||
|
#include "mbedtls/version.h"
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
static const char * const features[] = {
|
||||||
|
#if defined(MBEDTLS_VERSION_FEATURES)
|
||||||
|
#if defined(MBEDTLS_HAVE_ASM)
|
||||||
|
"HAVE_ASM", //no-check-names
|
||||||
|
#endif /* MBEDTLS_HAVE_ASM */
|
||||||
|
#if defined(MBEDTLS_NO_UDBL_DIVISION)
|
||||||
|
"NO_UDBL_DIVISION", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NO_UDBL_DIVISION */
|
||||||
|
#if defined(MBEDTLS_NO_64BIT_MULTIPLICATION)
|
||||||
|
"NO_64BIT_MULTIPLICATION", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NO_64BIT_MULTIPLICATION */
|
||||||
|
#if defined(MBEDTLS_HAVE_SSE2)
|
||||||
|
"HAVE_SSE2", //no-check-names
|
||||||
|
#endif /* MBEDTLS_HAVE_SSE2 */
|
||||||
|
#if defined(MBEDTLS_HAVE_TIME)
|
||||||
|
"HAVE_TIME", //no-check-names
|
||||||
|
#endif /* MBEDTLS_HAVE_TIME */
|
||||||
|
#if defined(MBEDTLS_HAVE_TIME_DATE)
|
||||||
|
"HAVE_TIME_DATE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_HAVE_TIME_DATE */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_MEMORY)
|
||||||
|
"PLATFORM_MEMORY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_MEMORY */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS)
|
||||||
|
"PLATFORM_NO_STD_FUNCTIONS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_NO_STD_FUNCTIONS */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_SETBUF_ALT)
|
||||||
|
"PLATFORM_SETBUF_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_SETBUF_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_EXIT_ALT)
|
||||||
|
"PLATFORM_EXIT_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_EXIT_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_TIME_ALT)
|
||||||
|
"PLATFORM_TIME_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_TIME_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_FPRINTF_ALT)
|
||||||
|
"PLATFORM_FPRINTF_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_FPRINTF_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_PRINTF_ALT)
|
||||||
|
"PLATFORM_PRINTF_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_PRINTF_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT)
|
||||||
|
"PLATFORM_SNPRINTF_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT)
|
||||||
|
"PLATFORM_VSNPRINTF_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_VSNPRINTF_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
|
||||||
|
"PLATFORM_NV_SEED_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_NV_SEED_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT)
|
||||||
|
"PLATFORM_SETUP_TEARDOWN_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_MS_TIME_ALT)
|
||||||
|
"PLATFORM_MS_TIME_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_MS_TIME_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_GMTIME_R_ALT)
|
||||||
|
"PLATFORM_GMTIME_R_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_ZEROIZE_ALT)
|
||||||
|
"PLATFORM_ZEROIZE_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */
|
||||||
|
#if defined(MBEDTLS_DEPRECATED_WARNING)
|
||||||
|
"DEPRECATED_WARNING", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DEPRECATED_WARNING */
|
||||||
|
#if defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||||
|
"DEPRECATED_REMOVED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DEPRECATED_REMOVED */
|
||||||
|
#if defined(MBEDTLS_TIMING_ALT)
|
||||||
|
"TIMING_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_TIMING_ALT */
|
||||||
|
#if defined(MBEDTLS_AES_ALT)
|
||||||
|
"AES_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_ALT */
|
||||||
|
#if defined(MBEDTLS_ARIA_ALT)
|
||||||
|
"ARIA_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ARIA_ALT */
|
||||||
|
#if defined(MBEDTLS_CAMELLIA_ALT)
|
||||||
|
"CAMELLIA_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CAMELLIA_ALT */
|
||||||
|
#if defined(MBEDTLS_CCM_ALT)
|
||||||
|
"CCM_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CCM_ALT */
|
||||||
|
#if defined(MBEDTLS_CHACHA20_ALT)
|
||||||
|
"CHACHA20_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CHACHA20_ALT */
|
||||||
|
#if defined(MBEDTLS_CHACHAPOLY_ALT)
|
||||||
|
"CHACHAPOLY_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CHACHAPOLY_ALT */
|
||||||
|
#if defined(MBEDTLS_CMAC_ALT)
|
||||||
|
"CMAC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CMAC_ALT */
|
||||||
|
#if defined(MBEDTLS_DES_ALT)
|
||||||
|
"DES_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DES_ALT */
|
||||||
|
#if defined(MBEDTLS_DHM_ALT)
|
||||||
|
"DHM_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DHM_ALT */
|
||||||
|
#if defined(MBEDTLS_ECJPAKE_ALT)
|
||||||
|
"ECJPAKE_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECJPAKE_ALT */
|
||||||
|
#if defined(MBEDTLS_GCM_ALT)
|
||||||
|
"GCM_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_GCM_ALT */
|
||||||
|
#if defined(MBEDTLS_NIST_KW_ALT)
|
||||||
|
"NIST_KW_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NIST_KW_ALT */
|
||||||
|
#if defined(MBEDTLS_MD5_ALT)
|
||||||
|
"MD5_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MD5_ALT */
|
||||||
|
#if defined(MBEDTLS_POLY1305_ALT)
|
||||||
|
"POLY1305_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_POLY1305_ALT */
|
||||||
|
#if defined(MBEDTLS_RIPEMD160_ALT)
|
||||||
|
"RIPEMD160_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_RIPEMD160_ALT */
|
||||||
|
#if defined(MBEDTLS_RSA_ALT)
|
||||||
|
"RSA_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_RSA_ALT */
|
||||||
|
#if defined(MBEDTLS_SHA1_ALT)
|
||||||
|
"SHA1_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA1_ALT */
|
||||||
|
#if defined(MBEDTLS_SHA256_ALT)
|
||||||
|
"SHA256_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_ALT */
|
||||||
|
#if defined(MBEDTLS_SHA512_ALT)
|
||||||
|
"SHA512_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA512_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_ALT)
|
||||||
|
"ECP_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_ALT */
|
||||||
|
#if defined(MBEDTLS_MD5_PROCESS_ALT)
|
||||||
|
"MD5_PROCESS_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MD5_PROCESS_ALT */
|
||||||
|
#if defined(MBEDTLS_RIPEMD160_PROCESS_ALT)
|
||||||
|
"RIPEMD160_PROCESS_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_RIPEMD160_PROCESS_ALT */
|
||||||
|
#if defined(MBEDTLS_SHA1_PROCESS_ALT)
|
||||||
|
"SHA1_PROCESS_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA1_PROCESS_ALT */
|
||||||
|
#if defined(MBEDTLS_SHA256_PROCESS_ALT)
|
||||||
|
"SHA256_PROCESS_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_PROCESS_ALT */
|
||||||
|
#if defined(MBEDTLS_SHA512_PROCESS_ALT)
|
||||||
|
"SHA512_PROCESS_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA512_PROCESS_ALT */
|
||||||
|
#if defined(MBEDTLS_DES_SETKEY_ALT)
|
||||||
|
"DES_SETKEY_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DES_SETKEY_ALT */
|
||||||
|
#if defined(MBEDTLS_DES_CRYPT_ECB_ALT)
|
||||||
|
"DES_CRYPT_ECB_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DES_CRYPT_ECB_ALT */
|
||||||
|
#if defined(MBEDTLS_DES3_CRYPT_ECB_ALT)
|
||||||
|
"DES3_CRYPT_ECB_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DES3_CRYPT_ECB_ALT */
|
||||||
|
#if defined(MBEDTLS_AES_SETKEY_ENC_ALT)
|
||||||
|
"AES_SETKEY_ENC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_SETKEY_ENC_ALT */
|
||||||
|
#if defined(MBEDTLS_AES_SETKEY_DEC_ALT)
|
||||||
|
"AES_SETKEY_DEC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_SETKEY_DEC_ALT */
|
||||||
|
#if defined(MBEDTLS_AES_ENCRYPT_ALT)
|
||||||
|
"AES_ENCRYPT_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_ENCRYPT_ALT */
|
||||||
|
#if defined(MBEDTLS_AES_DECRYPT_ALT)
|
||||||
|
"AES_DECRYPT_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_DECRYPT_ALT */
|
||||||
|
#if defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT)
|
||||||
|
"ECDH_GEN_PUBLIC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDH_GEN_PUBLIC_ALT */
|
||||||
|
#if defined(MBEDTLS_ECDH_COMPUTE_SHARED_ALT)
|
||||||
|
"ECDH_COMPUTE_SHARED_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDH_COMPUTE_SHARED_ALT */
|
||||||
|
#if defined(MBEDTLS_ECDSA_VERIFY_ALT)
|
||||||
|
"ECDSA_VERIFY_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDSA_VERIFY_ALT */
|
||||||
|
#if defined(MBEDTLS_ECDSA_SIGN_ALT)
|
||||||
|
"ECDSA_SIGN_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDSA_SIGN_ALT */
|
||||||
|
#if defined(MBEDTLS_ECDSA_GENKEY_ALT)
|
||||||
|
"ECDSA_GENKEY_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDSA_GENKEY_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_INTERNAL_ALT)
|
||||||
|
"ECP_INTERNAL_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_INTERNAL_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_NO_FALLBACK)
|
||||||
|
"ECP_NO_FALLBACK", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_NO_FALLBACK */
|
||||||
|
#if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT)
|
||||||
|
"ECP_RANDOMIZE_JAC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_RANDOMIZE_JAC_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_ADD_MIXED_ALT)
|
||||||
|
"ECP_ADD_MIXED_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_ADD_MIXED_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_DOUBLE_JAC_ALT)
|
||||||
|
"ECP_DOUBLE_JAC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DOUBLE_JAC_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT)
|
||||||
|
"ECP_NORMALIZE_JAC_MANY_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_NORMALIZE_JAC_ALT)
|
||||||
|
"ECP_NORMALIZE_JAC_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_NORMALIZE_JAC_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT)
|
||||||
|
"ECP_DOUBLE_ADD_MXZ_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT)
|
||||||
|
"ECP_RANDOMIZE_MXZ_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_RANDOMIZE_MXZ_ALT */
|
||||||
|
#if defined(MBEDTLS_ECP_NORMALIZE_MXZ_ALT)
|
||||||
|
"ECP_NORMALIZE_MXZ_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_NORMALIZE_MXZ_ALT */
|
||||||
|
#if defined(MBEDTLS_ENTROPY_HARDWARE_ALT)
|
||||||
|
"ENTROPY_HARDWARE_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ENTROPY_HARDWARE_ALT */
|
||||||
|
#if defined(MBEDTLS_AES_ROM_TABLES)
|
||||||
|
"AES_ROM_TABLES", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_ROM_TABLES */
|
||||||
|
#if defined(MBEDTLS_AES_FEWER_TABLES)
|
||||||
|
"AES_FEWER_TABLES", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_FEWER_TABLES */
|
||||||
|
#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH)
|
||||||
|
"AES_ONLY_128_BIT_KEY_LENGTH", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH */
|
||||||
|
#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
|
||||||
|
"AES_USE_HARDWARE_ONLY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_USE_HARDWARE_ONLY */
|
||||||
|
#if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY)
|
||||||
|
"CAMELLIA_SMALL_MEMORY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CAMELLIA_SMALL_MEMORY */
|
||||||
|
#if defined(MBEDTLS_CHECK_RETURN_WARNING)
|
||||||
|
"CHECK_RETURN_WARNING", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CHECK_RETURN_WARNING */
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_CBC)
|
||||||
|
"CIPHER_MODE_CBC", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_CBC */
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_CFB)
|
||||||
|
"CIPHER_MODE_CFB", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_CFB */
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_CTR)
|
||||||
|
"CIPHER_MODE_CTR", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_CTR */
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_OFB)
|
||||||
|
"CIPHER_MODE_OFB", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_OFB */
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_XTS)
|
||||||
|
"CIPHER_MODE_XTS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_XTS */
|
||||||
|
#if defined(MBEDTLS_CIPHER_NULL_CIPHER)
|
||||||
|
"CIPHER_NULL_CIPHER", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_NULL_CIPHER */
|
||||||
|
#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
|
||||||
|
"CIPHER_PADDING_PKCS7", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_PADDING_PKCS7 */
|
||||||
|
#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS)
|
||||||
|
"CIPHER_PADDING_ONE_AND_ZEROS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS */
|
||||||
|
#if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN)
|
||||||
|
"CIPHER_PADDING_ZEROS_AND_LEN", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN */
|
||||||
|
#if defined(MBEDTLS_CIPHER_PADDING_ZEROS)
|
||||||
|
"CIPHER_PADDING_ZEROS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_PADDING_ZEROS */
|
||||||
|
#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY)
|
||||||
|
"CTR_DRBG_USE_128_BIT_KEY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CTR_DRBG_USE_128_BIT_KEY */
|
||||||
|
#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
|
||||||
|
"ECDH_VARIANT_EVEREST_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
|
||||||
|
"ECP_DP_SECP192R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP192R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
|
||||||
|
"ECP_DP_SECP224R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP224R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
|
||||||
|
"ECP_DP_SECP256R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP256R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
|
||||||
|
"ECP_DP_SECP384R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP384R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
|
||||||
|
"ECP_DP_SECP521R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP521R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
|
||||||
|
"ECP_DP_SECP192K1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP192K1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
|
||||||
|
"ECP_DP_SECP224K1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP224K1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
|
||||||
|
"ECP_DP_SECP256K1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_SECP256K1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
|
||||||
|
"ECP_DP_BP256R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_BP256R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
|
||||||
|
"ECP_DP_BP384R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_BP384R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
|
||||||
|
"ECP_DP_BP512R1_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_BP512R1_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
|
||||||
|
"ECP_DP_CURVE25519_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_CURVE25519_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
|
||||||
|
"ECP_DP_CURVE448_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
|
||||||
|
#if defined(MBEDTLS_ECP_NIST_OPTIM)
|
||||||
|
"ECP_NIST_OPTIM", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_NIST_OPTIM */
|
||||||
|
#if defined(MBEDTLS_ECP_RESTARTABLE)
|
||||||
|
"ECP_RESTARTABLE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
||||||
|
#if defined(MBEDTLS_ECP_WITH_MPI_UINT)
|
||||||
|
"ECP_WITH_MPI_UINT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_WITH_MPI_UINT */
|
||||||
|
#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
|
||||||
|
"ECDSA_DETERMINISTIC", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDSA_DETERMINISTIC */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_PSK_ENABLED)
|
||||||
|
"KEY_EXCHANGE_PSK_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_PSK_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED)
|
||||||
|
"KEY_EXCHANGE_DHE_PSK_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED)
|
||||||
|
"KEY_EXCHANGE_ECDHE_PSK_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED)
|
||||||
|
"KEY_EXCHANGE_RSA_PSK_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED)
|
||||||
|
"KEY_EXCHANGE_RSA_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_RSA_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED)
|
||||||
|
"KEY_EXCHANGE_DHE_RSA_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED)
|
||||||
|
"KEY_EXCHANGE_ECDHE_RSA_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED)
|
||||||
|
"KEY_EXCHANGE_ECDHE_ECDSA_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED)
|
||||||
|
"KEY_EXCHANGE_ECDH_ECDSA_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED)
|
||||||
|
"KEY_EXCHANGE_ECDH_RSA_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED */
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED)
|
||||||
|
"KEY_EXCHANGE_ECJPAKE_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED */
|
||||||
|
#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED)
|
||||||
|
"PK_PARSE_EC_EXTENDED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PK_PARSE_EC_EXTENDED */
|
||||||
|
#if defined(MBEDTLS_PK_PARSE_EC_COMPRESSED)
|
||||||
|
"PK_PARSE_EC_COMPRESSED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PK_PARSE_EC_COMPRESSED */
|
||||||
|
#if defined(MBEDTLS_ERROR_STRERROR_DUMMY)
|
||||||
|
"ERROR_STRERROR_DUMMY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ERROR_STRERROR_DUMMY */
|
||||||
|
#if defined(MBEDTLS_GENPRIME)
|
||||||
|
"GENPRIME", //no-check-names
|
||||||
|
#endif /* MBEDTLS_GENPRIME */
|
||||||
|
#if defined(MBEDTLS_FS_IO)
|
||||||
|
"FS_IO", //no-check-names
|
||||||
|
#endif /* MBEDTLS_FS_IO */
|
||||||
|
#if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES)
|
||||||
|
"NO_DEFAULT_ENTROPY_SOURCES", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES */
|
||||||
|
#if defined(MBEDTLS_NO_PLATFORM_ENTROPY)
|
||||||
|
"NO_PLATFORM_ENTROPY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NO_PLATFORM_ENTROPY */
|
||||||
|
#if defined(MBEDTLS_ENTROPY_FORCE_SHA256)
|
||||||
|
"ENTROPY_FORCE_SHA256", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ENTROPY_FORCE_SHA256 */
|
||||||
|
#if defined(MBEDTLS_ENTROPY_NV_SEED)
|
||||||
|
"ENTROPY_NV_SEED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ENTROPY_NV_SEED */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER)
|
||||||
|
"PSA_CRYPTO_KEY_ID_ENCODES_OWNER", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER */
|
||||||
|
#if defined(MBEDTLS_MEMORY_DEBUG)
|
||||||
|
"MEMORY_DEBUG", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MEMORY_DEBUG */
|
||||||
|
#if defined(MBEDTLS_MEMORY_BACKTRACE)
|
||||||
|
"MEMORY_BACKTRACE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MEMORY_BACKTRACE */
|
||||||
|
#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT)
|
||||||
|
"PK_RSA_ALT_SUPPORT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PK_RSA_ALT_SUPPORT */
|
||||||
|
#if defined(MBEDTLS_PKCS1_V15)
|
||||||
|
"PKCS1_V15", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PKCS1_V15 */
|
||||||
|
#if defined(MBEDTLS_PKCS1_V21)
|
||||||
|
"PKCS1_V21", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PKCS1_V21 */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
|
||||||
|
"PSA_CRYPTO_BUILTIN_KEYS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
|
||||||
|
"PSA_CRYPTO_CLIENT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_CLIENT */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)
|
||||||
|
"PSA_CRYPTO_EXTERNAL_RNG", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_SPM)
|
||||||
|
"PSA_CRYPTO_SPM", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_SPM */
|
||||||
|
#if defined(MBEDTLS_PSA_KEY_STORE_DYNAMIC)
|
||||||
|
"PSA_KEY_STORE_DYNAMIC", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_KEY_STORE_DYNAMIC */
|
||||||
|
#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED)
|
||||||
|
"PSA_P256M_DRIVER_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_P256M_DRIVER_ENABLED */
|
||||||
|
#if defined(MBEDTLS_PSA_INJECT_ENTROPY)
|
||||||
|
"PSA_INJECT_ENTROPY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_INJECT_ENTROPY */
|
||||||
|
#if defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS)
|
||||||
|
"PSA_ASSUME_EXCLUSIVE_BUFFERS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS */
|
||||||
|
#if defined(MBEDTLS_RSA_NO_CRT)
|
||||||
|
"RSA_NO_CRT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_RSA_NO_CRT */
|
||||||
|
#if defined(MBEDTLS_SELF_TEST)
|
||||||
|
"SELF_TEST", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SELF_TEST */
|
||||||
|
#if defined(MBEDTLS_SHA256_SMALLER)
|
||||||
|
"SHA256_SMALLER", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_SMALLER */
|
||||||
|
#if defined(MBEDTLS_SHA512_SMALLER)
|
||||||
|
"SHA512_SMALLER", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA512_SMALLER */
|
||||||
|
#if defined(MBEDTLS_SSL_ALL_ALERT_MESSAGES)
|
||||||
|
"SSL_ALL_ALERT_MESSAGES", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_ALL_ALERT_MESSAGES */
|
||||||
|
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
||||||
|
"SSL_DTLS_CONNECTION_ID", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
|
||||||
|
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT)
|
||||||
|
"SSL_DTLS_CONNECTION_ID_COMPAT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT */
|
||||||
|
#if defined(MBEDTLS_SSL_ASYNC_PRIVATE)
|
||||||
|
"SSL_ASYNC_PRIVATE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_ASYNC_PRIVATE */
|
||||||
|
#if defined(MBEDTLS_SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME)
|
||||||
|
"SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME */
|
||||||
|
#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION)
|
||||||
|
"SSL_CONTEXT_SERIALIZATION", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_CONTEXT_SERIALIZATION */
|
||||||
|
#if defined(MBEDTLS_SSL_DEBUG_ALL)
|
||||||
|
"SSL_DEBUG_ALL", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DEBUG_ALL */
|
||||||
|
#if defined(MBEDTLS_SSL_ENCRYPT_THEN_MAC)
|
||||||
|
"SSL_ENCRYPT_THEN_MAC", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_ENCRYPT_THEN_MAC */
|
||||||
|
#if defined(MBEDTLS_SSL_EXTENDED_MASTER_SECRET)
|
||||||
|
"SSL_EXTENDED_MASTER_SECRET", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
|
||||||
|
#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
||||||
|
"SSL_KEEP_PEER_CERTIFICATE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
|
||||||
|
#if defined(MBEDTLS_SSL_KEYING_MATERIAL_EXPORT)
|
||||||
|
"SSL_KEYING_MATERIAL_EXPORT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_KEYING_MATERIAL_EXPORT */
|
||||||
|
#if defined(MBEDTLS_SSL_RENEGOTIATION)
|
||||||
|
"SSL_RENEGOTIATION", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_RENEGOTIATION */
|
||||||
|
#if defined(MBEDTLS_SSL_MAX_FRAGMENT_LENGTH)
|
||||||
|
"SSL_MAX_FRAGMENT_LENGTH", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_MAX_FRAGMENT_LENGTH */
|
||||||
|
#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
|
||||||
|
"SSL_RECORD_SIZE_LIMIT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */
|
||||||
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_2)
|
||||||
|
"SSL_PROTO_TLS1_2", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_2 */
|
||||||
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||||
|
"SSL_PROTO_TLS1_3", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3 */
|
||||||
|
#if defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE)
|
||||||
|
"SSL_TLS1_3_COMPATIBILITY_MODE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE */
|
||||||
|
#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED)
|
||||||
|
"SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED */
|
||||||
|
#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED)
|
||||||
|
"SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED */
|
||||||
|
#if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED)
|
||||||
|
"SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED */
|
||||||
|
#if defined(MBEDTLS_SSL_EARLY_DATA)
|
||||||
|
"SSL_EARLY_DATA", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_EARLY_DATA */
|
||||||
|
#if defined(MBEDTLS_SSL_PROTO_DTLS)
|
||||||
|
"SSL_PROTO_DTLS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_PROTO_DTLS */
|
||||||
|
#if defined(MBEDTLS_SSL_ALPN)
|
||||||
|
"SSL_ALPN", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_ALPN */
|
||||||
|
#if defined(MBEDTLS_SSL_DTLS_ANTI_REPLAY)
|
||||||
|
"SSL_DTLS_ANTI_REPLAY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DTLS_ANTI_REPLAY */
|
||||||
|
#if defined(MBEDTLS_SSL_DTLS_HELLO_VERIFY)
|
||||||
|
"SSL_DTLS_HELLO_VERIFY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
|
||||||
|
#if defined(MBEDTLS_SSL_DTLS_SRTP)
|
||||||
|
"SSL_DTLS_SRTP", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DTLS_SRTP */
|
||||||
|
#if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
|
||||||
|
"SSL_DTLS_CLIENT_PORT_REUSE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE */
|
||||||
|
#if defined(MBEDTLS_SSL_SESSION_TICKETS)
|
||||||
|
"SSL_SESSION_TICKETS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_SESSION_TICKETS */
|
||||||
|
#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
|
||||||
|
"SSL_SERVER_NAME_INDICATION", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_SERVER_NAME_INDICATION */
|
||||||
|
#if defined(MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH)
|
||||||
|
"SSL_VARIABLE_BUFFER_LENGTH", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH */
|
||||||
|
#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN)
|
||||||
|
"TEST_CONSTANT_FLOW_MEMSAN", //no-check-names
|
||||||
|
#endif /* MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN */
|
||||||
|
#if defined(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND)
|
||||||
|
"TEST_CONSTANT_FLOW_VALGRIND", //no-check-names
|
||||||
|
#endif /* MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND */
|
||||||
|
#if defined(MBEDTLS_TEST_HOOKS)
|
||||||
|
"TEST_HOOKS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_TEST_HOOKS */
|
||||||
|
#if defined(MBEDTLS_THREADING_ALT)
|
||||||
|
"THREADING_ALT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_THREADING_ALT */
|
||||||
|
#if defined(MBEDTLS_THREADING_PTHREAD)
|
||||||
|
"THREADING_PTHREAD", //no-check-names
|
||||||
|
#endif /* MBEDTLS_THREADING_PTHREAD */
|
||||||
|
#if defined(MBEDTLS_USE_PSA_CRYPTO)
|
||||||
|
"USE_PSA_CRYPTO", //no-check-names
|
||||||
|
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
|
||||||
|
"PSA_CRYPTO_CONFIG", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
|
||||||
|
#if defined(MBEDTLS_VERSION_FEATURES)
|
||||||
|
"VERSION_FEATURES", //no-check-names
|
||||||
|
#endif /* MBEDTLS_VERSION_FEATURES */
|
||||||
|
#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK)
|
||||||
|
"X509_TRUSTED_CERTIFICATE_CALLBACK", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK */
|
||||||
|
#if defined(MBEDTLS_X509_REMOVE_INFO)
|
||||||
|
"X509_REMOVE_INFO", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_REMOVE_INFO */
|
||||||
|
#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
|
||||||
|
"X509_RSASSA_PSS_SUPPORT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */
|
||||||
|
#if defined(MBEDTLS_AESNI_C)
|
||||||
|
"AESNI_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AESNI_C */
|
||||||
|
#if defined(MBEDTLS_AESCE_C)
|
||||||
|
"AESCE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AESCE_C */
|
||||||
|
#if defined(MBEDTLS_AES_C)
|
||||||
|
"AES_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_AES_C */
|
||||||
|
#if defined(MBEDTLS_ASN1_PARSE_C)
|
||||||
|
"ASN1_PARSE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ASN1_PARSE_C */
|
||||||
|
#if defined(MBEDTLS_ASN1_WRITE_C)
|
||||||
|
"ASN1_WRITE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ASN1_WRITE_C */
|
||||||
|
#if defined(MBEDTLS_BASE64_C)
|
||||||
|
"BASE64_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_BASE64_C */
|
||||||
|
#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT)
|
||||||
|
"BLOCK_CIPHER_NO_DECRYPT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_BLOCK_CIPHER_NO_DECRYPT */
|
||||||
|
#if defined(MBEDTLS_BIGNUM_C)
|
||||||
|
"BIGNUM_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_BIGNUM_C */
|
||||||
|
#if defined(MBEDTLS_CAMELLIA_C)
|
||||||
|
"CAMELLIA_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CAMELLIA_C */
|
||||||
|
#if defined(MBEDTLS_ARIA_C)
|
||||||
|
"ARIA_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ARIA_C */
|
||||||
|
#if defined(MBEDTLS_CCM_C)
|
||||||
|
"CCM_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CCM_C */
|
||||||
|
#if defined(MBEDTLS_CHACHA20_C)
|
||||||
|
"CHACHA20_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CHACHA20_C */
|
||||||
|
#if defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
"CHACHAPOLY_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CHACHAPOLY_C */
|
||||||
|
#if defined(MBEDTLS_CIPHER_C)
|
||||||
|
"CIPHER_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CIPHER_C */
|
||||||
|
#if defined(MBEDTLS_CMAC_C)
|
||||||
|
"CMAC_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CMAC_C */
|
||||||
|
#if defined(MBEDTLS_CTR_DRBG_C)
|
||||||
|
"CTR_DRBG_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_CTR_DRBG_C */
|
||||||
|
#if defined(MBEDTLS_DEBUG_C)
|
||||||
|
"DEBUG_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DEBUG_C */
|
||||||
|
#if defined(MBEDTLS_DES_C)
|
||||||
|
"DES_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DES_C */
|
||||||
|
#if defined(MBEDTLS_DHM_C)
|
||||||
|
"DHM_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_DHM_C */
|
||||||
|
#if defined(MBEDTLS_ECDH_C)
|
||||||
|
"ECDH_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDH_C */
|
||||||
|
#if defined(MBEDTLS_ECDSA_C)
|
||||||
|
"ECDSA_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECDSA_C */
|
||||||
|
#if defined(MBEDTLS_ECJPAKE_C)
|
||||||
|
"ECJPAKE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECJPAKE_C */
|
||||||
|
#if defined(MBEDTLS_ECP_C)
|
||||||
|
"ECP_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ECP_C */
|
||||||
|
#if defined(MBEDTLS_ENTROPY_C)
|
||||||
|
"ENTROPY_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ENTROPY_C */
|
||||||
|
#if defined(MBEDTLS_ERROR_C)
|
||||||
|
"ERROR_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_ERROR_C */
|
||||||
|
#if defined(MBEDTLS_GCM_C)
|
||||||
|
"GCM_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_GCM_C */
|
||||||
|
#if defined(MBEDTLS_GCM_LARGE_TABLE)
|
||||||
|
"GCM_LARGE_TABLE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_GCM_LARGE_TABLE */
|
||||||
|
#if defined(MBEDTLS_HKDF_C)
|
||||||
|
"HKDF_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_HKDF_C */
|
||||||
|
#if defined(MBEDTLS_HMAC_DRBG_C)
|
||||||
|
"HMAC_DRBG_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_HMAC_DRBG_C */
|
||||||
|
#if defined(MBEDTLS_LMS_C)
|
||||||
|
"LMS_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_LMS_C */
|
||||||
|
#if defined(MBEDTLS_LMS_PRIVATE)
|
||||||
|
"LMS_PRIVATE", //no-check-names
|
||||||
|
#endif /* MBEDTLS_LMS_PRIVATE */
|
||||||
|
#if defined(MBEDTLS_NIST_KW_C)
|
||||||
|
"NIST_KW_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NIST_KW_C */
|
||||||
|
#if defined(MBEDTLS_MD_C)
|
||||||
|
"MD_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MD_C */
|
||||||
|
#if defined(MBEDTLS_MD5_C)
|
||||||
|
"MD5_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MD5_C */
|
||||||
|
#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C)
|
||||||
|
"MEMORY_BUFFER_ALLOC_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_MEMORY_BUFFER_ALLOC_C */
|
||||||
|
#if defined(MBEDTLS_NET_C)
|
||||||
|
"NET_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_NET_C */
|
||||||
|
#if defined(MBEDTLS_OID_C)
|
||||||
|
"OID_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_OID_C */
|
||||||
|
#if defined(MBEDTLS_PADLOCK_C)
|
||||||
|
"PADLOCK_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PADLOCK_C */
|
||||||
|
#if defined(MBEDTLS_PEM_PARSE_C)
|
||||||
|
"PEM_PARSE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PEM_PARSE_C */
|
||||||
|
#if defined(MBEDTLS_PEM_WRITE_C)
|
||||||
|
"PEM_WRITE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PEM_WRITE_C */
|
||||||
|
#if defined(MBEDTLS_PK_C)
|
||||||
|
"PK_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PK_C */
|
||||||
|
#if defined(MBEDTLS_PK_PARSE_C)
|
||||||
|
"PK_PARSE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PK_PARSE_C */
|
||||||
|
#if defined(MBEDTLS_PK_WRITE_C)
|
||||||
|
"PK_WRITE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PK_WRITE_C */
|
||||||
|
#if defined(MBEDTLS_PKCS5_C)
|
||||||
|
"PKCS5_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PKCS5_C */
|
||||||
|
#if defined(MBEDTLS_PKCS7_C)
|
||||||
|
"PKCS7_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PKCS7_C */
|
||||||
|
#if defined(MBEDTLS_PKCS12_C)
|
||||||
|
"PKCS12_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PKCS12_C */
|
||||||
|
#if defined(MBEDTLS_PLATFORM_C)
|
||||||
|
"PLATFORM_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PLATFORM_C */
|
||||||
|
#if defined(MBEDTLS_POLY1305_C)
|
||||||
|
"POLY1305_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_POLY1305_C */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_C)
|
||||||
|
"PSA_CRYPTO_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_C */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_SE_C)
|
||||||
|
"PSA_CRYPTO_SE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_SE_C */
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
|
||||||
|
"PSA_CRYPTO_STORAGE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_STORAGE_C */
|
||||||
|
#if defined(MBEDTLS_PSA_ITS_FILE_C)
|
||||||
|
"PSA_ITS_FILE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_ITS_FILE_C */
|
||||||
|
#if defined(MBEDTLS_PSA_STATIC_KEY_SLOTS)
|
||||||
|
"PSA_STATIC_KEY_SLOTS", //no-check-names
|
||||||
|
#endif /* MBEDTLS_PSA_STATIC_KEY_SLOTS */
|
||||||
|
#if defined(MBEDTLS_RIPEMD160_C)
|
||||||
|
"RIPEMD160_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_RIPEMD160_C */
|
||||||
|
#if defined(MBEDTLS_RSA_C)
|
||||||
|
"RSA_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_RSA_C */
|
||||||
|
#if defined(MBEDTLS_SHA1_C)
|
||||||
|
"SHA1_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA1_C */
|
||||||
|
#if defined(MBEDTLS_SHA224_C)
|
||||||
|
"SHA224_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA224_C */
|
||||||
|
#if defined(MBEDTLS_SHA256_C)
|
||||||
|
"SHA256_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_C */
|
||||||
|
#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT)
|
||||||
|
"SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT */
|
||||||
|
#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT)
|
||||||
|
"SHA256_USE_A64_CRYPTO_IF_PRESENT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT */
|
||||||
|
#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY)
|
||||||
|
"SHA256_USE_ARMV8_A_CRYPTO_ONLY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY */
|
||||||
|
#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY)
|
||||||
|
"SHA256_USE_A64_CRYPTO_ONLY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY */
|
||||||
|
#if defined(MBEDTLS_SHA384_C)
|
||||||
|
"SHA384_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA384_C */
|
||||||
|
#if defined(MBEDTLS_SHA512_C)
|
||||||
|
"SHA512_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA512_C */
|
||||||
|
#if defined(MBEDTLS_SHA3_C)
|
||||||
|
"SHA3_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA3_C */
|
||||||
|
#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT)
|
||||||
|
"SHA512_USE_A64_CRYPTO_IF_PRESENT", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT */
|
||||||
|
#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
|
||||||
|
"SHA512_USE_A64_CRYPTO_ONLY", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY */
|
||||||
|
#if defined(MBEDTLS_SSL_CACHE_C)
|
||||||
|
"SSL_CACHE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_CACHE_C */
|
||||||
|
#if defined(MBEDTLS_SSL_COOKIE_C)
|
||||||
|
"SSL_COOKIE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_COOKIE_C */
|
||||||
|
#if defined(MBEDTLS_SSL_TICKET_C)
|
||||||
|
"SSL_TICKET_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_TICKET_C */
|
||||||
|
#if defined(MBEDTLS_SSL_CLI_C)
|
||||||
|
"SSL_CLI_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_CLI_C */
|
||||||
|
#if defined(MBEDTLS_SSL_SRV_C)
|
||||||
|
"SSL_SRV_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_SRV_C */
|
||||||
|
#if defined(MBEDTLS_SSL_TLS_C)
|
||||||
|
"SSL_TLS_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_SSL_TLS_C */
|
||||||
|
#if defined(MBEDTLS_THREADING_C)
|
||||||
|
"THREADING_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_THREADING_C */
|
||||||
|
#if defined(MBEDTLS_TIMING_C)
|
||||||
|
"TIMING_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_TIMING_C */
|
||||||
|
#if defined(MBEDTLS_VERSION_C)
|
||||||
|
"VERSION_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_VERSION_C */
|
||||||
|
#if defined(MBEDTLS_X509_USE_C)
|
||||||
|
"X509_USE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_USE_C */
|
||||||
|
#if defined(MBEDTLS_X509_CRT_PARSE_C)
|
||||||
|
"X509_CRT_PARSE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||||
|
#if defined(MBEDTLS_X509_CRL_PARSE_C)
|
||||||
|
"X509_CRL_PARSE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_CRL_PARSE_C */
|
||||||
|
#if defined(MBEDTLS_X509_CSR_PARSE_C)
|
||||||
|
"X509_CSR_PARSE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_CSR_PARSE_C */
|
||||||
|
#if defined(MBEDTLS_X509_CREATE_C)
|
||||||
|
"X509_CREATE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_CREATE_C */
|
||||||
|
#if defined(MBEDTLS_X509_CRT_WRITE_C)
|
||||||
|
"X509_CRT_WRITE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_CRT_WRITE_C */
|
||||||
|
#if defined(MBEDTLS_X509_CSR_WRITE_C)
|
||||||
|
"X509_CSR_WRITE_C", //no-check-names
|
||||||
|
#endif /* MBEDTLS_X509_CSR_WRITE_C */
|
||||||
|
#endif /* MBEDTLS_VERSION_FEATURES */
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
int mbedtls_version_check_feature(const char *feature)
|
||||||
|
{
|
||||||
|
const char * const *idx = features;
|
||||||
|
|
||||||
|
if (*idx == NULL) {
|
||||||
|
return -2;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (feature == NULL) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strncmp(feature, "MBEDTLS_", 8)) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
feature += 8;
|
||||||
|
|
||||||
|
while (*idx != NULL) {
|
||||||
|
if (!strcmp(*idx, feature)) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
idx++;
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_VERSION_C */
|
||||||
16
programs/.gitignore
vendored
16
programs/.gitignore
vendored
@@ -73,11 +73,11 @@ x509/crl_app
|
|||||||
x509/load_roots
|
x509/load_roots
|
||||||
x509/req_app
|
x509/req_app
|
||||||
|
|
||||||
###START_GENERATED_FILES###
|
####START_COMMENTED_GENERATED_FILES###
|
||||||
# Generated source files
|
## Generated source files
|
||||||
/psa/psa_constant_names_generated.c
|
#/psa/psa_constant_names_generated.c
|
||||||
/test/query_config.c
|
#/test/query_config.c
|
||||||
|
#
|
||||||
# Generated data files
|
## Generated data files
|
||||||
pkey/keyfile.key
|
#pkey/keyfile.key
|
||||||
###END_GENERATED_FILES###
|
####END_COMMENTED_GENERATED_FILES###
|
||||||
|
|||||||
474
programs/psa/psa_constant_names_generated.c
Normal file
474
programs/psa/psa_constant_names_generated.c
Normal file
@@ -0,0 +1,474 @@
|
|||||||
|
/* Automatically generated by generate_psa_constant.py. DO NOT EDIT. */
|
||||||
|
|
||||||
|
static const char *psa_strerror(psa_status_t status)
|
||||||
|
{
|
||||||
|
switch (status) {
|
||||||
|
case PSA_ERROR_ALREADY_EXISTS: return "PSA_ERROR_ALREADY_EXISTS";
|
||||||
|
case PSA_ERROR_BAD_STATE: return "PSA_ERROR_BAD_STATE";
|
||||||
|
case PSA_ERROR_BUFFER_TOO_SMALL: return "PSA_ERROR_BUFFER_TOO_SMALL";
|
||||||
|
case PSA_ERROR_COMMUNICATION_FAILURE: return "PSA_ERROR_COMMUNICATION_FAILURE";
|
||||||
|
case PSA_ERROR_CORRUPTION_DETECTED: return "PSA_ERROR_CORRUPTION_DETECTED";
|
||||||
|
case PSA_ERROR_DATA_CORRUPT: return "PSA_ERROR_DATA_CORRUPT";
|
||||||
|
case PSA_ERROR_DATA_INVALID: return "PSA_ERROR_DATA_INVALID";
|
||||||
|
case PSA_ERROR_DOES_NOT_EXIST: return "PSA_ERROR_DOES_NOT_EXIST";
|
||||||
|
case PSA_ERROR_GENERIC_ERROR: return "PSA_ERROR_GENERIC_ERROR";
|
||||||
|
case PSA_ERROR_HARDWARE_FAILURE: return "PSA_ERROR_HARDWARE_FAILURE";
|
||||||
|
case PSA_ERROR_INSUFFICIENT_DATA: return "PSA_ERROR_INSUFFICIENT_DATA";
|
||||||
|
case PSA_ERROR_INSUFFICIENT_ENTROPY: return "PSA_ERROR_INSUFFICIENT_ENTROPY";
|
||||||
|
case PSA_ERROR_INSUFFICIENT_MEMORY: return "PSA_ERROR_INSUFFICIENT_MEMORY";
|
||||||
|
case PSA_ERROR_INSUFFICIENT_STORAGE: return "PSA_ERROR_INSUFFICIENT_STORAGE";
|
||||||
|
case PSA_ERROR_INVALID_ARGUMENT: return "PSA_ERROR_INVALID_ARGUMENT";
|
||||||
|
case PSA_ERROR_INVALID_HANDLE: return "PSA_ERROR_INVALID_HANDLE";
|
||||||
|
case PSA_ERROR_INVALID_PADDING: return "PSA_ERROR_INVALID_PADDING";
|
||||||
|
case PSA_ERROR_INVALID_SIGNATURE: return "PSA_ERROR_INVALID_SIGNATURE";
|
||||||
|
case PSA_ERROR_NOT_PERMITTED: return "PSA_ERROR_NOT_PERMITTED";
|
||||||
|
case PSA_ERROR_NOT_SUPPORTED: return "PSA_ERROR_NOT_SUPPORTED";
|
||||||
|
case PSA_ERROR_SERVICE_FAILURE: return "PSA_ERROR_SERVICE_FAILURE";
|
||||||
|
case PSA_ERROR_STORAGE_FAILURE: return "PSA_ERROR_STORAGE_FAILURE";
|
||||||
|
case PSA_SUCCESS: return "PSA_SUCCESS";
|
||||||
|
default: return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static const char *psa_ecc_family_name(psa_ecc_family_t curve)
|
||||||
|
{
|
||||||
|
switch (curve) {
|
||||||
|
case PSA_ECC_FAMILY_BRAINPOOL_P_R1: return "PSA_ECC_FAMILY_BRAINPOOL_P_R1";
|
||||||
|
case PSA_ECC_FAMILY_MONTGOMERY: return "PSA_ECC_FAMILY_MONTGOMERY";
|
||||||
|
case PSA_ECC_FAMILY_SECP_K1: return "PSA_ECC_FAMILY_SECP_K1";
|
||||||
|
case PSA_ECC_FAMILY_SECP_R1: return "PSA_ECC_FAMILY_SECP_R1";
|
||||||
|
case PSA_ECC_FAMILY_SECP_R2: return "PSA_ECC_FAMILY_SECP_R2";
|
||||||
|
case PSA_ECC_FAMILY_SECT_K1: return "PSA_ECC_FAMILY_SECT_K1";
|
||||||
|
case PSA_ECC_FAMILY_SECT_R1: return "PSA_ECC_FAMILY_SECT_R1";
|
||||||
|
case PSA_ECC_FAMILY_SECT_R2: return "PSA_ECC_FAMILY_SECT_R2";
|
||||||
|
case PSA_ECC_FAMILY_TWISTED_EDWARDS: return "PSA_ECC_FAMILY_TWISTED_EDWARDS";
|
||||||
|
default: return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static const char *psa_dh_family_name(psa_dh_family_t group)
|
||||||
|
{
|
||||||
|
switch (group) {
|
||||||
|
case PSA_DH_FAMILY_RFC7919: return "PSA_DH_FAMILY_RFC7919";
|
||||||
|
default: return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static const char *psa_hash_algorithm_name(psa_algorithm_t hash_alg)
|
||||||
|
{
|
||||||
|
switch (hash_alg) {
|
||||||
|
case PSA_ALG_ANY_HASH: return "PSA_ALG_ANY_HASH";
|
||||||
|
case PSA_ALG_CATEGORY_HASH: return "PSA_ALG_CATEGORY_HASH";
|
||||||
|
case PSA_ALG_MD5: return "PSA_ALG_MD5";
|
||||||
|
case PSA_ALG_RIPEMD160: return "PSA_ALG_RIPEMD160";
|
||||||
|
case PSA_ALG_SHA3_224: return "PSA_ALG_SHA3_224";
|
||||||
|
case PSA_ALG_SHA3_256: return "PSA_ALG_SHA3_256";
|
||||||
|
case PSA_ALG_SHA3_384: return "PSA_ALG_SHA3_384";
|
||||||
|
case PSA_ALG_SHA3_512: return "PSA_ALG_SHA3_512";
|
||||||
|
case PSA_ALG_SHAKE256_512: return "PSA_ALG_SHAKE256_512";
|
||||||
|
case PSA_ALG_SHA_1: return "PSA_ALG_SHA_1";
|
||||||
|
case PSA_ALG_SHA_224: return "PSA_ALG_SHA_224";
|
||||||
|
case PSA_ALG_SHA_256: return "PSA_ALG_SHA_256";
|
||||||
|
case PSA_ALG_SHA_384: return "PSA_ALG_SHA_384";
|
||||||
|
case PSA_ALG_SHA_512: return "PSA_ALG_SHA_512";
|
||||||
|
case PSA_ALG_SHA_512_224: return "PSA_ALG_SHA_512_224";
|
||||||
|
case PSA_ALG_SHA_512_256: return "PSA_ALG_SHA_512_256";
|
||||||
|
default: return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static const char *psa_ka_algorithm_name(psa_algorithm_t ka_alg)
|
||||||
|
{
|
||||||
|
switch (ka_alg) {
|
||||||
|
case PSA_ALG_CATEGORY_KEY_AGREEMENT: return "PSA_ALG_CATEGORY_KEY_AGREEMENT";
|
||||||
|
case PSA_ALG_ECDH: return "PSA_ALG_ECDH";
|
||||||
|
case PSA_ALG_FFDH: return "PSA_ALG_FFDH";
|
||||||
|
default: return NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static int psa_snprint_key_type(char *buffer, size_t buffer_size,
|
||||||
|
psa_key_type_t type)
|
||||||
|
{
|
||||||
|
size_t required_size = 0;
|
||||||
|
switch (type) {
|
||||||
|
case PSA_KEY_TYPE_AES: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_AES", 16); break;
|
||||||
|
case PSA_KEY_TYPE_ARIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ARIA", 17); break;
|
||||||
|
case PSA_KEY_TYPE_CAMELLIA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CAMELLIA", 21); break;
|
||||||
|
case PSA_KEY_TYPE_CATEGORY_FLAG_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_FLAG_PAIR", 31); break;
|
||||||
|
case PSA_KEY_TYPE_CATEGORY_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_KEY_PAIR", 30); break;
|
||||||
|
case PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_PUBLIC_KEY", 32); break;
|
||||||
|
case PSA_KEY_TYPE_CATEGORY_RAW: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_RAW", 25); break;
|
||||||
|
case PSA_KEY_TYPE_CATEGORY_SYMMETRIC: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CATEGORY_SYMMETRIC", 31); break;
|
||||||
|
case PSA_KEY_TYPE_CHACHA20: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_CHACHA20", 21); break;
|
||||||
|
case PSA_KEY_TYPE_DERIVE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DERIVE", 19); break;
|
||||||
|
case PSA_KEY_TYPE_DES: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DES", 16); break;
|
||||||
|
case PSA_KEY_TYPE_DH_KEY_PAIR_BASE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DH_KEY_PAIR_BASE", 29); break;
|
||||||
|
case PSA_KEY_TYPE_DH_PUBLIC_KEY_BASE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DH_PUBLIC_KEY_BASE", 31); break;
|
||||||
|
case PSA_KEY_TYPE_DSA_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DSA_KEY_PAIR", 25); break;
|
||||||
|
case PSA_KEY_TYPE_DSA_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_DSA_PUBLIC_KEY", 27); break;
|
||||||
|
case PSA_KEY_TYPE_ECC_KEY_PAIR_BASE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ECC_KEY_PAIR_BASE", 30); break;
|
||||||
|
case PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_ECC_PUBLIC_KEY_BASE", 32); break;
|
||||||
|
case PSA_KEY_TYPE_HMAC: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_HMAC", 17); break;
|
||||||
|
case PSA_KEY_TYPE_NONE: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_NONE", 17); break;
|
||||||
|
case PSA_KEY_TYPE_PASSWORD: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_PASSWORD", 21); break;
|
||||||
|
case PSA_KEY_TYPE_PASSWORD_HASH: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_PASSWORD_HASH", 26); break;
|
||||||
|
case PSA_KEY_TYPE_PEPPER: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_PEPPER", 19); break;
|
||||||
|
case PSA_KEY_TYPE_RAW_DATA: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_RAW_DATA", 21); break;
|
||||||
|
case PSA_KEY_TYPE_RSA_KEY_PAIR: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_RSA_KEY_PAIR", 25); break;
|
||||||
|
case PSA_KEY_TYPE_RSA_PUBLIC_KEY: append(&buffer, buffer_size, &required_size, "PSA_KEY_TYPE_RSA_PUBLIC_KEY", 27); break;
|
||||||
|
default:
|
||||||
|
if (PSA_KEY_TYPE_IS_ECC_KEY_PAIR(type)) {
|
||||||
|
append_with_curve(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_KEY_TYPE_ECC_KEY_PAIR", 25,
|
||||||
|
PSA_KEY_TYPE_ECC_GET_FAMILY(type));
|
||||||
|
} else if (PSA_KEY_TYPE_IS_ECC_PUBLIC_KEY(type)) {
|
||||||
|
append_with_curve(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_KEY_TYPE_ECC_PUBLIC_KEY", 27,
|
||||||
|
PSA_KEY_TYPE_ECC_GET_FAMILY(type));
|
||||||
|
} else if (PSA_KEY_TYPE_IS_DH_KEY_PAIR(type)) {
|
||||||
|
append_with_group(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_KEY_TYPE_DH_KEY_PAIR", 24,
|
||||||
|
PSA_KEY_TYPE_DH_GET_FAMILY(type));
|
||||||
|
} else if (PSA_KEY_TYPE_IS_DH_PUBLIC_KEY(type)) {
|
||||||
|
append_with_group(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_KEY_TYPE_DH_PUBLIC_KEY", 26,
|
||||||
|
PSA_KEY_TYPE_DH_GET_FAMILY(type));
|
||||||
|
} else {
|
||||||
|
return snprintf(buffer, buffer_size,
|
||||||
|
"0x%04x", (unsigned) type);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
buffer[0] = 0;
|
||||||
|
return (int) required_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
#define NO_LENGTH_MODIFIER 0xfffffffflu
|
||||||
|
static int psa_snprint_algorithm(char *buffer, size_t buffer_size,
|
||||||
|
psa_algorithm_t alg)
|
||||||
|
{
|
||||||
|
size_t required_size = 0;
|
||||||
|
psa_algorithm_t core_alg = alg;
|
||||||
|
unsigned long length_modifier = NO_LENGTH_MODIFIER;
|
||||||
|
if (PSA_ALG_IS_MAC(alg)) {
|
||||||
|
core_alg = PSA_ALG_TRUNCATED_MAC(alg, 0);
|
||||||
|
if (alg & PSA_ALG_MAC_AT_LEAST_THIS_LENGTH_FLAG) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_AT_LEAST_THIS_LENGTH_MAC(", 33);
|
||||||
|
length_modifier = PSA_MAC_TRUNCATED_LENGTH(alg);
|
||||||
|
} else if (core_alg != alg) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_TRUNCATED_MAC(", 22);
|
||||||
|
length_modifier = PSA_MAC_TRUNCATED_LENGTH(alg);
|
||||||
|
}
|
||||||
|
} else if (PSA_ALG_IS_AEAD(alg)) {
|
||||||
|
core_alg = PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG(alg);
|
||||||
|
if (core_alg == 0) {
|
||||||
|
/* For unknown AEAD algorithms, there is no "default tag length". */
|
||||||
|
core_alg = alg;
|
||||||
|
} else if (alg & PSA_ALG_AEAD_AT_LEAST_THIS_LENGTH_FLAG) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_AEAD_WITH_AT_LEAST_THIS_LENGTH_TAG(", 43);
|
||||||
|
length_modifier = PSA_ALG_AEAD_GET_TAG_LENGTH(alg);
|
||||||
|
} else if (core_alg != alg) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_AEAD_WITH_SHORTENED_TAG(", 32);
|
||||||
|
length_modifier = PSA_ALG_AEAD_GET_TAG_LENGTH(alg);
|
||||||
|
}
|
||||||
|
} else if (PSA_ALG_IS_KEY_AGREEMENT(alg) &&
|
||||||
|
!PSA_ALG_IS_RAW_KEY_AGREEMENT(alg)) {
|
||||||
|
core_alg = PSA_ALG_KEY_AGREEMENT_GET_KDF(alg);
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_KEY_AGREEMENT(", 22);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_ka_algorithm_name,
|
||||||
|
PSA_ALG_KEY_AGREEMENT_GET_BASE(alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ", ", 2);
|
||||||
|
}
|
||||||
|
switch (core_alg) {
|
||||||
|
case PSA_ALG_ANY_HASH: append(&buffer, buffer_size, &required_size, "PSA_ALG_ANY_HASH", 16); break;
|
||||||
|
case PSA_ALG_CATEGORY_AEAD: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_AEAD", 21); break;
|
||||||
|
case PSA_ALG_CATEGORY_ASYMMETRIC_ENCRYPTION: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_ASYMMETRIC_ENCRYPTION", 38); break;
|
||||||
|
case PSA_ALG_CATEGORY_CIPHER: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_CIPHER", 23); break;
|
||||||
|
case PSA_ALG_CATEGORY_HASH: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_HASH", 21); break;
|
||||||
|
case PSA_ALG_CATEGORY_KEY_AGREEMENT: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_KEY_AGREEMENT", 30); break;
|
||||||
|
case PSA_ALG_CATEGORY_KEY_DERIVATION: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_KEY_DERIVATION", 31); break;
|
||||||
|
case PSA_ALG_CATEGORY_MAC: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_MAC", 20); break;
|
||||||
|
case PSA_ALG_CATEGORY_PAKE: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_PAKE", 21); break;
|
||||||
|
case PSA_ALG_CATEGORY_SIGN: append(&buffer, buffer_size, &required_size, "PSA_ALG_CATEGORY_SIGN", 21); break;
|
||||||
|
case PSA_ALG_CBC_MAC: append(&buffer, buffer_size, &required_size, "PSA_ALG_CBC_MAC", 15); break;
|
||||||
|
case PSA_ALG_CBC_NO_PADDING: append(&buffer, buffer_size, &required_size, "PSA_ALG_CBC_NO_PADDING", 22); break;
|
||||||
|
case PSA_ALG_CBC_PKCS7: append(&buffer, buffer_size, &required_size, "PSA_ALG_CBC_PKCS7", 17); break;
|
||||||
|
case PSA_ALG_CCM: append(&buffer, buffer_size, &required_size, "PSA_ALG_CCM", 11); break;
|
||||||
|
case PSA_ALG_CCM_STAR_NO_TAG: append(&buffer, buffer_size, &required_size, "PSA_ALG_CCM_STAR_NO_TAG", 23); break;
|
||||||
|
case PSA_ALG_CFB: append(&buffer, buffer_size, &required_size, "PSA_ALG_CFB", 11); break;
|
||||||
|
case PSA_ALG_CHACHA20_POLY1305: append(&buffer, buffer_size, &required_size, "PSA_ALG_CHACHA20_POLY1305", 25); break;
|
||||||
|
case PSA_ALG_CIPHER_MAC_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_CIPHER_MAC_BASE", 23); break;
|
||||||
|
case PSA_ALG_CMAC: append(&buffer, buffer_size, &required_size, "PSA_ALG_CMAC", 12); break;
|
||||||
|
case PSA_ALG_CTR: append(&buffer, buffer_size, &required_size, "PSA_ALG_CTR", 11); break;
|
||||||
|
case PSA_ALG_DETERMINISTIC_DSA_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_DETERMINISTIC_DSA_BASE", 30); break;
|
||||||
|
case PSA_ALG_DETERMINISTIC_ECDSA_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_DETERMINISTIC_ECDSA_BASE", 32); break;
|
||||||
|
case PSA_ALG_DSA_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_DSA_BASE", 16); break;
|
||||||
|
case PSA_ALG_ECB_NO_PADDING: append(&buffer, buffer_size, &required_size, "PSA_ALG_ECB_NO_PADDING", 22); break;
|
||||||
|
case PSA_ALG_ECDH: append(&buffer, buffer_size, &required_size, "PSA_ALG_ECDH", 12); break;
|
||||||
|
case PSA_ALG_ECDSA_ANY: append(&buffer, buffer_size, &required_size, "PSA_ALG_ECDSA_ANY", 17); break;
|
||||||
|
case PSA_ALG_ED25519PH: append(&buffer, buffer_size, &required_size, "PSA_ALG_ED25519PH", 17); break;
|
||||||
|
case PSA_ALG_ED448PH: append(&buffer, buffer_size, &required_size, "PSA_ALG_ED448PH", 15); break;
|
||||||
|
case PSA_ALG_FFDH: append(&buffer, buffer_size, &required_size, "PSA_ALG_FFDH", 12); break;
|
||||||
|
case PSA_ALG_GCM: append(&buffer, buffer_size, &required_size, "PSA_ALG_GCM", 11); break;
|
||||||
|
case PSA_ALG_HASH_EDDSA_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_HASH_EDDSA_BASE", 23); break;
|
||||||
|
case PSA_ALG_HKDF_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_HKDF_BASE", 17); break;
|
||||||
|
case PSA_ALG_HKDF_EXPAND_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_HKDF_EXPAND_BASE", 24); break;
|
||||||
|
case PSA_ALG_HKDF_EXTRACT_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_HKDF_EXTRACT_BASE", 25); break;
|
||||||
|
case PSA_ALG_HMAC_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_HMAC_BASE", 17); break;
|
||||||
|
case PSA_ALG_JPAKE: append(&buffer, buffer_size, &required_size, "PSA_ALG_JPAKE", 13); break;
|
||||||
|
case PSA_ALG_MD5: append(&buffer, buffer_size, &required_size, "PSA_ALG_MD5", 11); break;
|
||||||
|
case PSA_ALG_NONE: append(&buffer, buffer_size, &required_size, "PSA_ALG_NONE", 12); break;
|
||||||
|
case PSA_ALG_OFB: append(&buffer, buffer_size, &required_size, "PSA_ALG_OFB", 11); break;
|
||||||
|
case PSA_ALG_PBKDF2_AES_CMAC_PRF_128: append(&buffer, buffer_size, &required_size, "PSA_ALG_PBKDF2_AES_CMAC_PRF_128", 31); break;
|
||||||
|
case PSA_ALG_PBKDF2_HMAC_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_PBKDF2_HMAC_BASE", 24); break;
|
||||||
|
case PSA_ALG_PURE_EDDSA: append(&buffer, buffer_size, &required_size, "PSA_ALG_PURE_EDDSA", 18); break;
|
||||||
|
case PSA_ALG_RIPEMD160: append(&buffer, buffer_size, &required_size, "PSA_ALG_RIPEMD160", 17); break;
|
||||||
|
case PSA_ALG_RSA_OAEP_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_RSA_OAEP_BASE", 21); break;
|
||||||
|
case PSA_ALG_RSA_PKCS1V15_CRYPT: append(&buffer, buffer_size, &required_size, "PSA_ALG_RSA_PKCS1V15_CRYPT", 26); break;
|
||||||
|
case PSA_ALG_RSA_PKCS1V15_SIGN_RAW: append(&buffer, buffer_size, &required_size, "PSA_ALG_RSA_PKCS1V15_SIGN_RAW", 29); break;
|
||||||
|
case PSA_ALG_RSA_PSS_ANY_SALT_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_RSA_PSS_ANY_SALT_BASE", 29); break;
|
||||||
|
case PSA_ALG_RSA_PSS_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_RSA_PSS_BASE", 20); break;
|
||||||
|
case PSA_ALG_SHA3_224: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA3_224", 16); break;
|
||||||
|
case PSA_ALG_SHA3_256: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA3_256", 16); break;
|
||||||
|
case PSA_ALG_SHA3_384: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA3_384", 16); break;
|
||||||
|
case PSA_ALG_SHA3_512: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA3_512", 16); break;
|
||||||
|
case PSA_ALG_SHAKE256_512: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHAKE256_512", 20); break;
|
||||||
|
case PSA_ALG_SHA_1: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_1", 13); break;
|
||||||
|
case PSA_ALG_SHA_224: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_224", 15); break;
|
||||||
|
case PSA_ALG_SHA_256: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_256", 15); break;
|
||||||
|
case PSA_ALG_SHA_384: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_384", 15); break;
|
||||||
|
case PSA_ALG_SHA_512: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_512", 15); break;
|
||||||
|
case PSA_ALG_SHA_512_224: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_512_224", 19); break;
|
||||||
|
case PSA_ALG_SHA_512_256: append(&buffer, buffer_size, &required_size, "PSA_ALG_SHA_512_256", 19); break;
|
||||||
|
case PSA_ALG_STREAM_CIPHER: append(&buffer, buffer_size, &required_size, "PSA_ALG_STREAM_CIPHER", 21); break;
|
||||||
|
case PSA_ALG_TLS12_ECJPAKE_TO_PMS: append(&buffer, buffer_size, &required_size, "PSA_ALG_TLS12_ECJPAKE_TO_PMS", 28); break;
|
||||||
|
case PSA_ALG_TLS12_PRF_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_TLS12_PRF_BASE", 22); break;
|
||||||
|
case PSA_ALG_TLS12_PSK_TO_MS_BASE: append(&buffer, buffer_size, &required_size, "PSA_ALG_TLS12_PSK_TO_MS_BASE", 28); break;
|
||||||
|
case PSA_ALG_XTS: append(&buffer, buffer_size, &required_size, "PSA_ALG_XTS", 11); break;
|
||||||
|
default:
|
||||||
|
if (PSA_ALG_IS_DETERMINISTIC_DSA(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_DETERMINISTIC_DSA(", 25 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_DETERMINISTIC_ECDSA(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_DETERMINISTIC_ECDSA(", 27 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_RANDOMIZED_DSA(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_DSA(", 11 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_RANDOMIZED_ECDSA(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_ECDSA(", 13 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_HKDF(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_HKDF(", 12 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_HKDF_EXPAND(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_HKDF_EXPAND(", 19 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_HKDF_EXTRACT(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_HKDF_EXTRACT(", 20 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_HMAC(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_HMAC(", 12 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_PBKDF2_HMAC(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_PBKDF2_HMAC(", 19 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_RSA_OAEP(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_RSA_OAEP(", 16 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_RSA_PKCS1V15_SIGN(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_RSA_PKCS1V15_SIGN(", 25 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_RSA_PSS_STANDARD_SALT(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_RSA_PSS(", 15 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_RSA_PSS_ANY_SALT(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_RSA_PSS_ANY_SALT(", 24 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_TLS12_PRF(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_TLS12_PRF(", 17 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else if (PSA_ALG_IS_TLS12_PSK_TO_MS(core_alg)) {
|
||||||
|
append(&buffer, buffer_size, &required_size,
|
||||||
|
"PSA_ALG_TLS12_PSK_TO_MS(", 23 + 1);
|
||||||
|
append_with_alg(&buffer, buffer_size, &required_size,
|
||||||
|
psa_hash_algorithm_name,
|
||||||
|
PSA_ALG_GET_HASH(core_alg));
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
} else {
|
||||||
|
append_integer(&buffer, buffer_size, &required_size,
|
||||||
|
"0x%08lx", (unsigned long) core_alg);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (core_alg != alg) {
|
||||||
|
if (length_modifier != NO_LENGTH_MODIFIER) {
|
||||||
|
append(&buffer, buffer_size, &required_size, ", ", 2);
|
||||||
|
append_integer(&buffer, buffer_size, &required_size,
|
||||||
|
"%lu", length_modifier);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, ")", 1);
|
||||||
|
}
|
||||||
|
buffer[0] = 0;
|
||||||
|
return (int) required_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int psa_snprint_key_usage(char *buffer, size_t buffer_size,
|
||||||
|
psa_key_usage_t usage)
|
||||||
|
{
|
||||||
|
size_t required_size = 0;
|
||||||
|
if (usage == 0) {
|
||||||
|
if (buffer_size > 1) {
|
||||||
|
buffer[0] = '0';
|
||||||
|
buffer[1] = 0;
|
||||||
|
} else if (buffer_size == 1) {
|
||||||
|
buffer[0] = 0;
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_COPY) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_COPY", 18);
|
||||||
|
usage ^= PSA_KEY_USAGE_COPY;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_DECRYPT) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_DECRYPT", 21);
|
||||||
|
usage ^= PSA_KEY_USAGE_DECRYPT;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_DERIVE) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_DERIVE", 20);
|
||||||
|
usage ^= PSA_KEY_USAGE_DERIVE;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_ENCRYPT) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_ENCRYPT", 21);
|
||||||
|
usage ^= PSA_KEY_USAGE_ENCRYPT;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_EXPORT) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_EXPORT", 20);
|
||||||
|
usage ^= PSA_KEY_USAGE_EXPORT;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_SIGN_HASH) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_SIGN_HASH", 23);
|
||||||
|
usage ^= PSA_KEY_USAGE_SIGN_HASH;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_SIGN_MESSAGE) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_SIGN_MESSAGE", 26);
|
||||||
|
usage ^= PSA_KEY_USAGE_SIGN_MESSAGE;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_VERIFY_DERIVATION) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_VERIFY_DERIVATION", 31);
|
||||||
|
usage ^= PSA_KEY_USAGE_VERIFY_DERIVATION;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_VERIFY_HASH) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_VERIFY_HASH", 25);
|
||||||
|
usage ^= PSA_KEY_USAGE_VERIFY_HASH;
|
||||||
|
}
|
||||||
|
if (usage & PSA_KEY_USAGE_VERIFY_MESSAGE) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append(&buffer, buffer_size, &required_size, "PSA_KEY_USAGE_VERIFY_MESSAGE", 28);
|
||||||
|
usage ^= PSA_KEY_USAGE_VERIFY_MESSAGE;
|
||||||
|
}
|
||||||
|
if (usage != 0) {
|
||||||
|
if (required_size != 0) {
|
||||||
|
append(&buffer, buffer_size, &required_size, " | ", 3);
|
||||||
|
}
|
||||||
|
append_integer(&buffer, buffer_size, &required_size,
|
||||||
|
"0x%08lx", (unsigned long) usage);
|
||||||
|
} else {
|
||||||
|
buffer[0] = 0;
|
||||||
|
}
|
||||||
|
return (int) required_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* End of automatically generated file. */
|
||||||
5281
programs/test/query_config.c
Normal file
5281
programs/test/query_config.c
Normal file
File diff suppressed because it is too large
Load Diff
24
tests/.gitignore
vendored
24
tests/.gitignore
vendored
@@ -16,15 +16,15 @@
|
|||||||
|
|
||||||
/libtestdriver1/*
|
/libtestdriver1/*
|
||||||
|
|
||||||
###START_GENERATED_FILES###
|
####START_COMMENTED_GENERATED_FILES###
|
||||||
# Generated source files
|
## Generated source files
|
||||||
/opt-testcases/handshake-generated.sh
|
#/opt-testcases/handshake-generated.sh
|
||||||
/opt-testcases/tls13-compat.sh
|
#/opt-testcases/tls13-compat.sh
|
||||||
/suites/*.generated.data
|
#/suites/*.generated.data
|
||||||
/suites/test_suite_config.mbedtls_boolean.data
|
#/suites/test_suite_config.mbedtls_boolean.data
|
||||||
/suites/test_suite_config.psa_boolean.data
|
#/suites/test_suite_config.psa_boolean.data
|
||||||
/suites/test_suite_psa_crypto_storage_format.v[0-9]*.data
|
#/suites/test_suite_psa_crypto_storage_format.v[0-9]*.data
|
||||||
/suites/test_suite_psa_crypto_storage_format.current.data
|
#/suites/test_suite_psa_crypto_storage_format.current.data
|
||||||
/include/test/test_keys.h
|
#/include/test/test_keys.h
|
||||||
/include/test/test_certs.h
|
#/include/test/test_certs.h
|
||||||
###END_GENERATED_FILES###
|
####END_COMMENTED_GENERATED_FILES###
|
||||||
|
|||||||
1227
tests/include/test/test_certs.h
Normal file
1227
tests/include/test/test_certs.h
Normal file
File diff suppressed because it is too large
Load Diff
801
tests/include/test/test_keys.h
Normal file
801
tests/include/test/test_keys.h
Normal file
@@ -0,0 +1,801 @@
|
|||||||
|
/*********************************************************************************
|
||||||
|
* This file was automatically generated from framework/scripts/generate_test_keys.py.
|
||||||
|
* Please do not edit it manually.
|
||||||
|
*********************************************************************************/
|
||||||
|
|
||||||
|
const unsigned char test_ec_bp256r1_priv[] = {
|
||||||
|
0x21, 0x61, 0xd6, 0xf2, 0xdb, 0x76, 0x52, 0x6f, 0xa6, 0x2c, 0x16, 0xf3, 0x56, 0xa8, 0x0f, 0x01,
|
||||||
|
0xf3, 0x2f, 0x77, 0x67, 0x84, 0xb3, 0x6a, 0xa9, 0x97, 0x99, 0xa8, 0xb7, 0x66, 0x20, 0x80, 0xff,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_bp256r1_pub[] = {
|
||||||
|
0x04, 0x76, 0x8c, 0x8c, 0xae, 0x4a, 0xbc, 0xa6, 0x30, 0x6d, 0xb0, 0xed, 0x81, 0xb0, 0xc4, 0xa6,
|
||||||
|
0x21, 0x5c, 0x37, 0x80, 0x66, 0xec, 0x6d, 0x61, 0x6c, 0x14, 0x6e, 0x13, 0xf1, 0xc7, 0xdf, 0x80,
|
||||||
|
0x9b, 0x96, 0xab, 0x69, 0x11, 0xc2, 0x7d, 0x8a, 0x02, 0x33, 0x9f, 0x09, 0x26, 0x84, 0x0e, 0x55,
|
||||||
|
0x23, 0x6d, 0x3d, 0x1e, 0xfb, 0xe2, 0x66, 0x9d, 0x09, 0x0e, 0x4c, 0x4c, 0x66, 0x0f, 0xad, 0xa9,
|
||||||
|
0x1d,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_bp384r1_priv[] = {
|
||||||
|
0x3d, 0xd9, 0x2e, 0x75, 0x0d, 0x90, 0xd7, 0xd3, 0x9f, 0xc1, 0x88, 0x5c, 0xd8, 0xad, 0x12, 0xea,
|
||||||
|
0x94, 0x41, 0xf2, 0x2b, 0x93, 0x34, 0xb4, 0xd9, 0x65, 0x20, 0x2a, 0xdb, 0x14, 0x48, 0xce, 0x24,
|
||||||
|
0xc5, 0x80, 0x8a, 0x85, 0xdd, 0x9a, 0xfc, 0x22, 0x9a, 0xf0, 0xa3, 0x12, 0x4f, 0x75, 0x5b, 0xcb,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_bp384r1_pub[] = {
|
||||||
|
0x04, 0x71, 0x9f, 0x9d, 0x09, 0x3a, 0x62, 0x7e, 0x0d, 0x35, 0x03, 0x85, 0xc6, 0x61, 0xce, 0xbf,
|
||||||
|
0x00, 0xc6, 0x19, 0x23, 0x56, 0x6f, 0xe9, 0x00, 0x6a, 0x31, 0x07, 0xaf, 0x1d, 0x87, 0x1b, 0xc6,
|
||||||
|
0xbb, 0x68, 0x98, 0x5f, 0xd7, 0x22, 0xea, 0x32, 0xbe, 0x31, 0x6f, 0x8e, 0x78, 0x3b, 0x7c, 0xd1,
|
||||||
|
0x95, 0x77, 0x85, 0xf6, 0x6c, 0xfc, 0x0c, 0xb1, 0x95, 0xdd, 0x5c, 0x99, 0xa8, 0xe7, 0xab, 0xaa,
|
||||||
|
0x84, 0x85, 0x53, 0xa5, 0x84, 0xdf, 0xd2, 0xb4, 0x8e, 0x76, 0xd4, 0x45, 0xfe, 0x00, 0xdd, 0x8b,
|
||||||
|
0xe5, 0x90, 0x96, 0xd8, 0x77, 0xd4, 0x69, 0x6d, 0x23, 0xb4, 0xbc, 0x8d, 0xb1, 0x47, 0x24, 0xe6,
|
||||||
|
0x6a,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_bp512r1_priv[] = {
|
||||||
|
0x37, 0x2c, 0x97, 0x78, 0xf6, 0x9f, 0x72, 0x6c, 0xbc, 0xa3, 0xf4, 0xa2, 0x68, 0xf1, 0x6b, 0x4d,
|
||||||
|
0x61, 0x7d, 0x10, 0x28, 0x0d, 0x79, 0xa6, 0xa0, 0x29, 0xcd, 0x51, 0x87, 0x9f, 0xe1, 0x01, 0x29,
|
||||||
|
0x34, 0xdf, 0xe5, 0x39, 0x54, 0x55, 0x33, 0x7d, 0xf6, 0x90, 0x6d, 0xc7, 0xd6, 0xd2, 0xee, 0xa4,
|
||||||
|
0xdb, 0xb2, 0x06, 0x5c, 0x02, 0x28, 0xf7, 0x3b, 0x3e, 0xd7, 0x16, 0x48, 0x0e, 0x7d, 0x71, 0xd2,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_bp512r1_pub[] = {
|
||||||
|
0x04, 0x38, 0xb7, 0xec, 0x92, 0xb6, 0x1c, 0x5c, 0x6c, 0x7f, 0xbc, 0x28, 0xa4, 0xec, 0x75, 0x9d,
|
||||||
|
0x48, 0xfc, 0xd4, 0xe2, 0xe3, 0x74, 0xde, 0xfd, 0x5c, 0x49, 0x68, 0xa5, 0x4d, 0xbe, 0xf7, 0x51,
|
||||||
|
0x0e, 0x51, 0x78, 0x86, 0xfb, 0xfc, 0x38, 0xea, 0x39, 0xaa, 0x52, 0x93, 0x59, 0xd7, 0x0a, 0x71,
|
||||||
|
0x56, 0xc3, 0x5d, 0x3c, 0xba, 0xc7, 0xce, 0x77, 0x6b, 0xdb, 0x25, 0x1d, 0xd6, 0x4b, 0xce, 0x71,
|
||||||
|
0x23, 0x44, 0x24, 0xee, 0x70, 0x49, 0xee, 0xd0, 0x72, 0xf0, 0xdb, 0xc4, 0xd7, 0x99, 0x96, 0xe1,
|
||||||
|
0x75, 0xd5, 0x57, 0xe2, 0x63, 0x76, 0x3a, 0xe9, 0x70, 0x95, 0xc0, 0x81, 0xe7, 0x3e, 0x7d, 0xb2,
|
||||||
|
0xe3, 0x8a, 0xdc, 0x3d, 0x4c, 0x9a, 0x04, 0x87, 0xb1, 0xed, 0xe8, 0x76, 0xdc, 0x1f, 0xca, 0x61,
|
||||||
|
0xc9, 0x02, 0xe9, 0xa1, 0xd8, 0x72, 0x2b, 0x86, 0x12, 0x92, 0x8f, 0x18, 0xa2, 0x48, 0x45, 0x59,
|
||||||
|
0x1a,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_curve25519_priv[] = {
|
||||||
|
0x70, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d, 0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66, 0x45,
|
||||||
|
0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a, 0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9, 0x2c, 0x6a,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_curve25519_pub[] = {
|
||||||
|
0x85, 0x20, 0xf0, 0x09, 0x89, 0x30, 0xa7, 0x54, 0x74, 0x8b, 0x7d, 0xdc, 0xb4, 0x3e, 0xf7, 0x5a,
|
||||||
|
0x0d, 0xbf, 0x3a, 0x0d, 0x26, 0x38, 0x1a, 0xf4, 0xeb, 0xa4, 0xa9, 0x8e, 0xaa, 0x9b, 0x4e, 0x6a,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_curve448_priv[] = {
|
||||||
|
0xe4, 0xe4, 0x9f, 0x52, 0x68, 0x6f, 0x9e, 0xe3, 0xb6, 0x38, 0x52, 0x8f, 0x72, 0x1f, 0x15, 0x96,
|
||||||
|
0x19, 0x6f, 0xfd, 0x0a, 0x1c, 0xdd, 0xb6, 0x4c, 0x3f, 0x21, 0x6f, 0x06, 0x54, 0x18, 0x05, 0xcf,
|
||||||
|
0xeb, 0x1a, 0x28, 0x6d, 0xc7, 0x80, 0x18, 0x09, 0x5c, 0xdf, 0xec, 0x05, 0x0e, 0x80, 0x07, 0xb5,
|
||||||
|
0xf4, 0x90, 0x89, 0x62, 0xba, 0x20, 0xd6, 0xc1,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_curve448_pub[] = {
|
||||||
|
0xc0, 0xd3, 0xa5, 0xa2, 0xb4, 0x16, 0xa5, 0x73, 0xdc, 0x99, 0x09, 0xf9, 0x2f, 0x13, 0x4a, 0xc0,
|
||||||
|
0x13, 0x23, 0xab, 0x8f, 0x8e, 0x36, 0x80, 0x4e, 0x57, 0x85, 0x88, 0xba, 0x2d, 0x09, 0xfe, 0x7c,
|
||||||
|
0x3e, 0x73, 0x7f, 0x77, 0x1c, 0xa1, 0x12, 0x82, 0x5b, 0x54, 0x8a, 0x0f, 0xfd, 0xed, 0x6d, 0x6a,
|
||||||
|
0x2f, 0xd0, 0x9a, 0x3e, 0x77, 0xde, 0xc3, 0x0e,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp192k1_priv[] = {
|
||||||
|
0x29, 0x7a, 0xc1, 0x72, 0x2c, 0xca, 0xc7, 0x58, 0x9e, 0xcb, 0x24, 0x0d, 0xc7, 0x19, 0x84, 0x25,
|
||||||
|
0x38, 0xca, 0x97, 0x4b, 0xeb, 0x79, 0xf2, 0x28,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp192k1_pub[] = {
|
||||||
|
0x04, 0x26, 0xb7, 0xbb, 0x38, 0xda, 0x64, 0x9a, 0xc2, 0x13, 0x8f, 0xc0, 0x50, 0xc6, 0x54, 0x8b,
|
||||||
|
0x32, 0x55, 0x3d, 0xab, 0x68, 0xaf, 0xeb, 0xc3, 0x61, 0x05, 0xd3, 0x25, 0xb7, 0x55, 0x38, 0xc1,
|
||||||
|
0x23, 0x23, 0xcb, 0x07, 0x64, 0x78, 0x9e, 0xcb, 0x99, 0x26, 0x71, 0xbe, 0xb2, 0xb6, 0xbe, 0xf2,
|
||||||
|
0xf5,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp256k1_priv[] = {
|
||||||
|
0x7f, 0xa0, 0x6f, 0xa0, 0x2d, 0x0e, 0x91, 0x1b, 0x9a, 0x47, 0xfd, 0xc1, 0x7d, 0x2d, 0x96, 0x2c,
|
||||||
|
0xa0, 0x1e, 0x2f, 0x31, 0xd6, 0x0c, 0x62, 0x12, 0xd0, 0xed, 0x7e, 0x3b, 0xba, 0x23, 0xa7, 0xb9,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp256k1_pub[] = {
|
||||||
|
0x04, 0x5c, 0x39, 0x15, 0x45, 0x79, 0xef, 0xd6, 0x67, 0xad, 0xc7, 0x3a, 0x81, 0x01, 0x5a, 0x79,
|
||||||
|
0x7d, 0x2c, 0x86, 0x82, 0xcd, 0xfb, 0xd3, 0xc3, 0x55, 0x3c, 0x4a, 0x18, 0x5d, 0x48, 0x1c, 0xdc,
|
||||||
|
0x50, 0xe4, 0x2a, 0x0e, 0x1c, 0xbc, 0x3c, 0xa2, 0x9a, 0x32, 0xa6, 0x45, 0xe9, 0x27, 0xf5, 0x4b,
|
||||||
|
0xea, 0xed, 0x14, 0xc9, 0xdb, 0xbf, 0x82, 0x79, 0xd7, 0x25, 0xf5, 0x49, 0x5c, 0xa9, 0x24, 0xb2,
|
||||||
|
0x4d,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp192r1_priv[] = {
|
||||||
|
0xd8, 0x3b, 0x57, 0xa5, 0x9c, 0x51, 0x35, 0x8d, 0x9c, 0x8b, 0xbb, 0x89, 0x8a, 0xff, 0x50, 0x7f,
|
||||||
|
0x44, 0xdd, 0x14, 0xcf, 0x16, 0x91, 0x71, 0x90,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp192r1_pub[] = {
|
||||||
|
0x04, 0xe3, 0x5f, 0xcb, 0xee, 0x11, 0xce, 0xc3, 0x15, 0x4f, 0x80, 0xa1, 0xa6, 0x1d, 0xf7, 0xd7,
|
||||||
|
0x61, 0x2d, 0xe4, 0xf2, 0xfd, 0x70, 0xc5, 0x60, 0x8d, 0x0e, 0xe3, 0xa4, 0xa1, 0xa5, 0x71, 0x94,
|
||||||
|
0x71, 0xad, 0xb3, 0x39, 0x66, 0xdd, 0x9b, 0x03, 0x5f, 0xdb, 0x77, 0x4f, 0xee, 0xba, 0x94, 0xb0,
|
||||||
|
0x4c,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp224r1_priv[] = {
|
||||||
|
0x87, 0x2f, 0x20, 0x3b, 0x3a, 0xd3, 0x5b, 0x7f, 0x2e, 0xcc, 0x80, 0x3c, 0x3a, 0x0e, 0x1e, 0x0b,
|
||||||
|
0x1e, 0xd6, 0x1c, 0xc1, 0xaf, 0xe7, 0x1b, 0x18, 0x9c, 0xd4, 0xc9, 0x95,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp224r1_pub[] = {
|
||||||
|
0x04, 0x6f, 0x00, 0xea, 0xda, 0xa9, 0x49, 0xfe, 0xe3, 0xe9, 0xe1, 0xc7, 0xfa, 0x12, 0x47, 0xee,
|
||||||
|
0xce, 0xc8, 0x6a, 0x0d, 0xce, 0x46, 0x41, 0x8b, 0x9b, 0xd3, 0x11, 0x7b, 0x98, 0x1d, 0x4b, 0xd0,
|
||||||
|
0xae, 0x7a, 0x99, 0x0d, 0xe9, 0x12, 0xf9, 0xd0, 0x60, 0xd6, 0xcb, 0x53, 0x1a, 0x42, 0xd2, 0x2e,
|
||||||
|
0x39, 0x4a, 0xc2, 0x9e, 0x81, 0x80, 0x4b, 0xf1, 0x60,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp256r1_priv[] = {
|
||||||
|
0x49, 0xc9, 0xa8, 0xc1, 0x8c, 0x4b, 0x88, 0x56, 0x38, 0xc4, 0x31, 0xcf, 0x1d, 0xf1, 0xc9, 0x94,
|
||||||
|
0x13, 0x16, 0x09, 0xb5, 0x80, 0xd4, 0xfd, 0x43, 0xa0, 0xca, 0xb1, 0x7d, 0xb2, 0xf1, 0x3e, 0xee,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp256r1_pub[] = {
|
||||||
|
0x04, 0x77, 0x72, 0x65, 0x6f, 0x81, 0x4b, 0x39, 0x92, 0x79, 0xd5, 0xe1, 0xf1, 0x78, 0x1f, 0xac,
|
||||||
|
0x6f, 0x09, 0x9a, 0x3c, 0x5c, 0xa1, 0xb0, 0xe3, 0x53, 0x51, 0x83, 0x4b, 0x08, 0xb6, 0x5e, 0x0b,
|
||||||
|
0x57, 0x25, 0x90, 0xcd, 0xaf, 0x8f, 0x76, 0x93, 0x61, 0xbc, 0xf3, 0x4a, 0xcf, 0xc1, 0x1e, 0x5e,
|
||||||
|
0x07, 0x4e, 0x84, 0x26, 0xbd, 0xde, 0x04, 0xbe, 0x6e, 0x65, 0x39, 0x45, 0x44, 0x96, 0x17, 0xde,
|
||||||
|
0x45,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp384r1_priv[] = {
|
||||||
|
0x3f, 0x5d, 0x8d, 0x9b, 0xe2, 0x80, 0xb5, 0x69, 0x6c, 0xc5, 0xcc, 0x9f, 0x94, 0xcf, 0x8a, 0xf7,
|
||||||
|
0xe6, 0xb6, 0x1d, 0xd6, 0x59, 0x2b, 0x2a, 0xb2, 0xb3, 0xa4, 0xc6, 0x07, 0x45, 0x04, 0x17, 0xec,
|
||||||
|
0x32, 0x7d, 0xcd, 0xca, 0xed, 0x7c, 0x10, 0x05, 0x3d, 0x71, 0x9a, 0x05, 0x74, 0xf0, 0xa7, 0x6a,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp384r1_pub[] = {
|
||||||
|
0x04, 0xd9, 0xc6, 0x62, 0xb5, 0x0b, 0xa2, 0x9c, 0xa4, 0x79, 0x90, 0x45, 0x0e, 0x04, 0x3a, 0xea,
|
||||||
|
0xf4, 0xf0, 0xc6, 0x9b, 0x15, 0x67, 0x6d, 0x11, 0x2f, 0x62, 0x2a, 0x71, 0xc9, 0x30, 0x59, 0xaf,
|
||||||
|
0x99, 0x96, 0x91, 0xc5, 0x68, 0x0d, 0x2b, 0x44, 0xd1, 0x11, 0x57, 0x9d, 0xb1, 0x2f, 0x4a, 0x41,
|
||||||
|
0x3a, 0x2e, 0xd5, 0xc4, 0x5f, 0xcf, 0xb6, 0x7b, 0x5b, 0x63, 0xe0, 0x0b, 0x91, 0xeb, 0xe5, 0x9d,
|
||||||
|
0x09, 0xa6, 0xb1, 0xac, 0x2c, 0x0c, 0x42, 0x82, 0xaa, 0x12, 0x31, 0x7e, 0xd5, 0x91, 0x4f, 0x99,
|
||||||
|
0x9b, 0xc4, 0x88, 0xbb, 0x13, 0x2e, 0x83, 0x42, 0xcc, 0x36, 0xf2, 0xca, 0x5e, 0x33, 0x79, 0xc7,
|
||||||
|
0x47,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_ec_secp521r1_priv[] = {
|
||||||
|
0x01, 0xb1, 0xb6, 0xad, 0x07, 0xbb, 0x79, 0xe7, 0x32, 0x0d, 0xa5, 0x98, 0x60, 0xea, 0x28, 0xe0,
|
||||||
|
0x55, 0x28, 0x4f, 0x60, 0x58, 0xf2, 0x79, 0xde, 0x66, 0x6e, 0x06, 0xd4, 0x35, 0xd2, 0xaf, 0x7b,
|
||||||
|
0xda, 0x28, 0xd9, 0x9f, 0xa4, 0x7b, 0x7d, 0xd0, 0x96, 0x3e, 0x16, 0xb0, 0x07, 0x30, 0x78, 0xee,
|
||||||
|
0x8b, 0x8a, 0x38, 0xd9, 0x66, 0xa5, 0x82, 0xf4, 0x6d, 0x19, 0xff, 0x95, 0xdf, 0x3a, 0xd9, 0x68,
|
||||||
|
0x5a, 0xae,
|
||||||
|
};
|
||||||
|
const unsigned char test_ec_secp521r1_pub[] = {
|
||||||
|
0x04, 0x00, 0x1d, 0xe1, 0x42, 0xd5, 0x4f, 0x69, 0xeb, 0x03, 0x8e, 0xe4, 0xb7, 0xaf, 0x9d, 0x3c,
|
||||||
|
0xa0, 0x77, 0x36, 0xfd, 0x9c, 0xf7, 0x19, 0xeb, 0x35, 0x4d, 0x69, 0x87, 0x9e, 0xe7, 0xf3, 0xc1,
|
||||||
|
0x36, 0xfb, 0x0f, 0xbf, 0x9f, 0x08, 0xf8, 0x6b, 0xe5, 0xfa, 0x12, 0x8e, 0xc1, 0xa0, 0x51, 0xd3,
|
||||||
|
0xe6, 0xc6, 0x43, 0xe8, 0x5a, 0xda, 0x8f, 0xfa, 0xcf, 0x36, 0x63, 0xc2, 0x60, 0xbd, 0x2c, 0x84,
|
||||||
|
0x4b, 0x6f, 0x56, 0x00, 0xce, 0xe8, 0xe4, 0x8a, 0x9e, 0x65, 0xd0, 0x9c, 0xad, 0xd8, 0x9f, 0x23,
|
||||||
|
0x5d, 0xee, 0x05, 0xf3, 0xb8, 0xa6, 0x46, 0xbe, 0x71, 0x5f, 0x1f, 0x67, 0xd5, 0xb4, 0x34, 0xe0,
|
||||||
|
0xff, 0x23, 0xa1, 0xfc, 0x07, 0xef, 0x77, 0x40, 0x19, 0x3e, 0x40, 0xee, 0xff, 0x6f, 0x3b, 0xcd,
|
||||||
|
0xfd, 0x76, 0x5a, 0xa9, 0x15, 0x50, 0x33, 0x52, 0x4f, 0xe4, 0xf2, 0x05, 0xf5, 0x44, 0x4e, 0x29,
|
||||||
|
0x2c, 0x4c, 0x2f, 0x6a, 0xc1,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_1024_priv[] = {
|
||||||
|
0x30, 0x82, 0x02, 0x5e, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x00, 0xaf, 0x05, 0x7d, 0x39, 0x6e,
|
||||||
|
0xe8, 0x4f, 0xb7, 0x5f, 0xdb, 0xb5, 0xc2, 0xb1, 0x3c, 0x7f, 0xe5, 0xa6, 0x54, 0xaa, 0x8a, 0xa2,
|
||||||
|
0x47, 0x0b, 0x54, 0x1e, 0xe1, 0xfe, 0xb0, 0xb1, 0x2d, 0x25, 0xc7, 0x97, 0x11, 0x53, 0x12, 0x49,
|
||||||
|
0xe1, 0x12, 0x96, 0x28, 0x04, 0x2d, 0xbb, 0xb6, 0xc1, 0x20, 0xd1, 0x44, 0x35, 0x24, 0xef, 0x4c,
|
||||||
|
0x0e, 0x6e, 0x1d, 0x89, 0x56, 0xee, 0xb2, 0x07, 0x7a, 0xf1, 0x23, 0x49, 0xdd, 0xee, 0xe5, 0x44,
|
||||||
|
0x83, 0xbc, 0x06, 0xc2, 0xc6, 0x19, 0x48, 0xcd, 0x02, 0xb2, 0x02, 0xe7, 0x96, 0xae, 0xbd, 0x94,
|
||||||
|
0xd3, 0xa7, 0xcb, 0xf8, 0x59, 0xc2, 0xc1, 0x81, 0x9c, 0x32, 0x4c, 0xb8, 0x2b, 0x9c, 0xd3, 0x4e,
|
||||||
|
0xde, 0x26, 0x3a, 0x2a, 0xbf, 0xfe, 0x47, 0x33, 0xf0, 0x77, 0x86, 0x9e, 0x86, 0x60, 0xf7, 0xd6,
|
||||||
|
0x83, 0x4d, 0xa5, 0x3d, 0x69, 0x0e, 0xf7, 0x98, 0x5f, 0x6b, 0xc3, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
0x02, 0x81, 0x81, 0x00, 0x87, 0x4b, 0xf0, 0xff, 0xc2, 0xf2, 0xa7, 0x1d, 0x14, 0x67, 0x1d, 0xdd,
|
||||||
|
0x01, 0x71, 0xc9, 0x54, 0xd7, 0xfd, 0xbf, 0x50, 0x28, 0x1e, 0x4f, 0x6d, 0x99, 0xea, 0x0e, 0x1e,
|
||||||
|
0xbc, 0xf8, 0x2f, 0xaa, 0x58, 0xe7, 0xb5, 0x95, 0xff, 0xb2, 0x93, 0xd1, 0xab, 0xe1, 0x7f, 0x11,
|
||||||
|
0x0b, 0x37, 0xc4, 0x8c, 0xc0, 0xf3, 0x6c, 0x37, 0xe8, 0x4d, 0x87, 0x66, 0x21, 0xd3, 0x27, 0xf6,
|
||||||
|
0x4b, 0xbe, 0x08, 0x45, 0x7d, 0x3e, 0xc4, 0x09, 0x8b, 0xa2, 0xfa, 0x0a, 0x31, 0x9f, 0xba, 0x41,
|
||||||
|
0x1c, 0x28, 0x41, 0xed, 0x7b, 0xe8, 0x31, 0x96, 0xa8, 0xcd, 0xf9, 0xda, 0xa5, 0xd0, 0x06, 0x94,
|
||||||
|
0xbc, 0x33, 0x5f, 0xc4, 0xc3, 0x22, 0x17, 0xfe, 0x04, 0x88, 0xbc, 0xe9, 0xcb, 0x72, 0x02, 0xe5,
|
||||||
|
0x94, 0x68, 0xb1, 0xea, 0xd1, 0x19, 0x00, 0x04, 0x77, 0xdb, 0x2c, 0xa7, 0x97, 0xfa, 0xc1, 0x9e,
|
||||||
|
0xda, 0x3f, 0x58, 0xc1, 0x02, 0x41, 0x00, 0xe2, 0xab, 0x76, 0x08, 0x41, 0xbb, 0x9d, 0x30, 0xa8,
|
||||||
|
0x1d, 0x22, 0x2d, 0xe1, 0xeb, 0x73, 0x81, 0xd8, 0x22, 0x14, 0x40, 0x7f, 0x1b, 0x97, 0x5c, 0xbb,
|
||||||
|
0xfe, 0x4e, 0x1a, 0x94, 0x67, 0xfd, 0x98, 0xad, 0xbd, 0x78, 0xf6, 0x07, 0x83, 0x6c, 0xa5, 0xbe,
|
||||||
|
0x19, 0x28, 0xb9, 0xd1, 0x60, 0xd9, 0x7f, 0xd4, 0x5c, 0x12, 0xd6, 0xb5, 0x2e, 0x2c, 0x98, 0x71,
|
||||||
|
0xa1, 0x74, 0xc6, 0x6b, 0x48, 0x81, 0x13, 0x02, 0x41, 0x00, 0xc5, 0xab, 0x27, 0x60, 0x21, 0x59,
|
||||||
|
0xae, 0x7d, 0x6f, 0x20, 0xc3, 0xc2, 0xee, 0x85, 0x1e, 0x46, 0xdc, 0x11, 0x2e, 0x68, 0x9e, 0x28,
|
||||||
|
0xd5, 0xfc, 0xbb, 0xf9, 0x90, 0xa9, 0x9e, 0xf8, 0xa9, 0x0b, 0x8b, 0xb4, 0x4f, 0xd3, 0x64, 0x67,
|
||||||
|
0xe7, 0xfc, 0x17, 0x89, 0xce, 0xb6, 0x63, 0xab, 0xda, 0x33, 0x86, 0x52, 0xc3, 0xc7, 0x3f, 0x11,
|
||||||
|
0x17, 0x74, 0x90, 0x2e, 0x84, 0x05, 0x65, 0x92, 0x70, 0x91, 0x02, 0x41, 0x00, 0xb6, 0xcd, 0xbd,
|
||||||
|
0x35, 0x4f, 0x7d, 0xf5, 0x79, 0xa6, 0x3b, 0x48, 0xb3, 0x64, 0x3e, 0x35, 0x3b, 0x84, 0x89, 0x87,
|
||||||
|
0x77, 0xb4, 0x8b, 0x15, 0xf9, 0x4e, 0x0b, 0xfc, 0x05, 0x67, 0xa6, 0xae, 0x59, 0x11, 0xd5, 0x7a,
|
||||||
|
0xd6, 0x40, 0x9c, 0xf7, 0x64, 0x7b, 0xf9, 0x62, 0x64, 0xe9, 0xbd, 0x87, 0xeb, 0x95, 0xe2, 0x63,
|
||||||
|
0xb7, 0x11, 0x0b, 0x9a, 0x1f, 0x9f, 0x94, 0xac, 0xce, 0xd0, 0xfa, 0xfa, 0x4d, 0x02, 0x40, 0x71,
|
||||||
|
0x19, 0x5e, 0xec, 0x37, 0xe8, 0xd2, 0x57, 0xde, 0xcf, 0xc6, 0x72, 0xb0, 0x7a, 0xe6, 0x39, 0xf1,
|
||||||
|
0x0c, 0xbb, 0x9b, 0x0c, 0x73, 0x9d, 0x0c, 0x80, 0x99, 0x68, 0xd6, 0x44, 0xa9, 0x4e, 0x3f, 0xd6,
|
||||||
|
0xed, 0x92, 0x87, 0x07, 0x7a, 0x14, 0x58, 0x3f, 0x37, 0x90, 0x58, 0xf7, 0x6a, 0x8a, 0xec, 0xd4,
|
||||||
|
0x3c, 0x62, 0xdc, 0x8c, 0x0f, 0x41, 0x76, 0x66, 0x50, 0xd7, 0x25, 0x27, 0x5a, 0xc4, 0xa1, 0x02,
|
||||||
|
0x41, 0x00, 0xbb, 0x32, 0xd1, 0x33, 0xed, 0xc2, 0xe0, 0x48, 0xd4, 0x63, 0x38, 0x8b, 0x7b, 0xe9,
|
||||||
|
0xcb, 0x4b, 0xe2, 0x9f, 0x4b, 0x62, 0x50, 0xbe, 0x60, 0x3e, 0x70, 0xe3, 0x64, 0x75, 0x01, 0xc9,
|
||||||
|
0x7d, 0xdd, 0xe2, 0x0a, 0x4e, 0x71, 0xbe, 0x95, 0xfd, 0x5e, 0x71, 0x78, 0x4e, 0x25, 0xac, 0xa4,
|
||||||
|
0xba, 0xf2, 0x5b, 0xe5, 0x73, 0x8a, 0xae, 0x59, 0xbb, 0xfe, 0x1c, 0x99, 0x77, 0x81, 0x44, 0x7a,
|
||||||
|
0x2b, 0x24,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_1024_pub[] = {
|
||||||
|
0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xaf, 0x05, 0x7d, 0x39, 0x6e, 0xe8, 0x4f, 0xb7, 0x5f,
|
||||||
|
0xdb, 0xb5, 0xc2, 0xb1, 0x3c, 0x7f, 0xe5, 0xa6, 0x54, 0xaa, 0x8a, 0xa2, 0x47, 0x0b, 0x54, 0x1e,
|
||||||
|
0xe1, 0xfe, 0xb0, 0xb1, 0x2d, 0x25, 0xc7, 0x97, 0x11, 0x53, 0x12, 0x49, 0xe1, 0x12, 0x96, 0x28,
|
||||||
|
0x04, 0x2d, 0xbb, 0xb6, 0xc1, 0x20, 0xd1, 0x44, 0x35, 0x24, 0xef, 0x4c, 0x0e, 0x6e, 0x1d, 0x89,
|
||||||
|
0x56, 0xee, 0xb2, 0x07, 0x7a, 0xf1, 0x23, 0x49, 0xdd, 0xee, 0xe5, 0x44, 0x83, 0xbc, 0x06, 0xc2,
|
||||||
|
0xc6, 0x19, 0x48, 0xcd, 0x02, 0xb2, 0x02, 0xe7, 0x96, 0xae, 0xbd, 0x94, 0xd3, 0xa7, 0xcb, 0xf8,
|
||||||
|
0x59, 0xc2, 0xc1, 0x81, 0x9c, 0x32, 0x4c, 0xb8, 0x2b, 0x9c, 0xd3, 0x4e, 0xde, 0x26, 0x3a, 0x2a,
|
||||||
|
0xbf, 0xfe, 0x47, 0x33, 0xf0, 0x77, 0x86, 0x9e, 0x86, 0x60, 0xf7, 0xd6, 0x83, 0x4d, 0xa5, 0x3d,
|
||||||
|
0x69, 0x0e, 0xf7, 0x98, 0x5f, 0x6b, 0xc3, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_1026_priv[] = {
|
||||||
|
0x30, 0x82, 0x02, 0x5e, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x02, 0xd0, 0x96, 0x61, 0xfc, 0x74,
|
||||||
|
0x22, 0x4b, 0xa7, 0xbe, 0x79, 0x07, 0xab, 0xef, 0x4f, 0x5e, 0x8b, 0xcc, 0x26, 0x4a, 0x80, 0x2c,
|
||||||
|
0x97, 0x8f, 0x7e, 0xaa, 0x58, 0x55, 0xad, 0xa0, 0x54, 0x36, 0xd7, 0x5d, 0xb7, 0x68, 0xd2, 0x0f,
|
||||||
|
0x68, 0x59, 0x5d, 0xbc, 0xc3, 0xd7, 0x25, 0xb1, 0x38, 0xe8, 0x0b, 0x24, 0x7e, 0x44, 0xa4, 0x16,
|
||||||
|
0x3a, 0x05, 0x42, 0xfa, 0xb6, 0x12, 0xac, 0xbb, 0xde, 0x45, 0xf2, 0xe9, 0x38, 0x94, 0xaa, 0x25,
|
||||||
|
0x3b, 0xdd, 0xef, 0x6a, 0x7b, 0xec, 0xdc, 0x9c, 0xc2, 0x9a, 0x99, 0xba, 0xcf, 0x48, 0xdc, 0x6e,
|
||||||
|
0x38, 0xdb, 0x7a, 0x33, 0xe9, 0xac, 0x92, 0x4c, 0x52, 0x0f, 0xc6, 0xbe, 0x7d, 0x6e, 0x56, 0x46,
|
||||||
|
0xc1, 0xd6, 0x7f, 0xb8, 0xb2, 0xb9, 0x7a, 0xc6, 0x0b, 0xee, 0xcc, 0x3b, 0xb8, 0xe7, 0x5b, 0xed,
|
||||||
|
0x83, 0x15, 0xaa, 0x3f, 0xe4, 0x6f, 0x74, 0x8a, 0x66, 0xd6, 0xef, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
0x02, 0x81, 0x80, 0x6a, 0x4a, 0x34, 0x6b, 0xeb, 0xa9, 0x7f, 0x65, 0x5f, 0xe8, 0x34, 0x64, 0x7d,
|
||||||
|
0x29, 0x44, 0xf5, 0xf4, 0x08, 0x15, 0xe7, 0x30, 0x2c, 0xaf, 0x02, 0xed, 0x17, 0x98, 0x93, 0xc2,
|
||||||
|
0xd9, 0x89, 0x39, 0x5d, 0x5e, 0x87, 0x7c, 0xac, 0xbf, 0x24, 0xa7, 0x7a, 0x07, 0x9d, 0x3d, 0xb7,
|
||||||
|
0x15, 0x80, 0xcc, 0xdb, 0xf6, 0x30, 0x23, 0xd0, 0x0f, 0x80, 0xe5, 0x2f, 0x5c, 0x1a, 0x07, 0x16,
|
||||||
|
0xb3, 0x23, 0xb7, 0xbf, 0xcb, 0xdc, 0x8a, 0x17, 0x81, 0xc4, 0x4c, 0x41, 0x53, 0xe3, 0xda, 0x22,
|
||||||
|
0x8d, 0x17, 0xb2, 0xdc, 0x78, 0xeb, 0x1f, 0x44, 0xcf, 0xf6, 0x0f, 0xe1, 0x15, 0x08, 0x08, 0xa6,
|
||||||
|
0xe3, 0x8b, 0xa2, 0x47, 0x0a, 0xee, 0x2e, 0x94, 0x8a, 0x68, 0x98, 0xdd, 0xad, 0xea, 0x56, 0xd9,
|
||||||
|
0x47, 0x09, 0x27, 0xac, 0xa8, 0xd9, 0x4a, 0x03, 0x38, 0xc1, 0x1a, 0x8e, 0x95, 0x71, 0x5b, 0x5f,
|
||||||
|
0x94, 0xe0, 0x11, 0x02, 0x41, 0x01, 0xf5, 0x41, 0x85, 0x34, 0xc3, 0x62, 0x36, 0xfc, 0x9f, 0xd3,
|
||||||
|
0x89, 0x34, 0xd7, 0xc0, 0x6d, 0xfe, 0xd3, 0x82, 0x91, 0x51, 0xcc, 0xab, 0x56, 0xb6, 0x33, 0x0c,
|
||||||
|
0x64, 0x1f, 0x77, 0x96, 0xa7, 0x19, 0x24, 0xcf, 0x81, 0x19, 0xca, 0x26, 0xe1, 0x86, 0xec, 0xd3,
|
||||||
|
0x06, 0x8d, 0x66, 0x07, 0xa0, 0x52, 0x60, 0xdb, 0x48, 0x57, 0x65, 0x19, 0x80, 0x43, 0x68, 0x91,
|
||||||
|
0xad, 0xde, 0x9e, 0xb9, 0x2a, 0xb7, 0x02, 0x41, 0x01, 0x70, 0x04, 0x2f, 0xbd, 0xba, 0xba, 0x1e,
|
||||||
|
0x10, 0x2b, 0x7f, 0x7f, 0x1d, 0xc9, 0xd9, 0x40, 0xcf, 0xdc, 0xd8, 0x5d, 0xd0, 0xea, 0x65, 0xf5,
|
||||||
|
0x43, 0xc6, 0x43, 0x2e, 0x9c, 0x54, 0x80, 0x72, 0x4b, 0xb4, 0x9b, 0x1e, 0x5f, 0x80, 0xca, 0x2b,
|
||||||
|
0x9f, 0x84, 0xcd, 0x66, 0x44, 0xbf, 0xb2, 0xe3, 0xd0, 0x96, 0x80, 0x90, 0xb8, 0x9f, 0x53, 0x4d,
|
||||||
|
0xc2, 0x95, 0x1e, 0x60, 0x6d, 0xb9, 0x09, 0xdd, 0x89, 0x02, 0x41, 0x01, 0x4b, 0x6c, 0x1a, 0xeb,
|
||||||
|
0x1c, 0x14, 0xa0, 0x4e, 0xc0, 0x4e, 0x59, 0x75, 0xfb, 0x01, 0x5c, 0xb9, 0x14, 0x98, 0x4c, 0x05,
|
||||||
|
0x4d, 0xd2, 0x2b, 0xef, 0x24, 0x29, 0x99, 0x39, 0xc5, 0x14, 0x73, 0x3f, 0x88, 0xbb, 0x3a, 0x9d,
|
||||||
|
0x16, 0xb0, 0x46, 0x85, 0xb3, 0xa8, 0x83, 0xb8, 0x92, 0x31, 0x90, 0xab, 0x67, 0x27, 0x15, 0xd9,
|
||||||
|
0xd3, 0x1a, 0xdd, 0x57, 0xb4, 0x98, 0x3d, 0xe1, 0xe8, 0x08, 0x7e, 0x59, 0x02, 0x41, 0x01, 0x17,
|
||||||
|
0xbf, 0x76, 0xf3, 0x08, 0xb0, 0x56, 0x0e, 0x00, 0xa2, 0xc8, 0x64, 0x42, 0x7d, 0xcd, 0x50, 0xb5,
|
||||||
|
0x16, 0x1c, 0x2a, 0xa5, 0x23, 0xa0, 0x0f, 0x46, 0xf4, 0xe6, 0xc7, 0x9b, 0x4c, 0x90, 0x95, 0x8f,
|
||||||
|
0xd2, 0xa2, 0x82, 0x02, 0x8a, 0xac, 0x22, 0x74, 0x77, 0x16, 0x98, 0x88, 0x08, 0x5a, 0x38, 0xc3,
|
||||||
|
0x4f, 0x33, 0xb3, 0xc4, 0x19, 0x34, 0xf1, 0x07, 0x1d, 0xb2, 0x3b, 0x75, 0xff, 0x53, 0xd1, 0x02,
|
||||||
|
0x41, 0x01, 0x20, 0xa4, 0x28, 0xb4, 0xe0, 0xc4, 0xa6, 0xf2, 0x02, 0x92, 0x0f, 0xd4, 0x9c, 0xc9,
|
||||||
|
0x88, 0x6e, 0x6b, 0x67, 0x19, 0xd4, 0x0a, 0x3a, 0xd0, 0x60, 0x4f, 0x5d, 0x5e, 0xfd, 0x5e, 0xf6,
|
||||||
|
0x97, 0x3a, 0x57, 0x3a, 0xb3, 0x24, 0xf3, 0x8e, 0xcb, 0x8e, 0x66, 0x9a, 0x69, 0x34, 0x15, 0x97,
|
||||||
|
0x08, 0x1e, 0x24, 0x0b, 0x6a, 0xe4, 0xe2, 0x71, 0x48, 0x87, 0xdd, 0x78, 0xda, 0xda, 0xeb, 0x0b,
|
||||||
|
0x92, 0x16,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_1026_pub[] = {
|
||||||
|
0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x02, 0xd0, 0x96, 0x61, 0xfc, 0x74, 0x22, 0x4b, 0xa7, 0xbe,
|
||||||
|
0x79, 0x07, 0xab, 0xef, 0x4f, 0x5e, 0x8b, 0xcc, 0x26, 0x4a, 0x80, 0x2c, 0x97, 0x8f, 0x7e, 0xaa,
|
||||||
|
0x58, 0x55, 0xad, 0xa0, 0x54, 0x36, 0xd7, 0x5d, 0xb7, 0x68, 0xd2, 0x0f, 0x68, 0x59, 0x5d, 0xbc,
|
||||||
|
0xc3, 0xd7, 0x25, 0xb1, 0x38, 0xe8, 0x0b, 0x24, 0x7e, 0x44, 0xa4, 0x16, 0x3a, 0x05, 0x42, 0xfa,
|
||||||
|
0xb6, 0x12, 0xac, 0xbb, 0xde, 0x45, 0xf2, 0xe9, 0x38, 0x94, 0xaa, 0x25, 0x3b, 0xdd, 0xef, 0x6a,
|
||||||
|
0x7b, 0xec, 0xdc, 0x9c, 0xc2, 0x9a, 0x99, 0xba, 0xcf, 0x48, 0xdc, 0x6e, 0x38, 0xdb, 0x7a, 0x33,
|
||||||
|
0xe9, 0xac, 0x92, 0x4c, 0x52, 0x0f, 0xc6, 0xbe, 0x7d, 0x6e, 0x56, 0x46, 0xc1, 0xd6, 0x7f, 0xb8,
|
||||||
|
0xb2, 0xb9, 0x7a, 0xc6, 0x0b, 0xee, 0xcc, 0x3b, 0xb8, 0xe7, 0x5b, 0xed, 0x83, 0x15, 0xaa, 0x3f,
|
||||||
|
0xe4, 0x6f, 0x74, 0x8a, 0x66, 0xd6, 0xef, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_1028_priv[] = {
|
||||||
|
0x30, 0x82, 0x02, 0x5e, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x0e, 0x62, 0xa7, 0x6f, 0x0e, 0x0b,
|
||||||
|
0x59, 0x68, 0x3a, 0x7e, 0xbf, 0x7c, 0xbf, 0xd3, 0x7b, 0x1d, 0x17, 0x81, 0xd8, 0xf1, 0xb9, 0x00,
|
||||||
|
0x60, 0x4b, 0x50, 0x7f, 0x0f, 0x04, 0xc7, 0x2a, 0x3d, 0x34, 0x0d, 0x06, 0x7b, 0xcd, 0x53, 0xbe,
|
||||||
|
0xa3, 0xca, 0xff, 0x4e, 0x4a, 0xe6, 0x94, 0xf0, 0xb6, 0xd8, 0xf5, 0x91, 0xa4, 0x16, 0x7f, 0xbf,
|
||||||
|
0x7f, 0x37, 0x2a, 0xb5, 0x7e, 0x83, 0xa6, 0x9a, 0x3f, 0x26, 0xf4, 0x47, 0xbc, 0xf5, 0x82, 0xbc,
|
||||||
|
0x96, 0x21, 0xa3, 0x0a, 0x3b, 0x44, 0xd6, 0xb4, 0x3e, 0x98, 0x6d, 0x1a, 0x86, 0x7b, 0x07, 0x48,
|
||||||
|
0x9e, 0x4f, 0x9b, 0xfc, 0xad, 0xaa, 0x82, 0xa2, 0x78, 0x2d, 0xc2, 0x72, 0x9a, 0x63, 0x1f, 0xb1,
|
||||||
|
0xfb, 0x9f, 0xfb, 0x79, 0x4b, 0x4e, 0x53, 0xc7, 0x62, 0x39, 0xe0, 0x4d, 0x4a, 0x8f, 0x80, 0x35,
|
||||||
|
0x25, 0x88, 0xdb, 0x29, 0x46, 0x2d, 0xde, 0x18, 0x23, 0x7c, 0xf5, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
0x02, 0x81, 0x81, 0x01, 0xcf, 0xa0, 0x42, 0x2e, 0x3b, 0xb6, 0x0c, 0x15, 0xef, 0x2e, 0x96, 0xdb,
|
||||||
|
0x44, 0x99, 0xe7, 0x89, 0xf5, 0xd6, 0x34, 0xea, 0x64, 0x56, 0x7b, 0x2c, 0xdd, 0x6e, 0x2b, 0xdd,
|
||||||
|
0x12, 0x1f, 0x85, 0xed, 0xcc, 0xde, 0xe9, 0xb4, 0xed, 0x17, 0x8c, 0x5f, 0x33, 0x81, 0x61, 0x01,
|
||||||
|
0xa7, 0xc3, 0x71, 0x51, 0x8b, 0x3e, 0x23, 0xf9, 0xfd, 0xc7, 0x1b, 0x90, 0x24, 0x2c, 0xd3, 0x10,
|
||||||
|
0xb6, 0xb3, 0x14, 0x28, 0xb0, 0xb6, 0x4e, 0xb9, 0x59, 0x6b, 0xe0, 0xcc, 0x04, 0x4c, 0xc8, 0x50,
|
||||||
|
0x48, 0x98, 0x2f, 0x90, 0xb7, 0x06, 0xe6, 0x6c, 0xcd, 0xd3, 0x9a, 0xd5, 0xa1, 0xa7, 0xb6, 0x4c,
|
||||||
|
0xf0, 0x34, 0xea, 0xc0, 0xc3, 0x5d, 0x7a, 0xce, 0x93, 0xf2, 0xbc, 0xd3, 0xce, 0x24, 0x3b, 0xd8,
|
||||||
|
0xf8, 0x3b, 0x46, 0xf5, 0x09, 0xca, 0x2f, 0x80, 0x50, 0x63, 0x00, 0x2a, 0xf2, 0xbb, 0x2d, 0x88,
|
||||||
|
0xb6, 0xee, 0x36, 0xa9, 0x02, 0x41, 0x03, 0xf0, 0x88, 0x6d, 0x29, 0x77, 0x52, 0x6f, 0x3f, 0x3f,
|
||||||
|
0x6a, 0x07, 0x56, 0x00, 0x23, 0x2c, 0xe3, 0x00, 0x85, 0x17, 0x27, 0x6d, 0xd3, 0x72, 0x1d, 0xee,
|
||||||
|
0x08, 0xfd, 0x6c, 0x99, 0x9f, 0xc9, 0x76, 0xb9, 0xe8, 0xdd, 0x2b, 0xc1, 0x43, 0x38, 0x5f, 0xa4,
|
||||||
|
0xb4, 0x87, 0x35, 0xce, 0x81, 0xc6, 0x6b, 0x50, 0x1d, 0x71, 0x29, 0xee, 0x78, 0x60, 0xcf, 0xbe,
|
||||||
|
0xf2, 0x3b, 0x5d, 0xa9, 0x1e, 0x6c, 0x2d, 0x02, 0x41, 0x03, 0xa6, 0xc8, 0x73, 0x4a, 0xac, 0xe5,
|
||||||
|
0x9d, 0x5f, 0x38, 0x6f, 0x97, 0xde, 0x45, 0x0f, 0x8a, 0x12, 0xd6, 0x3a, 0xe6, 0xac, 0x15, 0xd3,
|
||||||
|
0x36, 0xe0, 0x10, 0xc9, 0xfc, 0xf0, 0x3a, 0x32, 0xf0, 0x61, 0x18, 0x81, 0xac, 0x6c, 0xd8, 0xb3,
|
||||||
|
0xf9, 0x89, 0x92, 0x5c, 0x0f, 0x02, 0x5a, 0xf2, 0x6c, 0xf2, 0x6a, 0xeb, 0xd7, 0xd9, 0xb0, 0x4e,
|
||||||
|
0xb5, 0x03, 0x04, 0x8d, 0xca, 0x2f, 0x50, 0x3c, 0x28, 0xe9, 0x02, 0x41, 0x01, 0x9b, 0x30, 0x04,
|
||||||
|
0x51, 0xc3, 0xb4, 0x78, 0x66, 0xf1, 0x13, 0xe9, 0xa9, 0xc6, 0xa4, 0x90, 0xc8, 0x7c, 0x8d, 0xc6,
|
||||||
|
0xc2, 0xec, 0xa4, 0x29, 0x02, 0xca, 0xea, 0x1f, 0x69, 0x07, 0xb9, 0x7e, 0x0a, 0x4a, 0x02, 0x07,
|
||||||
|
0x2a, 0xaf, 0xc1, 0x18, 0x5a, 0xe6, 0x6c, 0x34, 0x34, 0x5b, 0xdd, 0xcd, 0x68, 0x33, 0x61, 0xcd,
|
||||||
|
0xa1, 0xaa, 0xf8, 0xa9, 0x80, 0x09, 0xf9, 0xf8, 0xfa, 0x56, 0xd9, 0x70, 0x81, 0x02, 0x40, 0x1b,
|
||||||
|
0xcc, 0xa8, 0x49, 0x17, 0x3d, 0x38, 0xe1, 0xe5, 0x0e, 0xc4, 0x88, 0x72, 0xab, 0x54, 0xa2, 0xdc,
|
||||||
|
0xc6, 0x21, 0xa8, 0x0a, 0x7a, 0x1e, 0x8e, 0xa9, 0x51, 0x28, 0x79, 0x88, 0x71, 0x8d, 0x5e, 0x85,
|
||||||
|
0xd9, 0x0d, 0x64, 0xab, 0x49, 0x26, 0xe9, 0xa5, 0x75, 0xa1, 0x68, 0xa3, 0x85, 0xc4, 0x21, 0xad,
|
||||||
|
0x76, 0x58, 0x13, 0xfc, 0x3f, 0x4a, 0xf8, 0xcd, 0x00, 0xde, 0x7b, 0x6b, 0xba, 0x6e, 0x49, 0x02,
|
||||||
|
0x41, 0x03, 0x6d, 0xcf, 0x69, 0xf6, 0xe5, 0x48, 0xc8, 0xac, 0xfb, 0x53, 0x6f, 0xb6, 0xcd, 0x18,
|
||||||
|
0x6f, 0x8b, 0x8f, 0x20, 0xd3, 0x13, 0x36, 0x1d, 0x04, 0x47, 0xc1, 0xb5, 0xe3, 0x80, 0xf4, 0x11,
|
||||||
|
0x3e, 0x57, 0x8b, 0x31, 0xe8, 0x67, 0xdd, 0xa4, 0x7d, 0x44, 0xad, 0x37, 0x61, 0xe7, 0x93, 0xf7,
|
||||||
|
0x25, 0x03, 0x1b, 0x8d, 0x37, 0x9f, 0x38, 0x9d, 0xe2, 0x77, 0xa9, 0xa0, 0x13, 0x76, 0x51, 0xdf,
|
||||||
|
0x54, 0x8a,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_1028_pub[] = {
|
||||||
|
0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x0e, 0x62, 0xa7, 0x6f, 0x0e, 0x0b, 0x59, 0x68, 0x3a, 0x7e,
|
||||||
|
0xbf, 0x7c, 0xbf, 0xd3, 0x7b, 0x1d, 0x17, 0x81, 0xd8, 0xf1, 0xb9, 0x00, 0x60, 0x4b, 0x50, 0x7f,
|
||||||
|
0x0f, 0x04, 0xc7, 0x2a, 0x3d, 0x34, 0x0d, 0x06, 0x7b, 0xcd, 0x53, 0xbe, 0xa3, 0xca, 0xff, 0x4e,
|
||||||
|
0x4a, 0xe6, 0x94, 0xf0, 0xb6, 0xd8, 0xf5, 0x91, 0xa4, 0x16, 0x7f, 0xbf, 0x7f, 0x37, 0x2a, 0xb5,
|
||||||
|
0x7e, 0x83, 0xa6, 0x9a, 0x3f, 0x26, 0xf4, 0x47, 0xbc, 0xf5, 0x82, 0xbc, 0x96, 0x21, 0xa3, 0x0a,
|
||||||
|
0x3b, 0x44, 0xd6, 0xb4, 0x3e, 0x98, 0x6d, 0x1a, 0x86, 0x7b, 0x07, 0x48, 0x9e, 0x4f, 0x9b, 0xfc,
|
||||||
|
0xad, 0xaa, 0x82, 0xa2, 0x78, 0x2d, 0xc2, 0x72, 0x9a, 0x63, 0x1f, 0xb1, 0xfb, 0x9f, 0xfb, 0x79,
|
||||||
|
0x4b, 0x4e, 0x53, 0xc7, 0x62, 0x39, 0xe0, 0x4d, 0x4a, 0x8f, 0x80, 0x35, 0x25, 0x88, 0xdb, 0x29,
|
||||||
|
0x46, 0x2d, 0xde, 0x18, 0x23, 0x7c, 0xf5, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_1030_priv[] = {
|
||||||
|
0x30, 0x82, 0x02, 0x5f, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81, 0x2b, 0x7c, 0xd1, 0x97, 0xf5, 0x79,
|
||||||
|
0x6d, 0x1f, 0x8e, 0x57, 0x6b, 0x2b, 0x37, 0x72, 0x3f, 0xd9, 0x21, 0x08, 0x14, 0xef, 0x1c, 0x19,
|
||||||
|
0x95, 0xf9, 0x89, 0x9d, 0x50, 0x05, 0x8f, 0x37, 0x9d, 0x23, 0x9c, 0x66, 0x87, 0x8e, 0x92, 0x2f,
|
||||||
|
0x34, 0xc6, 0xae, 0x36, 0x72, 0xc8, 0x59, 0x8f, 0xcd, 0x5d, 0x47, 0xb7, 0x64, 0xd2, 0xec, 0x15,
|
||||||
|
0x6e, 0x13, 0x4d, 0x03, 0xcf, 0x6a, 0x94, 0xd3, 0x8d, 0x2e, 0xa8, 0xbc, 0x76, 0xdb, 0xbc, 0x60,
|
||||||
|
0xc4, 0xb9, 0x74, 0x21, 0x90, 0x90, 0xea, 0xf2, 0x87, 0x49, 0x7d, 0x7d, 0xcf, 0x7f, 0x11, 0x9c,
|
||||||
|
0xfa, 0x86, 0x74, 0x96, 0xf7, 0xe9, 0x1c, 0x12, 0xb5, 0xd5, 0x52, 0xe1, 0xd1, 0x46, 0x1a, 0x80,
|
||||||
|
0xdb, 0xe9, 0xa5, 0x9d, 0xb3, 0xb0, 0x16, 0xc6, 0xc0, 0x14, 0x1c, 0x3b, 0x2a, 0x0e, 0x22, 0x60,
|
||||||
|
0x89, 0xb8, 0x55, 0xcb, 0x88, 0xef, 0x65, 0x64, 0x08, 0xbd, 0x89, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
0x02, 0x81, 0x81, 0x02, 0x10, 0xd5, 0xff, 0x53, 0x1c, 0xac, 0xb2, 0x2f, 0x8c, 0xf7, 0xdd, 0x1f,
|
||||||
|
0xd9, 0xfb, 0x03, 0x76, 0xf3, 0x64, 0x7f, 0x2e, 0x9a, 0xb3, 0xdf, 0x9c, 0x89, 0xb9, 0xad, 0x3c,
|
||||||
|
0x98, 0xe6, 0x8b, 0x89, 0xad, 0xeb, 0x29, 0x90, 0x1d, 0xd2, 0xf2, 0xcf, 0x2a, 0xc1, 0xf8, 0x17,
|
||||||
|
0x72, 0x62, 0x78, 0x83, 0x0e, 0xc8, 0xa8, 0xd0, 0xfd, 0xd1, 0x9d, 0x49, 0x6e, 0xc6, 0xbc, 0x68,
|
||||||
|
0x36, 0x71, 0x17, 0x47, 0x86, 0xb7, 0xd6, 0xa8, 0xe8, 0x22, 0xfa, 0x71, 0xd6, 0x5a, 0xd3, 0x5a,
|
||||||
|
0xbb, 0xdf, 0x0e, 0x6e, 0x55, 0xff, 0x2c, 0x18, 0x21, 0xb6, 0x2b, 0xc6, 0x30, 0x19, 0x21, 0x60,
|
||||||
|
0xe5, 0xc9, 0xb3, 0xdc, 0xaf, 0xc6, 0x5a, 0xe6, 0xb2, 0xa0, 0x88, 0xfb, 0xc5, 0x59, 0x1d, 0xa5,
|
||||||
|
0x8a, 0x45, 0xdd, 0x7a, 0x30, 0x96, 0x0f, 0x7d, 0x3d, 0xef, 0x75, 0xb8, 0x0c, 0xdf, 0x73, 0x24,
|
||||||
|
0x73, 0x60, 0xe8, 0xfb, 0x02, 0x41, 0x07, 0x2e, 0x37, 0x1a, 0x3b, 0xa8, 0x61, 0xe7, 0x8e, 0x3e,
|
||||||
|
0xb9, 0x31, 0x30, 0x65, 0xfa, 0xab, 0x0a, 0x97, 0x21, 0x6e, 0x95, 0x44, 0xbf, 0xc2, 0xd5, 0xb4,
|
||||||
|
0x03, 0x84, 0x4b, 0x43, 0x27, 0x37, 0x05, 0x75, 0x5a, 0x85, 0xaa, 0x0b, 0xaf, 0x71, 0x14, 0x77,
|
||||||
|
0x0c, 0xfe, 0xca, 0x20, 0xbc, 0xa1, 0x7a, 0xc1, 0x9b, 0xc4, 0xcb, 0xba, 0x10, 0x6a, 0x33, 0xb3,
|
||||||
|
0xdd, 0xdc, 0xa0, 0xfb, 0x53, 0x5f, 0x33, 0x02, 0x41, 0x06, 0x0e, 0x6a, 0xf3, 0x7a, 0xb4, 0xea,
|
||||||
|
0x11, 0xf5, 0x2b, 0x93, 0x44, 0xe7, 0x16, 0x0e, 0xb2, 0xa5, 0x3f, 0x10, 0x75, 0xe1, 0x22, 0x9a,
|
||||||
|
0x7f, 0x10, 0xa3, 0x01, 0xde, 0x33, 0x59, 0xf5, 0x3e, 0x98, 0x1e, 0xa0, 0xe1, 0x7d, 0xf0, 0xfb,
|
||||||
|
0x38, 0x0f, 0x08, 0x9e, 0x5c, 0x37, 0xdd, 0x40, 0xda, 0xa2, 0x9e, 0xef, 0xd2, 0x05, 0xf5, 0xc8,
|
||||||
|
0x7b, 0x38, 0xf8, 0xfe, 0xf6, 0x36, 0xb5, 0x7b, 0xa0, 0x53, 0x02, 0x41, 0x02, 0x3a, 0x5d, 0xd0,
|
||||||
|
0x9e, 0xf8, 0x35, 0x40, 0xb3, 0x0b, 0x55, 0x4d, 0x24, 0xf6, 0x4f, 0x9c, 0x28, 0xd2, 0x12, 0x06,
|
||||||
|
0x8c, 0xfc, 0x62, 0xff, 0xe2, 0x6d, 0x53, 0xb6, 0x05, 0xe0, 0x55, 0x57, 0xa6, 0x32, 0xee, 0x9e,
|
||||||
|
0x90, 0xcf, 0xc5, 0x65, 0x31, 0xf3, 0x6a, 0xad, 0xd8, 0x2b, 0xe6, 0x3b, 0xb8, 0xaa, 0x40, 0x5a,
|
||||||
|
0x04, 0xd8, 0xbb, 0xe5, 0x28, 0x1b, 0xc4, 0x58, 0x83, 0xfe, 0xd7, 0xb4, 0xaf, 0x02, 0x41, 0x04,
|
||||||
|
0x1d, 0xe6, 0xdb, 0xad, 0x4c, 0xaf, 0x54, 0x17, 0xa9, 0x50, 0x49, 0x65, 0x20, 0x1c, 0x4b, 0x99,
|
||||||
|
0x82, 0x7d, 0xe8, 0xf3, 0x69, 0xf7, 0x45, 0x6a, 0x84, 0xb3, 0xef, 0x5c, 0x4e, 0xc9, 0x23, 0x8c,
|
||||||
|
0x7a, 0x3d, 0x78, 0x2a, 0x89, 0x15, 0xeb, 0xec, 0x64, 0x3a, 0x69, 0x8b, 0x5b, 0xee, 0x0a, 0xf0,
|
||||||
|
0xc2, 0x43, 0x59, 0x2b, 0xce, 0x00, 0x42, 0xaa, 0xde, 0xaf, 0x49, 0xa4, 0xb4, 0xc6, 0xdd, 0x9b,
|
||||||
|
0x02, 0x41, 0x05, 0xd3, 0x2d, 0xee, 0x95, 0x2b, 0x50, 0x3b, 0x53, 0x6f, 0xce, 0xcf, 0x19, 0xec,
|
||||||
|
0x08, 0x23, 0x6a, 0x9c, 0xd9, 0x45, 0xc4, 0x95, 0x51, 0xbf, 0x99, 0xf1, 0x5b, 0x67, 0x4f, 0xc2,
|
||||||
|
0x1a, 0xa1, 0x99, 0xf4, 0xc4, 0x21, 0x1f, 0x0f, 0x00, 0x07, 0xc4, 0x17, 0xc1, 0xfb, 0x41, 0x55,
|
||||||
|
0x32, 0x6a, 0x21, 0x42, 0xfc, 0xa4, 0x54, 0xbb, 0xd3, 0x8d, 0x6d, 0xbc, 0x6c, 0xaa, 0x7a, 0xc3,
|
||||||
|
0x35, 0xa1, 0x7c,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_1030_pub[] = {
|
||||||
|
0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x2b, 0x7c, 0xd1, 0x97, 0xf5, 0x79, 0x6d, 0x1f, 0x8e, 0x57,
|
||||||
|
0x6b, 0x2b, 0x37, 0x72, 0x3f, 0xd9, 0x21, 0x08, 0x14, 0xef, 0x1c, 0x19, 0x95, 0xf9, 0x89, 0x9d,
|
||||||
|
0x50, 0x05, 0x8f, 0x37, 0x9d, 0x23, 0x9c, 0x66, 0x87, 0x8e, 0x92, 0x2f, 0x34, 0xc6, 0xae, 0x36,
|
||||||
|
0x72, 0xc8, 0x59, 0x8f, 0xcd, 0x5d, 0x47, 0xb7, 0x64, 0xd2, 0xec, 0x15, 0x6e, 0x13, 0x4d, 0x03,
|
||||||
|
0xcf, 0x6a, 0x94, 0xd3, 0x8d, 0x2e, 0xa8, 0xbc, 0x76, 0xdb, 0xbc, 0x60, 0xc4, 0xb9, 0x74, 0x21,
|
||||||
|
0x90, 0x90, 0xea, 0xf2, 0x87, 0x49, 0x7d, 0x7d, 0xcf, 0x7f, 0x11, 0x9c, 0xfa, 0x86, 0x74, 0x96,
|
||||||
|
0xf7, 0xe9, 0x1c, 0x12, 0xb5, 0xd5, 0x52, 0xe1, 0xd1, 0x46, 0x1a, 0x80, 0xdb, 0xe9, 0xa5, 0x9d,
|
||||||
|
0xb3, 0xb0, 0x16, 0xc6, 0xc0, 0x14, 0x1c, 0x3b, 0x2a, 0x0e, 0x22, 0x60, 0x89, 0xb8, 0x55, 0xcb,
|
||||||
|
0x88, 0xef, 0x65, 0x64, 0x08, 0xbd, 0x89, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_1536_priv[] = {
|
||||||
|
0x30, 0x82, 0x03, 0x7b, 0x02, 0x01, 0x00, 0x02, 0x81, 0xc1, 0x00, 0xc8, 0x70, 0xfe, 0xb6, 0xca,
|
||||||
|
0x6b, 0x1d, 0x2b, 0xd9, 0xf2, 0xdd, 0x99, 0xe2, 0x0f, 0x1f, 0xe2, 0xd7, 0xe5, 0x19, 0x2d, 0xe6,
|
||||||
|
0x62, 0x22, 0x9d, 0xbe, 0x16, 0x2b, 0xd1, 0xba, 0x66, 0x33, 0x6a, 0x71, 0x82, 0x90, 0x3c, 0xa0,
|
||||||
|
0xb7, 0x27, 0x96, 0xcd, 0x44, 0x1c, 0x83, 0xd2, 0x4b, 0xcd, 0xc3, 0xe9, 0xa2, 0xf5, 0xe4, 0x39,
|
||||||
|
0x9c, 0x8a, 0x04, 0x3f, 0x1c, 0x3d, 0xdf, 0x04, 0x75, 0x4a, 0x66, 0xd4, 0xcf, 0xe7, 0xb3, 0x67,
|
||||||
|
0x1a, 0x37, 0xdd, 0x31, 0xa9, 0xb4, 0xc1, 0x3b, 0xfe, 0x06, 0xee, 0x90, 0xf9, 0xd9, 0x4d, 0xda,
|
||||||
|
0xa0, 0x6d, 0xe6, 0x7a, 0x52, 0xac, 0x86, 0x3e, 0x68, 0xf7, 0x56, 0x73, 0x6c, 0xeb, 0x01, 0x44,
|
||||||
|
0x05, 0xa6, 0x16, 0x05, 0x79, 0x64, 0x0f, 0x83, 0x1d, 0xdd, 0xcc, 0xc3, 0x4a, 0xd0, 0xb0, 0x50,
|
||||||
|
0x70, 0xe3, 0xf9, 0x95, 0x4a, 0x58, 0xd1, 0x81, 0x58, 0x13, 0xe1, 0xb8, 0x3b, 0xca, 0xdb, 0xa8,
|
||||||
|
0x14, 0x78, 0x9c, 0x87, 0xf1, 0xef, 0x2b, 0xa5, 0xd7, 0x38, 0xb7, 0x93, 0xec, 0x45, 0x6a, 0x67,
|
||||||
|
0x36, 0x0e, 0xea, 0x1b, 0x5f, 0xaf, 0x1c, 0x7c, 0xc7, 0xbf, 0x24, 0xf3, 0xb2, 0xa9, 0xd0, 0xf8,
|
||||||
|
0x95, 0x8b, 0x10, 0x96, 0xe0, 0xf0, 0xc3, 0x35, 0xf8, 0x88, 0x8d, 0x0c, 0x63, 0xa5, 0x1c, 0x3c,
|
||||||
|
0x03, 0x37, 0x21, 0x4f, 0xa3, 0xf5, 0xef, 0xdf, 0x6d, 0xcc, 0x35, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
0x02, 0x81, 0xc0, 0x6d, 0x2d, 0x67, 0x00, 0x47, 0x97, 0x3a, 0x87, 0x75, 0x2a, 0x9d, 0x5b, 0xc1,
|
||||||
|
0x4f, 0x3d, 0xae, 0x00, 0xac, 0xb0, 0x1f, 0x59, 0x3a, 0xa0, 0xe2, 0x4c, 0xf4, 0xa4, 0x9f, 0x93,
|
||||||
|
0x29, 0x31, 0xde, 0x4b, 0xbf, 0xb3, 0x32, 0xe2, 0xd3, 0x80, 0x83, 0xda, 0x80, 0xbc, 0x0b, 0x6d,
|
||||||
|
0x53, 0x8e, 0xdb, 0xa4, 0x79, 0xf7, 0xf7, 0x7d, 0x0d, 0xef, 0xfb, 0x4a, 0x28, 0xe6, 0xe6, 0x7f,
|
||||||
|
0xf6, 0x27, 0x35, 0x85, 0xbb, 0x4c, 0xd8, 0x62, 0x53, 0x5c, 0x94, 0x66, 0x05, 0xab, 0x08, 0x09,
|
||||||
|
0xd6, 0x5f, 0x0e, 0x38, 0xf7, 0x6e, 0x4e, 0xc2, 0xc3, 0xd9, 0xb8, 0xcd, 0x6e, 0x14, 0xbc, 0xf6,
|
||||||
|
0x67, 0x94, 0x38, 0x92, 0xcd, 0x4b, 0x34, 0xcc, 0x64, 0x20, 0xa4, 0x39, 0xab, 0xbf, 0x3d, 0x7d,
|
||||||
|
0x35, 0xef, 0x73, 0x97, 0x6d, 0xd6, 0xf9, 0xcb, 0xde, 0x35, 0xa5, 0x1f, 0xa5, 0x21, 0x3f, 0x01,
|
||||||
|
0x07, 0xf8, 0x3e, 0x34, 0x25, 0x83, 0x5d, 0x16, 0xd3, 0xc9, 0x14, 0x6f, 0xc9, 0xe3, 0x6c, 0xe7,
|
||||||
|
0x5a, 0x09, 0xbb, 0x66, 0xcd, 0xff, 0x21, 0xdd, 0x5a, 0x77, 0x68, 0x99, 0xf1, 0xcb, 0x07, 0xe2,
|
||||||
|
0x82, 0xcc, 0xa2, 0x7b, 0xe4, 0x65, 0x10, 0xe9, 0xc7, 0x99, 0xf0, 0xd8, 0xdb, 0x27, 0x5a, 0x6b,
|
||||||
|
0xe0, 0x85, 0xd9, 0xf3, 0xf8, 0x03, 0x21, 0x8e, 0xe3, 0x38, 0x42, 0x65, 0xbf, 0xb1, 0xa3, 0x64,
|
||||||
|
0x0e, 0x8c, 0xa1, 0x02, 0x61, 0x00, 0xe6, 0x84, 0x8c, 0x31, 0xd4, 0x66, 0xff, 0xfe, 0xfc, 0x54,
|
||||||
|
0x7e, 0x3a, 0x3b, 0x0d, 0x37, 0x85, 0xde, 0x6f, 0x78, 0xb0, 0xdd, 0x12, 0x61, 0x08, 0x43, 0x51,
|
||||||
|
0x2e, 0x49, 0x56, 0x11, 0xa0, 0x67, 0x55, 0x09, 0xb1, 0x65, 0x0b, 0x27, 0x41, 0x50, 0x09, 0x83,
|
||||||
|
0x8d, 0xd8, 0xe6, 0x8e, 0xec, 0x6e, 0x75, 0x30, 0x55, 0x3b, 0x63, 0x7d, 0x60, 0x24, 0x24, 0x64,
|
||||||
|
0x3b, 0x33, 0xe8, 0xbc, 0x5b, 0x76, 0x2e, 0x17, 0x99, 0xbc, 0x79, 0xd5, 0x6b, 0x13, 0x25, 0x1d,
|
||||||
|
0x36, 0xd4, 0xf2, 0x01, 0xda, 0x21, 0x82, 0x41, 0x6c, 0xe1, 0x35, 0x74, 0xe8, 0x82, 0x78, 0xff,
|
||||||
|
0x04, 0x46, 0x7a, 0xd6, 0x02, 0xd9, 0x02, 0x61, 0x00, 0xde, 0x99, 0x4f, 0xdf, 0x18, 0x1f, 0x02,
|
||||||
|
0xbe, 0x2b, 0xf9, 0xe5, 0xf5, 0xe4, 0xe5, 0x17, 0xa9, 0x49, 0x93, 0xb8, 0x27, 0xd1, 0xea, 0xf6,
|
||||||
|
0x09, 0x03, 0x3e, 0x3a, 0x6a, 0x6f, 0x23, 0x96, 0xae, 0x7c, 0x44, 0xe9, 0xeb, 0x59, 0x4c, 0xf1,
|
||||||
|
0x04, 0x4c, 0xb3, 0xad, 0x32, 0xea, 0x25, 0x8f, 0x0c, 0x82, 0x96, 0x3b, 0x27, 0xbb, 0x65, 0x0e,
|
||||||
|
0xd2, 0x00, 0xcd, 0xe8, 0x2c, 0xb9, 0x93, 0x37, 0x4b, 0xe3, 0x4b, 0xe5, 0xb1, 0xc7, 0xea, 0xd5,
|
||||||
|
0x44, 0x6a, 0x2b, 0x82, 0xa4, 0x48, 0x6e, 0x8c, 0x18, 0x10, 0xa0, 0xb0, 0x15, 0x51, 0x60, 0x9f,
|
||||||
|
0xb0, 0x84, 0x1d, 0x47, 0x4b, 0xad, 0xa8, 0x02, 0xbd, 0x02, 0x60, 0x76, 0xdd, 0xae, 0x75, 0x1b,
|
||||||
|
0x73, 0xa9, 0x59, 0xd0, 0xbf, 0xb8, 0xff, 0x49, 0xe7, 0xfc, 0xd3, 0x78, 0xe9, 0xbe, 0x30, 0x65,
|
||||||
|
0x2e, 0xce, 0xfe, 0x35, 0xc8, 0x2c, 0xb8, 0x00, 0x3b, 0xc2, 0x9c, 0xc6, 0x0a, 0xe3, 0x80, 0x99,
|
||||||
|
0x09, 0xba, 0xf2, 0x0c, 0x95, 0xdb, 0x95, 0x16, 0xfe, 0x68, 0x08, 0x65, 0x41, 0x71, 0x11, 0xd8,
|
||||||
|
0xb1, 0x93, 0xdb, 0xcf, 0x30, 0x28, 0x1f, 0x12, 0x49, 0xde, 0x57, 0xc8, 0x58, 0xbf, 0x1b, 0xa3,
|
||||||
|
0x2f, 0x5b, 0xb1, 0x59, 0x98, 0x00, 0xe8, 0x39, 0x8a, 0x9e, 0xf2, 0x5c, 0x7a, 0x64, 0x2c, 0x95,
|
||||||
|
0x26, 0x1d, 0xa6, 0xf9, 0xc1, 0x76, 0x70, 0xe9, 0x72, 0x65, 0xb1, 0x02, 0x60, 0x73, 0x24, 0x82,
|
||||||
|
0xb8, 0x37, 0xd5, 0xf2, 0xa9, 0x44, 0x3e, 0x23, 0xc1, 0xaa, 0x01, 0x06, 0xd8, 0x3e, 0x82, 0xf6,
|
||||||
|
0xc3, 0x42, 0x46, 0x73, 0xb5, 0xfd, 0xc3, 0x76, 0x9c, 0x0f, 0x99, 0x2d, 0x1c, 0x5c, 0x93, 0x99,
|
||||||
|
0x1c, 0x70, 0x38, 0xe8, 0x82, 0xfc, 0xda, 0x04, 0x41, 0x4d, 0xf4, 0xd7, 0xa5, 0xf4, 0xf6, 0x98,
|
||||||
|
0xea, 0xd8, 0x78, 0x51, 0xce, 0x37, 0x34, 0x4b, 0x60, 0xb7, 0x2d, 0x7b, 0x70, 0xf9, 0xc6, 0x0c,
|
||||||
|
0xae, 0x85, 0x66, 0xe7, 0xa2, 0x57, 0xf8, 0xe1, 0xbe, 0xf0, 0xe8, 0x9d, 0xf6, 0xe4, 0xc2, 0xf9,
|
||||||
|
0xd2, 0x4d, 0x21, 0xd9, 0xf8, 0x88, 0x9e, 0x4c, 0x7e, 0xcc, 0xf9, 0x17, 0x51, 0x02, 0x60, 0x09,
|
||||||
|
0x05, 0x0d, 0x94, 0x49, 0x3d, 0xa8, 0xf0, 0x0a, 0x4d, 0xdb, 0xe9, 0xc8, 0x00, 0xaf, 0xe3, 0xd4,
|
||||||
|
0x4b, 0x43, 0xf7, 0x8a, 0x48, 0x94, 0x1a, 0x79, 0xb2, 0x81, 0x4a, 0x1f, 0x0b, 0x81, 0xa1, 0x8a,
|
||||||
|
0x8b, 0x23, 0x47, 0x64, 0x2a, 0x03, 0xb2, 0x79, 0x98, 0xf5, 0xa1, 0x8d, 0xe9, 0xab, 0xc9, 0xae,
|
||||||
|
0x0e, 0x54, 0xab, 0x82, 0x94, 0xfe, 0xac, 0x66, 0xdc, 0x87, 0xe8, 0x54, 0xcc, 0xe6, 0xf7, 0x27,
|
||||||
|
0x8a, 0xc2, 0x71, 0x0c, 0xb5, 0x87, 0x8b, 0x59, 0x2f, 0xfe, 0xb1, 0xf4, 0xf0, 0xa1, 0x85, 0x3e,
|
||||||
|
0x4e, 0x8d, 0x1d, 0x05, 0x61, 0xb6, 0xef, 0xcc, 0x83, 0x1a, 0x29, 0x6c, 0xf7, 0xee, 0xaf,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_1536_pub[] = {
|
||||||
|
0x30, 0x81, 0xc9, 0x02, 0x81, 0xc1, 0x00, 0xc8, 0x70, 0xfe, 0xb6, 0xca, 0x6b, 0x1d, 0x2b, 0xd9,
|
||||||
|
0xf2, 0xdd, 0x99, 0xe2, 0x0f, 0x1f, 0xe2, 0xd7, 0xe5, 0x19, 0x2d, 0xe6, 0x62, 0x22, 0x9d, 0xbe,
|
||||||
|
0x16, 0x2b, 0xd1, 0xba, 0x66, 0x33, 0x6a, 0x71, 0x82, 0x90, 0x3c, 0xa0, 0xb7, 0x27, 0x96, 0xcd,
|
||||||
|
0x44, 0x1c, 0x83, 0xd2, 0x4b, 0xcd, 0xc3, 0xe9, 0xa2, 0xf5, 0xe4, 0x39, 0x9c, 0x8a, 0x04, 0x3f,
|
||||||
|
0x1c, 0x3d, 0xdf, 0x04, 0x75, 0x4a, 0x66, 0xd4, 0xcf, 0xe7, 0xb3, 0x67, 0x1a, 0x37, 0xdd, 0x31,
|
||||||
|
0xa9, 0xb4, 0xc1, 0x3b, 0xfe, 0x06, 0xee, 0x90, 0xf9, 0xd9, 0x4d, 0xda, 0xa0, 0x6d, 0xe6, 0x7a,
|
||||||
|
0x52, 0xac, 0x86, 0x3e, 0x68, 0xf7, 0x56, 0x73, 0x6c, 0xeb, 0x01, 0x44, 0x05, 0xa6, 0x16, 0x05,
|
||||||
|
0x79, 0x64, 0x0f, 0x83, 0x1d, 0xdd, 0xcc, 0xc3, 0x4a, 0xd0, 0xb0, 0x50, 0x70, 0xe3, 0xf9, 0x95,
|
||||||
|
0x4a, 0x58, 0xd1, 0x81, 0x58, 0x13, 0xe1, 0xb8, 0x3b, 0xca, 0xdb, 0xa8, 0x14, 0x78, 0x9c, 0x87,
|
||||||
|
0xf1, 0xef, 0x2b, 0xa5, 0xd7, 0x38, 0xb7, 0x93, 0xec, 0x45, 0x6a, 0x67, 0x36, 0x0e, 0xea, 0x1b,
|
||||||
|
0x5f, 0xaf, 0x1c, 0x7c, 0xc7, 0xbf, 0x24, 0xf3, 0xb2, 0xa9, 0xd0, 0xf8, 0x95, 0x8b, 0x10, 0x96,
|
||||||
|
0xe0, 0xf0, 0xc3, 0x35, 0xf8, 0x88, 0x8d, 0x0c, 0x63, 0xa5, 0x1c, 0x3c, 0x03, 0x37, 0x21, 0x4f,
|
||||||
|
0xa3, 0xf5, 0xef, 0xdf, 0x6d, 0xcc, 0x35, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_2048_priv[] = {
|
||||||
|
0x30, 0x82, 0x04, 0xa3, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xf7, 0xbb, 0x6b, 0x8e,
|
||||||
|
0xab, 0x40, 0x49, 0x1c, 0xd6, 0x44, 0x55, 0xec, 0x04, 0xd4, 0xed, 0x8d, 0xb5, 0x05, 0x1a, 0x97,
|
||||||
|
0x38, 0xfc, 0x7a, 0xf7, 0x3f, 0xf3, 0xb0, 0x97, 0x51, 0x1c, 0xce, 0x40, 0xaa, 0xf7, 0x65, 0x37,
|
||||||
|
0xb1, 0x35, 0x35, 0x04, 0x42, 0x79, 0x86, 0xb7, 0xb2, 0xb5, 0x3a, 0x96, 0x4a, 0x69, 0x37, 0xb5,
|
||||||
|
0x58, 0xec, 0x0d, 0x1d, 0xea, 0x27, 0x4a, 0xf2, 0xb8, 0xff, 0xf2, 0xf0, 0x94, 0xc2, 0x43, 0xfa,
|
||||||
|
0x57, 0x72, 0x66, 0xa7, 0x9d, 0xb0, 0xc2, 0x6f, 0xfe, 0x30, 0x41, 0x6d, 0x23, 0xef, 0x05, 0xdd,
|
||||||
|
0x5f, 0xec, 0xab, 0x41, 0x3e, 0xbb, 0xb4, 0xf8, 0x52, 0x6a, 0xe7, 0x20, 0xa9, 0x45, 0x84, 0x22,
|
||||||
|
0x6b, 0x37, 0xd9, 0x2e, 0xf4, 0x63, 0xfc, 0x73, 0x6c, 0xb3, 0x8e, 0x53, 0x0e, 0x74, 0x88, 0xd9,
|
||||||
|
0x16, 0x2f, 0x57, 0x26, 0x80, 0x7b, 0xc5, 0x43, 0x13, 0x8a, 0x2d, 0x25, 0x8a, 0xdb, 0x4d, 0x68,
|
||||||
|
0x02, 0x21, 0xc2, 0x53, 0x23, 0x81, 0xcc, 0xfa, 0x81, 0xbc, 0x89, 0xbc, 0x3d, 0x7b, 0x84, 0x03,
|
||||||
|
0x9c, 0x2d, 0xf4, 0x1c, 0xe3, 0xec, 0x8d, 0xb9, 0x1c, 0x23, 0x80, 0xe7, 0x81, 0xba, 0x3a, 0xa9,
|
||||||
|
0xe2, 0x3b, 0x74, 0xed, 0x99, 0x73, 0xd4, 0x90, 0x8e, 0xfc, 0xa4, 0x7a, 0xa8, 0xd9, 0xb7, 0xb0,
|
||||||
|
0xa4, 0x42, 0x32, 0x97, 0xa4, 0x04, 0x42, 0x7c, 0x3f, 0x3c, 0xd6, 0xe0, 0x78, 0x2e, 0x45, 0x53,
|
||||||
|
0x88, 0x0f, 0x06, 0xba, 0x39, 0xa6, 0x4f, 0x4a, 0x7b, 0x0e, 0xef, 0x92, 0x1a, 0x60, 0x50, 0xa2,
|
||||||
|
0x07, 0xce, 0xfa, 0xdc, 0xf0, 0x73, 0x94, 0xa3, 0xe1, 0x8e, 0xa9, 0x15, 0xdc, 0x84, 0x97, 0xe7,
|
||||||
|
0xae, 0x61, 0xfc, 0x31, 0x62, 0xf6, 0x2f, 0x50, 0x65, 0xa6, 0x92, 0xaf, 0x07, 0x72, 0x66, 0xf7,
|
||||||
|
0x36, 0x0c, 0x20, 0x76, 0xce, 0xbe, 0xaf, 0x14, 0xcb, 0x22, 0xc1, 0xed, 0x02, 0x03, 0x01, 0x00,
|
||||||
|
0x01, 0x02, 0x82, 0x01, 0x00, 0x00, 0xb8, 0x96, 0x2d, 0xce, 0x60, 0x4b, 0xc6, 0x2e, 0x76, 0x78,
|
||||||
|
0xf4, 0x8c, 0xa8, 0x0c, 0xff, 0xf4, 0x56, 0xad, 0x36, 0xe2, 0xf6, 0xd3, 0x29, 0xcc, 0x91, 0x1a,
|
||||||
|
0x42, 0xba, 0x7c, 0xf5, 0xb9, 0xb8, 0xf5, 0xaa, 0xe1, 0x00, 0x5e, 0x4a, 0x06, 0xf6, 0xe5, 0x91,
|
||||||
|
0x27, 0x90, 0x38, 0xd8, 0x50, 0x8f, 0x2b, 0x62, 0xba, 0xdf, 0xa5, 0x22, 0x3d, 0xa3, 0xcc, 0x94,
|
||||||
|
0xfa, 0x83, 0x60, 0xd5, 0x55, 0x6f, 0x6d, 0x68, 0x52, 0xbe, 0x75, 0xea, 0x08, 0x13, 0x5c, 0xac,
|
||||||
|
0x18, 0x34, 0xda, 0x71, 0x9a, 0x4e, 0x78, 0x37, 0xe1, 0x66, 0xd1, 0xd2, 0xc6, 0xc8, 0x16, 0xb6,
|
||||||
|
0x46, 0x61, 0xc1, 0x07, 0x66, 0xb0, 0x2f, 0x70, 0x5c, 0xc4, 0x48, 0x9f, 0x94, 0x74, 0x28, 0x25,
|
||||||
|
0x58, 0x35, 0xa9, 0x09, 0x21, 0x43, 0x41, 0xc2, 0x13, 0x35, 0xae, 0x12, 0x18, 0x1d, 0xd8, 0x1e,
|
||||||
|
0x61, 0x1d, 0x59, 0xb1, 0xdb, 0x70, 0x66, 0x7b, 0xeb, 0xd7, 0xe9, 0x2b, 0x71, 0xe1, 0xd3, 0x88,
|
||||||
|
0x31, 0x8d, 0x3e, 0xc1, 0x4d, 0x61, 0x6f, 0x72, 0xc2, 0x31, 0xf6, 0x72, 0x7a, 0x18, 0x3e, 0x68,
|
||||||
|
0x18, 0x28, 0x5b, 0xd6, 0x5f, 0x65, 0x72, 0xca, 0xdc, 0x90, 0x12, 0x24, 0x88, 0x21, 0xb2, 0xd0,
|
||||||
|
0xae, 0x6c, 0xed, 0xd3, 0x0c, 0xa4, 0x40, 0xd4, 0xd3, 0x4c, 0xd7, 0x7e, 0x2c, 0xf6, 0xb4, 0x0e,
|
||||||
|
0xd2, 0xc7, 0xd8, 0x56, 0xb3, 0x0d, 0x47, 0x47, 0x33, 0xfc, 0xe0, 0xfb, 0x69, 0x5c, 0x3e, 0x65,
|
||||||
|
0x30, 0xc0, 0x79, 0xae, 0xd9, 0x55, 0xe4, 0x07, 0x30, 0x55, 0xf2, 0x65, 0x5d, 0x4b, 0x67, 0x1e,
|
||||||
|
0x29, 0x1f, 0xde, 0x40, 0x0f, 0x2f, 0x06, 0xd0, 0xb3, 0x3f, 0x87, 0xd2, 0x61, 0xe0, 0xad, 0x3d,
|
||||||
|
0xae, 0x48, 0xa9, 0x13, 0x84, 0x1b, 0x34, 0xcf, 0xed, 0x03, 0x79, 0x0f, 0xca, 0xee, 0x00, 0xde,
|
||||||
|
0x2e, 0x90, 0xfb, 0x96, 0x21, 0x02, 0x81, 0x81, 0x00, 0xfc, 0xbe, 0x89, 0xcd, 0x1a, 0xa3, 0x19,
|
||||||
|
0xe4, 0x9e, 0xf4, 0xf7, 0x21, 0x49, 0xbf, 0x06, 0xda, 0x57, 0xdc, 0xc6, 0x4d, 0x3d, 0xe6, 0x05,
|
||||||
|
0xe9, 0xff, 0x3e, 0x76, 0xfc, 0x66, 0xf4, 0xb1, 0xe2, 0x87, 0x82, 0x45, 0xff, 0xd7, 0x19, 0x90,
|
||||||
|
0x51, 0x1b, 0x17, 0xe9, 0x7f, 0x33, 0x81, 0x88, 0x89, 0xa8, 0xc2, 0x1b, 0x55, 0x27, 0xfd, 0x18,
|
||||||
|
0x13, 0x27, 0xaf, 0xfe, 0x88, 0xf9, 0xbb, 0xa6, 0x70, 0xc4, 0xe6, 0xf1, 0xe6, 0x30, 0x9b, 0xd0,
|
||||||
|
0x32, 0x30, 0x74, 0xe4, 0xcb, 0xcf, 0x23, 0xdc, 0xe3, 0xc1, 0x9b, 0x8d, 0x54, 0x95, 0xf5, 0x6a,
|
||||||
|
0x93, 0x05, 0x9b, 0xa7, 0x41, 0x4f, 0x28, 0xed, 0x1e, 0xc9, 0x06, 0xad, 0x18, 0xc6, 0x3d, 0xe1,
|
||||||
|
0x14, 0x8a, 0xbc, 0xfe, 0x9b, 0xe7, 0x98, 0x60, 0x00, 0xf4, 0x25, 0xe5, 0x80, 0xb7, 0x0e, 0x43,
|
||||||
|
0xe4, 0x8e, 0x24, 0xfa, 0x9d, 0x51, 0xaa, 0xae, 0x4d, 0x02, 0x81, 0x81, 0x00, 0xfa, 0xec, 0x5a,
|
||||||
|
0x7b, 0xed, 0x2e, 0x53, 0xcf, 0xca, 0x1e, 0x16, 0x7d, 0xb4, 0x64, 0x1d, 0xb5, 0xa0, 0x0f, 0xe2,
|
||||||
|
0xc3, 0x28, 0x12, 0x54, 0x23, 0xd5, 0x94, 0x78, 0x9f, 0x3e, 0xc0, 0x72, 0xc6, 0x23, 0xe7, 0xaf,
|
||||||
|
0xbd, 0xee, 0x00, 0x89, 0xfd, 0x26, 0x30, 0x76, 0x51, 0xf6, 0xd3, 0x61, 0x1a, 0x88, 0xaf, 0x28,
|
||||||
|
0xc3, 0x45, 0x85, 0xd5, 0xcb, 0x71, 0x3a, 0x65, 0x0c, 0x35, 0x93, 0x3f, 0x58, 0x94, 0x4d, 0xb9,
|
||||||
|
0xbd, 0x15, 0xba, 0x9f, 0xc2, 0x8b, 0x07, 0xe6, 0x70, 0x5b, 0x7b, 0x3e, 0xf1, 0xcc, 0xb4, 0x8d,
|
||||||
|
0x21, 0xa5, 0x35, 0x69, 0xc8, 0xb8, 0x4c, 0x44, 0x4b, 0x61, 0xea, 0x5c, 0x6e, 0x67, 0xb5, 0x4f,
|
||||||
|
0x0a, 0xfd, 0x85, 0x2f, 0xfb, 0x8c, 0x92, 0xa1, 0x11, 0xfa, 0xb8, 0x67, 0x72, 0x63, 0xee, 0xb8,
|
||||||
|
0x0c, 0xf1, 0xa3, 0x40, 0x3b, 0x4a, 0x9a, 0x20, 0x97, 0x76, 0x94, 0x72, 0x21, 0x02, 0x81, 0x80,
|
||||||
|
0x2f, 0xf9, 0x9a, 0xfe, 0xab, 0xc7, 0xb9, 0xea, 0x83, 0xa1, 0xcc, 0x27, 0x2d, 0x70, 0x6d, 0x44,
|
||||||
|
0x94, 0xd8, 0xfb, 0x6b, 0x3e, 0x0c, 0xa3, 0xa2, 0xbf, 0x28, 0x84, 0x3d, 0x74, 0xed, 0x8d, 0xb6,
|
||||||
|
0x8a, 0x32, 0x58, 0x47, 0x2f, 0xf5, 0x52, 0x47, 0x92, 0xf4, 0xff, 0x05, 0x7e, 0x29, 0x60, 0x59,
|
||||||
|
0x81, 0x07, 0x17, 0x59, 0x1a, 0xb6, 0x18, 0x13, 0xca, 0xbc, 0xc5, 0x7c, 0x0a, 0xab, 0x6b, 0xf4,
|
||||||
|
0x8b, 0xeb, 0xaa, 0x8f, 0x1f, 0x3a, 0xf4, 0x52, 0x12, 0x90, 0x9d, 0xbd, 0x72, 0x1c, 0x44, 0x99,
|
||||||
|
0x96, 0xee, 0x87, 0xed, 0x3e, 0x69, 0xcf, 0x49, 0x09, 0x0f, 0x7a, 0xb8, 0x12, 0xe6, 0x99, 0xdb,
|
||||||
|
0xf6, 0x1c, 0xa6, 0x4e, 0xc5, 0x92, 0x89, 0x5e, 0xf4, 0xd6, 0xdb, 0x1d, 0x8c, 0xe0, 0x87, 0x98,
|
||||||
|
0xa6, 0xbf, 0x6a, 0xc8, 0xfb, 0xf6, 0x61, 0x3c, 0xc9, 0x1e, 0x8b, 0xd3, 0xc0, 0xe4, 0xbd, 0x21,
|
||||||
|
0x02, 0x81, 0x81, 0x00, 0xb2, 0x9b, 0x34, 0x59, 0x0b, 0xdd, 0xb3, 0x08, 0xaf, 0xec, 0xb4, 0xc3,
|
||||||
|
0xab, 0x78, 0xab, 0xf1, 0x11, 0x4a, 0xdd, 0x75, 0x5e, 0x7b, 0x95, 0x6a, 0xa0, 0x67, 0x7b, 0x68,
|
||||||
|
0x96, 0xa9, 0x33, 0xc9, 0x37, 0xdb, 0x7d, 0xab, 0xaa, 0xd2, 0xb5, 0x65, 0xfd, 0x1d, 0xf7, 0xca,
|
||||||
|
0xa5, 0xef, 0x96, 0x29, 0xe5, 0xeb, 0x10, 0x0f, 0xd6, 0xd7, 0xc9, 0xf3, 0x72, 0xd8, 0x46, 0xfe,
|
||||||
|
0xe6, 0xcf, 0xb6, 0x02, 0x5e, 0x25, 0xe9, 0x34, 0xdf, 0x57, 0xa4, 0xca, 0x3c, 0x5e, 0x56, 0x37,
|
||||||
|
0xd9, 0xd6, 0x23, 0x5a, 0xc8, 0x04, 0x28, 0x85, 0x2f, 0x6c, 0x92, 0xac, 0xae, 0x0a, 0x93, 0x7e,
|
||||||
|
0x38, 0xe7, 0x31, 0xfd, 0xe0, 0x52, 0x1d, 0x3e, 0x4c, 0x70, 0xd6, 0x53, 0xae, 0x9e, 0xdc, 0x89,
|
||||||
|
0xc8, 0xb6, 0x23, 0xe4, 0x37, 0x9f, 0xbf, 0x60, 0x6f, 0x4b, 0x6d, 0xb8, 0x06, 0x85, 0x28, 0xf7,
|
||||||
|
0xc7, 0x0f, 0x29, 0x21, 0x02, 0x81, 0x80, 0x0e, 0xd4, 0x7a, 0xe0, 0x5b, 0x27, 0x5a, 0x23, 0xa7,
|
||||||
|
0xdf, 0xe3, 0xff, 0xb7, 0x27, 0xe3, 0xa2, 0x68, 0xe6, 0x26, 0xa5, 0x9d, 0x40, 0x1d, 0x2d, 0x84,
|
||||||
|
0x6d, 0xe2, 0x69, 0x54, 0xff, 0x54, 0xfc, 0x9e, 0xd9, 0x3a, 0x9a, 0xf3, 0x3f, 0xac, 0x2c, 0x96,
|
||||||
|
0x7a, 0x18, 0xe0, 0xf8, 0x61, 0x45, 0x08, 0x3e, 0x39, 0x92, 0x34, 0x54, 0xbc, 0x10, 0xda, 0x5f,
|
||||||
|
0x49, 0x37, 0xe8, 0x36, 0xb9, 0x98, 0x51, 0x95, 0x6b, 0xff, 0xb3, 0x01, 0xce, 0x9e, 0x06, 0x78,
|
||||||
|
0x97, 0x86, 0x69, 0x32, 0x13, 0xfc, 0xde, 0x6d, 0x5f, 0x29, 0x33, 0xd5, 0x2b, 0xb2, 0x9d, 0xc3,
|
||||||
|
0x40, 0xea, 0x01, 0x12, 0x57, 0x78, 0x8d, 0x3c, 0x57, 0x75, 0xeb, 0x65, 0x69, 0x23, 0x0a, 0xaf,
|
||||||
|
0xbf, 0x08, 0x75, 0x2d, 0x40, 0xa8, 0x41, 0x9d, 0xe7, 0x1b, 0x01, 0xd4, 0x92, 0x7e, 0x27, 0xc1,
|
||||||
|
0x07, 0x9c, 0xaa, 0xda, 0x05, 0x68, 0xb1,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_2048_pub[] = {
|
||||||
|
0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0xf7, 0xbb, 0x6b, 0x8e, 0xab, 0x40, 0x49,
|
||||||
|
0x1c, 0xd6, 0x44, 0x55, 0xec, 0x04, 0xd4, 0xed, 0x8d, 0xb5, 0x05, 0x1a, 0x97, 0x38, 0xfc, 0x7a,
|
||||||
|
0xf7, 0x3f, 0xf3, 0xb0, 0x97, 0x51, 0x1c, 0xce, 0x40, 0xaa, 0xf7, 0x65, 0x37, 0xb1, 0x35, 0x35,
|
||||||
|
0x04, 0x42, 0x79, 0x86, 0xb7, 0xb2, 0xb5, 0x3a, 0x96, 0x4a, 0x69, 0x37, 0xb5, 0x58, 0xec, 0x0d,
|
||||||
|
0x1d, 0xea, 0x27, 0x4a, 0xf2, 0xb8, 0xff, 0xf2, 0xf0, 0x94, 0xc2, 0x43, 0xfa, 0x57, 0x72, 0x66,
|
||||||
|
0xa7, 0x9d, 0xb0, 0xc2, 0x6f, 0xfe, 0x30, 0x41, 0x6d, 0x23, 0xef, 0x05, 0xdd, 0x5f, 0xec, 0xab,
|
||||||
|
0x41, 0x3e, 0xbb, 0xb4, 0xf8, 0x52, 0x6a, 0xe7, 0x20, 0xa9, 0x45, 0x84, 0x22, 0x6b, 0x37, 0xd9,
|
||||||
|
0x2e, 0xf4, 0x63, 0xfc, 0x73, 0x6c, 0xb3, 0x8e, 0x53, 0x0e, 0x74, 0x88, 0xd9, 0x16, 0x2f, 0x57,
|
||||||
|
0x26, 0x80, 0x7b, 0xc5, 0x43, 0x13, 0x8a, 0x2d, 0x25, 0x8a, 0xdb, 0x4d, 0x68, 0x02, 0x21, 0xc2,
|
||||||
|
0x53, 0x23, 0x81, 0xcc, 0xfa, 0x81, 0xbc, 0x89, 0xbc, 0x3d, 0x7b, 0x84, 0x03, 0x9c, 0x2d, 0xf4,
|
||||||
|
0x1c, 0xe3, 0xec, 0x8d, 0xb9, 0x1c, 0x23, 0x80, 0xe7, 0x81, 0xba, 0x3a, 0xa9, 0xe2, 0x3b, 0x74,
|
||||||
|
0xed, 0x99, 0x73, 0xd4, 0x90, 0x8e, 0xfc, 0xa4, 0x7a, 0xa8, 0xd9, 0xb7, 0xb0, 0xa4, 0x42, 0x32,
|
||||||
|
0x97, 0xa4, 0x04, 0x42, 0x7c, 0x3f, 0x3c, 0xd6, 0xe0, 0x78, 0x2e, 0x45, 0x53, 0x88, 0x0f, 0x06,
|
||||||
|
0xba, 0x39, 0xa6, 0x4f, 0x4a, 0x7b, 0x0e, 0xef, 0x92, 0x1a, 0x60, 0x50, 0xa2, 0x07, 0xce, 0xfa,
|
||||||
|
0xdc, 0xf0, 0x73, 0x94, 0xa3, 0xe1, 0x8e, 0xa9, 0x15, 0xdc, 0x84, 0x97, 0xe7, 0xae, 0x61, 0xfc,
|
||||||
|
0x31, 0x62, 0xf6, 0x2f, 0x50, 0x65, 0xa6, 0x92, 0xaf, 0x07, 0x72, 0x66, 0xf7, 0x36, 0x0c, 0x20,
|
||||||
|
0x76, 0xce, 0xbe, 0xaf, 0x14, 0xcb, 0x22, 0xc1, 0xed, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
const unsigned char test_rsa_4096_priv[] = {
|
||||||
|
0x30, 0x82, 0x09, 0x29, 0x02, 0x01, 0x00, 0x02, 0x82, 0x02, 0x01, 0x00, 0xcc, 0x87, 0x25, 0xf6,
|
||||||
|
0xb3, 0x8d, 0x5d, 0x01, 0xae, 0xeb, 0x07, 0xd3, 0x6e, 0x03, 0xde, 0x4d, 0x31, 0xa0, 0x26, 0x1c,
|
||||||
|
0xe7, 0x4f, 0xe1, 0x1a, 0x89, 0x5e, 0xcf, 0xd1, 0x3d, 0x16, 0x8a, 0xee, 0x93, 0x2a, 0xf1, 0x35,
|
||||||
|
0xff, 0xbb, 0x84, 0x98, 0x77, 0x27, 0x38, 0x97, 0x08, 0x1f, 0x3f, 0x75, 0x93, 0xc1, 0x4a, 0xe8,
|
||||||
|
0x2b, 0xc2, 0x66, 0xc1, 0x05, 0x44, 0xf7, 0x26, 0xae, 0x1c, 0xcf, 0x13, 0x3d, 0x8a, 0x40, 0x18,
|
||||||
|
0xd3, 0x80, 0xdf, 0xa2, 0x52, 0x51, 0xc0, 0x11, 0x10, 0x7b, 0x75, 0x13, 0xa9, 0x43, 0x34, 0x6a,
|
||||||
|
0xa0, 0xe0, 0xde, 0xc1, 0x1d, 0x8d, 0x7f, 0xa2, 0x56, 0x44, 0x65, 0x3c, 0x11, 0x8d, 0xaa, 0xbc,
|
||||||
|
0xe6, 0xd4, 0x1f, 0x06, 0x6f, 0x66, 0x21, 0x76, 0x88, 0x01, 0x47, 0x80, 0x55, 0x78, 0x0e, 0x91,
|
||||||
|
0xb6, 0x8e, 0xa3, 0xc9, 0x58, 0x56, 0xd1, 0x72, 0xa8, 0x90, 0x32, 0xb3, 0x9c, 0x82, 0x4e, 0x8b,
|
||||||
|
0x7d, 0xc1, 0xa3, 0xf8, 0xae, 0xe4, 0xf6, 0xb3, 0x68, 0xba, 0xa3, 0xcd, 0x68, 0xf5, 0x0d, 0x52,
|
||||||
|
0x68, 0x01, 0x17, 0xe9, 0xb9, 0x13, 0xd7, 0xf8, 0xc8, 0x52, 0xa0, 0xd1, 0x00, 0x8e, 0x8b, 0x87,
|
||||||
|
0xa5, 0xc9, 0x7e, 0x37, 0xaf, 0xc1, 0x1a, 0x08, 0x05, 0x50, 0x55, 0x7b, 0x8b, 0x4d, 0xcb, 0xd8,
|
||||||
|
0xe1, 0x92, 0xed, 0x33, 0x66, 0xd8, 0x3a, 0x09, 0xd2, 0x7c, 0x77, 0xe1, 0x50, 0xf6, 0x68, 0x55,
|
||||||
|
0xb5, 0xdc, 0xfd, 0xb2, 0xdf, 0x15, 0x1b, 0xd7, 0xf4, 0x44, 0x25, 0x0e, 0xaf, 0x6f, 0xe3, 0xf2,
|
||||||
|
0x36, 0x82, 0x6c, 0x81, 0xfa, 0x84, 0x81, 0x01, 0xbf, 0xaa, 0xd5, 0x35, 0xff, 0xb5, 0x22, 0xd6,
|
||||||
|
0xff, 0x97, 0xc9, 0xdd, 0x1e, 0x43, 0xb8, 0x2c, 0xce, 0x29, 0x21, 0xd1, 0x53, 0xc1, 0x54, 0x50,
|
||||||
|
0xc4, 0x72, 0x4f, 0xfd, 0x3e, 0xfd, 0xca, 0x57, 0x8e, 0x01, 0x36, 0x50, 0xa0, 0x3a, 0x5c, 0xf5,
|
||||||
|
0x01, 0xfc, 0x58, 0x60, 0x0f, 0xb5, 0xc8, 0x60, 0xc0, 0xef, 0x0c, 0xfe, 0x0a, 0xc0, 0x71, 0x2d,
|
||||||
|
0x44, 0x13, 0x13, 0xdc, 0xa4, 0x1a, 0x4d, 0x7d, 0x41, 0x1e, 0x6c, 0x83, 0xb2, 0x15, 0x17, 0x49,
|
||||||
|
0xd2, 0x8b, 0xe4, 0x69, 0x2f, 0x62, 0x37, 0x3d, 0xb0, 0x7e, 0x4a, 0x79, 0x05, 0x1c, 0x56, 0x82,
|
||||||
|
0xec, 0x20, 0xd4, 0x91, 0xc4, 0xcf, 0xc7, 0xbc, 0x14, 0x0f, 0x35, 0xfa, 0x15, 0xe5, 0xa1, 0xfa,
|
||||||
|
0x75, 0x6d, 0x65, 0xb8, 0xef, 0x93, 0xad, 0xdf, 0x4c, 0x47, 0xc4, 0xa3, 0x5b, 0x18, 0x4f, 0x22,
|
||||||
|
0xa1, 0xef, 0x08, 0x99, 0x48, 0xf9, 0x46, 0xf6, 0xfa, 0xeb, 0x64, 0x70, 0xf2, 0x67, 0x46, 0xe6,
|
||||||
|
0x58, 0xcf, 0x9b, 0x41, 0x77, 0x41, 0x78, 0x42, 0xe6, 0xd3, 0x73, 0x55, 0x80, 0x89, 0xaf, 0xf7,
|
||||||
|
0x21, 0xb9, 0x30, 0xe9, 0xec, 0x61, 0xb4, 0xf6, 0xa0, 0x2c, 0x05, 0x2c, 0x69, 0x24, 0xd3, 0x9a,
|
||||||
|
0x5b, 0xbb, 0x15, 0xed, 0x11, 0x06, 0xc4, 0x01, 0x0f, 0x4d, 0xd6, 0x9c, 0x79, 0xd0, 0x42, 0xc8,
|
||||||
|
0xb3, 0x16, 0x61, 0xb1, 0xee, 0x48, 0x6b, 0xc6, 0x9d, 0xb5, 0xf2, 0xf0, 0x7a, 0x50, 0xd8, 0x5b,
|
||||||
|
0x20, 0x69, 0x9d, 0x60, 0x13, 0x15, 0x62, 0x5b, 0xb8, 0x69, 0x62, 0x9c, 0x7f, 0x4c, 0x5d, 0x48,
|
||||||
|
0xb2, 0x11, 0xd0, 0x97, 0xf4, 0x38, 0xac, 0xec, 0x95, 0x97, 0x3a, 0x38, 0xd4, 0x21, 0x09, 0x0a,
|
||||||
|
0xf0, 0xf1, 0x34, 0x84, 0xe4, 0xe9, 0x4b, 0x8c, 0xb5, 0xef, 0xc1, 0x85, 0x07, 0xf4, 0xb9, 0x31,
|
||||||
|
0xdf, 0x39, 0x98, 0x7f, 0xfb, 0x28, 0x30, 0x29, 0x3e, 0x4d, 0xa3, 0x81, 0xaa, 0xf7, 0x0b, 0x32,
|
||||||
|
0x92, 0x95, 0x2e, 0xf9, 0x34, 0xe2, 0xb4, 0x0f, 0xde, 0xbb, 0xa3, 0xd9, 0x70, 0x1b, 0x76, 0xe1,
|
||||||
|
0xbe, 0x54, 0x82, 0x74, 0xb2, 0x60, 0x2d, 0x88, 0x85, 0x37, 0x48, 0x2d, 0x02, 0x03, 0x01, 0x00,
|
||||||
|
0x01, 0x02, 0x82, 0x02, 0x00, 0x1a, 0x94, 0x3e, 0x9c, 0x00, 0x89, 0xf0, 0xaa, 0x01, 0x16, 0x04,
|
||||||
|
0x8a, 0x96, 0xab, 0xb4, 0x86, 0x32, 0x1a, 0x86, 0x91, 0x6f, 0x82, 0xfb, 0x35, 0x24, 0x60, 0x78,
|
||||||
|
0x9f, 0xcf, 0xb1, 0x40, 0x05, 0x50, 0x85, 0x3e, 0x5a, 0xfe, 0xdc, 0x9a, 0xd6, 0xe8, 0x77, 0x25,
|
||||||
|
0x9c, 0xc4, 0xfe, 0xb0, 0x93, 0xc2, 0x4b, 0x96, 0x85, 0x34, 0xf8, 0x9a, 0xbb, 0x5f, 0x48, 0xae,
|
||||||
|
0xd8, 0xad, 0x3c, 0x4b, 0xb1, 0xcb, 0xa7, 0xcd, 0x7c, 0x1c, 0x72, 0x4d, 0x3d, 0xae, 0x36, 0x77,
|
||||||
|
0x00, 0x10, 0xb5, 0x06, 0x8a, 0x33, 0x4f, 0x2b, 0x3e, 0xe7, 0x20, 0xc9, 0xf9, 0xed, 0x32, 0x00,
|
||||||
|
0x01, 0xf3, 0xf5, 0x87, 0xf5, 0x66, 0x2f, 0x93, 0x9e, 0x60, 0x5d, 0xf5, 0x19, 0x34, 0x3d, 0x60,
|
||||||
|
0xc0, 0x63, 0x5c, 0xcd, 0x32, 0xb1, 0x88, 0xbc, 0x55, 0xf5, 0xd4, 0x34, 0x17, 0x3c, 0x9e, 0x6d,
|
||||||
|
0xb2, 0x19, 0x93, 0x41, 0xaf, 0x83, 0x39, 0x90, 0xe5, 0x02, 0x46, 0xf9, 0x9c, 0xdd, 0xf7, 0x9d,
|
||||||
|
0xd2, 0xc3, 0x5b, 0xab, 0xe1, 0x4c, 0x10, 0x3a, 0x76, 0xb8, 0xd2, 0xd9, 0x8d, 0x73, 0x52, 0x8f,
|
||||||
|
0x98, 0xc2, 0x49, 0xb0, 0xa1, 0xf0, 0x91, 0x55, 0xb3, 0x1f, 0x59, 0x9f, 0xc8, 0x33, 0x54, 0x24,
|
||||||
|
0x22, 0xa2, 0x34, 0x26, 0x23, 0xbb, 0xbe, 0xf4, 0xac, 0x7e, 0xe6, 0x05, 0xe2, 0xcd, 0xec, 0xf0,
|
||||||
|
0x1f, 0xea, 0x25, 0x68, 0x3b, 0xd4, 0xf6, 0x6c, 0xa9, 0x24, 0xcc, 0xef, 0x00, 0x41, 0x8a, 0xdf,
|
||||||
|
0xf7, 0x30, 0xc4, 0x71, 0x4f, 0x66, 0xff, 0xa2, 0xaf, 0x0d, 0xa3, 0xe5, 0xdf, 0x7f, 0x53, 0x9c,
|
||||||
|
0x63, 0x42, 0x89, 0xfc, 0x12, 0xbc, 0x24, 0x09, 0x3e, 0xc8, 0xf0, 0xec, 0x18, 0x0a, 0xf0, 0x90,
|
||||||
|
0x7c, 0xec, 0x1e, 0xbe, 0xc9, 0x11, 0xfa, 0x18, 0x0f, 0xb5, 0xf3, 0xc8, 0x0e, 0xd8, 0x52, 0x89,
|
||||||
|
0x6a, 0xd6, 0xe6, 0xb3, 0xec, 0xcb, 0x44, 0xde, 0x62, 0x19, 0x3d, 0x52, 0x11, 0x8c, 0xab, 0x2b,
|
||||||
|
0x17, 0x10, 0x71, 0xd5, 0xfd, 0xaa, 0x7c, 0x42, 0x88, 0xfc, 0x77, 0x66, 0xd5, 0x77, 0x74, 0xf4,
|
||||||
|
0xbe, 0x46, 0x15, 0x1b, 0xb9, 0x0a, 0xce, 0x7c, 0x10, 0xc2, 0x15, 0xf6, 0x2e, 0xd2, 0x6e, 0x52,
|
||||||
|
0xe6, 0x12, 0x24, 0x36, 0xf5, 0x32, 0xbd, 0x54, 0xfc, 0x08, 0x27, 0x2a, 0xdb, 0x21, 0x6a, 0x2d,
|
||||||
|
0xb4, 0x33, 0xd5, 0x69, 0x9c, 0x40, 0xad, 0x58, 0xfa, 0xa2, 0x66, 0x08, 0x98, 0xff, 0xcc, 0xfc,
|
||||||
|
0x98, 0x00, 0x2f, 0x8b, 0xb0, 0x36, 0x1b, 0x4c, 0xf9, 0xed, 0x6e, 0x93, 0xc1, 0xca, 0x96, 0xd3,
|
||||||
|
0x4a, 0x1e, 0xf4, 0x04, 0x60, 0xf8, 0x59, 0x18, 0xcf, 0xde, 0x4a, 0x81, 0x93, 0xb5, 0x1e, 0xce,
|
||||||
|
0xa4, 0xb3, 0x90, 0x3c, 0xae, 0x92, 0x4a, 0x8f, 0xad, 0x5f, 0x83, 0x08, 0x95, 0x4c, 0x9f, 0x19,
|
||||||
|
0xa7, 0x59, 0x7b, 0xf0, 0xa7, 0x51, 0x26, 0xa5, 0x57, 0xe4, 0x9f, 0x8b, 0xbd, 0x31, 0xfc, 0x4e,
|
||||||
|
0x85, 0x56, 0xf2, 0x30, 0x64, 0x0b, 0xf3, 0x62, 0x04, 0xc6, 0xcf, 0x3d, 0x56, 0xdc, 0xa5, 0xa4,
|
||||||
|
0x1d, 0x86, 0x03, 0x07, 0xba, 0x67, 0x05, 0xa6, 0x98, 0x68, 0x11, 0x00, 0xa3, 0x27, 0xf9, 0x17,
|
||||||
|
0x39, 0xc4, 0x86, 0xc4, 0x70, 0xba, 0x71, 0xd0, 0x3d, 0x28, 0x53, 0x14, 0xb0, 0xd7, 0xd0, 0x40,
|
||||||
|
0x08, 0xe0, 0x3f, 0x2a, 0x2b, 0x85, 0xe7, 0xc2, 0x43, 0xd6, 0xfd, 0x9b, 0x97, 0xa0, 0x21, 0x68,
|
||||||
|
0xc0, 0x69, 0xec, 0x57, 0x2d, 0x3f, 0x0c, 0xa1, 0x5e, 0xbc, 0xb1, 0x73, 0x9f, 0x3a, 0x0b, 0x3c,
|
||||||
|
0x14, 0x7a, 0x88, 0xe0, 0xb7, 0x4f, 0x45, 0xa0, 0x07, 0xae, 0x92, 0x7d, 0x6f, 0x82, 0x2b, 0xf5,
|
||||||
|
0x0b, 0x87, 0xb1, 0xe9, 0x3f, 0xe7, 0xd9, 0x18, 0x0b, 0xc6, 0xbc, 0x12, 0xbd, 0xe6, 0xc8, 0x07,
|
||||||
|
0x0d, 0x10, 0xc9, 0x73, 0x31, 0x02, 0x82, 0x01, 0x01, 0x00, 0xf5, 0x0e, 0xbc, 0xea, 0xc9, 0xd3,
|
||||||
|
0xc6, 0x44, 0x82, 0xa8, 0xc2, 0x65, 0xd6, 0x36, 0x54, 0x61, 0xaa, 0x4a, 0x31, 0xa6, 0xa7, 0x63,
|
||||||
|
0x3a, 0x24, 0xc8, 0xe3, 0x47, 0x94, 0xec, 0xdf, 0xca, 0xb1, 0xd6, 0xb5, 0x2f, 0xb6, 0xa5, 0xf3,
|
||||||
|
0x80, 0x55, 0xcc, 0x32, 0xd6, 0xa6, 0x1b, 0x88, 0x95, 0x50, 0xde, 0x27, 0xb3, 0xd0, 0xbd, 0x68,
|
||||||
|
0xb6, 0xd4, 0xfd, 0xa0, 0x41, 0x59, 0x8a, 0xb9, 0x88, 0x87, 0x14, 0x39, 0x88, 0x57, 0x68, 0x06,
|
||||||
|
0xb1, 0xc4, 0x87, 0x20, 0x79, 0x49, 0x02, 0x95, 0x2e, 0xbe, 0x1b, 0xf0, 0xde, 0xf6, 0x5a, 0x0e,
|
||||||
|
0x6f, 0x94, 0x06, 0x70, 0x56, 0xe6, 0x86, 0x4f, 0xa2, 0x88, 0x2e, 0x3a, 0x16, 0xf2, 0x46, 0x28,
|
||||||
|
0x20, 0x93, 0xd0, 0x37, 0x63, 0x90, 0x78, 0x18, 0x2d, 0xd0, 0xa6, 0xeb, 0x21, 0xd3, 0xba, 0xd0,
|
||||||
|
0x63, 0x79, 0x01, 0xa2, 0x68, 0xb1, 0x4c, 0x63, 0x2c, 0x9d, 0x0b, 0x16, 0x90, 0xed, 0x88, 0xab,
|
||||||
|
0xdd, 0xe0, 0x3f, 0x52, 0x82, 0x47, 0xaa, 0x2e, 0x41, 0x55, 0x7d, 0x08, 0x65, 0xad, 0x34, 0xe5,
|
||||||
|
0x3f, 0xf5, 0x3a, 0xe0, 0xe5, 0xde, 0xa1, 0x95, 0xd9, 0x3f, 0xe6, 0x5c, 0x25, 0x87, 0x1f, 0x6f,
|
||||||
|
0x23, 0xad, 0xf3, 0x4b, 0x6e, 0x96, 0x0c, 0x29, 0x78, 0xf2, 0xb7, 0x47, 0x5d, 0xaf, 0xce, 0x6c,
|
||||||
|
0xbb, 0x26, 0xa5, 0x39, 0x34, 0xd2, 0x6c, 0x19, 0x3d, 0x67, 0xf3, 0x2d, 0xe9, 0x10, 0x35, 0xee,
|
||||||
|
0xb8, 0x90, 0x22, 0xbe, 0xb7, 0xd5, 0xdf, 0x78, 0x4a, 0xc2, 0x0c, 0xa6, 0xab, 0x91, 0xbf, 0x6b,
|
||||||
|
0x77, 0x5b, 0x6c, 0x94, 0x16, 0xf6, 0x05, 0xb4, 0x84, 0x17, 0x36, 0xcb, 0xfb, 0xd2, 0x2a, 0xd9,
|
||||||
|
0x8a, 0xb2, 0xe8, 0x42, 0x84, 0x57, 0xe0, 0x79, 0x3f, 0x5a, 0xf4, 0x0e, 0x55, 0x0b, 0x48, 0x76,
|
||||||
|
0x5d, 0x59, 0xe6, 0xe1, 0xb4, 0xa4, 0xa1, 0xf5, 0x71, 0xf1, 0x02, 0x82, 0x01, 0x01, 0x00, 0xd5,
|
||||||
|
0xa9, 0x1d, 0x4d, 0x44, 0xbb, 0x9b, 0x73, 0xc1, 0xfe, 0x02, 0x48, 0x92, 0x5e, 0x2c, 0x0e, 0xc1,
|
||||||
|
0xde, 0x51, 0x39, 0x0b, 0xd8, 0xa7, 0x3b, 0x45, 0x3d, 0xa5, 0x1a, 0xe2, 0x93, 0x25, 0xae, 0x76,
|
||||||
|
0x57, 0x08, 0x9f, 0xd4, 0xee, 0x4a, 0x2f, 0xd9, 0x6e, 0x34, 0x5b, 0x57, 0xf6, 0x72, 0xd7, 0xd4,
|
||||||
|
0x84, 0xfd, 0xe9, 0x91, 0x89, 0xab, 0x0a, 0x63, 0x65, 0xbf, 0x2b, 0x38, 0x68, 0x0d, 0x6b, 0xb9,
|
||||||
|
0x47, 0xf4, 0xb2, 0x17, 0xbe, 0x66, 0x03, 0x23, 0xc2, 0x6b, 0x86, 0xd6, 0x43, 0xae, 0x68, 0x6d,
|
||||||
|
0x82, 0xe3, 0x6e, 0xc0, 0x0c, 0xfd, 0x03, 0x89, 0x42, 0x44, 0x3c, 0xaa, 0x04, 0xa0, 0xf9, 0x1e,
|
||||||
|
0x68, 0xec, 0x71, 0x79, 0x35, 0xb4, 0x5e, 0x79, 0x03, 0x11, 0xbe, 0x56, 0x44, 0x0d, 0x71, 0x76,
|
||||||
|
0x94, 0x95, 0x94, 0x68, 0x8e, 0xd1, 0xdd, 0x5c, 0x91, 0x03, 0xc5, 0x7c, 0x15, 0x8d, 0x05, 0xe4,
|
||||||
|
0xc3, 0x7b, 0x98, 0xd8, 0x18, 0x98, 0x03, 0x07, 0x44, 0xa6, 0x4f, 0x6e, 0xbd, 0xbf, 0x75, 0x0a,
|
||||||
|
0xab, 0x79, 0x75, 0x7e, 0x34, 0xda, 0xc4, 0x22, 0x16, 0x3e, 0xa7, 0xc0, 0xf4, 0x2b, 0x97, 0x71,
|
||||||
|
0x0c, 0x86, 0x19, 0x78, 0xb2, 0x41, 0x00, 0x38, 0x5a, 0xad, 0x72, 0x7e, 0x5f, 0x38, 0x36, 0xa7,
|
||||||
|
0x4e, 0xa4, 0xbf, 0x1d, 0x36, 0xef, 0x2a, 0x5e, 0xdf, 0x9c, 0x9e, 0x8f, 0x99, 0x6e, 0xf3, 0x19,
|
||||||
|
0x13, 0x48, 0x45, 0x0e, 0xa9, 0xf1, 0xd4, 0xa6, 0x3d, 0xb2, 0x9c, 0xb0, 0x6f, 0x63, 0xe5, 0xba,
|
||||||
|
0xdb, 0x18, 0xe4, 0xd4, 0x0f, 0x51, 0x12, 0xb6, 0x58, 0xd1, 0xcc, 0x23, 0xcb, 0x65, 0x38, 0x8a,
|
||||||
|
0xca, 0x03, 0xd1, 0x41, 0xa6, 0xbc, 0x5f, 0xbd, 0x94, 0x29, 0xfe, 0x33, 0xd3, 0x40, 0xd3, 0xe8,
|
||||||
|
0x5b, 0xfa, 0x84, 0x89, 0x08, 0xd6, 0x0b, 0x56, 0x2f, 0x89, 0x4e, 0x8a, 0x33, 0x7d, 0xfd, 0x02,
|
||||||
|
0x82, 0x01, 0x01, 0x00, 0xc4, 0x95, 0x0f, 0x0d, 0x95, 0xdc, 0x51, 0xd7, 0x91, 0xad, 0x09, 0x4d,
|
||||||
|
0x22, 0x3b, 0x31, 0x13, 0xab, 0xc4, 0x9a, 0xf1, 0xe2, 0xa3, 0x61, 0xf8, 0x32, 0x42, 0xc8, 0xa0,
|
||||||
|
0x7a, 0x28, 0xc8, 0x74, 0x43, 0x15, 0xd3, 0xf1, 0xc4, 0x4c, 0x82, 0xed, 0xd0, 0xc2, 0x13, 0x98,
|
||||||
|
0xea, 0xcb, 0x75, 0x64, 0x8a, 0xe1, 0xf4, 0x88, 0x85, 0xf9, 0x23, 0x79, 0xd6, 0xff, 0xa0, 0x8c,
|
||||||
|
0xd1, 0x11, 0x26, 0xa9, 0x9d, 0x9a, 0xcd, 0x79, 0xb8, 0x94, 0x6e, 0x34, 0x86, 0x65, 0x91, 0x85,
|
||||||
|
0xf5, 0x11, 0x71, 0x8e, 0xc5, 0xe1, 0x43, 0x2b, 0x02, 0x71, 0x44, 0x26, 0xcd, 0xc7, 0x7e, 0x9e,
|
||||||
|
0xac, 0xad, 0xe3, 0x67, 0x35, 0x16, 0x1a, 0x64, 0x3d, 0xcd, 0x60, 0xdc, 0xd2, 0x92, 0x2c, 0x47,
|
||||||
|
0xaf, 0x5f, 0x4e, 0x19, 0x6c, 0x5d, 0x81, 0x24, 0x55, 0x5f, 0x67, 0xfc, 0xa1, 0x48, 0x04, 0x8d,
|
||||||
|
0xfe, 0x06, 0x2c, 0xba, 0xca, 0x33, 0x4f, 0x0d, 0x8d, 0xae, 0xb9, 0x6d, 0x73, 0xbe, 0x9f, 0x8e,
|
||||||
|
0x17, 0xc1, 0xc5, 0x5d, 0x6b, 0xd0, 0xb9, 0xa7, 0xe9, 0x9f, 0xe1, 0xdf, 0xba, 0x5c, 0xc1, 0x6a,
|
||||||
|
0x07, 0xdb, 0xaa, 0x8c, 0x6d, 0x22, 0x0c, 0x64, 0xc9, 0xdd, 0xa1, 0x14, 0xa0, 0xf0, 0x29, 0x05,
|
||||||
|
0x2b, 0x3a, 0x75, 0xb0, 0xd7, 0x3f, 0xe3, 0xb2, 0xed, 0x78, 0x21, 0xe5, 0xcd, 0x73, 0x07, 0xa1,
|
||||||
|
0xa9, 0x5f, 0xd1, 0xf7, 0xba, 0x87, 0x60, 0xc8, 0x45, 0x4b, 0x7c, 0x38, 0xfb, 0xf6, 0x5c, 0x88,
|
||||||
|
0xb0, 0x1c, 0xd2, 0x73, 0xba, 0x2c, 0x55, 0xc3, 0xb4, 0x77, 0xe4, 0x26, 0xae, 0x02, 0x5a, 0x2c,
|
||||||
|
0xff, 0xc4, 0xa0, 0x95, 0xf2, 0xba, 0x4e, 0x07, 0x79, 0xa2, 0x4b, 0x76, 0x5b, 0x85, 0x48, 0x9f,
|
||||||
|
0x2a, 0x0e, 0x79, 0xb9, 0x5f, 0xc0, 0xc3, 0x8e, 0x2a, 0x91, 0xf1, 0x2e, 0xf6, 0x5c, 0xa7, 0x49,
|
||||||
|
0xce, 0x36, 0x94, 0x31, 0x02, 0x82, 0x01, 0x00, 0x2a, 0xa4, 0x8e, 0x0c, 0x95, 0xe3, 0x3b, 0xab,
|
||||||
|
0x66, 0xd4, 0x63, 0x70, 0x48, 0x86, 0x33, 0x14, 0xde, 0xec, 0x98, 0x19, 0x62, 0x9b, 0xe3, 0x04,
|
||||||
|
0x99, 0x55, 0x2c, 0x56, 0xa9, 0x51, 0xe4, 0xfb, 0x64, 0xf3, 0x09, 0xed, 0x9c, 0x79, 0xd2, 0xa4,
|
||||||
|
0xaa, 0x28, 0xac, 0x9a, 0x6e, 0x7b, 0xe9, 0x7f, 0xda, 0x12, 0x90, 0xfa, 0xc4, 0xe9, 0x4d, 0x11,
|
||||||
|
0xcd, 0xb4, 0xc8, 0xea, 0xbf, 0x5f, 0x45, 0x0e, 0x72, 0xf4, 0x41, 0x8a, 0x29, 0xe2, 0xfe, 0x49,
|
||||||
|
0x32, 0x21, 0xe3, 0x84, 0x0d, 0xcf, 0x84, 0x47, 0xa3, 0x53, 0xb4, 0x40, 0xae, 0x63, 0xe9, 0x3b,
|
||||||
|
0x83, 0x71, 0x8e, 0x5c, 0xed, 0x31, 0xef, 0x4e, 0xc9, 0x1a, 0xf7, 0xd5, 0xcd, 0xf3, 0x42, 0x04,
|
||||||
|
0x78, 0xf2, 0x7b, 0xe0, 0x19, 0x27, 0x8b, 0xe7, 0x51, 0x5b, 0x66, 0x5f, 0x30, 0x5f, 0x10, 0xd3,
|
||||||
|
0xb5, 0x5d, 0xdb, 0xfa, 0xd6, 0x41, 0x16, 0xdc, 0x4e, 0x44, 0x15, 0xae, 0xf3, 0xb2, 0x34, 0xe4,
|
||||||
|
0xa5, 0xd6, 0xb5, 0xba, 0xb4, 0xc7, 0x7a, 0x26, 0xc9, 0xf2, 0x5f, 0x53, 0x6b, 0xd4, 0xf0, 0xb4,
|
||||||
|
0xa4, 0x78, 0xfc, 0x18, 0x4f, 0x12, 0x6c, 0x80, 0xd5, 0x37, 0x42, 0xac, 0x62, 0xc2, 0x70, 0xe6,
|
||||||
|
0xb2, 0x58, 0xa6, 0xb5, 0x6b, 0x33, 0x65, 0xec, 0xc2, 0x87, 0x97, 0xa9, 0xed, 0x12, 0xc1, 0xb9,
|
||||||
|
0x1b, 0x26, 0x56, 0x03, 0xef, 0x75, 0x18, 0x07, 0xbc, 0xc1, 0x74, 0x73, 0x13, 0xf2, 0x27, 0x29,
|
||||||
|
0xe1, 0xe3, 0xfe, 0x79, 0xf7, 0x5c, 0xc3, 0xfb, 0x5d, 0xc7, 0xcc, 0xb8, 0x1e, 0xfa, 0xcf, 0x9b,
|
||||||
|
0x84, 0x79, 0x45, 0xa6, 0x10, 0x9e, 0xcf, 0x9c, 0xf1, 0x56, 0x50, 0x5c, 0xbb, 0x55, 0xa3, 0xd3,
|
||||||
|
0x17, 0xeb, 0x32, 0x56, 0x61, 0xd1, 0x8f, 0xe6, 0xbb, 0x41, 0x60, 0x46, 0x83, 0x73, 0x18, 0x05,
|
||||||
|
0x3b, 0x36, 0x51, 0x99, 0x33, 0x4c, 0x03, 0xa1, 0x02, 0x82, 0x01, 0x01, 0x00, 0xee, 0x63, 0x70,
|
||||||
|
0x60, 0x30, 0xa4, 0xec, 0xe9, 0xfe, 0x3b, 0xdd, 0xcf, 0xc4, 0x9f, 0x5a, 0x83, 0xf3, 0x7f, 0x63,
|
||||||
|
0xeb, 0xcb, 0x29, 0xdb, 0xdc, 0x99, 0x9f, 0x6f, 0xf5, 0x4b, 0x59, 0x6f, 0x11, 0x5c, 0xf1, 0xec,
|
||||||
|
0xa0, 0x99, 0x90, 0x10, 0x8a, 0x43, 0x95, 0x18, 0xe9, 0x96, 0xf6, 0x89, 0xfd, 0xde, 0x89, 0xb2,
|
||||||
|
0xc6, 0x7e, 0xdc, 0x04, 0xbf, 0x8e, 0x36, 0x67, 0x34, 0xc2, 0xae, 0x30, 0x17, 0xec, 0x14, 0xe0,
|
||||||
|
0x42, 0x05, 0x0e, 0x7c, 0x65, 0x68, 0x40, 0x14, 0x6c, 0xa0, 0x48, 0x39, 0x4d, 0xce, 0xbe, 0x90,
|
||||||
|
0xdd, 0x21, 0x95, 0x34, 0x9b, 0xba, 0xd3, 0x06, 0x56, 0x90, 0x31, 0xb2, 0xef, 0x6e, 0x91, 0x71,
|
||||||
|
0xd2, 0xae, 0x77, 0x97, 0xc8, 0x84, 0x4e, 0x54, 0x83, 0x94, 0xca, 0x3b, 0x76, 0x8d, 0x84, 0x96,
|
||||||
|
0xe9, 0x9e, 0xf6, 0x3a, 0xbb, 0x59, 0xb0, 0xff, 0x7f, 0xc7, 0x0e, 0xb5, 0x31, 0x53, 0xdd, 0x0f,
|
||||||
|
0x59, 0x01, 0x8a, 0x27, 0x5a, 0xcb, 0xa7, 0x01, 0xf2, 0xc7, 0x6a, 0x15, 0xc8, 0x94, 0xf5, 0x34,
|
||||||
|
0x61, 0xfe, 0xdf, 0x65, 0xbc, 0x25, 0xc2, 0xc5, 0xce, 0xc3, 0x96, 0xe5, 0x56, 0xa1, 0xa9, 0x19,
|
||||||
|
0xbc, 0x7a, 0x05, 0x63, 0x93, 0xd5, 0x06, 0x44, 0x12, 0x6d, 0xcd, 0xef, 0x92, 0x56, 0x64, 0x2e,
|
||||||
|
0x65, 0xa6, 0x04, 0x3c, 0xbc, 0xe9, 0x49, 0x7e, 0x19, 0x2c, 0xf2, 0xcb, 0x33, 0x64, 0x8e, 0x11,
|
||||||
|
0x7f, 0x41, 0xdb, 0xf0, 0x19, 0x00, 0xac, 0xb9, 0x3b, 0x0c, 0x78, 0xdd, 0xf3, 0x1f, 0x38, 0x1f,
|
||||||
|
0x4d, 0xb3, 0xf9, 0xcc, 0xbb, 0xb6, 0x90, 0x93, 0xda, 0xbf, 0x2e, 0x89, 0xdb, 0xbc, 0x0c, 0xb7,
|
||||||
|
0x2f, 0x20, 0xc0, 0x05, 0xa2, 0x51, 0x9e, 0x3a, 0x87, 0x41, 0x46, 0x49, 0x5d, 0x7a, 0xac, 0xf3,
|
||||||
|
0x41, 0x6a, 0x42, 0x2e, 0x56, 0x09, 0x86, 0xf2, 0x2f, 0x39, 0x45, 0x6e, 0x7f,
|
||||||
|
};
|
||||||
|
const unsigned char test_rsa_4096_pub[] = {
|
||||||
|
0x30, 0x82, 0x02, 0x0a, 0x02, 0x82, 0x02, 0x01, 0x00, 0xcc, 0x87, 0x25, 0xf6, 0xb3, 0x8d, 0x5d,
|
||||||
|
0x01, 0xae, 0xeb, 0x07, 0xd3, 0x6e, 0x03, 0xde, 0x4d, 0x31, 0xa0, 0x26, 0x1c, 0xe7, 0x4f, 0xe1,
|
||||||
|
0x1a, 0x89, 0x5e, 0xcf, 0xd1, 0x3d, 0x16, 0x8a, 0xee, 0x93, 0x2a, 0xf1, 0x35, 0xff, 0xbb, 0x84,
|
||||||
|
0x98, 0x77, 0x27, 0x38, 0x97, 0x08, 0x1f, 0x3f, 0x75, 0x93, 0xc1, 0x4a, 0xe8, 0x2b, 0xc2, 0x66,
|
||||||
|
0xc1, 0x05, 0x44, 0xf7, 0x26, 0xae, 0x1c, 0xcf, 0x13, 0x3d, 0x8a, 0x40, 0x18, 0xd3, 0x80, 0xdf,
|
||||||
|
0xa2, 0x52, 0x51, 0xc0, 0x11, 0x10, 0x7b, 0x75, 0x13, 0xa9, 0x43, 0x34, 0x6a, 0xa0, 0xe0, 0xde,
|
||||||
|
0xc1, 0x1d, 0x8d, 0x7f, 0xa2, 0x56, 0x44, 0x65, 0x3c, 0x11, 0x8d, 0xaa, 0xbc, 0xe6, 0xd4, 0x1f,
|
||||||
|
0x06, 0x6f, 0x66, 0x21, 0x76, 0x88, 0x01, 0x47, 0x80, 0x55, 0x78, 0x0e, 0x91, 0xb6, 0x8e, 0xa3,
|
||||||
|
0xc9, 0x58, 0x56, 0xd1, 0x72, 0xa8, 0x90, 0x32, 0xb3, 0x9c, 0x82, 0x4e, 0x8b, 0x7d, 0xc1, 0xa3,
|
||||||
|
0xf8, 0xae, 0xe4, 0xf6, 0xb3, 0x68, 0xba, 0xa3, 0xcd, 0x68, 0xf5, 0x0d, 0x52, 0x68, 0x01, 0x17,
|
||||||
|
0xe9, 0xb9, 0x13, 0xd7, 0xf8, 0xc8, 0x52, 0xa0, 0xd1, 0x00, 0x8e, 0x8b, 0x87, 0xa5, 0xc9, 0x7e,
|
||||||
|
0x37, 0xaf, 0xc1, 0x1a, 0x08, 0x05, 0x50, 0x55, 0x7b, 0x8b, 0x4d, 0xcb, 0xd8, 0xe1, 0x92, 0xed,
|
||||||
|
0x33, 0x66, 0xd8, 0x3a, 0x09, 0xd2, 0x7c, 0x77, 0xe1, 0x50, 0xf6, 0x68, 0x55, 0xb5, 0xdc, 0xfd,
|
||||||
|
0xb2, 0xdf, 0x15, 0x1b, 0xd7, 0xf4, 0x44, 0x25, 0x0e, 0xaf, 0x6f, 0xe3, 0xf2, 0x36, 0x82, 0x6c,
|
||||||
|
0x81, 0xfa, 0x84, 0x81, 0x01, 0xbf, 0xaa, 0xd5, 0x35, 0xff, 0xb5, 0x22, 0xd6, 0xff, 0x97, 0xc9,
|
||||||
|
0xdd, 0x1e, 0x43, 0xb8, 0x2c, 0xce, 0x29, 0x21, 0xd1, 0x53, 0xc1, 0x54, 0x50, 0xc4, 0x72, 0x4f,
|
||||||
|
0xfd, 0x3e, 0xfd, 0xca, 0x57, 0x8e, 0x01, 0x36, 0x50, 0xa0, 0x3a, 0x5c, 0xf5, 0x01, 0xfc, 0x58,
|
||||||
|
0x60, 0x0f, 0xb5, 0xc8, 0x60, 0xc0, 0xef, 0x0c, 0xfe, 0x0a, 0xc0, 0x71, 0x2d, 0x44, 0x13, 0x13,
|
||||||
|
0xdc, 0xa4, 0x1a, 0x4d, 0x7d, 0x41, 0x1e, 0x6c, 0x83, 0xb2, 0x15, 0x17, 0x49, 0xd2, 0x8b, 0xe4,
|
||||||
|
0x69, 0x2f, 0x62, 0x37, 0x3d, 0xb0, 0x7e, 0x4a, 0x79, 0x05, 0x1c, 0x56, 0x82, 0xec, 0x20, 0xd4,
|
||||||
|
0x91, 0xc4, 0xcf, 0xc7, 0xbc, 0x14, 0x0f, 0x35, 0xfa, 0x15, 0xe5, 0xa1, 0xfa, 0x75, 0x6d, 0x65,
|
||||||
|
0xb8, 0xef, 0x93, 0xad, 0xdf, 0x4c, 0x47, 0xc4, 0xa3, 0x5b, 0x18, 0x4f, 0x22, 0xa1, 0xef, 0x08,
|
||||||
|
0x99, 0x48, 0xf9, 0x46, 0xf6, 0xfa, 0xeb, 0x64, 0x70, 0xf2, 0x67, 0x46, 0xe6, 0x58, 0xcf, 0x9b,
|
||||||
|
0x41, 0x77, 0x41, 0x78, 0x42, 0xe6, 0xd3, 0x73, 0x55, 0x80, 0x89, 0xaf, 0xf7, 0x21, 0xb9, 0x30,
|
||||||
|
0xe9, 0xec, 0x61, 0xb4, 0xf6, 0xa0, 0x2c, 0x05, 0x2c, 0x69, 0x24, 0xd3, 0x9a, 0x5b, 0xbb, 0x15,
|
||||||
|
0xed, 0x11, 0x06, 0xc4, 0x01, 0x0f, 0x4d, 0xd6, 0x9c, 0x79, 0xd0, 0x42, 0xc8, 0xb3, 0x16, 0x61,
|
||||||
|
0xb1, 0xee, 0x48, 0x6b, 0xc6, 0x9d, 0xb5, 0xf2, 0xf0, 0x7a, 0x50, 0xd8, 0x5b, 0x20, 0x69, 0x9d,
|
||||||
|
0x60, 0x13, 0x15, 0x62, 0x5b, 0xb8, 0x69, 0x62, 0x9c, 0x7f, 0x4c, 0x5d, 0x48, 0xb2, 0x11, 0xd0,
|
||||||
|
0x97, 0xf4, 0x38, 0xac, 0xec, 0x95, 0x97, 0x3a, 0x38, 0xd4, 0x21, 0x09, 0x0a, 0xf0, 0xf1, 0x34,
|
||||||
|
0x84, 0xe4, 0xe9, 0x4b, 0x8c, 0xb5, 0xef, 0xc1, 0x85, 0x07, 0xf4, 0xb9, 0x31, 0xdf, 0x39, 0x98,
|
||||||
|
0x7f, 0xfb, 0x28, 0x30, 0x29, 0x3e, 0x4d, 0xa3, 0x81, 0xaa, 0xf7, 0x0b, 0x32, 0x92, 0x95, 0x2e,
|
||||||
|
0xf9, 0x34, 0xe2, 0xb4, 0x0f, 0xde, 0xbb, 0xa3, 0xd9, 0x70, 0x1b, 0x76, 0xe1, 0xbe, 0x54, 0x82,
|
||||||
|
0x74, 0xb2, 0x60, 0x2d, 0x88, 0x85, 0x37, 0x48, 0x2d, 0x02, 0x03, 0x01, 0x00, 0x01,
|
||||||
|
};
|
||||||
|
|
||||||
|
struct predefined_key_element {
|
||||||
|
int group_id; // EC group ID; 0 for RSA keys
|
||||||
|
int keybits; // bits size of RSA key; 0 for EC keys
|
||||||
|
const unsigned char *priv_key;
|
||||||
|
size_t priv_key_len;
|
||||||
|
const unsigned char *pub_key;
|
||||||
|
size_t pub_key_len;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct predefined_key_element predefined_keys[] = {
|
||||||
|
{ MBEDTLS_ECP_DP_BP256R1, 0,
|
||||||
|
test_ec_bp256r1_priv, sizeof(test_ec_bp256r1_priv),
|
||||||
|
test_ec_bp256r1_pub, sizeof(test_ec_bp256r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_BP384R1, 0,
|
||||||
|
test_ec_bp384r1_priv, sizeof(test_ec_bp384r1_priv),
|
||||||
|
test_ec_bp384r1_pub, sizeof(test_ec_bp384r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_BP512R1, 0,
|
||||||
|
test_ec_bp512r1_priv, sizeof(test_ec_bp512r1_priv),
|
||||||
|
test_ec_bp512r1_pub, sizeof(test_ec_bp512r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_CURVE25519, 0,
|
||||||
|
test_ec_curve25519_priv, sizeof(test_ec_curve25519_priv),
|
||||||
|
test_ec_curve25519_pub, sizeof(test_ec_curve25519_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_CURVE448, 0,
|
||||||
|
test_ec_curve448_priv, sizeof(test_ec_curve448_priv),
|
||||||
|
test_ec_curve448_pub, sizeof(test_ec_curve448_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP192K1, 0,
|
||||||
|
test_ec_secp192k1_priv, sizeof(test_ec_secp192k1_priv),
|
||||||
|
test_ec_secp192k1_pub, sizeof(test_ec_secp192k1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP256K1, 0,
|
||||||
|
test_ec_secp256k1_priv, sizeof(test_ec_secp256k1_priv),
|
||||||
|
test_ec_secp256k1_pub, sizeof(test_ec_secp256k1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP192R1, 0,
|
||||||
|
test_ec_secp192r1_priv, sizeof(test_ec_secp192r1_priv),
|
||||||
|
test_ec_secp192r1_pub, sizeof(test_ec_secp192r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP224R1, 0,
|
||||||
|
test_ec_secp224r1_priv, sizeof(test_ec_secp224r1_priv),
|
||||||
|
test_ec_secp224r1_pub, sizeof(test_ec_secp224r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP256R1, 0,
|
||||||
|
test_ec_secp256r1_priv, sizeof(test_ec_secp256r1_priv),
|
||||||
|
test_ec_secp256r1_pub, sizeof(test_ec_secp256r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP384R1, 0,
|
||||||
|
test_ec_secp384r1_priv, sizeof(test_ec_secp384r1_priv),
|
||||||
|
test_ec_secp384r1_pub, sizeof(test_ec_secp384r1_pub) },
|
||||||
|
{ MBEDTLS_ECP_DP_SECP521R1, 0,
|
||||||
|
test_ec_secp521r1_priv, sizeof(test_ec_secp521r1_priv),
|
||||||
|
test_ec_secp521r1_pub, sizeof(test_ec_secp521r1_pub) },
|
||||||
|
{ 0, 1024,
|
||||||
|
test_rsa_1024_priv, sizeof(test_rsa_1024_priv),
|
||||||
|
test_rsa_1024_pub, sizeof(test_rsa_1024_pub) },
|
||||||
|
{ 0, 1026,
|
||||||
|
test_rsa_1026_priv, sizeof(test_rsa_1026_priv),
|
||||||
|
test_rsa_1026_pub, sizeof(test_rsa_1026_pub) },
|
||||||
|
{ 0, 1028,
|
||||||
|
test_rsa_1028_priv, sizeof(test_rsa_1028_priv),
|
||||||
|
test_rsa_1028_pub, sizeof(test_rsa_1028_pub) },
|
||||||
|
{ 0, 1030,
|
||||||
|
test_rsa_1030_priv, sizeof(test_rsa_1030_priv),
|
||||||
|
test_rsa_1030_pub, sizeof(test_rsa_1030_pub) },
|
||||||
|
{ 0, 1536,
|
||||||
|
test_rsa_1536_priv, sizeof(test_rsa_1536_priv),
|
||||||
|
test_rsa_1536_pub, sizeof(test_rsa_1536_pub) },
|
||||||
|
{ 0, 2048,
|
||||||
|
test_rsa_2048_priv, sizeof(test_rsa_2048_priv),
|
||||||
|
test_rsa_2048_pub, sizeof(test_rsa_2048_pub) },
|
||||||
|
{ 0, 4096,
|
||||||
|
test_rsa_4096_priv, sizeof(test_rsa_4096_priv),
|
||||||
|
test_rsa_4096_pub, sizeof(test_rsa_4096_pub) },
|
||||||
|
};
|
||||||
|
|
||||||
|
/* End of generated file */
|
||||||
744
tests/opt-testcases/handshake-generated.sh
Normal file
744
tests/opt-testcases/handshake-generated.sh
Normal file
@@ -0,0 +1,744 @@
|
|||||||
|
# Miscellaneous tests related to the TLS handshake layer.
|
||||||
|
#
|
||||||
|
# Automatically generated by generate_tls_handshake_tests.py. Do not edit!
|
||||||
|
|
||||||
|
# Copyright The Mbed TLS Contributors
|
||||||
|
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
||||||
|
|
||||||
|
run_test "Handshake defragmentation on client: no fragmentation, for reference" \
|
||||||
|
"$O_NEXT_SRV -allow_no_dhe_kex" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-C "waiting for more fragments"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=512, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 512" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 512, 0\\.\\.512 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 512\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 512/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 512/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=512, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 512" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 512, 0\\.\\.512 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 512\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 512/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 512/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=513, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 513" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 513, 0\\.\\.513 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 513\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 513/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 513/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=513, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 513" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 513, 0\\.\\.513 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 513\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 513/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 513/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=256, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 256" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 256, 0\\.\\.256 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 256\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 256/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 256/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=256, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 256" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 256, 0\\.\\.256 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 256\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 256/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 256/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=128, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 128" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 128, 0\\.\\.128 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 128\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 128/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 128/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=128, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 128" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 128, 0\\.\\.128 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 128\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 128/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 128/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=64, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 64" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 64, 0\\.\\.64 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 64\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 64/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 64/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=64, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 64" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 64, 0\\.\\.64 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 64\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 64/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 64/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=36, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 36" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 36, 0\\.\\.36 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 36\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 36/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 36/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=36, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 36" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 36, 0\\.\\.36 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 36\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 36/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 36/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=32, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 32" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 32, 0\\.\\.32 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 32\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 32/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 32/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=32, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 32" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 32, 0\\.\\.32 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 32\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 32/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 32/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=16, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 16" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 16, 0\\.\\.16 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 16\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 16/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 16/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=16, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 16" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 16, 0\\.\\.16 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 16\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 16/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 16/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=13, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 13" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 13, 0\\.\\.13 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 13\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 13/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 13/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=13, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 13" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 13, 0\\.\\.13 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 13\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 13/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 13/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=5, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 5" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 5, 0\\.\\.5 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 5\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 5/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 5/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=5, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 5" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 5, 0\\.\\.5 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 5\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 5/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 5/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -split_send_frag 4" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.2, default" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 4" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.2, null" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 4 -cipher ALL@SECLEVEL=0:COMPLEMENTOFALL@SECLEVEL=0" \
|
||||||
|
"$P_CLI debug_level=4 force_ciphersuite=TLS-ECDHE-ECDSA-WITH-NULL-SHA" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.2, ChachaPoly" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 4" \
|
||||||
|
"$P_CLI debug_level=4 force_ciphersuite=TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.2, GCM" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 4" \
|
||||||
|
"$P_CLI debug_level=4 force_ciphersuite=TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.2, CBC, etm=n" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 4" \
|
||||||
|
"$P_CLI debug_level=4 force_ciphersuite=TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256 etm=0" \
|
||||||
|
0 \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/" \
|
||||||
|
-C "using encrypt then mac"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||||
|
requires_config_enabled MBEDTLS_SSL_ENCRYPT_THEN_MAC
|
||||||
|
run_test "Handshake defragmentation on client: len=4, TLS 1.2, CBC, etm=y" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -split_send_frag 4" \
|
||||||
|
"$P_CLI debug_level=4 force_ciphersuite=TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256 etm=1" \
|
||||||
|
0 \
|
||||||
|
-c "using encrypt then mac" \
|
||||||
|
-c "reassembled record" \
|
||||||
|
-c "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-c "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-c "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-c "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
run_test "Handshake defragmentation on client: len=3, TLS 1.3" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -allow_no_dhe_kex -split_send_frag 3" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
1 \
|
||||||
|
-c "=> ssl_tls13_process_server_hello" \
|
||||||
|
-c "handshake message too short: 3" \
|
||||||
|
-c "SSL - An invalid SSL record was received"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
run_test "Handshake defragmentation on client: len=3, TLS 1.2" \
|
||||||
|
"$O_NEXT_SRV -tls1_2 -allow_no_dhe_kex -split_send_frag 3" \
|
||||||
|
"$P_CLI debug_level=4" \
|
||||||
|
1 \
|
||||||
|
-c "handshake message too short: 3" \
|
||||||
|
-c "SSL - An invalid SSL record was received"
|
||||||
|
|
||||||
|
run_test "Handshake defragmentation on server: no fragmentation, for reference" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -allow_no_dhe_kex -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-S "waiting for more fragments"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=512, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 512 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 512, 0\\.\\.512 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 512\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 512/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 512/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=512, TLS 1.2" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 512 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 512, 0\\.\\.512 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 512\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 512/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 512/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=513, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 513 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 513, 0\\.\\.513 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 513\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 513/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 513/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=513, TLS 1.2" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 513 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 513, 0\\.\\.513 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 513\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 513/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 513/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=256, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 256 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 256, 0\\.\\.256 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 256\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 256/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 256/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=256, TLS 1.2" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 256 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 256, 0\\.\\.256 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 256\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 256/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 256/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=128, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 128 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 128, 0\\.\\.128 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 128\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 128/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 128/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=128, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 128 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 128, 0\\.\\.128 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 128\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 128/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 128/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=64, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 64 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 64, 0\\.\\.64 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 64\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 64/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 64/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=64, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 64 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 64, 0\\.\\.64 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 64\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 64/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 64/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=36, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 36 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 36, 0\\.\\.36 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 36\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 36/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 36/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=36, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 36 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 36, 0\\.\\.36 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 36\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 36/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 36/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=32, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 32 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 32, 0\\.\\.32 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 32\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 32/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 32/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=32, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 32 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 32, 0\\.\\.32 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 32\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 32/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 32/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=16, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 16 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 16, 0\\.\\.16 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 16\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 16/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 16/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=16, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 16 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 16, 0\\.\\.16 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 16\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 16/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 16/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=13, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 13 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 13, 0\\.\\.13 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 13\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 13/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 13/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=13, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 13 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 13, 0\\.\\.13 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 13\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 13/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 13/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=5, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 5 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 5, 0\\.\\.5 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 5\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 5/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 5/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=5, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 5 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 5, 0\\.\\.5 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 5\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 5/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 5/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -split_send_frag 4 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.2 with 1.3 support, default" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 4 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_ciphersuite_enabled TLS-ECDHE-ECDSA-WITH-NULL-SHA
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.2 with 1.3 support, null" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 4 -cipher ECDHE-ECDSA-NULL-SHA@SECLEVEL=0 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_ciphersuite_enabled TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.2 with 1.3 support, ChachaPoly" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 4 -cipher ECDHE-ECDSA-CHACHA20-POLY1305 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_ciphersuite_enabled TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.2 with 1.3 support, GCM" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 4 -cipher ECDHE-ECDSA-AES128-GCM-SHA256 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_ciphersuite_enabled TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.2 with 1.3 support, CBC, etm=n" \
|
||||||
|
"$P_SRV debug_level=4 etm=0 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 4 -cipher ECDHE-ECDSA-AES128-SHA256 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/" \
|
||||||
|
-S "using encrypt then mac"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
requires_certificate_authentication
|
||||||
|
requires_ciphersuite_enabled TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256
|
||||||
|
requires_config_enabled MBEDTLS_SSL_ENCRYPT_THEN_MAC
|
||||||
|
run_test "Handshake defragmentation on server: len=4, TLS 1.2 with 1.3 support, CBC, etm=y" \
|
||||||
|
"$P_SRV debug_level=4 etm=1 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -split_send_frag 4 -cipher ECDHE-ECDSA-AES128-SHA256 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
0 \
|
||||||
|
-s "using encrypt then mac" \
|
||||||
|
-s "reassembled record" \
|
||||||
|
-s "initial handshake fragment: 4, 0\\.\\.4 of [0-9]\\+" \
|
||||||
|
-s "subsequent handshake fragment: [0-9]\\+, 4\\.\\." \
|
||||||
|
-s "Prepare: waiting for more handshake fragments 4/" \
|
||||||
|
-s "Consume: waiting for more handshake fragments 4/"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
run_test "Handshake defragmentation on server: len=3, TLS 1.3" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_3 -allow_no_dhe_kex -split_send_frag 3 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
1 \
|
||||||
|
-s "<= parse client hello" \
|
||||||
|
-s "handshake message too short: 3" \
|
||||||
|
-s "SSL - An invalid SSL record was received"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
|
||||||
|
run_test "Handshake defragmentation on server: len=3, TLS 1.2 with 1.3 support" \
|
||||||
|
"$P_SRV debug_level=4 auth_mode=required" \
|
||||||
|
"$O_NEXT_CLI -tls1_2 -allow_no_dhe_kex -split_send_frag 3 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
|
||||||
|
1 \
|
||||||
|
-s "<= parse client hello" \
|
||||||
|
-s "handshake message too short: 3" \
|
||||||
|
-s "SSL - An invalid SSL record was received"
|
||||||
|
|
||||||
|
# End of automatically generated file.
|
||||||
14032
tests/opt-testcases/tls13-compat.sh
Normal file
14032
tests/opt-testcases/tls13-compat.sh
Normal file
File diff suppressed because it is too large
Load Diff
@@ -98,9 +98,6 @@ class CoverageTask(outcome_analysis.CoverageTask):
|
|||||||
'Config: MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY',
|
'Config: MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY',
|
||||||
'Config: MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY',
|
'Config: MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY',
|
||||||
'Config: MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY',
|
'Config: MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY',
|
||||||
# We don't run test_suite_config when we test this.
|
|
||||||
# https://github.com/Mbed-TLS/mbedtls/issues/9586
|
|
||||||
'Config: MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND',
|
|
||||||
],
|
],
|
||||||
'test_suite_config.psa_boolean': [
|
'test_suite_config.psa_boolean': [
|
||||||
# We don't test with HMAC disabled.
|
# We don't test with HMAC disabled.
|
||||||
@@ -667,6 +664,12 @@ class DriverVSReference_block_cipher_dispatch(outcome_analysis.DriverVSReference
|
|||||||
'CMAC null arguments',
|
'CMAC null arguments',
|
||||||
re.compile('CMAC.* (AES|ARIA|Camellia).*'),
|
re.compile('CMAC.* (AES|ARIA|Camellia).*'),
|
||||||
],
|
],
|
||||||
|
'test_suite_cipher.constant_time': [
|
||||||
|
# Like with test_suite_cipher.aes and such, these tests call
|
||||||
|
# cipher_wrapper in a way that requires the block cipher to
|
||||||
|
# be built in.
|
||||||
|
re.compile('.*(AES|ARIA|CAMELLIA).*(encrypt|decrypt).*', re.I),
|
||||||
|
],
|
||||||
'test_suite_cipher.padding': [
|
'test_suite_cipher.padding': [
|
||||||
# Following tests require AES_C/CAMELLIA_C to be enabled,
|
# Following tests require AES_C/CAMELLIA_C to be enabled,
|
||||||
# but these are not available in the accelerated component.
|
# but these are not available in the accelerated component.
|
||||||
|
|||||||
@@ -5,6 +5,33 @@
|
|||||||
|
|
||||||
# This file contains test components that are executed by all.sh
|
# This file contains test components that are executed by all.sh
|
||||||
|
|
||||||
|
## test_with_valgrind tests/suites/SUITE.data [...]
|
||||||
|
## Run the specified test suite(s) with Valgrind.
|
||||||
|
test_with_valgrind () {
|
||||||
|
for data_file in "$@"; do
|
||||||
|
suite="${data_file##*/}"; suite="${suite%.data}"
|
||||||
|
exe="tests/$suite"
|
||||||
|
log_file="tests/MemoryChecker.$suite.log"
|
||||||
|
make -C tests "$suite"
|
||||||
|
valgrind -q --tool=memcheck --track-origins=yes --log-file="$log_file" "$exe"
|
||||||
|
not grep . -- "$log_file"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
## Run a small set of dedicated constant-time tests with Valgrind.
|
||||||
|
## Exclude very slow suites.
|
||||||
|
## Exclude suites that contain some constant-time tests, but whose focus
|
||||||
|
## isn't on constant-time tests.
|
||||||
|
test_with_valgrind_constant_time () {
|
||||||
|
# Use a different configuration name in the outcome file if we're doing
|
||||||
|
# additional valgrind testing on top of non-instrumented testing.
|
||||||
|
if [[ $MBEDTLS_TEST_CONFIGURATION != *valgrind_cf* ]]; then
|
||||||
|
declare MBEDTLS_TEST_CONFIGURATION="${MBEDTLS_TEST_CONFIGURATION}+valgrind_cf"
|
||||||
|
fi
|
||||||
|
declare GLOBIGNORE="tests/suites/test_suite_constant_time_hmac.data"
|
||||||
|
test_with_valgrind tests/suites/*constant_time*.data
|
||||||
|
}
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
#### Configuration Testing - Crypto
|
#### Configuration Testing - Crypto
|
||||||
################################################################
|
################################################################
|
||||||
@@ -31,6 +58,17 @@ component_test_psa_assume_exclusive_buffers () {
|
|||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
|
component_test_psa_assume_exclusive_buffers_valgrind_cf () {
|
||||||
|
msg "build: full config + MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS, constant flow with Valgrind"
|
||||||
|
scripts/config.py full
|
||||||
|
scripts/config.py set MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS
|
||||||
|
scripts/config.py set MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND
|
||||||
|
make lib
|
||||||
|
|
||||||
|
msg "test: full config + MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS, constant flow with Valgrind, selected suites"
|
||||||
|
test_with_valgrind_constant_time tests/suites/*constant_time*.data
|
||||||
|
}
|
||||||
|
|
||||||
component_test_crypto_with_static_key_slots() {
|
component_test_crypto_with_static_key_slots() {
|
||||||
msg "build: crypto full + MBEDTLS_PSA_STATIC_KEY_SLOTS"
|
msg "build: crypto full + MBEDTLS_PSA_STATIC_KEY_SLOTS"
|
||||||
scripts/config.py crypto_full
|
scripts/config.py crypto_full
|
||||||
@@ -1293,7 +1331,8 @@ common_test_psa_crypto_config_accel_ecc_some_curves () {
|
|||||||
ALG_SHA3_224 ALG_SHA3_256 ALG_SHA3_384 ALG_SHA3_512"
|
ALG_SHA3_224 ALG_SHA3_256 ALG_SHA3_384 ALG_SHA3_512"
|
||||||
helper_libtestdriver1_make_drivers "$loc_accel_list" "$loc_extra_list"
|
helper_libtestdriver1_make_drivers "$loc_accel_list" "$loc_extra_list"
|
||||||
|
|
||||||
helper_libtestdriver1_make_main "$loc_accel_list"
|
# For grep to work below we need less inlining in ecp.c
|
||||||
|
ASAN_CFLAGS="$ASAN_CFLAGS -O0" helper_libtestdriver1_make_main "$loc_accel_list"
|
||||||
|
|
||||||
# We expect ECDH to be re-enabled for the missing curves
|
# We expect ECDH to be re-enabled for the missing curves
|
||||||
grep mbedtls_ecdh_ library/ecdh.o
|
grep mbedtls_ecdh_ library/ecdh.o
|
||||||
@@ -2969,11 +3008,15 @@ component_test_aes_only_128_bit_keys () {
|
|||||||
msg "build: default config + AES_ONLY_128_BIT_KEY_LENGTH"
|
msg "build: default config + AES_ONLY_128_BIT_KEY_LENGTH"
|
||||||
scripts/config.py set MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
scripts/config.py set MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
scripts/config.py unset MBEDTLS_PADLOCK_C
|
scripts/config.py unset MBEDTLS_PADLOCK_C
|
||||||
|
scripts/config.py set MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND
|
||||||
|
|
||||||
make CFLAGS='-O2 -Werror -Wall -Wextra'
|
make CFLAGS='-O2 -Werror -Wall -Wextra'
|
||||||
|
|
||||||
msg "test: default config + AES_ONLY_128_BIT_KEY_LENGTH"
|
msg "test: default config + AES_ONLY_128_BIT_KEY_LENGTH"
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
msg "test: default config + AES_ONLY_128_BIT_KEY_LENGTH constant flow with Valgrind, selected suites"
|
||||||
|
test_with_valgrind_constant_time
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_no_ctr_drbg_aes_only_128_bit_keys () {
|
component_test_no_ctr_drbg_aes_only_128_bit_keys () {
|
||||||
|
|||||||
@@ -390,12 +390,24 @@ void mpi_gcd(char *input_X, char *input_Y,
|
|||||||
mbedtls_mpi A, X, Y, Z;
|
mbedtls_mpi A, X, Y, Z;
|
||||||
mbedtls_mpi_init(&A); mbedtls_mpi_init(&X); mbedtls_mpi_init(&Y); mbedtls_mpi_init(&Z);
|
mbedtls_mpi_init(&A); mbedtls_mpi_init(&X); mbedtls_mpi_init(&Y); mbedtls_mpi_init(&Z);
|
||||||
|
|
||||||
TEST_ASSERT(mbedtls_test_read_mpi(&X, input_X) == 0);
|
TEST_EQUAL(mbedtls_test_read_mpi(&X, input_X), 0);
|
||||||
TEST_ASSERT(mbedtls_test_read_mpi(&Y, input_Y) == 0);
|
TEST_EQUAL(mbedtls_test_read_mpi(&Y, input_Y), 0);
|
||||||
TEST_ASSERT(mbedtls_test_read_mpi(&A, input_A) == 0);
|
TEST_EQUAL(mbedtls_test_read_mpi(&A, input_A), 0);
|
||||||
TEST_ASSERT(mbedtls_mpi_gcd(&Z, &X, &Y) == 0);
|
TEST_EQUAL(mbedtls_mpi_gcd(&Z, &X, &Y), 0);
|
||||||
TEST_ASSERT(sign_is_valid(&Z));
|
TEST_ASSERT(sign_is_valid(&Z));
|
||||||
TEST_ASSERT(mbedtls_mpi_cmp_mpi(&Z, &A) == 0);
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&Z, &A), 0);
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &Z == &X. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&Z, input_X), 0);
|
||||||
|
TEST_EQUAL(mbedtls_mpi_gcd(&Z, /* X */ &Z, &Y), 0);
|
||||||
|
TEST_ASSERT(sign_is_valid(&Z));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&Z, &A), 0);
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &Z == &Y. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&Z, input_Y), 0);
|
||||||
|
TEST_EQUAL(mbedtls_mpi_gcd(&Z, &X, /* Y */ &Z), 0);
|
||||||
|
TEST_ASSERT(sign_is_valid(&Z));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&Z, &A), 0);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
mbedtls_mpi_free(&A); mbedtls_mpi_free(&X); mbedtls_mpi_free(&Y); mbedtls_mpi_free(&Z);
|
mbedtls_mpi_free(&A); mbedtls_mpi_free(&X); mbedtls_mpi_free(&Y); mbedtls_mpi_free(&Z);
|
||||||
@@ -1134,14 +1146,32 @@ void mpi_inv_mod(char *input_X, char *input_Y,
|
|||||||
int res;
|
int res;
|
||||||
mbedtls_mpi_init(&X); mbedtls_mpi_init(&Y); mbedtls_mpi_init(&Z); mbedtls_mpi_init(&A);
|
mbedtls_mpi_init(&X); mbedtls_mpi_init(&Y); mbedtls_mpi_init(&Z); mbedtls_mpi_init(&A);
|
||||||
|
|
||||||
TEST_ASSERT(mbedtls_test_read_mpi(&X, input_X) == 0);
|
TEST_EQUAL(mbedtls_test_read_mpi(&X, input_X), 0);
|
||||||
TEST_ASSERT(mbedtls_test_read_mpi(&Y, input_Y) == 0);
|
TEST_EQUAL(mbedtls_test_read_mpi(&Y, input_Y), 0);
|
||||||
TEST_ASSERT(mbedtls_test_read_mpi(&A, input_A) == 0);
|
TEST_EQUAL(mbedtls_test_read_mpi(&A, input_A), 0);
|
||||||
res = mbedtls_mpi_inv_mod(&Z, &X, &Y);
|
res = mbedtls_mpi_inv_mod(&Z, &X, &Y);
|
||||||
TEST_ASSERT(res == div_result);
|
TEST_EQUAL(res, div_result);
|
||||||
if (res == 0) {
|
if (res == 0) {
|
||||||
TEST_ASSERT(sign_is_valid(&Z));
|
TEST_ASSERT(sign_is_valid(&Z));
|
||||||
TEST_ASSERT(mbedtls_mpi_cmp_mpi(&Z, &A) == 0);
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&Z, &A), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &Z == &X. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&Z, input_X), 0);
|
||||||
|
res = mbedtls_mpi_inv_mod(&Z, /* X */ &Z, &Y);
|
||||||
|
TEST_EQUAL(res, div_result);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&Z));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&Z, &A), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &Z == &Y. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&Z, input_Y), 0);
|
||||||
|
res = mbedtls_mpi_inv_mod(&Z, &X, /* Y */ &Z);
|
||||||
|
TEST_EQUAL(res, div_result);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&Z));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&Z, &A), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
@@ -1149,6 +1179,219 @@ exit:
|
|||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void mpi_gcd_modinv_odd_both(char *input_A, char *input_N,
|
||||||
|
char *result_G, char *result_I,
|
||||||
|
int return_code)
|
||||||
|
{
|
||||||
|
int has_inverse = strcmp(result_I, "no_inverse") ? 1 : 0;
|
||||||
|
mbedtls_mpi G, I, A, N, exp_G, exp_I;
|
||||||
|
int res;
|
||||||
|
mbedtls_mpi_init(&G); mbedtls_mpi_init(&I); mbedtls_mpi_init(&A); mbedtls_mpi_init(&N);
|
||||||
|
mbedtls_mpi_init(&exp_G); mbedtls_mpi_init(&exp_I);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&A, input_A), 0);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&N, input_N), 0);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&exp_G, result_G), 0);
|
||||||
|
/* If there is no inverse then the value returned in I will be
|
||||||
|
* indeterminate, and so not useful or possible to test. */
|
||||||
|
if (has_inverse) {
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&exp_I, result_I), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, &A, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
if (has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &G == &A. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&G, input_A), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, /* A */ &G, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
if (has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &G == &N. This should fail. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&G, input_N), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, &A, /* N */ &G);
|
||||||
|
TEST_EQUAL(res, MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &I == &A. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&I, input_A), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, /* A */ &I, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
if (has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &I == &N. This should fail. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&I, input_N), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, &A, /* N */ &I);
|
||||||
|
TEST_EQUAL(res, MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &A == &N. This should fail. */
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, &A, /* N */ &A);
|
||||||
|
TEST_EQUAL(res, MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
|
||||||
|
|
||||||
|
/* Test G & I initialized to a number with more limbs than N. */
|
||||||
|
if (N.n > 0) {
|
||||||
|
TEST_EQUAL(mbedtls_mpi_grow(&G, N.n * 2), 0);
|
||||||
|
memset(G.p, 0x2d, G.n * sizeof(mbedtls_mpi_uint));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_grow(&I, N.n * 2), 0);
|
||||||
|
memset(I.p, 0x2f, I.n * sizeof(mbedtls_mpi_uint));
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, &I, &A, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
if (has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_mpi_free(&G); mbedtls_mpi_free(&I); mbedtls_mpi_free(&A); mbedtls_mpi_free(&N);
|
||||||
|
mbedtls_mpi_free(&exp_G); mbedtls_mpi_free(&exp_I);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void mpi_gcd_modinv_odd_only_gcd(char *input_A, char *input_N,
|
||||||
|
char *result_G, int return_code)
|
||||||
|
{
|
||||||
|
mbedtls_mpi G, A, N, exp_G;
|
||||||
|
int res;
|
||||||
|
mbedtls_mpi_init(&G); mbedtls_mpi_init(&A); mbedtls_mpi_init(&N);
|
||||||
|
mbedtls_mpi_init(&exp_G);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&A, input_A), 0);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&N, input_N), 0);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&exp_G, result_G), 0);
|
||||||
|
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, NULL, &A, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &G == &A. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&G, input_A), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, NULL, /* A */ &G, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &G == &N. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&G, input_N), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, NULL, &A, /* N */ &G);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &A == &N. This should fail. */
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, NULL, &A, /* N */ &A);
|
||||||
|
TEST_EQUAL(res, MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
|
||||||
|
|
||||||
|
/* Test G initialized to a number with more limbs than N. */
|
||||||
|
if (N.n > 0) {
|
||||||
|
TEST_EQUAL(mbedtls_mpi_grow(&G, N.n * 2), 0);
|
||||||
|
memset(G.p, 0x2b, G.n * sizeof(mbedtls_mpi_uint));
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(&G, NULL, &A, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&G));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&G, &exp_G), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_mpi_free(&G); mbedtls_mpi_free(&A); mbedtls_mpi_free(&N);
|
||||||
|
mbedtls_mpi_free(&exp_G);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void mpi_gcd_modinv_odd_only_modinv(char *input_A, char *input_N,
|
||||||
|
char *result_I, int return_code)
|
||||||
|
{
|
||||||
|
int has_inverse = strcmp(result_I, "no_inverse") ? 1 : 0;
|
||||||
|
mbedtls_mpi I, A, N, exp_I;
|
||||||
|
int res;
|
||||||
|
mbedtls_mpi_init(&I); mbedtls_mpi_init(&A); mbedtls_mpi_init(&N);
|
||||||
|
mbedtls_mpi_init(&exp_I);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&A, input_A), 0);
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&N, input_N), 0);
|
||||||
|
/* If there is no inverse then the value returned in I will be
|
||||||
|
* indeterminate, and so not useful or possible to test. */
|
||||||
|
if (has_inverse) {
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&exp_I, result_I), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(NULL, &I, &A, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0 && has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &I == &A. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&I, input_A), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(NULL, &I, /* A */ &I, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0 && has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &I == &N. This should fail. */
|
||||||
|
TEST_EQUAL(mbedtls_test_read_mpi(&I, input_N), 0);
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(NULL, &I, &A, /* N */ &I);
|
||||||
|
TEST_EQUAL(res, MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
|
||||||
|
|
||||||
|
/* Test pointer aliasing where &A == &N. This should fail. */
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(NULL, &I, &A, /* N */ &A);
|
||||||
|
TEST_EQUAL(res, MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
|
||||||
|
|
||||||
|
/* Test I initialized to a number with more limbs than N. */
|
||||||
|
if (N.n > 0) {
|
||||||
|
TEST_EQUAL(mbedtls_mpi_grow(&I, N.n * 2), 0);
|
||||||
|
memset(I.p, 0x29, I.n * sizeof(mbedtls_mpi_uint));
|
||||||
|
res = mbedtls_mpi_gcd_modinv_odd(NULL, &I, &A, &N);
|
||||||
|
TEST_EQUAL(res, return_code);
|
||||||
|
if (res == 0 && has_inverse) {
|
||||||
|
TEST_ASSERT(sign_is_valid(&I));
|
||||||
|
TEST_EQUAL(mbedtls_mpi_cmp_mpi(&I, &exp_I), 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_mpi_free(&I); mbedtls_mpi_free(&A); mbedtls_mpi_free(&N);
|
||||||
|
mbedtls_mpi_free(&exp_I);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:MBEDTLS_GENPRIME */
|
/* BEGIN_CASE depends_on:MBEDTLS_GENPRIME */
|
||||||
void mpi_is_prime(char *input_X, int div_result)
|
void mpi_is_prime(char *input_X, int div_result)
|
||||||
{
|
{
|
||||||
|
|||||||
5361
tests/suites/test_suite_bignum.generated.data
Normal file
5361
tests/suites/test_suite_bignum.generated.data
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1435,6 +1435,9 @@ mpi_gcd:"":"":"0"
|
|||||||
Test GCD: 0 (null), 0 (1 limb)
|
Test GCD: 0 (null), 0 (1 limb)
|
||||||
mpi_gcd:"":"00":"0"
|
mpi_gcd:"":"00":"0"
|
||||||
|
|
||||||
|
Test GCD: 0 (1 limb), 0 (1 limb)
|
||||||
|
mpi_gcd:"00":"00":"0"
|
||||||
|
|
||||||
Test GCD: 0 (null), 3
|
Test GCD: 0 (null), 3
|
||||||
mpi_gcd:"":"03":"3"
|
mpi_gcd:"":"03":"3"
|
||||||
|
|
||||||
@@ -1462,66 +1465,195 @@ mpi_gcd:"06":"":"6"
|
|||||||
Test GCD: 6, 0 (1 limb)
|
Test GCD: 6, 0 (1 limb)
|
||||||
mpi_gcd:"06":"00":"6"
|
mpi_gcd:"06":"00":"6"
|
||||||
|
|
||||||
Test GCD: gcd=1, 0 < A < B
|
Test GCD: negative, 0 (null)
|
||||||
|
mpi_gcd:"-50000":"":"50000"
|
||||||
|
|
||||||
|
Test GCD: negative, 0 (1 limb)
|
||||||
|
mpi_gcd:"-a782374b2ee927df28802745833a":"00":"a782374b2ee927df28802745833a"
|
||||||
|
|
||||||
|
Test GCD: 0 (null), negative
|
||||||
|
mpi_gcd:"":"-50000":"50000"
|
||||||
|
|
||||||
|
Test GCD: 0 (1 limb), negative
|
||||||
|
mpi_gcd:"00":"-a782374b2ee927df28802745833a":"a782374b2ee927df28802745833a"
|
||||||
|
|
||||||
|
Test GCD: gcd=1, A is odd, B is odd, 0 < A < B
|
||||||
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
||||||
|
|
||||||
Test GCD: gcd=1, 0 < B < A
|
Test GCD: gcd=1, A is odd, B is odd, 0 < B < A
|
||||||
mpi_gcd:"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"1"
|
mpi_gcd:"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"1"
|
||||||
|
|
||||||
Test GCD: gcd=1, A > 0, B < 0
|
Test GCD: gcd=1, A is odd, B is odd, A > 0, B < 0
|
||||||
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
||||||
|
|
||||||
Test GCD: gcd=1, A < 0 < B, |A| < |B|
|
Test GCD: gcd=1, A is odd, B is odd, A < 0 < B, |A| < |B|
|
||||||
mpi_gcd:"-109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
mpi_gcd:"-109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
||||||
|
|
||||||
Test GCD: gcd=1, B < A < 0
|
Test GCD: gcd=1, A is odd, B is odd, B < A < 0
|
||||||
mpi_gcd:"-109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
mpi_gcd:"-109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
|
||||||
|
|
||||||
Test GCD: gcd=2, 0 < A < B
|
Test GCD: gcd=2, A is even, B is even, 0 < A < B
|
||||||
mpi_gcd:"213fc8ae290cdcadfba95b36d6d0dbe4e4495f6f0d19e9e1976f28a4d2650a797e17dd4c2b282ccca9a279b3fc1b3b4b2952fdc40461e25f6a869bce7f69f0204e4b402c4566363d485c744ca032073583be630d37b2f261af25f6e59b552e3b15002b5e":"675c6ec9fa0d4019b87974b88bb8f353db69ccfc9a0af98e8273aa6384a321a222eebf8941e8873716326177aecdcf68de2e0c03e62d91431ff1ab96b94ab03e2d068ba203db68c56fb276f8a419971f64ed688f4c7b0d24079823ecf42245b89b4068431bd0bc72":"2"
|
mpi_gcd:"213fc8ae290cdcadfba95b36d6d0dbe4e4495f6f0d19e9e1976f28a4d2650a797e17dd4c2b282ccca9a279b3fc1b3b4b2952fdc40461e25f6a869bce7f69f0204e4b402c4566363d485c744ca032073583be630d37b2f261af25f6e59b552e3b15002b5e":"675c6ec9fa0d4019b87974b88bb8f353db69ccfc9a0af98e8273aa6384a321a222eebf8941e8873716326177aecdcf68de2e0c03e62d91431ff1ab96b94ab03e2d068ba203db68c56fb276f8a419971f64ed688f4c7b0d24079823ecf42245b89b4068431bd0bc72":"2"
|
||||||
|
|
||||||
Test GCD: gcd=2, 0 < B < A
|
Test GCD: gcd=2, A is even, B is even, 0 < B < A
|
||||||
mpi_gcd:"675c6ec9fa0d4019b87974b88bb8f353db69ccfc9a0af98e8273aa6384a321a222eebf8941e8873716326177aecdcf68de2e0c03e62d91431ff1ab96b94ab03e2d068ba203db68c56fb276f8a419971f64ed688f4c7b0d24079823ecf42245b89b4068431bd0bc72":"213fc8ae290cdcadfba95b36d6d0dbe4e4495f6f0d19e9e1976f28a4d2650a797e17dd4c2b282ccca9a279b3fc1b3b4b2952fdc40461e25f6a869bce7f69f0204e4b402c4566363d485c744ca032073583be630d37b2f261af25f6e59b552e3b15002b5e":"2"
|
mpi_gcd:"675c6ec9fa0d4019b87974b88bb8f353db69ccfc9a0af98e8273aa6384a321a222eebf8941e8873716326177aecdcf68de2e0c03e62d91431ff1ab96b94ab03e2d068ba203db68c56fb276f8a419971f64ed688f4c7b0d24079823ecf42245b89b4068431bd0bc72":"213fc8ae290cdcadfba95b36d6d0dbe4e4495f6f0d19e9e1976f28a4d2650a797e17dd4c2b282ccca9a279b3fc1b3b4b2952fdc40461e25f6a869bce7f69f0204e4b402c4566363d485c744ca032073583be630d37b2f261af25f6e59b552e3b15002b5e":"2"
|
||||||
|
|
||||||
Test GCD: gcd=3, 0 < A < B
|
Test GCD: gcd=3, A is odd, B is odd, 0 < A < B
|
||||||
mpi_gcd:"31dfad053d934b04f97e08d2423949d7566e0f2693a6ded26326bcf73b978fb63d23cbf240bc4332fe73b68dfa28d8f0bdfc7ca60692d38f1fc9e9b5bf1ee8307570e0426819515bec8aae72f04b0ad0459d9493d38c6b9286b8f25868ffc5589f80410d":"9b0aa62ef713e02694b62f14d1956cfdc91eb37ae7107655c3ad7f9546f4b27334661f4de2dccad2a14b92338634b71d4d451205d94459e4afea816215f0085d4389d17305c91d28278bb274f62662af17641cd6f2b893b60b6435e36e336894e8e09c64a9b91aab":"3"
|
mpi_gcd:"31dfad053d934b04f97e08d2423949d7566e0f2693a6ded26326bcf73b978fb63d23cbf240bc4332fe73b68dfa28d8f0bdfc7ca60692d38f1fc9e9b5bf1ee8307570e0426819515bec8aae72f04b0ad0459d9493d38c6b9286b8f25868ffc5589f80410d":"9b0aa62ef713e02694b62f14d1956cfdc91eb37ae7107655c3ad7f9546f4b27334661f4de2dccad2a14b92338634b71d4d451205d94459e4afea816215f0085d4389d17305c91d28278bb274f62662af17641cd6f2b893b60b6435e36e336894e8e09c64a9b91aab":"3"
|
||||||
|
|
||||||
Test GCD: gcd=3, 0 < B < A
|
Test GCD: gcd=3, A is odd, B is odd, 0 < B < A
|
||||||
mpi_gcd:"9b0aa62ef713e02694b62f14d1956cfdc91eb37ae7107655c3ad7f9546f4b27334661f4de2dccad2a14b92338634b71d4d451205d94459e4afea816215f0085d4389d17305c91d28278bb274f62662af17641cd6f2b893b60b6435e36e336894e8e09c64a9b91aab":"31dfad053d934b04f97e08d2423949d7566e0f2693a6ded26326bcf73b978fb63d23cbf240bc4332fe73b68dfa28d8f0bdfc7ca60692d38f1fc9e9b5bf1ee8307570e0426819515bec8aae72f04b0ad0459d9493d38c6b9286b8f25868ffc5589f80410d":"3"
|
mpi_gcd:"9b0aa62ef713e02694b62f14d1956cfdc91eb37ae7107655c3ad7f9546f4b27334661f4de2dccad2a14b92338634b71d4d451205d94459e4afea816215f0085d4389d17305c91d28278bb274f62662af17641cd6f2b893b60b6435e36e336894e8e09c64a9b91aab":"31dfad053d934b04f97e08d2423949d7566e0f2693a6ded26326bcf73b978fb63d23cbf240bc4332fe73b68dfa28d8f0bdfc7ca60692d38f1fc9e9b5bf1ee8307570e0426819515bec8aae72f04b0ad0459d9493d38c6b9286b8f25868ffc5589f80410d":"3"
|
||||||
|
|
||||||
Test GCD: gcd=4, 0 < A < B
|
Test GCD: gcd=4, A is even, B is even, 0 < A < B
|
||||||
mpi_gcd:"427f915c5219b95bf752b66dada1b7c9c892bede1a33d3c32ede5149a4ca14f2fc2fba98565059995344f367f836769652a5fb8808c3c4bed50d379cfed3e0409c9680588acc6c7a90b8e89940640e6b077cc61a6f65e4c35e4bedcb36aa5c762a0056bc":"ceb8dd93f41a803370f2e9711771e6a7b6d399f93415f31d04e754c70946434445dd7f1283d10e6e2c64c2ef5d9b9ed1bc5c1807cc5b22863fe3572d7295607c5a0d174407b6d18adf64edf148332e3ec9dad11e98f61a480f3047d9e8448b713680d08637a178e4":"4"
|
mpi_gcd:"427f915c5219b95bf752b66dada1b7c9c892bede1a33d3c32ede5149a4ca14f2fc2fba98565059995344f367f836769652a5fb8808c3c4bed50d379cfed3e0409c9680588acc6c7a90b8e89940640e6b077cc61a6f65e4c35e4bedcb36aa5c762a0056bc":"ceb8dd93f41a803370f2e9711771e6a7b6d399f93415f31d04e754c70946434445dd7f1283d10e6e2c64c2ef5d9b9ed1bc5c1807cc5b22863fe3572d7295607c5a0d174407b6d18adf64edf148332e3ec9dad11e98f61a480f3047d9e8448b713680d08637a178e4":"4"
|
||||||
|
|
||||||
Test GCD: gcd=4, 0 < B < A
|
Test GCD: gcd=4, A is even, B is even, 0 < B < A
|
||||||
mpi_gcd:"ceb8dd93f41a803370f2e9711771e6a7b6d399f93415f31d04e754c70946434445dd7f1283d10e6e2c64c2ef5d9b9ed1bc5c1807cc5b22863fe3572d7295607c5a0d174407b6d18adf64edf148332e3ec9dad11e98f61a480f3047d9e8448b713680d08637a178e4":"427f915c5219b95bf752b66dada1b7c9c892bede1a33d3c32ede5149a4ca14f2fc2fba98565059995344f367f836769652a5fb8808c3c4bed50d379cfed3e0409c9680588acc6c7a90b8e89940640e6b077cc61a6f65e4c35e4bedcb36aa5c762a0056bc":"4"
|
mpi_gcd:"ceb8dd93f41a803370f2e9711771e6a7b6d399f93415f31d04e754c70946434445dd7f1283d10e6e2c64c2ef5d9b9ed1bc5c1807cc5b22863fe3572d7295607c5a0d174407b6d18adf64edf148332e3ec9dad11e98f61a480f3047d9e8448b713680d08637a178e4":"427f915c5219b95bf752b66dada1b7c9c892bede1a33d3c32ede5149a4ca14f2fc2fba98565059995344f367f836769652a5fb8808c3c4bed50d379cfed3e0409c9680588acc6c7a90b8e89940640e6b077cc61a6f65e4c35e4bedcb36aa5c762a0056bc":"4"
|
||||||
|
|
||||||
Test GCD: gcd=6, 0 < A < B
|
Test GCD: gcd=6, A is even, B is even, 0 < A < B
|
||||||
mpi_gcd:"63bf5a0a7b269609f2fc11a4847293aeacdc1e4d274dbda4c64d79ee772f1f6c7a4797e481788665fce76d1bf451b1e17bf8f94c0d25a71e3f93d36b7e3dd060eae1c084d032a2b7d9155ce5e09615a08b3b2927a718d7250d71e4b0d1ff8ab13f00821a":"136154c5dee27c04d296c5e29a32ad9fb923d66f5ce20ecab875aff2a8de964e668cc3e9bc5b995a5429724670c696e3a9a8a240bb288b3c95fd502c42be010ba8713a2e60b923a504f1764e9ec4cc55e2ec839ade571276c16c86bc6dc66d129d1c138c953723556":"6"
|
mpi_gcd:"63bf5a0a7b269609f2fc11a4847293aeacdc1e4d274dbda4c64d79ee772f1f6c7a4797e481788665fce76d1bf451b1e17bf8f94c0d25a71e3f93d36b7e3dd060eae1c084d032a2b7d9155ce5e09615a08b3b2927a718d7250d71e4b0d1ff8ab13f00821a":"136154c5dee27c04d296c5e29a32ad9fb923d66f5ce20ecab875aff2a8de964e668cc3e9bc5b995a5429724670c696e3a9a8a240bb288b3c95fd502c42be010ba8713a2e60b923a504f1764e9ec4cc55e2ec839ade571276c16c86bc6dc66d129d1c138c953723556":"6"
|
||||||
|
|
||||||
Test GCD: gcd=6, 0 < B < A
|
Test GCD: gcd=6, A is even, B is even, 0 < B < A
|
||||||
mpi_gcd:"136154c5dee27c04d296c5e29a32ad9fb923d66f5ce20ecab875aff2a8de964e668cc3e9bc5b995a5429724670c696e3a9a8a240bb288b3c95fd502c42be010ba8713a2e60b923a504f1764e9ec4cc55e2ec839ade571276c16c86bc6dc66d129d1c138c953723556":"63bf5a0a7b269609f2fc11a4847293aeacdc1e4d274dbda4c64d79ee772f1f6c7a4797e481788665fce76d1bf451b1e17bf8f94c0d25a71e3f93d36b7e3dd060eae1c084d032a2b7d9155ce5e09615a08b3b2927a718d7250d71e4b0d1ff8ab13f00821a":"6"
|
mpi_gcd:"136154c5dee27c04d296c5e29a32ad9fb923d66f5ce20ecab875aff2a8de964e668cc3e9bc5b995a5429724670c696e3a9a8a240bb288b3c95fd502c42be010ba8713a2e60b923a504f1764e9ec4cc55e2ec839ade571276c16c86bc6dc66d129d1c138c953723556":"63bf5a0a7b269609f2fc11a4847293aeacdc1e4d274dbda4c64d79ee772f1f6c7a4797e481788665fce76d1bf451b1e17bf8f94c0d25a71e3f93d36b7e3dd060eae1c084d032a2b7d9155ce5e09615a08b3b2927a718d7250d71e4b0d1ff8ab13f00821a":"6"
|
||||||
|
|
||||||
Test GCD: 0 < A = B
|
Test GCD: A is odd, B is odd, 0 < A = B
|
||||||
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af"
|
mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af"
|
||||||
|
|
||||||
|
Test GCD: A is odd, B is odd, A = B < 0
|
||||||
|
mpi_gcd:"-9986dabb54d13cd9fe0d9da594a97e8372ab26ed98ff622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-9986dabb54d13cd9fe0d9da594a97e8372ab26ed98ff622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"9986dabb54d13cd9fe0d9da594a97e8372ab26ed98ff622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af"
|
||||||
|
|
||||||
Base test mbedtls_mpi_inv_mod #1
|
Base test mbedtls_mpi_inv_mod #1
|
||||||
mpi_inv_mod:"3":"b":"4":0
|
mpi_inv_mod:"3":"b":"4":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 0 mod 3
|
||||||
|
mpi_inv_mod:"0":"3":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 1 mod 3
|
||||||
|
mpi_inv_mod:"1":"3":"1":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 2 mod 3
|
||||||
|
mpi_inv_mod:"2":"3":"2":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 3 mod 3
|
||||||
|
mpi_inv_mod:"0":"3":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 4 mod 3
|
||||||
|
mpi_inv_mod:"4":"3":"1":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 5 mod 3
|
||||||
|
mpi_inv_mod:"5":"3":"2":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -1 mod 3
|
||||||
|
mpi_inv_mod:"-1":"3":"2":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -2 mod 3
|
||||||
|
mpi_inv_mod:"-2":"3":"1":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -3 mod 3
|
||||||
|
mpi_inv_mod:"-3":"3":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -4 mod 3
|
||||||
|
mpi_inv_mod:"-4":"3":"2":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 0 mod 4
|
||||||
|
mpi_inv_mod:"0":"4":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 1 mod 4
|
||||||
|
mpi_inv_mod:"1":"4":"1":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 2 mod 4
|
||||||
|
mpi_inv_mod:"2":"4":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 3 mod 4
|
||||||
|
mpi_inv_mod:"3":"4":"3":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 4 mod 4
|
||||||
|
mpi_inv_mod:"4":"4":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 5 mod 4
|
||||||
|
mpi_inv_mod:"5":"4":"1":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 6 mod 4
|
||||||
|
mpi_inv_mod:"6":"4":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: 7 mod 4
|
||||||
|
mpi_inv_mod:"7":"4":"3":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -1 mod 4
|
||||||
|
mpi_inv_mod:"-1":"4":"3":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -2 mod 4
|
||||||
|
mpi_inv_mod:"-2":"4":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -3 mod 4
|
||||||
|
mpi_inv_mod:"-3":"4":"1":0
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -4 mod 4
|
||||||
|
mpi_inv_mod:"-4":"4":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Base test mbedtls_mpi_inv_mod: -5 mod 4
|
||||||
|
mpi_inv_mod:"-5":"4":"3":0
|
||||||
|
|
||||||
Test mbedtls_mpi_inv_mod: mod 0 (null)
|
Test mbedtls_mpi_inv_mod: mod 0 (null)
|
||||||
mpi_inv_mod:"3":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
mpi_inv_mod:"3":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
Test mbedtls_mpi_inv_mod: mod 0 (1 limb)
|
Test mbedtls_mpi_inv_mod: mod 0 (1 limb)
|
||||||
mpi_inv_mod:"3":"0":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
mpi_inv_mod:"3":"0":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (null) mod positive
|
||||||
|
mpi_inv_mod:"":"25":"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (1 limb) mod positive
|
||||||
|
mpi_inv_mod:"00":"25":"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (null) mod 0 (null)
|
||||||
|
mpi_inv_mod:"":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (1 limb) mod 0 (1 limb)
|
||||||
|
mpi_inv_mod:"00":"00":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (null) mod 0 (1 limb)
|
||||||
|
mpi_inv_mod:"":"00":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (1 limb) mod 0 (null)
|
||||||
|
mpi_inv_mod:"00":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
Test mbedtls_mpi_inv_mod: mod negative
|
Test mbedtls_mpi_inv_mod: mod negative
|
||||||
mpi_inv_mod:"3":"-b":"4":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
mpi_inv_mod:"3":"-b":"4":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: negative mod negative
|
||||||
|
mpi_inv_mod:"-3543a":"-f":"5":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 1 mod negative
|
||||||
|
mpi_inv_mod:"1":"-f":"1":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (null) mod negative
|
||||||
|
mpi_inv_mod:"":"-f":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (1 limb) mod negative
|
||||||
|
mpi_inv_mod:"00":"-f":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
Test mbedtls_mpi_inv_mod: 2^-1 mod 4
|
Test mbedtls_mpi_inv_mod: 2^-1 mod 4
|
||||||
mpi_inv_mod:"2":"4":"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
mpi_inv_mod:"2":"4":"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
Test mbedtls_mpi_inv_mod: mod 1
|
Test mbedtls_mpi_inv_mod: mod 1
|
||||||
mpi_inv_mod:"3":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
mpi_inv_mod:"3":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: negative mod 1
|
||||||
|
mpi_inv_mod:"-732487665ae082f75c44":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 1 mod 1
|
||||||
|
mpi_inv_mod:"1":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: larger positive mod 1
|
||||||
|
mpi_inv_mod:"aaf97513ce987d99d9d934e":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (null) mod 1
|
||||||
|
mpi_inv_mod:"":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
Test mbedtls_mpi_inv_mod: 0 (1 limb) mod 1
|
||||||
|
mpi_inv_mod:"00":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
Test mbedtls_mpi_inv_mod: 0 (null) ^-1
|
Test mbedtls_mpi_inv_mod: 0 (null) ^-1
|
||||||
mpi_inv_mod:"":"11":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
mpi_inv_mod:"":"11":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|
||||||
@@ -1531,6 +1663,60 @@ mpi_inv_mod:"00":"11":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
|||||||
Test mbedtls_mpi_inv_mod #1
|
Test mbedtls_mpi_inv_mod #1
|
||||||
mpi_inv_mod:"aa4df5cb14b4c31237f98bd1faf527c283c2d0f3eec89718664ba33f9762907c":"fffbbd660b94412ae61ead9c2906a344116e316a256fd387874c6c675b1d587d":"8d6a5c1d7adeae3e94b9bcd2c47e0d46e778bc8804a2cc25c02d775dc3d05b0c":0
|
mpi_inv_mod:"aa4df5cb14b4c31237f98bd1faf527c283c2d0f3eec89718664ba33f9762907c":"fffbbd660b94412ae61ead9c2906a344116e316a256fd387874c6c675b1d587d":"8d6a5c1d7adeae3e94b9bcd2c47e0d46e778bc8804a2cc25c02d775dc3d05b0c":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper: working, A < N
|
||||||
|
mpi_gcd_modinv_odd_both:"54a":"3999":"1":"30b5":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper: no mod inverse, A = N
|
||||||
|
mpi_gcd_modinv_odd_both:"365":"365":"365":"no_inverse":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper: no mod inverse, A < N
|
||||||
|
mpi_gcd_modinv_odd_both:"5a":"b9":"5":"no_inverse":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper: bad inputs, A > N
|
||||||
|
mpi_gcd_modinv_odd_both:"3999":"54a":"":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper: bad inputs, A < 0
|
||||||
|
mpi_gcd_modinv_odd_both:"-5":"54a":"":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper: bad inputs, N even
|
||||||
|
mpi_gcd_modinv_odd_both:"89":"540":"":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper only gcd: working, A < N
|
||||||
|
mpi_gcd_modinv_odd_only_gcd:"1de3":"31d9":"7":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper only gcd: working, A = N
|
||||||
|
mpi_gcd_modinv_odd_only_gcd:"365":"365":"365":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper only gcd: working, no mod inverse, A < N
|
||||||
|
mpi_gcd_modinv_odd_only_gcd:"19e":"a47f":"9":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper only gcd: bad inputs, A > N
|
||||||
|
mpi_gcd_modinv_odd_only_gcd:"319d":"1de3":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper only gcd: bad inputs, A < 0
|
||||||
|
mpi_gcd_modinv_odd_only_gcd:"-628ef":"991827f":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper only gcd: bad inputs, N even
|
||||||
|
mpi_gcd_modinv_odd_only_gcd:"319d":"24":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper only modinv: working, A < N
|
||||||
|
mpi_gcd_modinv_odd_only_modinv:"28c":"26f9":"84f":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper only modinv: no mod inverse, A = N
|
||||||
|
mpi_gcd_modinv_odd_only_modinv:"365":"365":"no_inverse":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper only modinv: no mod inverse, A < N
|
||||||
|
mpi_gcd_modinv_odd_only_modinv:"19e":"a47f":"no_inverse":0
|
||||||
|
|
||||||
|
GCD-modinv wrapper only modinv: bad inputs, A > N
|
||||||
|
mpi_gcd_modinv_odd_only_modinv:"26f9":"28c":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper only modinv: bad inputs, A < 0
|
||||||
|
mpi_gcd_modinv_odd_only_modinv:"-992f":"1000002":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
|
GCD-modinv wrapper only modinv: bad inputs, N even
|
||||||
|
mpi_gcd_modinv_odd_only_modinv:"28c":"26f0":"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
|
||||||
|
|
||||||
Base test mbedtls_mpi_is_prime #1
|
Base test mbedtls_mpi_is_prime #1
|
||||||
depends_on:MBEDTLS_GENPRIME
|
depends_on:MBEDTLS_GENPRIME
|
||||||
mpi_is_prime:"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
mpi_is_prime:"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#include "mbedtls/bignum.h"
|
#include "mbedtls/bignum.h"
|
||||||
#include "mbedtls/entropy.h"
|
#include "mbedtls/entropy.h"
|
||||||
#include "bignum_core.h"
|
#include "bignum_core.h"
|
||||||
|
#include "bignum_core_invasive.h"
|
||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
#include "test/constant_flow.h"
|
#include "test/constant_flow.h"
|
||||||
#include "test/bignum_codepath_check.h"
|
#include "test/bignum_codepath_check.h"
|
||||||
@@ -148,6 +149,29 @@ exit:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Return -1 if A < B, +1 if A > B and 0 if A == B
|
||||||
|
*/
|
||||||
|
static int mpi_core_cmp(const mbedtls_mpi_uint *A, size_t A_limbs,
|
||||||
|
const mbedtls_mpi_uint *B, size_t B_limbs)
|
||||||
|
{
|
||||||
|
TEST_CF_PUBLIC(A, A_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
TEST_CF_PUBLIC(B, B_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
|
||||||
|
const mbedtls_mpi AA = {
|
||||||
|
.p = (mbedtls_mpi_uint *) A,
|
||||||
|
.s = 1,
|
||||||
|
.n = (unsigned short) A_limbs,
|
||||||
|
};
|
||||||
|
const mbedtls_mpi BB = {
|
||||||
|
.p = (mbedtls_mpi_uint *) B,
|
||||||
|
.s = 1,
|
||||||
|
.n = (unsigned short) B_limbs,
|
||||||
|
};
|
||||||
|
|
||||||
|
return mbedtls_mpi_cmp_mpi(&AA, &BB);
|
||||||
|
}
|
||||||
|
|
||||||
/* END_HEADER */
|
/* END_HEADER */
|
||||||
|
|
||||||
/* BEGIN_DEPENDENCIES
|
/* BEGIN_DEPENDENCIES
|
||||||
@@ -1356,3 +1380,285 @@ exit:
|
|||||||
mbedtls_free(X);
|
mbedtls_free(X);
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void mpi_core_gcd_modinv_odd(char *input_A, char *input_N,
|
||||||
|
char *input_exp_G, char *input_exp_I)
|
||||||
|
{
|
||||||
|
mbedtls_mpi_uint *A = NULL;
|
||||||
|
size_t A_limbs = 0;
|
||||||
|
mbedtls_mpi_uint *N = NULL;
|
||||||
|
size_t N_limbs = 0;
|
||||||
|
mbedtls_mpi_uint *exp_G = NULL;
|
||||||
|
size_t exp_G_limbs = 0;
|
||||||
|
mbedtls_mpi_uint *exp_I = NULL;
|
||||||
|
size_t exp_I_limbs = 0;
|
||||||
|
mbedtls_mpi_uint *G = NULL, *I = NULL, *T = NULL;
|
||||||
|
|
||||||
|
/* Read test parameters into MPI structures */
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&A, &A_limbs, input_A));
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&N, &N_limbs, input_N));
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&exp_G, &exp_G_limbs, input_exp_G));
|
||||||
|
const unsigned char got_I = strlen(input_exp_I) != 0;
|
||||||
|
if (got_I) {
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&exp_I, &exp_I_limbs, input_exp_I));
|
||||||
|
}
|
||||||
|
|
||||||
|
/* The function under test wants this */
|
||||||
|
TEST_EQUAL(N[0] & 1, 1);
|
||||||
|
TEST_LE_U(A_limbs, N_limbs);
|
||||||
|
TEST_ASSERT(mpi_core_cmp(A, A_limbs, N, N_limbs) <= 0);
|
||||||
|
|
||||||
|
const size_t N_bytes = N_limbs * sizeof(mbedtls_mpi_uint);
|
||||||
|
|
||||||
|
TEST_CF_SECRET(A, A_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
TEST_CF_SECRET(N, N_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
|
||||||
|
#define FREE_G_I_T \
|
||||||
|
mbedtls_free(G); \
|
||||||
|
G = NULL; \
|
||||||
|
mbedtls_free(I); \
|
||||||
|
I = NULL; \
|
||||||
|
mbedtls_free(T); \
|
||||||
|
T = NULL
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Test GCD only (I == NULL)
|
||||||
|
*/
|
||||||
|
TEST_CALLOC(G, N_limbs);
|
||||||
|
memset(G, 'G', N_bytes);
|
||||||
|
|
||||||
|
TEST_CALLOC(T, 4 * N_limbs);
|
||||||
|
memset(T, 'T', 4 * N_bytes);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, A, A_limbs, N, N_limbs, T);
|
||||||
|
TEST_EQUAL(mpi_core_cmp(G, N_limbs, exp_G, exp_G_limbs), 0);
|
||||||
|
|
||||||
|
FREE_G_I_T;
|
||||||
|
|
||||||
|
/* GCD only, G aliased to N */
|
||||||
|
TEST_CALLOC(G, N_limbs);
|
||||||
|
memcpy(G, N, N_bytes);
|
||||||
|
|
||||||
|
TEST_CALLOC(T, 4 * N_limbs);
|
||||||
|
memset(T, 'T', 4 * N_bytes);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, A, A_limbs, /* N */ G, N_limbs, T);
|
||||||
|
TEST_EQUAL(mpi_core_cmp(G, N_limbs, exp_G, exp_G_limbs), 0);
|
||||||
|
|
||||||
|
FREE_G_I_T;
|
||||||
|
|
||||||
|
/* GCD only, G aliased to A (hence A_limbs = N_limbs) */
|
||||||
|
TEST_CALLOC(G, N_limbs);
|
||||||
|
memcpy(G, A, A_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
|
||||||
|
TEST_CALLOC(T, 4 * N_limbs);
|
||||||
|
memset(T, 'T', 4 * N_bytes);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, /* A */ G, N_limbs, N, N_limbs, T);
|
||||||
|
TEST_EQUAL(mpi_core_cmp(G, N_limbs, exp_G, exp_G_limbs), 0);
|
||||||
|
|
||||||
|
FREE_G_I_T;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Test GCD + modinv
|
||||||
|
*/
|
||||||
|
TEST_CALLOC(G, N_limbs);
|
||||||
|
memset(G, 'G', N_bytes);
|
||||||
|
|
||||||
|
TEST_CALLOC(I, N_limbs);
|
||||||
|
memset(I, 'I', N_bytes);
|
||||||
|
|
||||||
|
TEST_CALLOC(T, 5 * N_limbs);
|
||||||
|
memset(T, 'T', 5 * N_bytes);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, A, A_limbs, N, N_limbs, T);
|
||||||
|
|
||||||
|
TEST_EQUAL(mpi_core_cmp(G, N_limbs, exp_G, exp_G_limbs), 0);
|
||||||
|
if (got_I) {
|
||||||
|
TEST_EQUAL(mpi_core_cmp(I, N_limbs, exp_I, exp_I_limbs), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
FREE_G_I_T;
|
||||||
|
|
||||||
|
/* GCD + modinv, G aliased to A */
|
||||||
|
TEST_CALLOC(G, N_limbs);
|
||||||
|
memcpy(G, A, A_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
|
||||||
|
TEST_CALLOC(I, N_limbs);
|
||||||
|
memset(I, 'I', N_bytes);
|
||||||
|
|
||||||
|
TEST_CALLOC(T, 5 * N_limbs);
|
||||||
|
memset(T, 'T', 5 * N_bytes);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, /* A */ G, N_limbs, N, N_limbs, T);
|
||||||
|
|
||||||
|
TEST_EQUAL(mpi_core_cmp(G, N_limbs, exp_G, exp_G_limbs), 0);
|
||||||
|
if (got_I) {
|
||||||
|
TEST_EQUAL(mpi_core_cmp(I, N_limbs, exp_I, exp_I_limbs), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
FREE_G_I_T;
|
||||||
|
|
||||||
|
/* GCD + modinv, I aliased to A */
|
||||||
|
TEST_CALLOC(G, N_limbs);
|
||||||
|
memset(G, 'G', N_bytes);
|
||||||
|
|
||||||
|
TEST_CALLOC(I, N_limbs);
|
||||||
|
memcpy(I, A, A_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
|
||||||
|
TEST_CALLOC(T, 5 * N_limbs);
|
||||||
|
memset(T, 'T', 5 * N_bytes);
|
||||||
|
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, /* A */ I, N_limbs, N, N_limbs, T);
|
||||||
|
|
||||||
|
TEST_EQUAL(mpi_core_cmp(G, N_limbs, exp_G, exp_G_limbs), 0);
|
||||||
|
if (got_I) {
|
||||||
|
TEST_EQUAL(mpi_core_cmp(I, N_limbs, exp_I, exp_I_limbs), 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
FREE_G_I_T;
|
||||||
|
|
||||||
|
#undef FREE_G_I_T
|
||||||
|
exit:
|
||||||
|
mbedtls_free(A);
|
||||||
|
mbedtls_free(N);
|
||||||
|
mbedtls_free(exp_G);
|
||||||
|
mbedtls_free(exp_I);
|
||||||
|
mbedtls_free(G);
|
||||||
|
mbedtls_free(I);
|
||||||
|
mbedtls_free(T);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void mpi_core_gcd_modinv_odd_preconditions()
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* The purpose of this test function is to ensure that the function doesn't
|
||||||
|
* crash (but just outputs garbage) when preconditions are not met.
|
||||||
|
*/
|
||||||
|
|
||||||
|
mbedtls_mpi_uint A[1];
|
||||||
|
mbedtls_mpi_uint N[2];
|
||||||
|
mbedtls_mpi_uint AAA[3];
|
||||||
|
mbedtls_mpi_uint *G = NULL, *I = NULL, *TG = NULL, *TI = NULL;
|
||||||
|
|
||||||
|
/* We'll always use a two-limbs N */
|
||||||
|
TEST_CALLOC(G, 2);
|
||||||
|
TEST_CALLOC(I, 2);
|
||||||
|
TEST_CALLOC(TG, 4 * 2); // For I == NULL
|
||||||
|
TEST_CALLOC(TI, 5 * 2); // For I != NULL
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Input values
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* N is not odd */
|
||||||
|
N[0] = 2; // N = 2^n + 2
|
||||||
|
N[1] = 1;
|
||||||
|
A[0] = 42; // A = 42
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, A, 1, N, 2, TG);
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, A, 1, N, 2, TI);
|
||||||
|
|
||||||
|
/* A > N */
|
||||||
|
N[0] = 3; // N = 3
|
||||||
|
N[1] = 0;
|
||||||
|
A[0] = 42; // A = 42
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, A, 1, N, 2, TG);
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, A, 1, N, 2, TI);
|
||||||
|
|
||||||
|
/* A_limbs > N_limbs (but A <= N) */
|
||||||
|
N[0] = 3; // N = 3
|
||||||
|
N[1] = 0;
|
||||||
|
AAA[0] = 1; // A = 1
|
||||||
|
AAA[1] = 0;
|
||||||
|
AAA[2] = 0;
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, AAA, 3, N, 2, TG);
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, AAA, 3, N, 2, TI);
|
||||||
|
|
||||||
|
/* A_limbs > N_limbs (and A > N) */
|
||||||
|
N[0] = 3; // N = 3
|
||||||
|
N[1] = 0;
|
||||||
|
AAA[0] = 0; // A = 2^2n
|
||||||
|
AAA[1] = 0;
|
||||||
|
AAA[2] = 1;
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, AAA, 3, N, 2, TG);
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, AAA, 3, N, 2, TI);
|
||||||
|
|
||||||
|
/* I != NULL but N is 1 */
|
||||||
|
N[0] = 1; // N = 1
|
||||||
|
N[1] = 0;
|
||||||
|
A[0] = 1; // A = 1
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, N, 2, A, 1, TI);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Aliasing
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Now use valid values for remaining tests */
|
||||||
|
N[0] = 1; // N = 2^n + 1
|
||||||
|
N[1] = 1;
|
||||||
|
A[0] = 42; // A = 42
|
||||||
|
|
||||||
|
/* A aliased to N */
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, N, 2, N, 2, TG);
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, N, 2, N, 2, TI);
|
||||||
|
|
||||||
|
/* G aliased to A and N */
|
||||||
|
memcpy(G, N, 2 * sizeof(mbedtls_mpi_uint));
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, NULL, G, 2, G, 2, TG);
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, G, 2, G, 2, TI);
|
||||||
|
|
||||||
|
/* I != NULL, G aliased to N */
|
||||||
|
memcpy(G, N, 2 * sizeof(mbedtls_mpi_uint));
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, A, 1, G, 2, TI);
|
||||||
|
|
||||||
|
/* I != NULL, I aliased to N */
|
||||||
|
memcpy(I, N, 2 * sizeof(mbedtls_mpi_uint));
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, A, 1, I, 2, TI);
|
||||||
|
|
||||||
|
/* I aliased to A and N */
|
||||||
|
memcpy(I, N, 2 * sizeof(mbedtls_mpi_uint));
|
||||||
|
mbedtls_mpi_core_gcd_modinv_odd(G, I, I, 2, I, 2, TI);
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_free(G);
|
||||||
|
mbedtls_free(I);
|
||||||
|
mbedtls_free(TG);
|
||||||
|
mbedtls_free(TI);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE depends_on:MBEDTLS_TEST_HOOKS */
|
||||||
|
void mpi_core_div2_mod_odd(char *input_X, char *input_N, char *input_exp_X)
|
||||||
|
{
|
||||||
|
mbedtls_mpi_uint *X = NULL;
|
||||||
|
size_t X_limbs = 0;
|
||||||
|
mbedtls_mpi_uint *N = NULL;
|
||||||
|
size_t N_limbs = 0;
|
||||||
|
mbedtls_mpi_uint *exp_X = NULL;
|
||||||
|
size_t exp_X_limbs = 0;
|
||||||
|
|
||||||
|
/* Read test parameters into MPI structures */
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&X, &X_limbs, input_X));
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&N, &N_limbs, input_N));
|
||||||
|
TEST_EQUAL(0, mbedtls_test_read_mpi_core(&exp_X, &exp_X_limbs, input_exp_X));
|
||||||
|
|
||||||
|
/* The function under test requires this */
|
||||||
|
TEST_EQUAL(X_limbs, N_limbs);
|
||||||
|
|
||||||
|
TEST_CF_SECRET(X, X_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
TEST_CF_SECRET(N, N_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
|
||||||
|
mbedtls_mpi_core_div2_mod_odd(X, N, N_limbs);
|
||||||
|
|
||||||
|
TEST_CF_PUBLIC(X, X_limbs * sizeof(mbedtls_mpi_uint));
|
||||||
|
TEST_EQUAL(0, mpi_core_cmp(X, X_limbs, exp_X, exp_X_limbs));
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_free(X);
|
||||||
|
mbedtls_free(N);
|
||||||
|
mbedtls_free(exp_X);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|||||||
34178
tests/suites/test_suite_bignum_core.generated.data
Normal file
34178
tests/suites/test_suite_bignum_core.generated.data
Normal file
File diff suppressed because it is too large
Load Diff
@@ -523,3 +523,29 @@ mpi_core_clz:64:0
|
|||||||
|
|
||||||
CLZ: 100000 0: skip overly long input
|
CLZ: 100000 0: skip overly long input
|
||||||
mpi_core_clz:100000:0
|
mpi_core_clz:100000:0
|
||||||
|
|
||||||
|
GCD-modinv random 80-bit, non-trivial GCD -> no inverse
|
||||||
|
mpi_core_gcd_modinv_odd:"e4518a1900fce698fa3":"1a84113636607520200d":"3":""
|
||||||
|
|
||||||
|
GCD-modinv random 80-bit, trivial GCD -> inverse
|
||||||
|
mpi_core_gcd_modinv_odd:"7f2405d6de7db80a7bc":"1a84113636607520200d":"1":"15f158844a59cd7a3ed2"
|
||||||
|
|
||||||
|
# This data results in the gcd-modinv loop converging to its final state
|
||||||
|
# only in the last iteration. See python script in commit message.
|
||||||
|
GCD-modinv (almost) max iterations
|
||||||
|
mpi_core_gcd_modinv_odd:"8000000000000000":"b26eb5721a2cb24c36acb4550b176671":"1":"77e1dd63583a6b3c8deefe7737862c89"
|
||||||
|
|
||||||
|
GCD-modinv preconditions not met
|
||||||
|
mpi_core_gcd_modinv_odd_preconditions:
|
||||||
|
|
||||||
|
Div2 mod odd: even value
|
||||||
|
mpi_core_div2_mod_odd:"4":"7":"2"
|
||||||
|
|
||||||
|
Div2 mod odd: odd value, no carry
|
||||||
|
mpi_core_div2_mod_odd:"5":"7":"6"
|
||||||
|
|
||||||
|
Div2 mod odd: odd value with carry
|
||||||
|
mpi_core_div2_mod_odd:"8000000000000001":"8000000000000003":"8000000000000002"
|
||||||
|
|
||||||
|
Div2 mod odd: even value with top bit set
|
||||||
|
mpi_core_div2_mod_odd:"8000000000000002":"8000000000000003":"4000000000000001"
|
||||||
|
|||||||
6781
tests/suites/test_suite_bignum_mod.generated.data
Normal file
6781
tests/suites/test_suite_bignum_mod.generated.data
Normal file
File diff suppressed because it is too large
Load Diff
9226
tests/suites/test_suite_bignum_mod_raw.generated.data
Normal file
9226
tests/suites/test_suite_bignum_mod_raw.generated.data
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1482,43 +1482,243 @@ AES-256 CBC - Encrypt and decrypt 32 bytes in multiple parts with PKCS7 padding
|
|||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
enc_dec_buf_multipart:MBEDTLS_CIPHER_AES_256_CBC:256:16:16:MBEDTLS_PADDING_PKCS7:16:16:0:32
|
enc_dec_buf_multipart:MBEDTLS_CIPHER_AES_256_CBC:256:16:16:MBEDTLS_PADDING_PKCS7:16:16:0:32
|
||||||
|
|
||||||
AES Decrypt test vector #0
|
AES-128-CBC Decrypt test vector, no padding
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_PADDING_PKCS7:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
|
||||||
|
|
||||||
AES Decrypt test vector #1
|
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":0:0
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
AES Decrypt test vector #2
|
AES-192-CBC Decrypt test vector, no padding
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_NONE:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"fffffffff80000000000000000000000":"":"":0:0
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_NONE:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"fffffffff80000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
AES Decrypt test vector #3
|
AES-256-CBC Decrypt test vector, no padding
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_NONE:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"ff000000000000000000000000000000":"":"":0:0
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_NONE:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"ff000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
AES Decrypt test vector #4
|
AES-128-CBC Decrypt test vector, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"6dbd04d1579f6a7bee0842b9ae491588":"000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"593ebdf9a785f414cbed5d8a9eee1e4d":"fffffffff800000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f1b27ac78b93f6b0ab9787d8827176e6":"ff0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"175334ced3166a22437861f4bcced178":"0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"5d9ee7bc7066e438582c86c165604f2e":"fffffffff8000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"cc71abea78b8e82c3791b52d3dba55e2":"ff00000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"7d340c60b9067883962c69766cf9ec35":"2a":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"48fef8aaa78c4a148f241aaf14866772":"2a":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6ad50ca266a3e32024818f11839afb2f":"2a":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e9844992c4b55bcaf8199d5df842adad":"":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"02bb292527e726fd51eb29894d6f0aad":"":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"1f788fe6d86c317549697fbf0c07fa43":"":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e651289760d35177eade56eae724f8fd":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f5b599490354e71a3b3fb5f1419fb971":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6852d318a0884a289a725c558e761e25":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7afa572c3b53bd14a1b98d201229ddd03":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb5c4271870e51a0c618f20a0efccc2bfc":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e64f439d87aa0deb338029253bea0ba54f":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt test vector, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt test vector, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt test vector, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e6":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_NONE:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"fffffffff80000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_NONE:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"ff000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"6dbd04d1579f6a7bee0842b9ae491588":"000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"593ebdf9a785f414cbed5d8a9eee1e4d":"fffffffff800000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f1b27ac78b93f6b0ab9787d8827176e6":"ff0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"175334ced3166a22437861f4bcced178":"0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"5d9ee7bc7066e438582c86c165604f2e":"fffffffff8000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"cc71abea78b8e82c3791b52d3dba55e2":"ff00000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"7d340c60b9067883962c69766cf9ec35":"2a":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"48fef8aaa78c4a148f241aaf14866772":"2a":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6ad50ca266a3e32024818f11839afb2f":"2a":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e9844992c4b55bcaf8199d5df842adad":"":"":"":0:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"02bb292527e726fd51eb29894d6f0aad":"":"":"":0:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"1f788fe6d86c317549697fbf0c07fa43":"":"":"":0:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e651289760d35177eade56eae724f8fd":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f5b599490354e71a3b3fb5f1419fb971":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6852d318a0884a289a725c558e761e25":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7afa572c3b53bd14a1b98d201229ddd03":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb5c4271870e51a0c618f20a0efccc2bfc":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e64f439d87aa0deb338029253bea0ba54f":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CBC Decrypt with finish_padded, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-192-CBC Decrypt with finish_padded, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-256-CBC Decrypt with finish_padded, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7
|
||||||
|
decrypt_padded_test_vec:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e6":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
AES-128-CFB Decrypt test vector
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CFB128:-1:"fffffffe000000000000000000000000":"00000000000000000000000000000000":"1114bc2028009b923f0b01915ce5e7c4":"00000000000000000000000000000000":"":"":0:0:
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_CFB128:-1:"fffffffe000000000000000000000000":"00000000000000000000000000000000":"1114bc2028009b923f0b01915ce5e7c4":"00000000000000000000000000000000":"":"":0:0:
|
||||||
|
|
||||||
AES Decrypt test vector #5
|
AES-192-CFB Decrypt test vector
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CFB128:-1:"ffffffffffffffffffffffffffffffffffffffffffe00000":"00000000000000000000000000000000":"60136703374f64e860b48ce31f930716":"00000000000000000000000000000000":"":"":0:0
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_CFB128:-1:"ffffffffffffffffffffffffffffffffffffffffffe00000":"00000000000000000000000000000000":"60136703374f64e860b48ce31f930716":"00000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
AES Decrypt test vector #6
|
AES-256-CFB Decrypt test vector
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CFB128:-1:"ffffffffff800000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"be66cfea2fecd6bf0ec7b4352c99bcaa":"00000000000000000000000000000000":"":"":0:0
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_CFB128:-1:"ffffffffff800000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"be66cfea2fecd6bf0ec7b4352c99bcaa":"00000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
AES Decrypt test vector #7
|
AES-128-OFB Decrypt test vector
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_OFB
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_OFB
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_OFB:-1:"2B7E151628AED2A6ABF7158809CF4F3C":"000102030405060708090A0B0C0D0E0F":"3B3FD92EB72DAD20333449F8E83CFB4A7789508d16918f03f53c52dac54ed8259740051e9c5fecf64344f7a82260edcc304c6528f659c77866a510d9c1d6ae5e":"6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710":"":"":0:0:
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_128_OFB:-1:"2B7E151628AED2A6ABF7158809CF4F3C":"000102030405060708090A0B0C0D0E0F":"3B3FD92EB72DAD20333449F8E83CFB4A7789508d16918f03f53c52dac54ed8259740051e9c5fecf64344f7a82260edcc304c6528f659c77866a510d9c1d6ae5e":"6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710":"":"":0:0:
|
||||||
|
|
||||||
AES Decrypt test vector #8
|
AES-192-OFB Decrypt test vector
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_OFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_OFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_OFB:-1:"8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B":"000102030405060708090A0B0C0D0E0F":"CDC80D6FDDF18CAB34C25909C99A4174fcc28b8d4c63837c09e81700c11004018d9a9aeac0f6596f559c6d4daf59a5f26d9f200857ca6c3e9cac524bd9acc92a":"6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710":"":"":0:0:
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_192_OFB:-1:"8E73B0F7DA0E6452C810F32B809079E562F8EAD2522C6B7B":"000102030405060708090A0B0C0D0E0F":"CDC80D6FDDF18CAB34C25909C99A4174fcc28b8d4c63837c09e81700c11004018d9a9aeac0f6596f559c6d4daf59a5f26d9f200857ca6c3e9cac524bd9acc92a":"6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710":"":"":0:0:
|
||||||
|
|
||||||
AES Decrypt test vector #9
|
AES-256-OFB Decrypt test vector
|
||||||
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_OFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_OFB:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
|
||||||
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_OFB:-1:"603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4":"000102030405060708090A0B0C0D0E0F":"DC7E84BFDA79164B7ECD8486985D38604febdc6740d20b3ac88f6ad82a4fb08d71ab47a086e86eedf39d1c5bba97c4080126141d67f37be8538f5a8be740e484":"6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710":"":"":0:0:
|
decrypt_test_vec:MBEDTLS_CIPHER_AES_256_OFB:-1:"603DEB1015CA71BE2B73AEF0857D77811F352C073B6108D72D9810A30914DFF4":"000102030405060708090A0B0C0D0E0F":"DC7E84BFDA79164B7ECD8486985D38604febdc6740d20b3ac88f6ad82a4fb08d71ab47a086e86eedf39d1c5bba97c4080126141d67f37be8538f5a8be740e484":"6BC1BEE22E409F96E93D7E117393172AAE2D8A571E03AC9C9EB76FAC45AF8E5130C81C46A35CE411E5FBC1191A0A52EFF69F2445DF4F9B17AD2B417BE66C3710":"":"":0:0:
|
||||||
|
|
||||||
|
|||||||
255
tests/suites/test_suite_cipher.constant_time.data
Normal file
255
tests/suites/test_suite_cipher.constant_time.data
Normal file
@@ -0,0 +1,255 @@
|
|||||||
|
Constant-time PKCS7 padding, valid #1
|
||||||
|
get_pkcs_padding:"00112233445566778899AABBCCDDEE01":0:15
|
||||||
|
|
||||||
|
Constant-time PKCS7 padding, valid #2
|
||||||
|
get_pkcs_padding:"00112233445566778899AA0505050505":0:11
|
||||||
|
|
||||||
|
Constant-time PKCS7 padding, valid #3
|
||||||
|
get_pkcs_padding:"10101010101010101010101010101010":0:0
|
||||||
|
|
||||||
|
Constant-time PKCS7 padding, invalid zero
|
||||||
|
get_pkcs_padding:"00112233445566778899AABBCCDDEE00":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
Constant-time PKCS7 padding, invalid > 16
|
||||||
|
get_pkcs_padding:"00112233445566778899AABBCCDDEE11":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_NONE:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"fffffffff80000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_NONE:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"ff000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"6dbd04d1579f6a7bee0842b9ae491588":"000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"593ebdf9a785f414cbed5d8a9eee1e4d":"fffffffff800000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f1b27ac78b93f6b0ab9787d8827176e6":"ff0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"175334ced3166a22437861f4bcced178":"0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"5d9ee7bc7066e438582c86c165604f2e":"fffffffff8000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"cc71abea78b8e82c3791b52d3dba55e2":"ff00000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"7d340c60b9067883962c69766cf9ec35":"2a":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"48fef8aaa78c4a148f241aaf14866772":"2a":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6ad50ca266a3e32024818f11839afb2f":"2a":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e9844992c4b55bcaf8199d5df842adad":"":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"02bb292527e726fd51eb29894d6f0aad":"":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"1f788fe6d86c317549697fbf0c07fa43":"":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e651289760d35177eade56eae724f8fd":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f5b599490354e71a3b3fb5f1419fb971":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6852d318a0884a289a725c558e761e25":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7afa572c3b53bd14a1b98d201229ddd03":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb5c4271870e51a0c618f20a0efccc2bfc":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e64f439d87aa0deb338029253bea0ba54f":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt with finish_padded, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt with finish_padded, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt with finish_padded, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_padded_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e6":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"00000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_NONE:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"fffffffff80000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, no padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_NONE:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"ff000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"6dbd04d1579f6a7bee0842b9ae491588":"000000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"593ebdf9a785f414cbed5d8a9eee1e4d":"fffffffff800000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (good pad 1)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f1b27ac78b93f6b0ab9787d8827176e6":"ff0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"175334ced3166a22437861f4bcced178":"0000000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"5d9ee7bc7066e438582c86c165604f2e":"fffffffff8000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (good pad 2)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"cc71abea78b8e82c3791b52d3dba55e2":"ff00000000000000000000000000":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"7d340c60b9067883962c69766cf9ec35":"2a":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"48fef8aaa78c4a148f241aaf14866772":"2a":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (good pad 15)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6ad50ca266a3e32024818f11839afb2f":"2a":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e9844992c4b55bcaf8199d5df842adad":"":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"02bb292527e726fd51eb29894d6f0aad":"":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (good pad 16)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"1f788fe6d86c317549697fbf0c07fa43":"":"":"":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"23f710842b9bb9c32f26648c786807ca":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"707b1dbb0ffa40ef7d95def421233fae":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (bad pad 0)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"49af6b372135acef10132e548f217b17":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"e651289760d35177eade56eae724f8fd":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"f5b599490354e71a3b3fb5f1419fb971":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (bad pad 0102)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"6852d318a0884a289a725c558e761e25":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7afa572c3b53bd14a1b98d201229ddd03":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb5c4271870e51a0c618f20a0efccc2bfc":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (long, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e64f439d87aa0deb338029253bea0ba54f":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC Decrypt test vector, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:"ffffffffe00000000000000000000000":"00000000000000000000000000000000":"9c336551cc31074ffcefc161bac686b7":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-192-CBC Decrypt test vector, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_192_CBC:MBEDTLS_PADDING_PKCS7:"000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"33a31ec7605c85893872a467777f3ddb":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-256-CBC Decrypt test vector, PKCS7 (short, bad pad 17)
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
decrypt_test_vec_cf:MBEDTLS_CIPHER_AES_256_CBC:MBEDTLS_PADDING_PKCS7:"0000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000":"3e536c7917a695485ef046bda7c6a3e6":"":"":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC crypt Encrypt NIST KAT #4
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:HAVE_CONSTANT_TIME_AES
|
||||||
|
test_vec_crypt_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"00000000000000000000000000000000":"f34481ec3cc627bacd5dc3fb08f273e6":"0336763e966d92595a567cc9ce537f5e":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC crypt Decrypt NIST KAT #4
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:HAVE_CONSTANT_TIME_AES
|
||||||
|
test_vec_crypt_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:MBEDTLS_DECRYPT:"00000000000000000000000000000000":"00000000000000000000000000000000":"0336763e966d92595a567cc9ce537f5e":"f34481ec3cc627bacd5dc3fb08f273e6":0:0
|
||||||
|
|
||||||
|
CF AES-128-CBC crypt Decrypt PKCS7 invalid padding
|
||||||
|
depends_on:MBEDTLS_AES_C:MBEDTLS_CIPHER_MODE_CBC:MBEDTLS_CIPHER_PADDING_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
test_vec_crypt_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:MBEDTLS_DECRYPT:"00000000000000000000000000000000":"00000000000000000000000000000000":"0336763e966d92595a567cc9ce537f5e":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
||||||
|
|
||||||
|
CF AES-128-CBC crypt Encrypt NIST KAT #4 PSA
|
||||||
|
depends_on:MBEDTLS_USE_PSA_CRYPTO:MBEDTLS_TEST_DEPRECATED:PSA_WANT_KEY_TYPE_AES:PSA_WANT_ALG_CBC_NO_PADDING:HAVE_CONSTANT_TIME_AES
|
||||||
|
test_vec_crypt_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:MBEDTLS_ENCRYPT:"00000000000000000000000000000000":"00000000000000000000000000000000":"f34481ec3cc627bacd5dc3fb08f273e6":"0336763e966d92595a567cc9ce537f5e":0:1
|
||||||
|
|
||||||
|
CF AES-128-CBC crypt Decrypt NIST KAT #4 PSA
|
||||||
|
depends_on:MBEDTLS_USE_PSA_CRYPTO:MBEDTLS_TEST_DEPRECATED:PSA_WANT_KEY_TYPE_AES:PSA_WANT_ALG_CBC_NO_PADDING:HAVE_CONSTANT_TIME_AES
|
||||||
|
test_vec_crypt_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_NONE:MBEDTLS_DECRYPT:"00000000000000000000000000000000":"00000000000000000000000000000000":"0336763e966d92595a567cc9ce537f5e":"f34481ec3cc627bacd5dc3fb08f273e6":0:1
|
||||||
|
|
||||||
|
## PSA-backed cipher contexts do not support PKCS7 padding.
|
||||||
|
#CF AES-128-CBC crypt Decrypt PKCS7 invalid padding PSA
|
||||||
|
#depends_on:MBEDTLS_USE_PSA_CRYPTO:MBEDTLS_TEST_DEPRECATED:PSA_WANT_KEY_TYPE_AES:PSA_WANT_ALG_CBC_PKCS7:HAVE_CONSTANT_TIME_AES
|
||||||
|
#test_vec_crypt_cf:MBEDTLS_CIPHER_AES_128_CBC:MBEDTLS_PADDING_PKCS7:MBEDTLS_DECRYPT:"00000000000000000000000000000000":"00000000000000000000000000000000":"0336763e966d92595a567cc9ce537f5e":"":MBEDTLS_ERR_CIPHER_INVALID_PADDING:1
|
||||||
@@ -14,6 +14,20 @@
|
|||||||
#define MBEDTLS_CIPHER_AUTH_CRYPT
|
#define MBEDTLS_CIPHER_AUTH_CRYPT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Our software AES implementation is not constant-time. For constant-time
|
||||||
|
* testing involving AES, require a hardware-assisted AES that is
|
||||||
|
* constant-time.
|
||||||
|
*
|
||||||
|
* We assume that if the hardware-assisted version is available in the build,
|
||||||
|
* it will be available at runtime. The AES tests will fail if run on a
|
||||||
|
* processor without AESNI/AESCE.
|
||||||
|
*/
|
||||||
|
#include "aesce.h"
|
||||||
|
#include "aesni.h"
|
||||||
|
#if defined(MBEDTLS_AESCE_HAVE_CODE) || defined(MBEDTLS_AESNI_HAVE_CODE)
|
||||||
|
#define HAVE_CONSTANT_TIME_AES
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Check the internal consistency of a cipher info structure, and
|
/* Check the internal consistency of a cipher info structure, and
|
||||||
* check it against mbedtls_cipher_info_from_xxx(). */
|
* check it against mbedtls_cipher_info_from_xxx(). */
|
||||||
static int check_cipher_info(mbedtls_cipher_type_t type,
|
static int check_cipher_info(mbedtls_cipher_type_t type,
|
||||||
@@ -858,6 +872,269 @@ exit:
|
|||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
/* Similar to decrypt_test_vec, but with constant-flow assertions.
|
||||||
|
* We use a separate test function so that we can run the functional tests
|
||||||
|
* in all configurations where the underlying cipher is enabled, and
|
||||||
|
* run the constant-flow tests only in configurations where the underlying
|
||||||
|
* cipher is constant-time. In particular, AES test cases need to depend
|
||||||
|
* on HAVE_CONSTANT_TIME_AES.
|
||||||
|
*/
|
||||||
|
void decrypt_test_vec_cf(int cipher_id, int pad_mode, data_t *key,
|
||||||
|
data_t *iv, data_t *cipher,
|
||||||
|
data_t *clear, data_t *ad, data_t *tag,
|
||||||
|
int expected_finish_result, int tag_result)
|
||||||
|
{
|
||||||
|
unsigned char output[265];
|
||||||
|
mbedtls_cipher_context_t ctx;
|
||||||
|
size_t outlen, total_len;
|
||||||
|
|
||||||
|
mbedtls_cipher_init(&ctx);
|
||||||
|
|
||||||
|
memset(output, 0x00, sizeof(output));
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_GCM_C) && !defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
((void) ad);
|
||||||
|
((void) tag);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
TEST_CF_SECRET(key->x, key->len);
|
||||||
|
TEST_CF_SECRET(cipher->x, cipher->len);
|
||||||
|
|
||||||
|
/* Prepare context */
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx,
|
||||||
|
mbedtls_cipher_info_from_type(cipher_id)));
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx, key->x, 8 * key->len, MBEDTLS_DECRYPT));
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
||||||
|
if (pad_mode != -1) {
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
(void) pad_mode;
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx, iv->x, iv->len));
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_reset(&ctx));
|
||||||
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
int expected = (ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
|
||||||
|
ctx.cipher_info->type == MBEDTLS_CIPHER_CHACHA20_POLY1305) ?
|
||||||
|
0 : MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
|
|
||||||
|
TEST_EQUAL(expected, mbedtls_cipher_update_ad(&ctx, ad->x, ad->len));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* decode buffer and check tag->x */
|
||||||
|
total_len = 0;
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_update(&ctx, cipher->x, cipher->len, output, &outlen));
|
||||||
|
total_len += outlen;
|
||||||
|
int actual_finish_result = mbedtls_cipher_finish(&ctx, output + outlen,
|
||||||
|
&outlen);
|
||||||
|
TEST_CF_PUBLIC(&outlen, sizeof(outlen));
|
||||||
|
TEST_EQUAL(actual_finish_result, expected_finish_result);
|
||||||
|
if (0 != expected_finish_result) {
|
||||||
|
/* Check output parameter is set to the least-harmful value on error */
|
||||||
|
TEST_ASSERT(0 == outlen);
|
||||||
|
}
|
||||||
|
total_len += outlen;
|
||||||
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
int tag_expected = (ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
|
||||||
|
ctx.cipher_info->type == MBEDTLS_CIPHER_CHACHA20_POLY1305) ?
|
||||||
|
tag_result : MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
|
|
||||||
|
TEST_EQUAL(tag_expected, mbedtls_cipher_check_tag(&ctx, tag->x, tag->len));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* check plaintext only if everything went fine */
|
||||||
|
if (0 == expected_finish_result && 0 == tag_result) {
|
||||||
|
TEST_CF_PUBLIC(output, sizeof(output));
|
||||||
|
TEST_MEMORY_COMPARE(output, total_len, clear->x, clear->len);
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_cipher_free(&ctx);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void decrypt_padded_test_vec(int cipher_id, int pad_mode, data_t *key,
|
||||||
|
data_t *iv, data_t *cipher,
|
||||||
|
data_t *clear, data_t *ad, data_t *tag,
|
||||||
|
int expected_finish_result, int tag_result)
|
||||||
|
{
|
||||||
|
unsigned char output[265];
|
||||||
|
mbedtls_cipher_context_t ctx;
|
||||||
|
size_t outlen, total_len;
|
||||||
|
|
||||||
|
mbedtls_cipher_init(&ctx);
|
||||||
|
|
||||||
|
memset(output, 0x00, sizeof(output));
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_GCM_C) && !defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
((void) ad);
|
||||||
|
((void) tag);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Prepare context */
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx,
|
||||||
|
mbedtls_cipher_info_from_type(cipher_id)));
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx, key->x, 8 * key->len, MBEDTLS_DECRYPT));
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
||||||
|
if (pad_mode != -1) {
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
(void) pad_mode;
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx, iv->x, iv->len));
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_reset(&ctx));
|
||||||
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
int expected = (ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
|
||||||
|
ctx.cipher_info->type == MBEDTLS_CIPHER_CHACHA20_POLY1305) ?
|
||||||
|
0 : MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
|
|
||||||
|
TEST_EQUAL(expected, mbedtls_cipher_update_ad(&ctx, ad->x, ad->len));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* decode buffer and check tag->x */
|
||||||
|
total_len = 0;
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_update(&ctx, cipher->x, cipher->len, output, &outlen));
|
||||||
|
total_len += outlen;
|
||||||
|
|
||||||
|
size_t invalid_padding = 42;
|
||||||
|
int actual_finish_result =
|
||||||
|
mbedtls_cipher_finish_padded(&ctx, output + outlen, &outlen,
|
||||||
|
&invalid_padding);
|
||||||
|
switch (expected_finish_result) {
|
||||||
|
case 0:
|
||||||
|
TEST_EQUAL(actual_finish_result, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, 0);
|
||||||
|
break;
|
||||||
|
case MBEDTLS_ERR_CIPHER_INVALID_PADDING:
|
||||||
|
TEST_EQUAL(actual_finish_result, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, ~(size_t) 0);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
TEST_EQUAL(actual_finish_result, expected_finish_result);
|
||||||
|
/* Check output parameter is set to the least-harmful value on error */
|
||||||
|
TEST_EQUAL(0, outlen);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
total_len += outlen;
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
int tag_expected = (ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
|
||||||
|
ctx.cipher_info->type == MBEDTLS_CIPHER_CHACHA20_POLY1305) ?
|
||||||
|
tag_result : MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
|
|
||||||
|
TEST_EQUAL(tag_expected, mbedtls_cipher_check_tag(&ctx, tag->x, tag->len));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* check plaintext only if everything went fine */
|
||||||
|
if (0 == expected_finish_result && 0 == tag_result) {
|
||||||
|
TEST_ASSERT(total_len == clear->len);
|
||||||
|
TEST_ASSERT(0 == memcmp(output, clear->x, clear->len));
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_cipher_free(&ctx);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
/* Similar to decrypt_padded_test_vec, but with constant-flow assertions.
|
||||||
|
* We use a separate test function so that we can run the functional tests
|
||||||
|
* in all configurations where the underlying cipher is enabled, and
|
||||||
|
* run the constant-flow tests only in configurations where the underlying
|
||||||
|
* cipher is constant-time. In particular, AES test cases need to depend
|
||||||
|
* on HAVE_CONSTANT_TIME_AES.
|
||||||
|
*/
|
||||||
|
void decrypt_padded_test_vec_cf(int cipher_id, int pad_mode, data_t *key,
|
||||||
|
data_t *iv, data_t *cipher,
|
||||||
|
data_t *clear, data_t *ad, data_t *tag,
|
||||||
|
int expected_finish_result, int tag_result)
|
||||||
|
{
|
||||||
|
unsigned char output[265];
|
||||||
|
mbedtls_cipher_context_t ctx;
|
||||||
|
size_t outlen, total_len;
|
||||||
|
|
||||||
|
mbedtls_cipher_init(&ctx);
|
||||||
|
|
||||||
|
memset(output, 0x00, sizeof(output));
|
||||||
|
|
||||||
|
#if !defined(MBEDTLS_GCM_C) && !defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
((void) ad);
|
||||||
|
((void) tag);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
TEST_CF_SECRET(key->x, key->len);
|
||||||
|
TEST_CF_SECRET(cipher->x, cipher->len);
|
||||||
|
|
||||||
|
/* Prepare context */
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx,
|
||||||
|
mbedtls_cipher_info_from_type(cipher_id)));
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx, key->x, 8 * key->len, MBEDTLS_DECRYPT));
|
||||||
|
#if defined(MBEDTLS_CIPHER_MODE_WITH_PADDING)
|
||||||
|
if (pad_mode != -1) {
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
(void) pad_mode;
|
||||||
|
#endif /* MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_iv(&ctx, iv->x, iv->len));
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_reset(&ctx));
|
||||||
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
int expected = (ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
|
||||||
|
ctx.cipher_info->type == MBEDTLS_CIPHER_CHACHA20_POLY1305) ?
|
||||||
|
0 : MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
|
|
||||||
|
TEST_EQUAL(expected, mbedtls_cipher_update_ad(&ctx, ad->x, ad->len));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* decode buffer and check tag->x */
|
||||||
|
total_len = 0;
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_update(&ctx, cipher->x, cipher->len, output, &outlen));
|
||||||
|
total_len += outlen;
|
||||||
|
|
||||||
|
size_t invalid_padding = 42;
|
||||||
|
int actual_finish_result =
|
||||||
|
mbedtls_cipher_finish_padded(&ctx, output + outlen, &outlen,
|
||||||
|
&invalid_padding);
|
||||||
|
TEST_CF_PUBLIC(&outlen, sizeof(outlen));
|
||||||
|
switch (expected_finish_result) {
|
||||||
|
case 0:
|
||||||
|
TEST_EQUAL(actual_finish_result, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, 0);
|
||||||
|
break;
|
||||||
|
case MBEDTLS_ERR_CIPHER_INVALID_PADDING:
|
||||||
|
TEST_EQUAL(actual_finish_result, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, ~(size_t) 0);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
TEST_EQUAL(actual_finish_result, expected_finish_result);
|
||||||
|
/* Check output parameter is set to the least-harmful value on error */
|
||||||
|
TEST_EQUAL(0, outlen);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
total_len += outlen;
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_GCM_C) || defined(MBEDTLS_CHACHAPOLY_C)
|
||||||
|
int tag_expected = (ctx.cipher_info->mode == MBEDTLS_MODE_GCM ||
|
||||||
|
ctx.cipher_info->type == MBEDTLS_CIPHER_CHACHA20_POLY1305) ?
|
||||||
|
tag_result : MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE;
|
||||||
|
|
||||||
|
TEST_EQUAL(tag_expected, mbedtls_cipher_check_tag(&ctx, tag->x, tag->len));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* check plaintext only if everything went fine */
|
||||||
|
if (0 == expected_finish_result && 0 == tag_result) {
|
||||||
|
TEST_CF_PUBLIC(output, sizeof(output));
|
||||||
|
TEST_MEMORY_COMPARE(output, total_len, clear->x, clear->len);
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_cipher_free(&ctx);
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_AEAD */
|
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_AEAD */
|
||||||
void auth_crypt_tv(int cipher_id, data_t *key, data_t *iv,
|
void auth_crypt_tv(int cipher_id, data_t *key, data_t *iv,
|
||||||
data_t *ad, data_t *cipher, data_t *tag,
|
data_t *ad, data_t *cipher, data_t *tag,
|
||||||
@@ -1140,6 +1417,68 @@ exit:
|
|||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
||||||
|
/* Similar to test_vec_crypt, but with constant-flow assertions.
|
||||||
|
* We use a separate test function so that we can run the functional tests
|
||||||
|
* in all configurations where the underlying cipher is enabled, and
|
||||||
|
* run the constant-flow tests only in configurations where the underlying
|
||||||
|
* cipher is constant-time. In particular, AES test cases need to depend
|
||||||
|
* on HAVE_CONSTANT_TIME_AES.
|
||||||
|
*/
|
||||||
|
void test_vec_crypt_cf(int cipher_id, int pad_mode, int operation, data_t *key,
|
||||||
|
data_t *iv, data_t *input, data_t *result,
|
||||||
|
int expected_finish_result, int use_psa)
|
||||||
|
{
|
||||||
|
mbedtls_cipher_context_t ctx;
|
||||||
|
unsigned char output[32];
|
||||||
|
size_t outlen;
|
||||||
|
|
||||||
|
mbedtls_cipher_init(&ctx);
|
||||||
|
|
||||||
|
memset(output, 0x00, sizeof(output));
|
||||||
|
|
||||||
|
TEST_CF_SECRET(key->x, key->len);
|
||||||
|
TEST_CF_SECRET(input->x, input->len);
|
||||||
|
|
||||||
|
/* Prepare context */
|
||||||
|
#if !defined(MBEDTLS_USE_PSA_CRYPTO) || !defined(MBEDTLS_TEST_DEPRECATED)
|
||||||
|
(void) use_psa;
|
||||||
|
#else
|
||||||
|
if (use_psa == 1) {
|
||||||
|
PSA_ASSERT(psa_crypto_init());
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setup_psa(&ctx,
|
||||||
|
mbedtls_cipher_info_from_type(cipher_id), 0));
|
||||||
|
} else
|
||||||
|
#endif /* !MBEDTLS_USE_PSA_CRYPTO || !MBEDTLS_TEST_DEPRECATED*/
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setup(&ctx,
|
||||||
|
mbedtls_cipher_info_from_type(cipher_id)));
|
||||||
|
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_setkey(&ctx, key->x, 8 * key->len, operation));
|
||||||
|
if (MBEDTLS_MODE_CBC == ctx.cipher_info->mode) {
|
||||||
|
TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
|
||||||
|
}
|
||||||
|
|
||||||
|
int actual_finish_result =
|
||||||
|
mbedtls_cipher_crypt(&ctx, iv->len ? iv->x : NULL, iv->len,
|
||||||
|
input->x, input->len,
|
||||||
|
output, &outlen);
|
||||||
|
TEST_CF_PUBLIC(&outlen, sizeof(outlen));
|
||||||
|
TEST_EQUAL(expected_finish_result, actual_finish_result);
|
||||||
|
|
||||||
|
/* check plaintext only if everything went fine */
|
||||||
|
if (0 == expected_finish_result) {
|
||||||
|
TEST_CF_PUBLIC(output, sizeof(output));
|
||||||
|
TEST_MEMORY_COMPARE(output, outlen, result->x, result->len);
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_cipher_free(&ctx);
|
||||||
|
#if defined(MBEDTLS_USE_PSA_CRYPTO) && defined(MBEDTLS_TEST_DEPRECATED)
|
||||||
|
PSA_DONE();
|
||||||
|
#endif /* MBEDTLS_USE_PSA_CRYPTO && MBEDTLS_TEST_DEPRECATED */
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_WITH_PADDING */
|
||||||
void set_padding(int cipher_id, int pad_mode, int ret)
|
void set_padding(int cipher_id, int pad_mode, int ret)
|
||||||
{
|
{
|
||||||
@@ -1160,8 +1499,8 @@ exit:
|
|||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
|
/* BEGIN_CASE depends_on:MBEDTLS_CIPHER_MODE_CBC */
|
||||||
void check_padding(int pad_mode, data_t *input, int ret, int dlen_check
|
void check_padding(int pad_mode, data_t *input,
|
||||||
)
|
int expected_ret, int dlen_check)
|
||||||
{
|
{
|
||||||
mbedtls_cipher_info_t cipher_info;
|
mbedtls_cipher_info_t cipher_info;
|
||||||
mbedtls_cipher_context_t ctx;
|
mbedtls_cipher_context_t ctx;
|
||||||
@@ -1174,10 +1513,20 @@ void check_padding(int pad_mode, data_t *input, int ret, int dlen_check
|
|||||||
|
|
||||||
TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
|
TEST_ASSERT(0 == mbedtls_cipher_set_padding_mode(&ctx, pad_mode));
|
||||||
|
|
||||||
|
size_t invalid_padding = 42;
|
||||||
TEST_ASSERT(ret == ctx.get_padding(input->x, input->len, &dlen));
|
int ret = ctx.get_padding(input->x, input->len, &dlen, &invalid_padding);
|
||||||
if (0 == ret) {
|
switch (expected_ret) {
|
||||||
TEST_ASSERT(dlen == (size_t) dlen_check);
|
case 0:
|
||||||
|
TEST_EQUAL(ret, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, 0);
|
||||||
|
TEST_EQUAL(dlen, dlen_check);
|
||||||
|
break;
|
||||||
|
case MBEDTLS_ERR_CIPHER_INVALID_PADDING:
|
||||||
|
TEST_EQUAL(ret, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, ~(size_t) 0);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
TEST_EQUAL(ret, expected_ret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
@@ -1270,14 +1619,27 @@ void get_pkcs_padding(data_t *decrypted_block, int exp_ret, int exp_len)
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
size_t calculated_len;
|
size_t calculated_len;
|
||||||
|
size_t invalid_padding;
|
||||||
|
|
||||||
TEST_CF_SECRET(decrypted_block->x, decrypted_block->len);
|
TEST_CF_SECRET(decrypted_block->x, decrypted_block->len);
|
||||||
ret = mbedtls_get_pkcs_padding(decrypted_block->x, decrypted_block->len,
|
ret = mbedtls_get_pkcs_padding(decrypted_block->x, decrypted_block->len,
|
||||||
&calculated_len);
|
&calculated_len, &invalid_padding);
|
||||||
|
|
||||||
TEST_EQUAL(ret, exp_ret);
|
switch (exp_ret) {
|
||||||
if (exp_ret == 0) {
|
case 0:
|
||||||
TEST_EQUAL(calculated_len, exp_len);
|
TEST_EQUAL(ret, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, 0);
|
||||||
|
TEST_EQUAL(calculated_len, exp_len);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case MBEDTLS_ERR_CIPHER_INVALID_PADDING:
|
||||||
|
TEST_EQUAL(ret, 0);
|
||||||
|
TEST_EQUAL(invalid_padding, ~(size_t) 0);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
TEST_EQUAL(ret, exp_ret);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|||||||
@@ -217,18 +217,3 @@ check_padding:MBEDTLS_PADDING_NONE:"DABBAD0001":0:5
|
|||||||
|
|
||||||
Check no padding #3 (correct by definition)
|
Check no padding #3 (correct by definition)
|
||||||
check_padding:MBEDTLS_PADDING_NONE:"":0:0
|
check_padding:MBEDTLS_PADDING_NONE:"":0:0
|
||||||
|
|
||||||
Constant-time PKCS7 padding, valid #1
|
|
||||||
get_pkcs_padding:"00112233445566778899AABBCCDDEE01":0:15
|
|
||||||
|
|
||||||
Constant-time PKCS7 padding, valid #2
|
|
||||||
get_pkcs_padding:"00112233445566778899AA0505050505":0:11
|
|
||||||
|
|
||||||
Constant-time PKCS7 padding, valid #3
|
|
||||||
get_pkcs_padding:"10101010101010101010101010101010":0:0
|
|
||||||
|
|
||||||
Constant-time PKCS7 padding, invalid zero
|
|
||||||
get_pkcs_padding:"00112233445566778899AABBCCDDEE00":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
|
||||||
|
|
||||||
Constant-time PKCS7 padding, invalid > 16
|
|
||||||
get_pkcs_padding:"00112233445566778899AABBCCDDEE11":MBEDTLS_ERR_CIPHER_INVALID_PADDING:0
|
|
||||||
|
|||||||
1715
tests/suites/test_suite_config.mbedtls_boolean.data
Normal file
1715
tests/suites/test_suite_config.mbedtls_boolean.data
Normal file
File diff suppressed because it is too large
Load Diff
707
tests/suites/test_suite_config.psa_boolean.data
Normal file
707
tests/suites/test_suite_config.psa_boolean.data
Normal file
@@ -0,0 +1,707 @@
|
|||||||
|
# Automatically generated by generate_config_tests.py. Do not edit!
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CBC_NO_PADDING
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_NO_PADDING:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CBC_NO_PADDING
|
||||||
|
depends_on:!PSA_WANT_ALG_CBC_NO_PADDING:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CBC_PKCS7
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_PKCS7:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CBC_PKCS7
|
||||||
|
depends_on:!PSA_WANT_ALG_CBC_PKCS7:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CCM
|
||||||
|
depends_on:PSA_WANT_ALG_CCM:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CCM
|
||||||
|
depends_on:!PSA_WANT_ALG_CCM:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CCM_STAR_NO_TAG
|
||||||
|
depends_on:PSA_WANT_ALG_CCM_STAR_NO_TAG:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CCM_STAR_NO_TAG
|
||||||
|
depends_on:!PSA_WANT_ALG_CCM_STAR_NO_TAG:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CFB
|
||||||
|
depends_on:PSA_WANT_ALG_CFB:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CFB
|
||||||
|
depends_on:!PSA_WANT_ALG_CFB:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CHACHA20_POLY1305
|
||||||
|
depends_on:PSA_WANT_ALG_CHACHA20_POLY1305:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CHACHA20_POLY1305
|
||||||
|
depends_on:!PSA_WANT_ALG_CHACHA20_POLY1305:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CMAC
|
||||||
|
depends_on:PSA_WANT_ALG_CMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CMAC
|
||||||
|
depends_on:!PSA_WANT_ALG_CMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_CTR
|
||||||
|
depends_on:PSA_WANT_ALG_CTR:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_CTR
|
||||||
|
depends_on:!PSA_WANT_ALG_CTR:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_DETERMINISTIC_ECDSA
|
||||||
|
depends_on:PSA_WANT_ALG_DETERMINISTIC_ECDSA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_DETERMINISTIC_ECDSA
|
||||||
|
depends_on:!PSA_WANT_ALG_DETERMINISTIC_ECDSA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_ECB_NO_PADDING
|
||||||
|
depends_on:PSA_WANT_ALG_ECB_NO_PADDING:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_ECB_NO_PADDING
|
||||||
|
depends_on:!PSA_WANT_ALG_ECB_NO_PADDING:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_ECDH
|
||||||
|
depends_on:PSA_WANT_ALG_ECDH:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_ECDH
|
||||||
|
depends_on:!PSA_WANT_ALG_ECDH:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_ECDSA
|
||||||
|
depends_on:PSA_WANT_ALG_ECDSA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_ECDSA
|
||||||
|
depends_on:!PSA_WANT_ALG_ECDSA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_FFDH
|
||||||
|
depends_on:PSA_WANT_ALG_FFDH:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_FFDH
|
||||||
|
depends_on:!PSA_WANT_ALG_FFDH:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_GCM
|
||||||
|
depends_on:PSA_WANT_ALG_GCM:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_GCM
|
||||||
|
depends_on:!PSA_WANT_ALG_GCM:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_HKDF
|
||||||
|
depends_on:PSA_WANT_ALG_HKDF:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_HKDF
|
||||||
|
depends_on:!PSA_WANT_ALG_HKDF:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_HKDF_EXPAND
|
||||||
|
depends_on:PSA_WANT_ALG_HKDF_EXPAND:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_HKDF_EXPAND
|
||||||
|
depends_on:!PSA_WANT_ALG_HKDF_EXPAND:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_HKDF_EXTRACT
|
||||||
|
depends_on:PSA_WANT_ALG_HKDF_EXTRACT:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_HKDF_EXTRACT
|
||||||
|
depends_on:!PSA_WANT_ALG_HKDF_EXTRACT:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_HMAC
|
||||||
|
depends_on:PSA_WANT_ALG_HMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_HMAC
|
||||||
|
depends_on:!PSA_WANT_ALG_HMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_JPAKE
|
||||||
|
depends_on:PSA_WANT_ALG_JPAKE:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_JPAKE
|
||||||
|
depends_on:!PSA_WANT_ALG_JPAKE:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_MD5
|
||||||
|
depends_on:PSA_WANT_ALG_MD5:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_MD5
|
||||||
|
depends_on:!PSA_WANT_ALG_MD5:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_OFB
|
||||||
|
depends_on:PSA_WANT_ALG_OFB:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_OFB
|
||||||
|
depends_on:!PSA_WANT_ALG_OFB:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
|
||||||
|
depends_on:PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
|
||||||
|
depends_on:!PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_PBKDF2_HMAC
|
||||||
|
depends_on:PSA_WANT_ALG_PBKDF2_HMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_PBKDF2_HMAC
|
||||||
|
depends_on:!PSA_WANT_ALG_PBKDF2_HMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_RIPEMD160
|
||||||
|
depends_on:PSA_WANT_ALG_RIPEMD160:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_RIPEMD160
|
||||||
|
depends_on:!PSA_WANT_ALG_RIPEMD160:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_RSA_OAEP
|
||||||
|
depends_on:PSA_WANT_ALG_RSA_OAEP:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_RSA_OAEP
|
||||||
|
depends_on:!PSA_WANT_ALG_RSA_OAEP:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
|
||||||
|
depends_on:PSA_WANT_ALG_RSA_PKCS1V15_CRYPT:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
|
||||||
|
depends_on:!PSA_WANT_ALG_RSA_PKCS1V15_CRYPT:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_RSA_PKCS1V15_SIGN
|
||||||
|
depends_on:PSA_WANT_ALG_RSA_PKCS1V15_SIGN:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_RSA_PKCS1V15_SIGN
|
||||||
|
depends_on:!PSA_WANT_ALG_RSA_PKCS1V15_SIGN:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_RSA_PSS
|
||||||
|
depends_on:PSA_WANT_ALG_RSA_PSS:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_RSA_PSS
|
||||||
|
depends_on:!PSA_WANT_ALG_RSA_PSS:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA3_224
|
||||||
|
depends_on:PSA_WANT_ALG_SHA3_224:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA3_224
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA3_224:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA3_256
|
||||||
|
depends_on:PSA_WANT_ALG_SHA3_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA3_256
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA3_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA3_384
|
||||||
|
depends_on:PSA_WANT_ALG_SHA3_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA3_384
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA3_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA3_512
|
||||||
|
depends_on:PSA_WANT_ALG_SHA3_512:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA3_512
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA3_512:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA_1
|
||||||
|
depends_on:PSA_WANT_ALG_SHA_1:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA_1
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA_1:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA_224
|
||||||
|
depends_on:PSA_WANT_ALG_SHA_224:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA_224
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA_224:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA_256
|
||||||
|
depends_on:PSA_WANT_ALG_SHA_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA_256
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA_384
|
||||||
|
depends_on:PSA_WANT_ALG_SHA_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA_384
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_SHA_512
|
||||||
|
depends_on:PSA_WANT_ALG_SHA_512:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_SHA_512
|
||||||
|
depends_on:!PSA_WANT_ALG_SHA_512:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_STREAM_CIPHER
|
||||||
|
depends_on:PSA_WANT_ALG_STREAM_CIPHER:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_STREAM_CIPHER
|
||||||
|
depends_on:!PSA_WANT_ALG_STREAM_CIPHER:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS
|
||||||
|
depends_on:PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS
|
||||||
|
depends_on:!PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_TLS12_PRF
|
||||||
|
depends_on:PSA_WANT_ALG_TLS12_PRF:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_TLS12_PRF
|
||||||
|
depends_on:!PSA_WANT_ALG_TLS12_PRF:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ALG_TLS12_PSK_TO_MS
|
||||||
|
depends_on:PSA_WANT_ALG_TLS12_PSK_TO_MS:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ALG_TLS12_PSK_TO_MS
|
||||||
|
depends_on:!PSA_WANT_ALG_TLS12_PSK_TO_MS:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_DH_RFC7919_2048
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_2048:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_DH_RFC7919_2048
|
||||||
|
depends_on:!PSA_WANT_DH_RFC7919_2048:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_DH_RFC7919_3072
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_3072:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_DH_RFC7919_3072
|
||||||
|
depends_on:!PSA_WANT_DH_RFC7919_3072:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_DH_RFC7919_4096
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_4096:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_DH_RFC7919_4096
|
||||||
|
depends_on:!PSA_WANT_DH_RFC7919_4096:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_DH_RFC7919_6144
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_6144:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_DH_RFC7919_6144
|
||||||
|
depends_on:!PSA_WANT_DH_RFC7919_6144:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_DH_RFC7919_8192
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_8192:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_DH_RFC7919_8192
|
||||||
|
depends_on:!PSA_WANT_DH_RFC7919_8192:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_BRAINPOOL_P_R1_256
|
||||||
|
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_BRAINPOOL_P_R1_256
|
||||||
|
depends_on:!PSA_WANT_ECC_BRAINPOOL_P_R1_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_BRAINPOOL_P_R1_384
|
||||||
|
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_BRAINPOOL_P_R1_384
|
||||||
|
depends_on:!PSA_WANT_ECC_BRAINPOOL_P_R1_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_BRAINPOOL_P_R1_512
|
||||||
|
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_512:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_BRAINPOOL_P_R1_512
|
||||||
|
depends_on:!PSA_WANT_ECC_BRAINPOOL_P_R1_512:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_MONTGOMERY_255
|
||||||
|
depends_on:PSA_WANT_ECC_MONTGOMERY_255:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_MONTGOMERY_255
|
||||||
|
depends_on:!PSA_WANT_ECC_MONTGOMERY_255:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_MONTGOMERY_448
|
||||||
|
depends_on:PSA_WANT_ECC_MONTGOMERY_448:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_MONTGOMERY_448
|
||||||
|
depends_on:!PSA_WANT_ECC_MONTGOMERY_448:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_K1_192
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_K1_192:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_K1_192
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_K1_192:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_K1_256
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_K1_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_K1_256
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_K1_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_R1_192
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_192:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_R1_192
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_R1_192:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_R1_224
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_224:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_R1_224
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_R1_224:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_R1_256
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_R1_256
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_R1_256:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_R1_384
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_R1_384
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_R1_384:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_ECC_SECP_R1_521
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_521:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_ECC_SECP_R1_521
|
||||||
|
depends_on:!PSA_WANT_ECC_SECP_R1_521:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_AES
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_AES:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_AES
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_AES:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ARIA
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ARIA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ARIA
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ARIA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_CAMELLIA
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_CAMELLIA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_CAMELLIA
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_CAMELLIA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_CHACHA20
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_CHACHA20:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_CHACHA20
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_CHACHA20:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DERIVE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DERIVE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DES
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DES:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DES
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DES:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_KEY_PAIR
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_KEY_PAIR
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_KEY_PAIR:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_HMAC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_PASSWORD
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_PASSWORD
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_PASSWORD:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_PASSWORD_HASH
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD_HASH:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_PASSWORD_HASH
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_PASSWORD_HASH:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RAW_DATA
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RAW_DATA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RAW_DATA
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RAW_DATA:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_KEY_PAIR
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_KEY_PAIR
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_KEY_PAIR:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT:MBEDTLS_PSA_CRYPTO_CLIENT:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
Config: !PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
|
||||||
|
depends_on:!PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY:MBEDTLS_PSA_CRYPTO_CLIENT
|
||||||
|
pass:
|
||||||
|
|
||||||
|
# End of automatically generated file.
|
||||||
919
tests/suites/test_suite_ecp.generated.data
Normal file
919
tests/suites/test_suite_ecp.generated.data
Normal file
@@ -0,0 +1,919 @@
|
|||||||
|
# Automatically generated by generate_ecp_tests.py. Do not edit!
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #1 - 0 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #2 - 1 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #3 - fffffffffffffffffffffffffffffffffffffffeffffee36 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffeffffee36":"fffffffffffffffffffffffffffffffffffffffeffffee36"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #4 - fffffffffffffffffffffffffffffffffffffffeffffee38 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffeffffee38":"000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #5 - ffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000001000011c8"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #6 - fffffffffffffffffffffffffffffffffffffffdffffdc6c0000000000000000000000000000000100002394013c7364 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"fffffffffffffffffffffffffffffffffffffffdffffdc6c0000000000000000000000000000000100002394013c7364":"000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #7 - 7ffff71b809e27dd832cfd5e04d9d2dbb9f8da2170000000000000000000000000000000000000000520834f0 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"00000007ffff71b809e27dd832cfd5e04d9d2dbb9f8da2170000000000000000000000000000000000000000520834f0":"000000000000000000000000000000000000000800008e47"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #8 - cf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"cf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"0821179918d48f1e85b1492d55d4a563a6d095ee961b20b3"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #9 - ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738f mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738f":"171d13cd6784900a8bf38ddb90d54ce128c6135d299cfa4d"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #10 - ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93":"b32163aabbaeffedbe5b9033800d5a295a64578924db3df1"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #11 - e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2":"2cfde069f0823ce5103efcbd4b4225a1cb82d26864547e18"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #12 - 2d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"2d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f":"cb5f52a861d7ec7e0ddde31a239d20350769c963fd9a6529"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #13 - fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c9135 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c9135":"95e0a09c00e783ce5d82102f8e77731536bc8b2b6151ee84"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #14 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2":"74718861d1d54568a207dfec1f743c273f137beac1cd43a6"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #15 - bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"f6524cb1719c5d8f31037903ea9cc2441277b34f08474b89"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #16 - 47733e847d718d733ff98ff387c56473a7a83ee0761ebfd2 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"00000000000000000000000000000000000000000000000047733e847d718d733ff98ff387c56473a7a83ee0761ebfd2":"47733e847d718d733ff98ff387c56473a7a83ee0761ebfd2"
|
||||||
|
|
||||||
|
ecp_mod_p192k1_raw #17 - cbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb63 mod fffffffffffffffffffffffffffffffffffffffeffffee37
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192K1:"fffffffffffffffffffffffffffffffffffffffeffffee37":"000000000000000000000000000000000000000000000000cbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb63":"cbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb63"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #1 - 0 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #2 - 1 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #3 - fffffffffffffffffffffffffffffffefffffffffffffffe mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffefffffffffffffffe":"fffffffffffffffffffffffffffffffefffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #4 - ffffffffffffffffffffffffffffffff0000000000000000 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000":"000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #5 - ffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000010000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #6 - fffffffffffffffffffffffffffffffdfffffffffffffffc000000000000000100000000000000040000000000000004 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"fffffffffffffffffffffffffffffffdfffffffffffffffc000000000000000100000000000000040000000000000004":"000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #7 - 1ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"00000000000000000000000000000001ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000":"000000000000000200000000000000010000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #8 - ffffffffffffffff00000000000000010000000000000000fffffffffffffffeffffffffffffffff0000000000000000 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"ffffffffffffffff00000000000000010000000000000000fffffffffffffffeffffffffffffffff0000000000000000":"000000000000000000000000000000020000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #9 - cf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"cf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"11d34d17a0c5ef3d302b26449aaac6f7087b21d0c6e15cc9"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #10 - ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738f mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738f":"e4a7b1885874b900f7e16077a78ef49ce3a85a926f5696e2"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #11 - ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93":"2b031a18377216979ed9ab58e1c5c3bf154fe728f83c0c0d"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #12 - e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2":"b5ebd2ded1bc8cfb1ad56935143c43e8c619d7d3ca6f854b"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #13 - 2d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"2d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f":"926235fec925e1797804d3e4b6581175c71bc373f6e1d417"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #14 - fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c9135 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c9135":"ea2dabcc5dd606da94378396fde052bdaeb89212817396b1"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #15 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2":"7bace2fe497b1d2b47e86aab41885802f295febe970486d0"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #16 - bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"958f9e1b6e59ae10f3cd72d09c7f37d20e2f54ca3ae94f5a"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #17 - 47733e847d718d733ff98ff387c56473a7a83ee0761ebfd2 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"00000000000000000000000000000000000000000000000047733e847d718d733ff98ff387c56473a7a83ee0761ebfd2":"47733e847d718d733ff98ff387c56473a7a83ee0761ebfd2"
|
||||||
|
|
||||||
|
ecp_mod_p192_raw #18 - cbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb63 mod fffffffffffffffffffffffffffffffeffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP192R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP192R1:"fffffffffffffffffffffffffffffffeffffffffffffffff":"000000000000000000000000000000000000000000000000cbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb63":"cbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb63"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #1 - 0 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #2 - 0 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #3 - 1 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"00000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #4 - 1 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #5 - fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c":"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #6 - fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c":"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56c"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #7 - fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e":"00000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #8 - fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56e":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #9 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000100001a92"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #10 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000100001a92"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #11 - fffffffffffffffffffffffffffffffffffffffffffffffdffffcad800000000000000000000000000000000000000010000352802c26590 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"fffffffffffffffffffffffffffffffffffffffffffffffdffffcad800000000000000000000000000000000000000010000352802c26590":"00000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #12 - fffffffffffffffffffffffffffffffffffffffffffffffdffffcad800000000000000000000000000000000000000010000352802c26590 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000fffffffffffffffffffffffffffffffffffffffffffffffdffffcad800000000000000000000000000000000000000010000352802c26590":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #13 - 7ffff2b68161180fd8cd92e1a109be158a19a99b1809db80320000000000000000000000000000000000000000000000000bf04f49 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000007ffff2b68161180fd8cd92e1a109be158a19a99b1809db80320000000000000000000000000000000000000000000000000bf04f49":"000000000000000000000000000000000000000000000080000d497f"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #14 - 7ffff2b68161180fd8cd92e1a109be158a19a99b1809db80320000000000000000000000000000000000000000000000000bf04f49 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000007ffff2b68161180fd8cd92e1a109be158a19a99b1809db80320000000000000000000000000000000000000000000000000bf04f49":"00000000000000000000000000000000000000000000000000000080000d497f"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #15 - da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"63d21f711392336f294cc013d26cbe740f2368e0fa14295edfe247e3"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #16 - da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"0000000063d21f711392336f294cc013d26cbe740f2368e0fa14295edfe247e3"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #17 - cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8":"56840037df03e4e68ed85df40eb84f0cd9ef4a553712178532a54724"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #18 - cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8":"0000000056840037df03e4e68ed85df40eb84f0cd9ef4a553712178532a54724"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #19 - defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da":"37a7815aaa9c51982260fa8eda562d9800e3a81b02921c35042c0880"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #20 - defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da":"0000000037a7815aaa9c51982260fa8eda562d9800e3a81b02921c35042c0880"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #21 - 2d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"2d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045":"0a66fcba3968b3bfdbe4cab383139d0ba5df05f1cf09225df471772c"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #22 - 2d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000002d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045":"000000000a66fcba3968b3bfdbe4cab383139d0ba5df05f1cf09225df471772c"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #23 - 8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578":"beb929772c37d8c047821b7094aa8a8a83c147ee5a7e7de5d70b1eb1"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #24 - 8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000008f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578":"00000000beb929772c37d8c047821b7094aa8a8a83c147ee5a7e7de5d70b1eb1"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #25 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a":"01a34df36e9f5a0597063463439baecb2d2f79f2abab9e61bbc34b4a"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #26 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000097eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a":"0000000001a34df36e9f5a0597063463439baecb2d2f79f2abab9e61bbc34b4a"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #27 - a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"fb610c682255b71c4e6b0fe96e2cf085019ee18b76210be52153f632"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #28 - a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"0000000000000000a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"00000000fb610c682255b71c4e6b0fe96e2cf085019ee18b76210be52153f632"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #29 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473":"a1aad43a31cf9b44b9d22b34d25ae509fb0b0c4214c12a5aff08dd4c"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #30 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000074667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473":"00000000a1aad43a31cf9b44b9d22b34d25ae509fb0b0c4214c12a5aff08dd4c"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #31 - eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #32 - eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000000000000000000000000000000000000000000000000000000000000eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"00000000eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #33 - f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"00000000000000000000000000000000000000000000000000000000f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3":"f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3"
|
||||||
|
|
||||||
|
ecp_mod_p224k1_raw #34 - f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3 mod fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224K1_ENABLED:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224K1:"00000000fffffffffffffffffffffffffffffffffffffffffffffffeffffe56d":"000000000000000000000000000000000000000000000000000000000000000000000000f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3":"00000000f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #1 - 0 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"00000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #2 - 0 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #3 - 1 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"00000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #4 - 1 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #5 - ffffffffffffffffffffffffffffffff000000000000000000000000 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000000":"ffffffffffffffffffffffffffffffff000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #6 - ffffffffffffffffffffffffffffffff000000000000000000000000 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000000":"00000000ffffffffffffffffffffffffffffffff000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #7 - ffffffffffffffffffffffffffffffff000000000000000000000002 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000002":"00000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #8 - ffffffffffffffffffffffffffffffff000000000000000000000002 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffff000000000000000000000002":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #9 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000fffffffffffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #10 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000fffffffffffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #11 - fffffffffffffffffffffffffffffffe00000000000000000000000000000001000000000000000000000000000000000000000000000000 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"fffffffffffffffffffffffffffffffe00000000000000000000000000000001000000000000000000000000000000000000000000000000":"00000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #12 - fffffffffffffffffffffffffffffffe00000000000000000000000000000001000000000000000000000000000000000000000000000000 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000fffffffffffffffffffffffffffffffe00000000000000000000000000000001000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #13 - 10000000070000000002000001000ffffffffffff9fffffffffe00000efff000070000000002000001003 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000010000000070000000002000001000ffffffffffff9fffffffffe00000efff000070000000002000001003":"00010000000010000000000000000000000000000000000000000002"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #14 - 10000000070000000002000001000ffffffffffff9fffffffffe00000efff000070000000002000001003 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000000000000000000000000000000010000000070000000002000001000ffffffffffff9fffffffffe00000efff000070000000002000001003":"0000000000010000000010000000000000000000000000000000000000000002"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #15 - 100000000000000000000000000000000000000000000000000000000000dc0000000000000000001000000010000000100000003 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000100000000000000000000000000000000000000000000000000000000000dc0000000000000000001000000010000000100000003":"ffffffff000dc0010000000000000000000000000000000100000004"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #16 - 100000000000000000000000000000000000000000000000000000000000dc0000000000000000001000000010000000100000003 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000100000000000000000000000000000000000000000000000000000000000dc0000000000000000001000000010000000100000003":"00000000ffffffff000dc0010000000000000000000000000000000100000004"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #17 - da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"f78dcf6d71dc9a70c0b8b85448798e84ecc6de4e5b9e06e5c938433e"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #18 - da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"00000000f78dcf6d71dc9a70c0b8b85448798e84ecc6de4e5b9e06e5c938433e"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #19 - cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8":"354cdf1172123e33852ec80d19ec9d4ccd744e25b31d7b8cfd0905f4"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #20 - cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000cdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8":"00000000354cdf1172123e33852ec80d19ec9d4ccd744e25b31d7b8cfd0905f4"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #21 - defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da":"f0fe9846b590817e876a540d13e72caf9f28fefe6124a81fe2d6f6e2"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #22 - defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751da":"00000000f0fe9846b590817e876a540d13e72caf9f28fefe6124a81fe2d6f6e2"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #23 - 2d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"2d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045":"ba73eac168a33be69b34f032fe83718b6744c0ece96620eb7078f1d2"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #24 - 2d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000002d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045":"00000000ba73eac168a33be69b34f032fe83718b6744c0ece96620eb7078f1d2"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #25 - 8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578":"93535ac56b2f5198ff01014333b25f701ab1db170bc00b9436540164"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #26 - 8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000008f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578":"0000000093535ac56b2f5198ff01014333b25f701ab1db170bc00b9436540164"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #27 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a":"e75f8b0a207baa6b20fc07de92870f6e64406a6b4c808a954acf13f2"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #28 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000097eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a":"00000000e75f8b0a207baa6b20fc07de92870f6e64406a6b4c808a954acf13f2"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #29 - a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"38af47df0a04dd7f70500d2cd65bdd8ced1b94c9257f6cf4a90709cc"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #30 - a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"0000000000000000a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"0000000038af47df0a04dd7f70500d2cd65bdd8ced1b94c9257f6cf4a90709cc"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #31 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473":"666b6998ddba02a3fa3edfc71a2d701c3d363d90891841665a706bfc"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #32 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000074667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473":"00000000666b6998ddba02a3fa3edfc71a2d701c3d363d90891841665a706bfc"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #33 - eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #34 - eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"00000000eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #35 - f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"ffffffffffffffffffffffffffffffff000000000000000000000001":"00000000000000000000000000000000000000000000000000000000f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3":"f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3"
|
||||||
|
|
||||||
|
ecp_mod_p224_raw #36 - f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3 mod ffffffffffffffffffffffffffffffff000000000000000000000001
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP224R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP224R1:"00000000ffffffffffffffffffffffffffffffff000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3":"00000000f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #1 - 0 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #2 - 1 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #3 - 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec":"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #4 - 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffee mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffee":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #5 - 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000012"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #6 - 3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec0000000000000000000000000000000000000000000000000000000000000190 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec0000000000000000000000000000000000000000000000000000000000000190":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #7 - 1019f0d64ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"1019f0d64ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"40480306cb475acd898bee5c819d4df896f0e1beea28ee5249cd25d1b47a552a"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #8 - 20948fa1feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"20948fa1feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e":"55fae440f62696cc5eda88470e3fefca933e8dd58f9e66bf79609027f8ad0cd1"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #9 - 3a1893ea5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"3a1893ea5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa":"065b82af5eb2c85de98852171c5ebea0c4acb089964afa2078a7fae950846007"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #10 - 20a6923522fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"20a6923522fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f":"06262d62c148698ac2c7ce4de19549b59973d7c8cc63b77e2fbf4a615a4ad8fd"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #11 - 3a248138e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"3a248138e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0":"202f2525a1e518048616f00894ed2c42456fac79468b221a4b3e61f07747ff85"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #12 - 2f450feab714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769f mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"2f450feab714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769f":"60259ca2281e2fb68e83d5f50185662be1858b0eea2dff394db09e6a50abc89c"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #13 - 1d199effe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"1d199effe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2":"514ed15a79217aca6c53e0a7f06b12858191039f20d75e013d647e877e4d4ff3"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #14 - 3423c6ec531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"3423c6ec531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"4c0d46f841f7acec77f31472ff1c28eb636f4195f3bf456e408adef5672fc7c8"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #15 - 62f1243644a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"000000000000000000000000000000000000000000000000000000000000000062f1243644a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062":"62f1243644a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062"
|
||||||
|
|
||||||
|
mbedtls_ecp_mod_p255_raw #16 - 6a606e54b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9 mod 7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE25519:"7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed":"00000000000000000000000000000000000000000000000000000000000000006a606e54b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9":"6a606e54b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #1 - 0 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #2 - 1 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #3 - fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2e mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2e":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2e"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #4 - fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc30":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #5 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000001000003d0"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #6 - fffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff85c000000000000000000000000000000000000000000000001000007a4000e9844 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffff85c000000000000000000000000000000000000000000000001000007a4000e9844":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #7 - fffffc2f000e90a0c86a0a63234e5ba641f43a7e4aecc4040e67ec85056200000000000000000000000000000000000000000000000000000000585674fd mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000fffffc2f000e90a0c86a0a63234e5ba641f43a7e4aecc4040e67ec85056200000000000000000000000000000000000000000000000000000000585674fd":"0000000000000000000000000000000000000000000000000001000003d0ffff"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #8 - fffffc2f000e90a0c86a0a63234e5ba641f43a7e4aecc4040e67ec85056200000000000000000000000000000000000000000000000000000000585674fd mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000fffffc2f000e90a0c86a0a63234e5ba641f43a7e4aecc4040e67ec85056200000000000000000000000000000000000000000000000000000000585674fd":"0000000000000000000000000000000000000000000000000001000003d0ffff"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #9 - 4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"7750cf34fcef7c7ff51f5859312e5174f0e1c93f28dae45e2516d8b6090e7185"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #10 - 82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e":"5a7ab21ef514584adcdcdf7bc486752e9d438281b9d1d069f03e873ebaac53fa"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #11 - e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa":"176e88ec572bfc18618c1d0f029a2f8f9af1fb7c3a94deb450a06338eb65a493"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #12 - 829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f":"bf3b04bb49963f8215fa3ebe5dfb6d1090375d296e865f4a77fdb010816c750d"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #13 - e89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"e89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0":"7c1f220c72feb2d2939bc98f997f974171adf69ee0f692a08cb8568e1ce6cc4d"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #14 - bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769f mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769f":"2d40578b1550dc67c8538052f87fc338b96d51bab681eefe94be31782495deab"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #15 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2":"9ca2f78a21c22340198ffd3611f7599dfc14fe9171f6cdd9260c26a903a0da57"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #16 - d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"d403d7d40f91cb6fe9161acbef9a36d1917dd0ec558916b97df8768ef8d4437d"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #17 - c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000000000000000000000000000000000000000000000000000000000000000c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062":"c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062"
|
||||||
|
|
||||||
|
ecp_mod_p256k1_raw #18 - d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256K1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f":"0000000000000000000000000000000000000000000000000000000000000000d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9":"d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #1 - 0 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #2 - 1 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #3 - ffffffff00000001000000000000000000000000fffffffffffffffffffffffe mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000ffffffff00000001000000000000000000000000fffffffffffffffffffffffe":"ffffffff00000001000000000000000000000000fffffffffffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #4 - ffffffff00000001000000000000000000000001000000000000000000000000 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000ffffffff00000001000000000000000000000001000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #5 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000fffffffeffffffffffffffffffffffff000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #6 - fffffffe00000002fffffffe0000000100000001fffffffe00000001fffffffc00000003fffffffcfffffffffffffffffffffffc000000000000000000000004 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"fffffffe00000002fffffffe0000000100000001fffffffe00000001fffffffc00000003fffffffcfffffffffffffffffffffffc000000000000000000000004":"0000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #7 - 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff":"fffffffe00000002000000020000000200000001fffffffefffffffffffffffd"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #8 - 10ffffffff00000000000000000000000000000000000000000000000000000000 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000010ffffffff00000000000000000000000000000000000000000000000000000000":"0000000fffffffeeffffffffffffffffffffffef000000000000000000000011"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #9 - aaaaaaaa0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaaaaaacaaaaaaaaaaaaaaaa00000000 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"aaaaaaaa0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaaaaaacaaaaaaaaaaaaaaaa00000000":"0000000155555552aaaaaaaa0000000000000000000000000000000000000002"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #10 - 1ffffffff000000000000000000000000000000000000000000000000000000000000000000000002000000020000000100000002 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"000000000000000000000001ffffffff000000000000000000000000000000000000000000000000000000000000000000000002000000020000000100000002":"fffffffe00000003000000040000000200000003000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #11 - 4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"e1ffcc745c985cf81f470a7681bb45cc6773ac0f1446cdb9af54308d51e8786b"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #12 - 82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e":"2d589c4ef3bb7cacb4078482b5e57a175f02953e709b7195283650834b1853d3"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #13 - e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa":"df475e8b1063fb3584dbf854a887cf88b5ee4c8fc70f1ff7a5c7f713c6f22cf7"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #14 - 829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f":"3ea7f2a4b2a2edc9183af0a467cbc10615a0e627459c333e885057f008db0488"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #15 - e89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"e89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0":"249aac0ae79cda5f1ef06e7bdbb3b10c16ed7ca2dea327ba86f9d7dd44b5ecb7"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #16 - bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769f mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769f":"c443605a9886908036e21b4fc50c548a43d4a2940d60f6a85d14eb5358bb0712"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #17 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2":"b8392b3f20d2ae5d31f39a400ea28be2bdaea69728abc77ea60fc578c8704352"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #18 - d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"6ae1a20b48b2622fecf4492f4626adae0ec91cb586cc8ba08b69750def1edb4e"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #19 - c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062":"c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062"
|
||||||
|
|
||||||
|
ecp_mod_p256_raw #20 - d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9 mod ffffffff00000001000000000000000000000000ffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP256R1:"ffffffff00000001000000000000000000000000ffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9":"d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #1 0 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #2 1 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #3 fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffe mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffe":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000fffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #4 fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff000000000000000100000000":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #5 ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000100000000ffffffffffffffff00000000"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #6 fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffe0000000000000001fffffffc000000000000000000000000000000010000000200000000fffffffe000000020000000400000000fffffffc00000004 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffe0000000000000001fffffffc000000000000000000000000000000010000000200000000fffffffe000000020000000400000000fffffffc00000004":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #7 497811378624857a2c2af60d70583376545484cfae5c812fe2999fc1abb51d18b559e8ca3b50aaf263fdf8f24bdfb98fffffffff20e65bf9099e4e73a5e8b517cf4fbeb8fd1750fdae6d43f2e53f82d5ffffffffffffffffcc6f1e06111c62e0 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"497811378624857a2c2af60d70583376545484cfae5c812fe2999fc1abb51d18b559e8ca3b50aaf263fdf8f24bdfb98fffffffff20e65bf9099e4e73a5e8b517cf4fbeb8fd1750fdae6d43f2e53f82d5ffffffffffffffffcc6f1e06111c62e0":"880044027d90f165566731fc503b20991fced973d2996e12068c7cb9475aec4292cf8a39f49fcd2a43d1c0a3b00734bc"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #8 dfdd25e96777406b3c04b8c7b406f5fcf287e1e576003a092852a6fbe517f2712b68abef41dbd35183a0614fb7222606ffffffff84396eee542f18a9189d94396c784059c17a9f18f807214ef32f2f10ffffffff8a77fac20000000000000000 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"dfdd25e96777406b3c04b8c7b406f5fcf287e1e576003a092852a6fbe517f2712b68abef41dbd35183a0614fb7222606ffffffff84396eee542f18a9189d94396c784059c17a9f18f807214ef32f2f10ffffffff8a77fac20000000000000000":"1ef4bd60183412807a7fbc78e78741bed95dac81a39e3da5eb8e6a00bb6e590e49664715ec8bd9e65fcbab9ec750aee3"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #9 783753f8a5afba6c1862eead1deb2fcdd907272be3ffd18542b24a71ee8b26cab0aa33513610ff973042bbe1637cc9fc99ad36c7f703514572cf4f5c3044469a8f5be6312c19e5d3f8fc1ac6ffffffffffffffff8c86252400000000ffffffff mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"783753f8a5afba6c1862eead1deb2fcdd907272be3ffd18542b24a71ee8b26cab0aa33513610ff973042bbe1637cc9fc99ad36c7f703514572cf4f5c3044469a8f5be6312c19e5d3f8fc1ac6ffffffffffffffff8c86252400000000ffffffff":"6327274e415715b593f92a32a665c0799bcfe9ed4a41022d8f70b163d59298f9f67d0dccf228ce25ccc1d07c2193947e"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #10 65e1d2362fce922663b7fd517586e88842a9b4bd092e93e6251c9c69f278cbf8285d99ae3b53da5ba36e56701e2b17c225f1239556c5f00117fa140218b46ebd8e34f50d0018701fa8a0a5cc00000000000000004410bcb4ffffffff00000000 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"65e1d2362fce922663b7fd517586e88842a9b4bd092e93e6251c9c69f278cbf8285d99ae3b53da5ba36e56701e2b17c225f1239556c5f00117fa140218b46ebd8e34f50d0018701fa8a0a5cc00000000000000004410bcb4ffffffff00000000":"143500ea6eb4cd793476591b63270aeb48684dc1436e1238e33d9add2cb671614ec35892de201585a56cba8091882b66"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #11 ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000ffffffff00000000000000000000000100000000000000000000000000000000ffffffff00000001 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000ffffffff00000000000000000000000100000000000000000000000000000000ffffffff00000001":"000000000000000000000000000000000000000000000000000000000000000200000001fffffffeffffffff00000002"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #12 ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"44699b77db0b68ca1690c21932fa470ca5b14998326e460edb891e1009809c40910b74c8b879624c9fc5bc57e3747a94"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #13 e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"e8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57ebf30b94fa82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93":"5a9983e4527f4c09bccc32c4f50d2b53b0c5deb57463a2f3f1333673a2de21ac0d50e96c22b7426b74fe55685d50cc45"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #14 fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86f":"2da32f562881e81e7971824f444bc1d1b543520904c0b4873e350ebd02a25f60a3d8b8cc4a4997bec64c122cf1c0ef5f"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #15 bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2":"536bb25b389d786b9df83474f8396eba42fdc19da77f28e2ebbcf851583ef5c158b91e1ac12bf29e274a1357a9a2810d"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #16 8ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"8ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2":"5a194c71d677391409aab70f854939694cbfb65adb0f6142f384b5b3c678786dfdc88315954dd201df751a148d24821a"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #17 d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f25 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f25":"4320a17caf9599d4775c58dabea9f0c052e7a306905d89886fab3ef07c0452874a803d532b92d056beafb6058ea8ff44"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #18 227eeb7b9d7d01f5769da05d205bbfcc8c69069134bccd3e1cf4f589f8e4ce0af29d115ef24bd625dd961e6830b54fa7d28f93435339774bb1e386c4fd5079e681b8f5896838b769da59b74a6c3181c81e220df848b1df78feb994a81167346 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"0227eeb7b9d7d01f5769da05d205bbfcc8c69069134bccd3e1cf4f589f8e4ce0af29d115ef24bd625dd961e6830b54fa7d28f93435339774bb1e386c4fd5079e681b8f5896838b769da59b74a6c3181c81e220df848b1df78feb994a81167346":"6045643273b3eacb359d72a1da71cf6b6e765f9c247644f8fa262631ae6dad80326260b8c0948e2554b3a9112b696f8b"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #19 d322a7353ead4efe440e2b4fda9c025a22f1a83185b98f5fc11e60de1b343f52ea748db9e020307aaeb6db2c3a038a709779ac1f45e9dd320c855fdfa7251af0930cdbd30f0ad2a81b2d19a2beaa14a7ff3fe32a30ffc4eed0a7bd04e85bfcdd mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"d322a7353ead4efe440e2b4fda9c025a22f1a83185b98f5fc11e60de1b343f52ea748db9e020307aaeb6db2c3a038a709779ac1f45e9dd320c855fdfa7251af0930cdbd30f0ad2a81b2d19a2beaa14a7ff3fe32a30ffc4eed0a7bd04e85bfcdd":"297caee1e9343871bccf79133b22154b091068e8832d5cc7e479b754d344856b50720251f17d96237c8f01986de70dc3"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #20 5c3747465cc36c270e8a35b10828d569c268a20eb78ac332e5e138e26c4454b90f756132e16dce72f18e859835e1f291 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c3747465cc36c270e8a35b10828d569c268a20eb78ac332e5e138e26c4454b90f756132e16dce72f18e859835e1f291":"5c3747465cc36c270e8a35b10828d569c268a20eb78ac332e5e138e26c4454b90f756132e16dce72f18e859835e1f291"
|
||||||
|
|
||||||
|
ecp_mod_p384_raw #21 eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c006497 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP384R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP384R1:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffff0000000000000000ffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c006497":"eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c006497"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #1 - 0 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #2 - 1 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #3 - fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffe mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffe":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffffffffffffffffffffffffffffffffffffffffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #4 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #5 - ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #6 - fffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffd0000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000004 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"fffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffffffffffffffffffffffffffffffffffffffffffffffffffd0000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000004":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #7 - 74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff387c56473a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b":"10ac5599b9a5006cfc9e7f5fb3bced4e7b78a96eaabd8d05841d60381de1006bd3a1a6388c65295d7df3452e4467a935717cefdd6647eb5e"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #8 - 4da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"4da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6e06f291b2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a":"74836e8db7b6d342c8d428c224f6c8beb3bc39e513219cc51d6cdad721ae6b3ae9824d5d36aa9dd618e0b9c9eefe4d83fc6a5a6cd73906c4"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #9 - bc1b00d92838e766ef9b6bf2d037fe2e20b6a8464174e75a5f834da70569c018eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c0064975c3747465cc36c270e8a35b10828d569c268a20eb78ac332e5e138e26c4454b9 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"bc1b00d92838e766ef9b6bf2d037fe2e20b6a8464174e75a5f834da70569c018eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c0064975c3747465cc36c270e8a35b10828d569c268a20eb78ac332e5e138e26c4454b9":"9b1f044050d649e19ff2aec05721191887c9a624c02fb0e90f9c12361e482d1921ee73abb27fc1179d1761d2debe6944389b9dd9c025d201"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #10 - 8d2f527e72daf0a54ef25c0707e338687d1f71575653a45c49390aa51cf5192bbf67da14be11d56ba0b4a2969d8055a9f03f2d71581d8e830112ff0f0948eccaf8877acf26c377c13f719726fd70bddacb4deeec0b0c995e96e6bc4d62b47204007ee4fab105d83e85e951862f0981ae mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"8d2f527e72daf0a54ef25c0707e338687d1f71575653a45c49390aa51cf5192bbf67da14be11d56ba0b4a2969d8055a9f03f2d71581d8e830112ff0f0948eccaf8877acf26c377c13f719726fd70bddacb4deeec0b0c995e96e6bc4d62b47204007ee4fab105d83e85e951862f0981ae":"3866bd37ae66a82a547e0848d73e8b28d730cf7f9a573404b5dd92bab5310508c92987076fb8a376a916bff9cba59f3fcc7c2353d0601ad7"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #11 - 84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e32748dd1db4917fc09f20dbb0dcc93f0e66dfe717c17313394391b6e2e6eacb0f0bb7be72bd6d25009aeb7fa0c4169b14 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e32748dd1db4917fc09f20dbb0dcc93f0e66dfe717c17313394391b6e2e6eacb0f0bb7be72bd6d25009aeb7fa0c4169b14":"18ef8ecc90f603615daee5e0246b96bcdbf74d7cd9febb1aad00859b60415d1c3ad96b9f2a9a85da9ba15cfe306e651e257c87aa040500bd"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #12 - 2bb3b36f29421c4021b7379f0897246a40c270b00e893302aba9e7b823fc5ad2f58105748ed5d1b7b310b730049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f3860895bfa813 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"2bb3b36f29421c4021b7379f0897246a40c270b00e893302aba9e7b823fc5ad2f58105748ed5d1b7b310b730049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f3860895bfa813":"73e27a51e32d2a66154c0782069324a5dd71d380ba02f824a2a46c717482102872b85f1d34572567384ec2a0a9f8cda37dbc59bdacdea938"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #13 - af3f5d7841b1256d5c1dc12fb5a1ae519fb8883accda6559caa538a09fc9370d3a6b86a7975b54a31497024640332b0612d4050771d7b14eb6c004cc3b8367dc3f2bb31efe9934ad0809eae3ef232a32b5459d83fbc46f1aea990e94821d46063b4dbf2ca294523d74115c86188b1044 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"af3f5d7841b1256d5c1dc12fb5a1ae519fb8883accda6559caa538a09fc9370d3a6b86a7975b54a31497024640332b0612d4050771d7b14eb6c004cc3b8367dc3f2bb31efe9934ad0809eae3ef232a32b5459d83fbc46f1aea990e94821d46063b4dbf2ca294523d74115c86188b1044":"b507f6c9f951395e8ec28a217e73939687ae265f9babf9edbc67c0154acd03a066b5baa975965bd905866fc48280057e53bfc6e75507fa34"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #14 - 7430051376e31f5aab63ad02854efa600641b4fa37a47ce41aeffafc3b45402ac02659fe2e87d4150511baeb198ababb1a16daff3da95cd2167b75dfb948f82a8317cba01c75f67e290535d868a24b7f627f285509167d4126af8090013c3273c02c6b9586b4625b475b51096c4ad652 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"7430051376e31f5aab63ad02854efa600641b4fa37a47ce41aeffafc3b45402ac02659fe2e87d4150511baeb198ababb1a16daff3da95cd2167b75dfb948f82a8317cba01c75f67e290535d868a24b7f627f285509167d4126af8090013c3273c02c6b9586b4625b475b51096c4ad652":"3a20c031673590de0866f9ba2c25a6294f135a87f2022046d6087b20b88bc27f5db8f9e8db27b38b4a8d20e0a680d2109916a8ecc4e42e21"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #15 - f4ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccd0b519a16df59c53e0d49b209200f878f362ace518d5b8bfcf9cdc725e5e01c06295e8605af06932b5006d9e556d3f190e8136bf9c643d332 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"f4ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccd0b519a16df59c53e0d49b209200f878f362ace518d5b8bfcf9cdc725e5e01c06295e8605af06932b5006d9e556d3f190e8136bf9c643d332":"0ece49e2f747b4bc43afbacb8fe99e8b7301401d8a9108093fee65a9f4ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238db"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #16 - 8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578 mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578":"8f54f8ceacaab39e83844b40ffa9b9f15c14bc4a829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c729578"
|
||||||
|
|
||||||
|
ecp_mod_p448_raw #17 - 97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a mod fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_CURVE448:"fffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000097eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a":"97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #1 0 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #2 0 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #3 1 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #4 1 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #5 1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe":"000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #6 1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe":"00000000000001fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #7 20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #8 20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #9 3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000003fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #10 3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000003fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #11 1efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000001ef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f000000 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000001efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000001ef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f000000":"000000e70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e800001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #12 1efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000001ef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f000000 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000001efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000001ef0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f000000":"00000000000000e70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e800001"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #13 3cc2e82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000003cc2e82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"0000001457a8ec7792615e3836830063384fff38bc7f01a3a61ae6b8501ac9b29d9a6153266e3a00304e71c0d8494ce649448b84816042bb2cf27e29c58fe596638c3908"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #14 3cc2e82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000003cc2e82523e86feac7eb7dc38f519b91751dacdbd47d364be8049a372db8f6e405d93ffed9235288bc781ae66267594c9c9500925e4749b575bd13653f8dd9b1f282e4067c3584ee207f8da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e433715ba2bdd177219d30e7a269fd95bafc8f2a4d27bdcf4bb99f4bea973":"000000000000001457a8ec7792615e3836830063384fff38bc7f01a3a61ae6b8501ac9b29d9a6153266e3a00304e71c0d8494ce649448b84816042bb2cf27e29c58fe596638c3908"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #15 17052829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57eb mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000017052829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57eb":"0000015e8a89f773c0a39ccfbb986d7fbfa3b711862ce6e8f7c6ab7bae09ae0df71988ad7ad08f71a2cc442404732b9c3c9c896458a542b0d7fbf619a54155e989f590cd"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #16 17052829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57eb mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000017052829e07b0829a48d422fe99a22c70501e533c91352d3d854e061b90303b08c6e33c7295782d6c797f8f7d9b782a1be9cd8697bbd0e2520e33e44c50556c71c4a66148a86fe8624fab5186ee32ee8d7ee9770348a05d300cb90706a045defc044a09325626e6b58de744ab6cce80877b6f71e1f6d2ef8acd128b4f2fc15f3f57eb":"000000000000015e8a89f773c0a39ccfbb986d7fbfa3b711862ce6e8f7c6ab7bae09ae0df71988ad7ad08f71a2cc442404732b9c3c9c896458a542b0d7fbf619a54155e989f590cd"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #17 21f15a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f1 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000021f15a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f1":"000001cbe813ada3338785ffd1f08f02bcf20f720cb18ccfd6e2430303a21c1f5f0d16f74b4e5d6c02bc3a44e731e953140adc2e7f034b19a9d7fc82d1504296b20ed064"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #18 21f15a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f1 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000021f15a7a83ee0761ebfd2bd143fa9b714210c665d7435c1066932f4767f26294365b2721dea3bf63f23d0dbe53fcafb2147df5ca495fa5a91c89b97eeab64ca2ce6bc5d3fd983c34c769fe89204e2e8168561867e5e15bc01bfce6a27e0dfcbf8754472154e76e4c11ab2fec3f6b32e8d4b8a8f54f8ceacaab39e83844b40ffa9b9f1":"00000000000001cbe813ada3338785ffd1f08f02bcf20f720cb18ccfd6e2430303a21c1f5f0d16f74b4e5d6c02bc3a44e731e953140adc2e7f034b19a9d7fc82d1504296b20ed064"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #19 381bc2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff3 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000381bc2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff3":"00000072541a267a63a177e90dac52aaa5cec38dbb2c134fd9dc9fa0d2b72b2c68292a3d5e9d131ff22b2e92d513c3511248963edeb798c68bd02852e2ba380281267624"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #20 381bc2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff3 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000381bc2a838af8d5c44a4eb3172062d08f1bb2531d6460f0caeef038c89b38a8acb5137c9260dc74e088a9b9492f258ebdbfe3eb9ac688b9d39cca91551e8259cc60b17604e4b4e73695c3e652c71a74667bffe202849da9643a295a9ac6decbd4d3e2d4dec9ef83f0be4e80371eb97f81375eecc1cb6347733e847d718d733ff98ff3":"0000000000000072541a267a63a177e90dac52aaa5cec38dbb2c134fd9dc9fa0d2b72b2c68292a3d5e9d131ff22b2e92d513c3511248963edeb798c68bd02852e2ba380281267624"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #21 34816c8c69069134bccd3e1cf4f589f8e4ce0af29d115ef24bd625dd961e6830b54fa7d28f93435339774bb1e386c4fd5079e681b8f5896838b769da59b74a6c3181c81e220df848b1df78feb994a81167346d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000034816c8c69069134bccd3e1cf4f589f8e4ce0af29d115ef24bd625dd961e6830b54fa7d28f93435339774bb1e386c4fd5079e681b8f5896838b769da59b74a6c3181c81e220df848b1df78feb994a81167346d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6":"000001c08d468427b914c3ddf9dc80f22d663a6d451871913fc179b47dcb278de8572dcdcae36f67e95a2143352f83771f77f94d95165633f0efeabc5917ae16a2c22b52"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #22 34816c8c69069134bccd3e1cf4f589f8e4ce0af29d115ef24bd625dd961e6830b54fa7d28f93435339774bb1e386c4fd5079e681b8f5896838b769da59b74a6c3181c81e220df848b1df78feb994a81167346d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000034816c8c69069134bccd3e1cf4f589f8e4ce0af29d115ef24bd625dd961e6830b54fa7d28f93435339774bb1e386c4fd5079e681b8f5896838b769da59b74a6c3181c81e220df848b1df78feb994a81167346d4c0dca8b4c9e755cc9c3adcf515a8234da4daeb4f3f87777ad1f45ae9500ec9c5e2486c44a4a8f69dc8db48e86ec9c6":"00000000000001c08d468427b914c3ddf9dc80f22d663a6d451871913fc179b47dcb278de8572dcdcae36f67e95a2143352f83771f77f94d95165633f0efeabc5917ae16a2c22b52"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #23 397846c4454b90f756132e16dce72f18e859835e1f291d322a7353ead4efe440e2b4fda9c025a22f1a83185b98f5fc11e60de1b343f52ea748db9e020307aaeb6db2c3a038a709779ac1f45e9dd320c855fdfa7251af0930cdbd30f0ad2a81b2d19a2beaa14a7ff3fe32a30ffc4eed0a7bd04e85bfcdd0227eeb7b9d7d01f5769da05 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000397846c4454b90f756132e16dce72f18e859835e1f291d322a7353ead4efe440e2b4fda9c025a22f1a83185b98f5fc11e60de1b343f52ea748db9e020307aaeb6db2c3a038a709779ac1f45e9dd320c855fdfa7251af0930cdbd30f0ad2a81b2d19a2beaa14a7ff3fe32a30ffc4eed0a7bd04e85bfcdd0227eeb7b9d7d01f5769da05":"000000f7fc39ac9af40166cfdf5a941945fe272273400be9dbf66d26a9aa294f9a4f20b8669762a92c515bfe49c2a1b680884c35576996fcab9d28fe96c7e03794c13573"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #24 397846c4454b90f756132e16dce72f18e859835e1f291d322a7353ead4efe440e2b4fda9c025a22f1a83185b98f5fc11e60de1b343f52ea748db9e020307aaeb6db2c3a038a709779ac1f45e9dd320c855fdfa7251af0930cdbd30f0ad2a81b2d19a2beaa14a7ff3fe32a30ffc4eed0a7bd04e85bfcdd0227eeb7b9d7d01f5769da05 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000397846c4454b90f756132e16dce72f18e859835e1f291d322a7353ead4efe440e2b4fda9c025a22f1a83185b98f5fc11e60de1b343f52ea748db9e020307aaeb6db2c3a038a709779ac1f45e9dd320c855fdfa7251af0930cdbd30f0ad2a81b2d19a2beaa14a7ff3fe32a30ffc4eed0a7bd04e85bfcdd0227eeb7b9d7d01f5769da05":"00000000000000f7fc39ac9af40166cfdf5a941945fe272273400be9dbf66d26a9aa294f9a4f20b8669762a92c515bfe49c2a1b680884c35576996fcab9d28fe96c7e03794c13573"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #25 2c3296e6bc4d62b47204007ee4fab105d83e85e951862f0981aebc1b00d92838e766ef9b6bf2d037fe2e20b6a8464174e75a5f834da70569c018eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c0064975c3747465cc36c270e8a35b10828d569c268a20eb78ac332 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000002c3296e6bc4d62b47204007ee4fab105d83e85e951862f0981aebc1b00d92838e766ef9b6bf2d037fe2e20b6a8464174e75a5f834da70569c018eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c0064975c3747465cc36c270e8a35b10828d569c268a20eb78ac332":"000001d123c234f42d2e58041345bd0f71b6b28c3cc2371dd850a940dd5e64a018ce7799f3572583256880967347a29a7fe4269abbb9f757dbab8a49cede37ba016820f1"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #26 2c3296e6bc4d62b47204007ee4fab105d83e85e951862f0981aebc1b00d92838e766ef9b6bf2d037fe2e20b6a8464174e75a5f834da70569c018eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c0064975c3747465cc36c270e8a35b10828d569c268a20eb78ac332 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000002c3296e6bc4d62b47204007ee4fab105d83e85e951862f0981aebc1b00d92838e766ef9b6bf2d037fe2e20b6a8464174e75a5f834da70569c018eb2b5693babb7fbb0a76c196067cfdcb11457d9cf45e2fa01d7f4275153924800600571fac3a5b263fdf57cd2c0064975c3747465cc36c270e8a35b10828d569c268a20eb78ac332":"00000000000001d123c234f42d2e58041345bd0f71b6b28c3cc2371dd850a940dd5e64a018ce7799f3572583256880967347a29a7fe4269abbb9f757dbab8a49cede37ba016820f1"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #27 9d23b4917fc09f20dbb0dcc93f0e66dfe717c17313394391b6e2e6eacb0f0bb7be72bd6d25009aeb7fa0c4169b148d2f527e72daf0a54ef25c0707e338687d1f71575653a45c49390aa51cf5192bbf67da14be11d56ba0b4a2969d8055a9f03f2d71581d8e830112ff0f0948eccaf8877acf26c377c13f719726fd70bddacb4deeec mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000009d23b4917fc09f20dbb0dcc93f0e66dfe717c17313394391b6e2e6eacb0f0bb7be72bd6d25009aeb7fa0c4169b148d2f527e72daf0a54ef25c0707e338687d1f71575653a45c49390aa51cf5192bbf67da14be11d56ba0b4a2969d8055a9f03f2d71581d8e830112ff0f0948eccaf8877acf26c377c13f719726fd70bddacb4deeec":"000001a5e82ded1c29889b12f5637dcb469b4a0849f28ef53d566b720ef3cb0f77c50950917c4515816074ced9aaf81882ce127865fce5399219105500f4af76ff8c7ea4"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #28 9d23b4917fc09f20dbb0dcc93f0e66dfe717c17313394391b6e2e6eacb0f0bb7be72bd6d25009aeb7fa0c4169b148d2f527e72daf0a54ef25c0707e338687d1f71575653a45c49390aa51cf5192bbf67da14be11d56ba0b4a2969d8055a9f03f2d71581d8e830112ff0f0948eccaf8877acf26c377c13f719726fd70bddacb4deeec mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000009d23b4917fc09f20dbb0dcc93f0e66dfe717c17313394391b6e2e6eacb0f0bb7be72bd6d25009aeb7fa0c4169b148d2f527e72daf0a54ef25c0707e338687d1f71575653a45c49390aa51cf5192bbf67da14be11d56ba0b4a2969d8055a9f03f2d71581d8e830112ff0f0948eccaf8877acf26c377c13f719726fd70bddacb4deeec":"00000000000001a5e82ded1c29889b12f5637dcb469b4a0849f28ef53d566b720ef3cb0f77c50950917c4515816074ced9aaf81882ce127865fce5399219105500f4af76ff8c7ea4"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #29 12b84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e3 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e3":"0000012b84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e3"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #30 12b84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e3 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012b84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e3":"000000000000012b84ae65e920a63ac1f2b64df6dff07870c9d531ae72a47403063238da1a1fe3f9d6a179fa50f96cd4aff9261aa92c0e6f17ec940639bc2ccdf572df00790813e3"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #31 166049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f38608 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT32
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000166049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f38608":"00000166049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f38608"
|
||||||
|
|
||||||
|
ecp_mod_p521_raw #32 166049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f38608 mod 1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
|
depends_on:MBEDTLS_ECP_DP_SECP521R1_ENABLED:MBEDTLS_ECP_NIST_OPTIM:MBEDTLS_HAVE_INT64
|
||||||
|
ecp_mod_p_generic_raw:MBEDTLS_ECP_DP_SECP521R1:"00000000000001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff":"0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000166049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f38608":"0000000000000166049dd332a73fa0b26b75196cf87eb8a09b27ec714307c68c425424a1574f1eedf5b0f16cdfdb839424d201e653f53d6883ca1c107ca6e706649889c0c7f38608"
|
||||||
|
|
||||||
|
# End of automatically generated file.
|
||||||
39
tests/suites/test_suite_psa_crypto_constant_time.data
Normal file
39
tests/suites/test_suite_psa_crypto_constant_time.data
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
CT encrypt CHACHA20
|
||||||
|
depends_on:PSA_WANT_ALG_STREAM_CIPHER:PSA_WANT_KEY_TYPE_CHACHA20
|
||||||
|
ct_cipher_encrypt:PSA_ALG_STREAM_CIPHER:PSA_KEY_TYPE_CHACHA20:"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f":"000000000000004a00000000":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"af051e40bba0354981329a806a140eafd258a22a6dcb4bb9f6569cb3efe2deaf837bd87ca20b5ba12081a306af0eb35c41a239d20dfc74c81771560d9c9c1e4b224f51f3401bd9e12fde276fb8631ded8c131f823d2c06e27e4fcaec9ef3cf788a3b0aa372600a92b57974cded2b9334794cba40c63e34cdea212c4cf07d41b769a6749f3f630f4122cafe28ec4dc47e26d4346d70b98c73f3e9c53ac40c5945398b6eda1a832c89c167eacd901d7e2bf363"
|
||||||
|
|
||||||
|
CT encrypt AES-CTR
|
||||||
|
depends_on:PSA_WANT_ALG_CTR:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_encrypt:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"dd3b5e5319b7591daab1e1a92687feb2":"396ee84fb75fdbb5c2b13c7fe5a654aa"
|
||||||
|
|
||||||
|
CT encrypt AES-CBC-nopad
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_NO_PADDING:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_encrypt:PSA_ALG_CBC_NO_PADDING:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"49e4e66c89a86b67758df89db9ad6955":"396ee84fb75fdbb5c2b13c7fe5a654aa"
|
||||||
|
|
||||||
|
CT encrypt AES-CBC-PKCS7
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_PKCS7:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_encrypt:PSA_ALG_CBC_PKCS7:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"6bc1bee22e409f96e93d7e117393172a":"a076ec9dfbe47d52afc357336f20743bca7e8a15dc3c776436314293031cd4f3"
|
||||||
|
|
||||||
|
CT decrypt CHACHA20
|
||||||
|
depends_on:PSA_WANT_ALG_STREAM_CIPHER:PSA_WANT_KEY_TYPE_CHACHA20
|
||||||
|
ct_cipher_decrypt:PSA_ALG_STREAM_CIPHER:PSA_KEY_TYPE_CHACHA20:"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f":"000000000000004a00000000":"af051e40bba0354981329a806a140eafd258a22a6dcb4bb9f6569cb3efe2deaf837bd87ca20b5ba12081a306af0eb35c41a239d20dfc74c81771560d9c9c1e4b224f51f3401bd9e12fde276fb8631ded8c131f823d2c06e27e4fcaec9ef3cf788a3b0aa372600a92b57974cded2b9334794cba40c63e34cdea212c4cf07d41b769a6749f3f630f4122cafe28ec4dc47e26d4346d70b98c73f3e9c53ac40c5945398b6eda1a832c89c167eacd901d7e2bf363":"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":0
|
||||||
|
|
||||||
|
CT decrypt AES-CTR
|
||||||
|
depends_on:PSA_WANT_ALG_CTR:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_decrypt:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"396ee84fb75fdbb5c2b13c7fe5a654aa":"dd3b5e5319b7591daab1e1a92687feb2":0
|
||||||
|
|
||||||
|
CT decrypt AES-CBC-nopad
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_NO_PADDING:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_decrypt:PSA_ALG_CBC_NO_PADDING:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"396ee84fb75fdbb5c2b13c7fe5a654aa":"49e4e66c89a86b67758df89db9ad6955":0
|
||||||
|
|
||||||
|
CT decrypt AES-CBC-PKCS7 good
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_PKCS7:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_decrypt:PSA_ALG_CBC_PKCS7:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"a076ec9dfbe47d52afc357336f20743bca7e8a15dc3c776436314293031cd4f3":"6bc1bee22e409f96e93d7e117393172a":0
|
||||||
|
|
||||||
|
CT decrypt AES-CBC-PKCS7 invalid padding @0
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_PKCS7:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_decrypt:PSA_ALG_CBC_PKCS7:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"a076ec9dfbe47d52afc357336f20743bf42ddf64c420325affb343d5d5f5d5dc":"6bc1bee22e409f96e93d7e117393172a":1
|
||||||
|
|
||||||
|
CT decrypt AES-CBC-PKCS7 invalid padding @16
|
||||||
|
depends_on:PSA_WANT_ALG_CBC_PKCS7:PSA_WANT_KEY_TYPE_AES:HAVE_CONSTANT_TIME_AES
|
||||||
|
ct_cipher_decrypt:PSA_ALG_CBC_PKCS7:PSA_KEY_TYPE_AES:"2b7e151628aed2a6abf7158809cf4f3c":"2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a":"a076ec9dfbe47d52afc357336f20743ba3d6a86d0a9d172eeb1b754512d04416":"6bc1bee22e409f96e93d7e117393172a":1
|
||||||
310
tests/suites/test_suite_psa_crypto_constant_time.function
Normal file
310
tests/suites/test_suite_psa_crypto_constant_time.function
Normal file
@@ -0,0 +1,310 @@
|
|||||||
|
/* BEGIN_HEADER */
|
||||||
|
/* Positive test cases for PSA crypto APIs that assert constant-time
|
||||||
|
* (more accurately constant-flow) behavior. */
|
||||||
|
|
||||||
|
#include <psa/crypto.h>
|
||||||
|
#include <test/constant_flow.h>
|
||||||
|
|
||||||
|
/* Our software AES implementation is not constant-time. For constant-time
|
||||||
|
* testing involving AES, require a hardware-assisted AES that is
|
||||||
|
* constant-time.
|
||||||
|
*
|
||||||
|
* We assume that if the hardware-assisted version is available in the build,
|
||||||
|
* it will be available at runtime. The AES tests will fail if run on a
|
||||||
|
* processor without AESNI/AESCE.
|
||||||
|
*/
|
||||||
|
#include "aesce.h"
|
||||||
|
#include "aesni.h"
|
||||||
|
#if defined(MBEDTLS_AESCE_HAVE_CODE) || defined(MBEDTLS_AESNI_HAVE_CODE)
|
||||||
|
#define HAVE_CONSTANT_TIME_AES
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static int ct_cipher_multipart(psa_cipher_operation_t *operation,
|
||||||
|
const data_t *iv,
|
||||||
|
const data_t *input,
|
||||||
|
size_t output_size,
|
||||||
|
const data_t *expected_output,
|
||||||
|
psa_status_t expected_finish_status)
|
||||||
|
{
|
||||||
|
unsigned char *output = NULL;
|
||||||
|
size_t update_length = SIZE_MAX;
|
||||||
|
size_t finish_length = SIZE_MAX;
|
||||||
|
psa_status_t status;
|
||||||
|
int ok = 0;
|
||||||
|
|
||||||
|
TEST_CALLOC(output, output_size);
|
||||||
|
|
||||||
|
PSA_ASSERT(psa_cipher_set_iv(operation, iv->x, iv->len));
|
||||||
|
status = psa_cipher_update(operation,
|
||||||
|
input->x, input->len,
|
||||||
|
output, output_size, &update_length);
|
||||||
|
if (expected_finish_status == PSA_ERROR_BUFFER_TOO_SMALL &&
|
||||||
|
status == PSA_ERROR_BUFFER_TOO_SMALL) {
|
||||||
|
/* The output buffer is already too small for update. That's ok. */
|
||||||
|
ok = 1;
|
||||||
|
goto exit;
|
||||||
|
} else {
|
||||||
|
PSA_ASSERT(status);
|
||||||
|
}
|
||||||
|
TEST_LE_U(update_length, output_size);
|
||||||
|
TEST_EQUAL(psa_cipher_finish(operation,
|
||||||
|
output + update_length,
|
||||||
|
output_size - update_length,
|
||||||
|
&finish_length),
|
||||||
|
expected_finish_status);
|
||||||
|
|
||||||
|
TEST_CF_PUBLIC(output, output_size);
|
||||||
|
if (expected_finish_status == PSA_SUCCESS) {
|
||||||
|
TEST_MEMORY_COMPARE(expected_output->x, expected_output->len,
|
||||||
|
output, update_length + finish_length);
|
||||||
|
}
|
||||||
|
ok = 1;
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_free(output);
|
||||||
|
psa_cipher_abort(operation);
|
||||||
|
return ok;
|
||||||
|
}
|
||||||
|
|
||||||
|
static int ct_cipher_decrypt_oneshot(mbedtls_svc_key_id_t key,
|
||||||
|
psa_algorithm_t alg,
|
||||||
|
const data_t *input,
|
||||||
|
size_t output_size,
|
||||||
|
const data_t *expected_output,
|
||||||
|
psa_status_t expected_status)
|
||||||
|
{
|
||||||
|
unsigned char *output = NULL;
|
||||||
|
size_t output_length = SIZE_MAX;
|
||||||
|
int ok = 0;
|
||||||
|
|
||||||
|
TEST_CALLOC(output, output_size);
|
||||||
|
|
||||||
|
TEST_EQUAL(psa_cipher_decrypt(key, alg,
|
||||||
|
input->x, input->len,
|
||||||
|
output, output_size, &output_length),
|
||||||
|
expected_status);
|
||||||
|
|
||||||
|
TEST_CF_PUBLIC(output, output_size);
|
||||||
|
if (expected_status == PSA_SUCCESS) {
|
||||||
|
TEST_MEMORY_COMPARE(expected_output->x, expected_output->len,
|
||||||
|
output, output_length);
|
||||||
|
}
|
||||||
|
ok = 1;
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_free(output);
|
||||||
|
return ok;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* END_HEADER */
|
||||||
|
|
||||||
|
/* BEGIN_DEPENDENCIES
|
||||||
|
* depends_on:MBEDTLS_PSA_CRYPTO_C
|
||||||
|
* END_DEPENDENCIES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
/* Known answer test for cipher multipart encryption.
|
||||||
|
* There is no known answer test for one-shot encryption because that
|
||||||
|
* uses a random IV. */
|
||||||
|
void ct_cipher_encrypt(int alg_arg,
|
||||||
|
int key_type_arg, const data_t *key_data,
|
||||||
|
const data_t *iv,
|
||||||
|
const data_t *plaintext,
|
||||||
|
const data_t *expected_ciphertext)
|
||||||
|
{
|
||||||
|
psa_key_type_t key_type = key_type_arg;
|
||||||
|
psa_algorithm_t alg = alg_arg;
|
||||||
|
size_t sufficient_output_size =
|
||||||
|
PSA_CIPHER_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext->len);
|
||||||
|
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
||||||
|
mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT;
|
||||||
|
psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT;
|
||||||
|
|
||||||
|
PSA_INIT();
|
||||||
|
TEST_CF_SECRET(key_data->x, key_data->len);
|
||||||
|
TEST_CF_SECRET(plaintext->x, plaintext->len);
|
||||||
|
//TEST_ASSERT(key_data->x[0] != 42); // uncomment to trip constant-flow test
|
||||||
|
|
||||||
|
psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
|
||||||
|
psa_set_key_algorithm(&attributes, alg);
|
||||||
|
psa_set_key_type(&attributes, key_type);
|
||||||
|
PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, &key));
|
||||||
|
|
||||||
|
/* Output buffer too small for the actual output */
|
||||||
|
mbedtls_test_set_step(1);
|
||||||
|
PSA_ASSERT(psa_cipher_encrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, plaintext,
|
||||||
|
expected_ciphertext->len - 1,
|
||||||
|
expected_ciphertext,
|
||||||
|
PSA_ERROR_BUFFER_TOO_SMALL)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (expected_ciphertext->len < sufficient_output_size) {
|
||||||
|
/* For a buffer of intermediate size (between the actual output length
|
||||||
|
* and the guaranteed sufficient size), either PSA_SUCCESS or
|
||||||
|
* PSA_ERROR_BUFFER_TOO_SMALL is acceptable. Require what the our
|
||||||
|
* built-in implementation currently does. */
|
||||||
|
psa_status_t intermediate_size_status = PSA_SUCCESS;
|
||||||
|
|
||||||
|
/* Output buffer size just large enough for the actual output
|
||||||
|
* but less than the guaranteed sufficient size */
|
||||||
|
mbedtls_test_set_step(2);
|
||||||
|
PSA_ASSERT(psa_cipher_encrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, plaintext,
|
||||||
|
expected_ciphertext->len,
|
||||||
|
expected_ciphertext,
|
||||||
|
intermediate_size_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Output buffer size large enough for the actual output
|
||||||
|
* but one less than the guaranteed sufficient size */
|
||||||
|
mbedtls_test_set_step(3);
|
||||||
|
PSA_ASSERT(psa_cipher_encrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, plaintext,
|
||||||
|
sufficient_output_size - 1,
|
||||||
|
expected_ciphertext,
|
||||||
|
intermediate_size_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Guaranteed sufficient output buffer size */
|
||||||
|
mbedtls_test_set_step(4);
|
||||||
|
PSA_ASSERT(psa_cipher_encrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, plaintext,
|
||||||
|
sufficient_output_size,
|
||||||
|
expected_ciphertext,
|
||||||
|
PSA_SUCCESS)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
psa_cipher_abort(&operation);
|
||||||
|
psa_destroy_key(key);
|
||||||
|
PSA_DONE();
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
/* Known answer for cipher decryption (one-shot and multipart).
|
||||||
|
* Supports good cases and invalid padding cases. */
|
||||||
|
void ct_cipher_decrypt(int alg_arg,
|
||||||
|
int key_type_arg, const data_t *key_data,
|
||||||
|
const data_t *iv,
|
||||||
|
const data_t *ciphertext,
|
||||||
|
const data_t *expected_plaintext,
|
||||||
|
int expect_invalid_padding)
|
||||||
|
{
|
||||||
|
psa_key_type_t key_type = key_type_arg;
|
||||||
|
psa_algorithm_t alg = alg_arg;
|
||||||
|
size_t sufficient_output_size =
|
||||||
|
PSA_CIPHER_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext->len);
|
||||||
|
psa_status_t expected_status =
|
||||||
|
expect_invalid_padding ? PSA_ERROR_INVALID_PADDING : PSA_SUCCESS;
|
||||||
|
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
||||||
|
mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT;
|
||||||
|
psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT;
|
||||||
|
data_t input = { NULL, iv->len + ciphertext->len };
|
||||||
|
|
||||||
|
PSA_INIT();
|
||||||
|
TEST_CF_SECRET(key_data->x, key_data->len);
|
||||||
|
TEST_CF_SECRET(ciphertext->x, ciphertext->len);
|
||||||
|
//TEST_ASSERT(key_data->x[0] != 42); // uncomment to trip constant-flow test
|
||||||
|
|
||||||
|
TEST_CALLOC(input.x, input.len);
|
||||||
|
memcpy(input.x, iv->x, iv->len);
|
||||||
|
memcpy(input.x + iv->len, ciphertext->x, ciphertext->len);
|
||||||
|
|
||||||
|
psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT);
|
||||||
|
psa_set_key_algorithm(&attributes, alg);
|
||||||
|
psa_set_key_type(&attributes, key_type);
|
||||||
|
PSA_ASSERT(psa_import_key(&attributes, key_data->x, key_data->len, &key));
|
||||||
|
|
||||||
|
/* Output buffer too small for the actual output */
|
||||||
|
mbedtls_test_set_step(1);
|
||||||
|
PSA_ASSERT(psa_cipher_decrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, ciphertext,
|
||||||
|
expected_plaintext->len - 1,
|
||||||
|
expected_plaintext,
|
||||||
|
PSA_ERROR_BUFFER_TOO_SMALL)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
if (!ct_cipher_decrypt_oneshot(key, alg, &input,
|
||||||
|
expected_plaintext->len - 1,
|
||||||
|
expected_plaintext,
|
||||||
|
PSA_ERROR_BUFFER_TOO_SMALL)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (expected_plaintext->len < sufficient_output_size) {
|
||||||
|
/* For a buffer of intermediate size (between the actual output length
|
||||||
|
* and the guaranteed sufficient size), either PSA_SUCCESS (or
|
||||||
|
* PSA_ERROR_INVALID_PADDING if the padding is invalid) or
|
||||||
|
* PSA_ERROR_BUFFER_TOO_SMALL is acceptable. Require what the our
|
||||||
|
* built-in implementation currently does. */
|
||||||
|
psa_status_t intermediate_size_status = expected_status;
|
||||||
|
if (alg == PSA_ALG_CBC_PKCS7) {
|
||||||
|
intermediate_size_status = PSA_ERROR_BUFFER_TOO_SMALL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Output buffer size just large enough for the actual output
|
||||||
|
* but less than the guaranteed sufficient size */
|
||||||
|
mbedtls_test_set_step(2);
|
||||||
|
PSA_ASSERT(psa_cipher_decrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, ciphertext,
|
||||||
|
expected_plaintext->len,
|
||||||
|
expected_plaintext,
|
||||||
|
intermediate_size_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
if (!ct_cipher_decrypt_oneshot(key, alg, &input,
|
||||||
|
expected_plaintext->len - 1,
|
||||||
|
expected_plaintext,
|
||||||
|
intermediate_size_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Output buffer size large enough for the actual output
|
||||||
|
* but one less than the guaranteed sufficient size */
|
||||||
|
mbedtls_test_set_step(3);
|
||||||
|
PSA_ASSERT(psa_cipher_decrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, ciphertext,
|
||||||
|
sufficient_output_size - 1,
|
||||||
|
expected_plaintext,
|
||||||
|
intermediate_size_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
if (!ct_cipher_decrypt_oneshot(key, alg, &input,
|
||||||
|
sufficient_output_size - 1,
|
||||||
|
expected_plaintext,
|
||||||
|
intermediate_size_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Guaranteed sufficient output buffer size */
|
||||||
|
mbedtls_test_set_step(4);
|
||||||
|
PSA_ASSERT(psa_cipher_decrypt_setup(&operation, key, alg));
|
||||||
|
if (!ct_cipher_multipart(&operation, iv, ciphertext,
|
||||||
|
sufficient_output_size,
|
||||||
|
expected_plaintext,
|
||||||
|
expected_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
if (!ct_cipher_decrypt_oneshot(key, alg, &input,
|
||||||
|
sufficient_output_size,
|
||||||
|
expected_plaintext,
|
||||||
|
expected_status)) {
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
exit:
|
||||||
|
mbedtls_free(input.x);
|
||||||
|
psa_cipher_abort(&operation);
|
||||||
|
psa_destroy_key(key);
|
||||||
|
PSA_DONE();
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
415
tests/suites/test_suite_psa_crypto_generate_key.generated.data
Normal file
415
tests/suites/test_suite_psa_crypto_generate_key.generated.data
Normal file
@@ -0,0 +1,415 @@
|
|||||||
|
# Automatically generated by generate_psa_tests.py. Do not edit!
|
||||||
|
|
||||||
|
PSA AES 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_AES
|
||||||
|
generate_key:PSA_KEY_TYPE_AES:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA AES 192-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_AES
|
||||||
|
generate_key:PSA_KEY_TYPE_AES:192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA AES 256-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_AES
|
||||||
|
generate_key:PSA_KEY_TYPE_AES:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ARIA 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ARIA
|
||||||
|
generate_key:PSA_KEY_TYPE_ARIA:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ARIA 192-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ARIA
|
||||||
|
generate_key:PSA_KEY_TYPE_ARIA:192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ARIA 256-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_ARIA
|
||||||
|
generate_key:PSA_KEY_TYPE_ARIA:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA CAMELLIA 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_CAMELLIA
|
||||||
|
generate_key:PSA_KEY_TYPE_CAMELLIA:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA CAMELLIA 192-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_CAMELLIA
|
||||||
|
generate_key:PSA_KEY_TYPE_CAMELLIA:192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA CAMELLIA 256-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_CAMELLIA
|
||||||
|
generate_key:PSA_KEY_TYPE_CAMELLIA:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA CHACHA20 256-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_CHACHA20
|
||||||
|
generate_key:PSA_KEY_TYPE_CHACHA20:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DERIVE 120-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DERIVE
|
||||||
|
generate_key:PSA_KEY_TYPE_DERIVE:120:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DERIVE 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DERIVE
|
||||||
|
generate_key:PSA_KEY_TYPE_DERIVE:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DES 64-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DES
|
||||||
|
generate_key:PSA_KEY_TYPE_DES:64:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DES 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DES
|
||||||
|
generate_key:PSA_KEY_TYPE_DES:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DES 192-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_DES
|
||||||
|
generate_key:PSA_KEY_TYPE_DES:192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA HMAC 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
generate_key:PSA_KEY_TYPE_HMAC:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA HMAC 160-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
generate_key:PSA_KEY_TYPE_HMAC:160:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA HMAC 224-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
generate_key:PSA_KEY_TYPE_HMAC:224:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA HMAC 256-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
generate_key:PSA_KEY_TYPE_HMAC:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA HMAC 384-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
generate_key:PSA_KEY_TYPE_HMAC:384:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA HMAC 512-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_HMAC
|
||||||
|
generate_key:PSA_KEY_TYPE_HMAC:512:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA PASSWORD 48-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD
|
||||||
|
generate_key:PSA_KEY_TYPE_PASSWORD:48:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA PASSWORD 168-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD
|
||||||
|
generate_key:PSA_KEY_TYPE_PASSWORD:168:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA PASSWORD 336-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD
|
||||||
|
generate_key:PSA_KEY_TYPE_PASSWORD:336:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA PASSWORD_HASH 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD_HASH
|
||||||
|
generate_key:PSA_KEY_TYPE_PASSWORD_HASH:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA PASSWORD_HASH 256-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_PASSWORD_HASH
|
||||||
|
generate_key:PSA_KEY_TYPE_PASSWORD_HASH:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_KEY_TYPE_PEPPER
|
||||||
|
## PSA PEPPER 128-bit
|
||||||
|
## depends_on:PSA_WANT_KEY_TYPE_PEPPER
|
||||||
|
## generate_key:PSA_KEY_TYPE_PEPPER:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_KEY_TYPE_PEPPER
|
||||||
|
## PSA PEPPER 256-bit
|
||||||
|
## depends_on:PSA_WANT_KEY_TYPE_PEPPER
|
||||||
|
## generate_key:PSA_KEY_TYPE_PEPPER:256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA RAW_DATA 8-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RAW_DATA
|
||||||
|
generate_key:PSA_KEY_TYPE_RAW_DATA:8:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA RAW_DATA 40-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RAW_DATA
|
||||||
|
generate_key:PSA_KEY_TYPE_RAW_DATA:40:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA RAW_DATA 128-bit
|
||||||
|
depends_on:PSA_WANT_KEY_TYPE_RAW_DATA
|
||||||
|
generate_key:PSA_KEY_TYPE_RAW_DATA:128:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA RSA_KEY_PAIR 1024-bit
|
||||||
|
depends_on:PSA_VENDOR_RSA_GENERATE_MIN_KEY_BITS <= 1024:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_RSA_KEY_PAIR:1024:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA RSA_KEY_PAIR 1536-bit
|
||||||
|
depends_on:PSA_VENDOR_RSA_GENERATE_MIN_KEY_BITS <= 1536:PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_RSA_KEY_PAIR:1536:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA RSA_PUBLIC_KEY 1024-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_RSA_PUBLIC_KEY:1024:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA RSA_PUBLIC_KEY 1536-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_RSA_PUBLIC_KEY:1536:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_BRAINPOOL_P_R1_160
|
||||||
|
## PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 160-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_160:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_BRAINPOOL_P_R1_192
|
||||||
|
## PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 192-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_192:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_BRAINPOOL_P_R1_224
|
||||||
|
## PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 224-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_224:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):224:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 256-bit
|
||||||
|
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_256:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_BRAINPOOL_P_R1_320
|
||||||
|
## PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 320-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_320:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):320:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 384-bit
|
||||||
|
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_384:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):384:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(BRAINPOOL_P_R1) 512-bit
|
||||||
|
depends_on:PSA_WANT_ECC_BRAINPOOL_P_R1_512:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_BRAINPOOL_P_R1):512:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 160-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):160:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 192-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):192:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 224-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):224:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 256-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):256:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 320-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):320:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 384-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):384:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(BRAINPOOL_P_R1) 512-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_BRAINPOOL_P_R1):512:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(MONTGOMERY) 255-bit
|
||||||
|
depends_on:PSA_WANT_ECC_MONTGOMERY_255:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_MONTGOMERY):255:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(MONTGOMERY) 448-bit
|
||||||
|
depends_on:PSA_WANT_ECC_MONTGOMERY_448:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_MONTGOMERY):448:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(MONTGOMERY) 255-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_MONTGOMERY):255:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(MONTGOMERY) 448-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_MONTGOMERY):448:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(SECP_K1) 192-bit
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_K1_192:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_K1):192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECP_K1_225
|
||||||
|
## PSA ECC_KEY_PAIR(SECP_K1) 225-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECP_K1_225:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_K1):225:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(SECP_K1) 256-bit
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_K1_256:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_K1):256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_K1) 192-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_K1):192:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_K1) 225-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_K1):225:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_K1) 256-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_K1):256:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(SECP_R1) 224-bit
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_224:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):224:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(SECP_R1) 256-bit
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_256:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):256:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(SECP_R1) 384-bit
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_384:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):384:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_KEY_PAIR(SECP_R1) 521-bit
|
||||||
|
depends_on:PSA_WANT_ECC_SECP_R1_521:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):521:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_R1) 224-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_R1):224:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_R1) 256-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_R1):256:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_R1) 384-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_R1):384:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_R1) 521-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_R1):521:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECP_R2_160
|
||||||
|
## PSA ECC_KEY_PAIR(SECP_R2) 160-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECP_R2_160:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R2):160:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECP_R2) 160-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECP_R2):160:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_K1_163
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_K1) 163-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_K1_163:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_K1):163:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_K1_233
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_K1) 233-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_K1_233:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_K1):233:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_K1_239
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_K1) 239-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_K1_239:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_K1):239:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_K1_283
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_K1) 283-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_K1_283:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_K1):283:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_K1_409
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_K1) 409-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_K1_409:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_K1):409:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_K1_571
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_K1) 571-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_K1_571:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_K1):571:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_K1) 163-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_K1):163:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_K1) 233-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_K1):233:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_K1) 239-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_K1):239:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_K1) 283-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_K1):283:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_K1) 409-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_K1):409:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_K1) 571-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_K1):571:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_R1_163
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_R1) 163-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_R1_163:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_R1):163:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_R1_233
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_R1) 233-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_R1_233:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_R1):233:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_R1_283
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_R1) 283-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_R1_283:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_R1):283:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_R1_409
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_R1) 409-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_R1_409:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_R1):409:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_R1_571
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_R1) 571-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_R1_571:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_R1):571:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_R1) 163-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_R1):163:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_R1) 233-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_R1):233:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_R1) 283-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_R1):283:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_R1) 409-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_R1):409:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_R1) 571-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_R1):571:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_SECT_R2_163
|
||||||
|
## PSA ECC_KEY_PAIR(SECT_R2) 163-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_SECT_R2_163:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECT_R2):163:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(SECT_R2) 163-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_SECT_R2):163:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_TWISTED_EDWARDS_255
|
||||||
|
## PSA ECC_KEY_PAIR(TWISTED_EDWARDS) 255-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_TWISTED_EDWARDS_255:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_TWISTED_EDWARDS):255:PSA_SUCCESS:
|
||||||
|
|
||||||
|
## # skipped because: not implemented: PSA_WANT_ECC_TWISTED_EDWARDS_448
|
||||||
|
## PSA ECC_KEY_PAIR(TWISTED_EDWARDS) 448-bit
|
||||||
|
## depends_on:PSA_WANT_ECC_TWISTED_EDWARDS_448:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
|
||||||
|
## generate_key:PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_TWISTED_EDWARDS):448:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(TWISTED_EDWARDS) 255-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_TWISTED_EDWARDS):255:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA ECC_PUBLIC_KEY(TWISTED_EDWARDS) 448-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_ECC_PUBLIC_KEY(PSA_ECC_FAMILY_TWISTED_EDWARDS):448:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA DH_KEY_PAIR(RFC7919) 2048-bit
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_2048:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):2048:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DH_KEY_PAIR(RFC7919) 3072-bit
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_3072:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):3072:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DH_KEY_PAIR(RFC7919) 4096-bit
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_4096:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):4096:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DH_KEY_PAIR(RFC7919) 6144-bit
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_6144:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):6144:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DH_KEY_PAIR(RFC7919) 8192-bit
|
||||||
|
depends_on:PSA_WANT_DH_RFC7919_8192:PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_KEY_PAIR(PSA_DH_FAMILY_RFC7919):8192:PSA_SUCCESS:
|
||||||
|
|
||||||
|
PSA DH_PUBLIC_KEY(RFC7919) 2048-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_PUBLIC_KEY(PSA_DH_FAMILY_RFC7919):2048:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA DH_PUBLIC_KEY(RFC7919) 3072-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_PUBLIC_KEY(PSA_DH_FAMILY_RFC7919):3072:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA DH_PUBLIC_KEY(RFC7919) 4096-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_PUBLIC_KEY(PSA_DH_FAMILY_RFC7919):4096:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA DH_PUBLIC_KEY(RFC7919) 6144-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_PUBLIC_KEY(PSA_DH_FAMILY_RFC7919):6144:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
PSA DH_PUBLIC_KEY(RFC7919) 8192-bit
|
||||||
|
generate_key:PSA_KEY_TYPE_DH_PUBLIC_KEY(PSA_DH_FAMILY_RFC7919):8192:PSA_ERROR_INVALID_ARGUMENT:
|
||||||
|
|
||||||
|
# End of automatically generated file.
|
||||||
171
tests/suites/test_suite_psa_crypto_low_hash.generated.data
Normal file
171
tests/suites/test_suite_psa_crypto_low_hash.generated.data
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
# Automatically generated by generate_psa_tests.py. Do not edit!
|
||||||
|
|
||||||
|
hash_empty MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_empty:PSA_ALG_MD5:"d41d8cd98f00b204e9800998ecf8427e"
|
||||||
|
|
||||||
|
hash_valid_one_shot MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_valid_one_shot:PSA_ALG_MD5:"616263":"900150983cd24fb0d6963f7d28e17f72"
|
||||||
|
|
||||||
|
hash_valid_multipart 0 + 179 MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_valid_multipart:PSA_ALG_MD5:"":"d41d8cd98f00b204e9800998ecf8427e":"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"581d07c1c1cf41c302d587ca06659166"
|
||||||
|
|
||||||
|
hash_valid_multipart 1 + 178 MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_valid_multipart:PSA_ALG_MD5:"48":"c1d9f50f86825a1a2302ec2449c17196":"656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"581d07c1c1cf41c302d587ca06659166"
|
||||||
|
|
||||||
|
hash_valid_multipart 64 + 115 MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_valid_multipart:PSA_ALG_MD5:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d":"f643f3cdd664a99674b060a871e5cdf6":"2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"581d07c1c1cf41c302d587ca06659166"
|
||||||
|
|
||||||
|
hash_valid_multipart 178 + 1 MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_valid_multipart:PSA_ALG_MD5:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e67":"484d9ce483e5d65fa93622e5e0502163":"21":"581d07c1c1cf41c302d587ca06659166"
|
||||||
|
|
||||||
|
hash_valid_multipart 179 + 0 MD5
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_MD5
|
||||||
|
hash_valid_multipart:PSA_ALG_MD5:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"581d07c1c1cf41c302d587ca06659166":"":"581d07c1c1cf41c302d587ca06659166"
|
||||||
|
|
||||||
|
hash_empty SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_empty:PSA_ALG_SHA_1:"da39a3ee5e6b4b0d3255bfef95601890afd80709"
|
||||||
|
|
||||||
|
hash_valid_one_shot SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_valid_one_shot:PSA_ALG_SHA_1:"616263":"a9993e364706816aba3e25717850c26c9cd0d89d"
|
||||||
|
|
||||||
|
hash_valid_multipart 0 + 179 SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_1:"":"da39a3ee5e6b4b0d3255bfef95601890afd80709":"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"68e3b2a18096d66916a64b84085772c1ee2b7e72"
|
||||||
|
|
||||||
|
hash_valid_multipart 1 + 178 SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_1:"48":"7cf184f4c67ad58283ecb19349720b0cae756829":"656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"68e3b2a18096d66916a64b84085772c1ee2b7e72"
|
||||||
|
|
||||||
|
hash_valid_multipart 64 + 115 SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_1:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d":"750ba870591b392b0a82a93715018733809d6d60":"2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"68e3b2a18096d66916a64b84085772c1ee2b7e72"
|
||||||
|
|
||||||
|
hash_valid_multipart 178 + 1 SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_1:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e67":"95147c023be4f648064a8003d856901dd4cae0aa":"21":"68e3b2a18096d66916a64b84085772c1ee2b7e72"
|
||||||
|
|
||||||
|
hash_valid_multipart 179 + 0 SHA_1
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_1
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_1:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"68e3b2a18096d66916a64b84085772c1ee2b7e72":"":"68e3b2a18096d66916a64b84085772c1ee2b7e72"
|
||||||
|
|
||||||
|
hash_empty SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_empty:PSA_ALG_SHA_224:"d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f"
|
||||||
|
|
||||||
|
hash_valid_one_shot SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_valid_one_shot:PSA_ALG_SHA_224:"616263":"23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7"
|
||||||
|
|
||||||
|
hash_valid_multipart 0 + 179 SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_224:"":"d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f":"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"6e2ca0f9c283b6c8759e761d8bd1dd5dba0a49af1dff64f9beb2e444"
|
||||||
|
|
||||||
|
hash_valid_multipart 1 + 178 SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_224:"48":"7e27c59a202f5e2b2b3b5458300140ef7aa7edc3a97a605b788546a1":"656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"6e2ca0f9c283b6c8759e761d8bd1dd5dba0a49af1dff64f9beb2e444"
|
||||||
|
|
||||||
|
hash_valid_multipart 64 + 115 SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_224:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d":"ee50241ec35c16da236ed1d98a67635ec684dcaa205d59ef91a0bc95":"2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"6e2ca0f9c283b6c8759e761d8bd1dd5dba0a49af1dff64f9beb2e444"
|
||||||
|
|
||||||
|
hash_valid_multipart 178 + 1 SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_224:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e67":"b28b9b1080f8ba1f274c41ad40823dca0d6e575abaa42c5b01588cd2":"21":"6e2ca0f9c283b6c8759e761d8bd1dd5dba0a49af1dff64f9beb2e444"
|
||||||
|
|
||||||
|
hash_valid_multipart 179 + 0 SHA_224
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_224
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_224:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"6e2ca0f9c283b6c8759e761d8bd1dd5dba0a49af1dff64f9beb2e444":"":"6e2ca0f9c283b6c8759e761d8bd1dd5dba0a49af1dff64f9beb2e444"
|
||||||
|
|
||||||
|
hash_empty SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_empty:PSA_ALG_SHA_256:"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||||
|
|
||||||
|
hash_valid_one_shot SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_valid_one_shot:PSA_ALG_SHA_256:"616263":"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"
|
||||||
|
|
||||||
|
hash_valid_multipart 0 + 179 SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_256:"":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855":"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"4d30d19911e5974d669fa735cbd7a5b03dbea5754fc1d52f8c2a5d08ae7110dc"
|
||||||
|
|
||||||
|
hash_valid_multipart 1 + 178 SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_256:"48":"44bd7ae60f478fae1061e11a7739f4b94d1daf917982d33b6fc8a01a63f89c21":"656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"4d30d19911e5974d669fa735cbd7a5b03dbea5754fc1d52f8c2a5d08ae7110dc"
|
||||||
|
|
||||||
|
hash_valid_multipart 64 + 115 SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_256:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d":"ac068007f505c49f58818543ba0566528b54caffe65494da3515a8295ca986ad":"2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"4d30d19911e5974d669fa735cbd7a5b03dbea5754fc1d52f8c2a5d08ae7110dc"
|
||||||
|
|
||||||
|
hash_valid_multipart 178 + 1 SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_256:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e67":"82effb9677d08d1ef33f578433cfcfb96355fe19372808e0711d72337671f152":"21":"4d30d19911e5974d669fa735cbd7a5b03dbea5754fc1d52f8c2a5d08ae7110dc"
|
||||||
|
|
||||||
|
hash_valid_multipart 179 + 0 SHA_256
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_256
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_256:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"4d30d19911e5974d669fa735cbd7a5b03dbea5754fc1d52f8c2a5d08ae7110dc":"":"4d30d19911e5974d669fa735cbd7a5b03dbea5754fc1d52f8c2a5d08ae7110dc"
|
||||||
|
|
||||||
|
hash_empty SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_empty:PSA_ALG_SHA_384:"38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"
|
||||||
|
|
||||||
|
hash_valid_one_shot SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_valid_one_shot:PSA_ALG_SHA_384:"616263":"cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7"
|
||||||
|
|
||||||
|
hash_valid_multipart 0 + 179 SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_384:"":"38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b":"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"23d654bbaa58d813adce62c4a6e94a5589d9104b0c908173c583eb1aefe08f884b2c90e945e9c27ac3cdfa80fb8e1efd"
|
||||||
|
|
||||||
|
hash_valid_multipart 1 + 178 SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_384:"48":"72df8089b04fd6038238731b218a64da29bd83a34bced02a29f3139833671028584a653f74f1afecfac51064a0e6416c":"656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"23d654bbaa58d813adce62c4a6e94a5589d9104b0c908173c583eb1aefe08f884b2c90e945e9c27ac3cdfa80fb8e1efd"
|
||||||
|
|
||||||
|
hash_valid_multipart 64 + 115 SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_384:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d":"fced26dd21bb61dbb69f704e8aa6cd6e00da4ceecfc55dc94fe48458bc72fb603c23186150923578e4a7237af0e6105c":"2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"23d654bbaa58d813adce62c4a6e94a5589d9104b0c908173c583eb1aefe08f884b2c90e945e9c27ac3cdfa80fb8e1efd"
|
||||||
|
|
||||||
|
hash_valid_multipart 178 + 1 SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_384:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e67":"30d426688d31277644b0aa8c32435a36c17f2b8ef20c17e2069405951d01d0e66983e4f98ae1103f85b5e94862ea8b59":"21":"23d654bbaa58d813adce62c4a6e94a5589d9104b0c908173c583eb1aefe08f884b2c90e945e9c27ac3cdfa80fb8e1efd"
|
||||||
|
|
||||||
|
hash_valid_multipart 179 + 0 SHA_384
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_384
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_384:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"23d654bbaa58d813adce62c4a6e94a5589d9104b0c908173c583eb1aefe08f884b2c90e945e9c27ac3cdfa80fb8e1efd":"":"23d654bbaa58d813adce62c4a6e94a5589d9104b0c908173c583eb1aefe08f884b2c90e945e9c27ac3cdfa80fb8e1efd"
|
||||||
|
|
||||||
|
hash_empty SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_empty:PSA_ALG_SHA_512:"cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"
|
||||||
|
|
||||||
|
hash_valid_one_shot SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_valid_one_shot:PSA_ALG_SHA_512:"616263":"ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f"
|
||||||
|
|
||||||
|
hash_valid_multipart 0 + 179 SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_512:"":"cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e":"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"f01271da8ba8505cc60393b497939b10a7e8c9e4fb4e636bac3ca92d5bec0d6d3d9f19ee9229173e40840e14740214fe454893a044d1da5aca4ef9b830d0dab0"
|
||||||
|
|
||||||
|
hash_valid_multipart 1 + 178 SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_512:"48":"9032fb94055d4d14e42185bdff59642b98fe6073f68f29d394620c4e698a86fb2e51351ca6997e6a164aae0b871cf789fbc6e0d863733d05903b4eb11be58d9c":"656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"f01271da8ba8505cc60393b497939b10a7e8c9e4fb4e636bac3ca92d5bec0d6d3d9f19ee9229173e40840e14740214fe454893a044d1da5aca4ef9b830d0dab0"
|
||||||
|
|
||||||
|
hash_valid_multipart 64 + 115 SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_512:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d":"98cde721bfa735807497358c48c5e5d4302410f30c3afc3b08f40da267d23a28a88ecdd9d52711189fa2ddca54343e37a14d401aee3ac47df3b469c15906bce1":"2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"f01271da8ba8505cc60393b497939b10a7e8c9e4fb4e636bac3ca92d5bec0d6d3d9f19ee9229173e40840e14740214fe454893a044d1da5aca4ef9b830d0dab0"
|
||||||
|
|
||||||
|
hash_valid_multipart 178 + 1 SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_512:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e67":"0d86ca214f7634d86c13f95068b226d16bd1e65337da4983ce88e82fa2515957495fc6c50b2afb677bea54de9e1b8e7c694591605c514abed7fdc18f181fe01c":"21":"f01271da8ba8505cc60393b497939b10a7e8c9e4fb4e636bac3ca92d5bec0d6d3d9f19ee9229173e40840e14740214fe454893a044d1da5aca4ef9b830d0dab0"
|
||||||
|
|
||||||
|
hash_valid_multipart 179 + 0 SHA_512
|
||||||
|
depends_on:MBEDTLS_PSA_BUILTIN_ALG_SHA_512
|
||||||
|
hash_valid_multipart:PSA_ALG_SHA_512:"48656c6c6f2c20776f726c642e20486572652061726520313620756e7072696e7461626c652062797465733a205b000102030405060708090a80818283feff5d2e202054686973206d657373616765207761732062726f7567687420746f20796f752062792061206e61747572616c20696e74656c6c6967656e63652e2020496620796f752063616e207265616420746869732c20676f6f64206c75636b207769746820796f757220646562756767696e6721":"f01271da8ba8505cc60393b497939b10a7e8c9e4fb4e636bac3ca92d5bec0d6d3d9f19ee9229173e40840e14740214fe454893a044d1da5aca4ef9b830d0dab0":"":"f01271da8ba8505cc60393b497939b10a7e8c9e4fb4e636bac3ca92d5bec0d6d3d9f19ee9229173e40840e14740214fe454893a044d1da5aca4ef9b830d0dab0"
|
||||||
|
|
||||||
|
# End of automatically generated file.
|
||||||
1071
tests/suites/test_suite_psa_crypto_not_supported.generated.data
Normal file
1071
tests/suites/test_suite_psa_crypto_not_supported.generated.data
Normal file
File diff suppressed because it is too large
Load Diff
47113
tests/suites/test_suite_psa_crypto_op_fail.generated.data
Normal file
47113
tests/suites/test_suite_psa_crypto_op_fail.generated.data
Normal file
File diff suppressed because it is too large
Load Diff
11933
tests/suites/test_suite_psa_crypto_storage_format.current.data
Normal file
11933
tests/suites/test_suite_psa_crypto_storage_format.current.data
Normal file
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,14 @@ PSA storage save: AES-GCM+CTR
|
|||||||
depends_on:PSA_WANT_KEY_TYPE_AES
|
depends_on:PSA_WANT_KEY_TYPE_AES
|
||||||
key_storage_save:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GCM:PSA_ALG_CTR:"404142434445464748494a4b4c4d4e4f":"505341004b45590000000000010000000024800001010000000250050010c00410000000404142434445464748494a4b4c4d4e4f"
|
key_storage_save:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GCM:PSA_ALG_CTR:"404142434445464748494a4b4c4d4e4f":"505341004b45590000000000010000000024800001010000000250050010c00410000000404142434445464748494a4b4c4d4e4f"
|
||||||
|
|
||||||
|
PSA storage read: PASSWORD-JPAKE
|
||||||
|
depends_on:PSA_WANT_ALG_JPAKE:PSA_WANT_ALG_SHA_256:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT:PSA_WANT_ECC_SECP_R1_256
|
||||||
|
key_storage_read:0x0001:PSA_KEY_TYPE_PASSWORD:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT:PSA_ALG_JPAKE:PSA_ALG_NONE:"4c":"505341004b455900000000000100000003120800014000000001000a00000000010000004c":0
|
||||||
|
|
||||||
|
PSA storage save: PASSWORD-JPAKE
|
||||||
|
depends_on:PSA_WANT_ALG_JPAKE:PSA_WANT_ALG_SHA_256:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT:PSA_WANT_ECC_SECP_R1_256
|
||||||
|
key_storage_save:0x0001:PSA_KEY_TYPE_PASSWORD:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_EXPORT:PSA_ALG_JPAKE:PSA_ALG_NONE:"4c":"505341004b455900000000000100000003120800014000000001000a00000000010000004c"
|
||||||
|
|
||||||
# Create a persistent key which is larger than MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
|
# Create a persistent key which is larger than MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
|
||||||
# so that when psa_get_key_attributes() tries to load it from the storage it will fail.
|
# so that when psa_get_key_attributes() tries to load it from the storage it will fail.
|
||||||
PSA storage read: key larger than MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
|
PSA storage read: key larger than MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
|
||||||
|
|||||||
12335
tests/suites/test_suite_psa_crypto_storage_format.v0.data
Normal file
12335
tests/suites/test_suite_psa_crypto_storage_format.v0.data
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,8 @@
|
|||||||
Check compile time library version
|
Check compile time library version
|
||||||
check_compiletime_version:"3.6.4"
|
check_compiletime_version:"3.6.5"
|
||||||
|
|
||||||
Check runtime library version
|
Check runtime library version
|
||||||
check_runtime_version:"3.6.4"
|
check_runtime_version:"3.6.5"
|
||||||
|
|
||||||
Check for MBEDTLS_VERSION_C
|
Check for MBEDTLS_VERSION_C
|
||||||
check_feature:"MBEDTLS_VERSION_C":0
|
check_feature:"MBEDTLS_VERSION_C":0
|
||||||
|
|||||||
10
visualc/VS2017/.gitignore
vendored
10
visualc/VS2017/.gitignore
vendored
@@ -9,8 +9,8 @@
|
|||||||
/*.vcxproj.filters
|
/*.vcxproj.filters
|
||||||
/*.vcxproj.user
|
/*.vcxproj.user
|
||||||
|
|
||||||
###START_GENERATED_FILES###
|
####START_COMMENTED_GENERATED_FILES###
|
||||||
# Files automatically generated by generate_visualc_files.pl
|
## Files automatically generated by generate_visualc_files.pl
|
||||||
/mbedTLS.sln
|
#/mbedTLS.sln
|
||||||
/*.vcxproj
|
#/*.vcxproj
|
||||||
###END_GENERATED_FILES###
|
####END_COMMENTED_GENERATED_FILES###
|
||||||
|
|||||||
171
visualc/VS2017/aead_demo.vcxproj
Normal file
171
visualc/VS2017/aead_demo.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\psa\aead_demo.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B95203DF-96A0-9E2B-C761-DC13C13D7450}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>aead_demo</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/benchmark.vcxproj
Normal file
171
visualc/VS2017/benchmark.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\test\benchmark.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>benchmark</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../library;../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../library;../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../library;../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../library;../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/cert_app.vcxproj
Normal file
171
visualc/VS2017/cert_app.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\x509\cert_app.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{D4D691D4-137C-CBFA-735B-D46636D7E4D8}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>cert_app</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/cert_req.vcxproj
Normal file
171
visualc/VS2017/cert_req.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\x509\cert_req.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>cert_req</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/cert_write.vcxproj
Normal file
171
visualc/VS2017/cert_write.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\x509\cert_write.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{35E52E46-3BA9-4361-41D3-53663C2E9B8A}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>cert_write</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/cipher_aead_demo.vcxproj
Normal file
171
visualc/VS2017/cipher_aead_demo.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\cipher\cipher_aead_demo.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{1E959679-AB4C-F434-E078-BAA4DC2159E9}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>cipher_aead_demo</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/crl_app.vcxproj
Normal file
171
visualc/VS2017/crl_app.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\x509\crl_app.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{DB904B85-AD31-B7FB-114F-88760CC485F2}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>crl_app</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/crypt_and_hash.vcxproj
Normal file
171
visualc/VS2017/crypt_and_hash.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\aes\crypt_and_hash.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>crypt_and_hash</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/crypto_examples.vcxproj
Normal file
171
visualc/VS2017/crypto_examples.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\psa\crypto_examples.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{020C31BD-C4DF-BABA-E537-F517C4E98537}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>crypto_examples</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/dh_client.vcxproj
Normal file
171
visualc/VS2017/dh_client.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\dh_client.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>dh_client</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/dh_genprime.vcxproj
Normal file
171
visualc/VS2017/dh_genprime.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\dh_genprime.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{718960D9-5DA6-7B56-39AD-637E81076C71}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>dh_genprime</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/dh_server.vcxproj
Normal file
171
visualc/VS2017/dh_server.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\dh_server.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{8D91B804-E2CE-142D-8E06-FBB037ED1F65}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>dh_server</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/dtls_client.vcxproj
Normal file
171
visualc/VS2017/dtls_client.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\ssl\dtls_client.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>dtls_client</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/dtls_server.vcxproj
Normal file
171
visualc/VS2017/dtls_server.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\ssl\dtls_server.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>dtls_server</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/ecdh_curve25519.vcxproj
Normal file
171
visualc/VS2017/ecdh_curve25519.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\ecdh_curve25519.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{82EE497E-12CC-7C5B-A072-665678ACB43E}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>ecdh_curve25519</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/ecdsa.vcxproj
Normal file
171
visualc/VS2017/ecdsa.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\ecdsa.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>ecdsa</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/gen_entropy.vcxproj
Normal file
171
visualc/VS2017/gen_entropy.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\random\gen_entropy.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{DE695064-13C3-18B0-378D-8B22672BF3F4}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>gen_entropy</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/gen_key.vcxproj
Normal file
171
visualc/VS2017/gen_key.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\gen_key.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>gen_key</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/gen_random_ctr_drbg.vcxproj
Normal file
171
visualc/VS2017/gen_random_ctr_drbg.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\random\gen_random_ctr_drbg.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>gen_random_ctr_drbg</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/generic_sum.vcxproj
Normal file
171
visualc/VS2017/generic_sum.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\hash\generic_sum.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{D071CCF7-ACA0-21F8-D382-52A759AEA261}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>generic_sum</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/hello.vcxproj
Normal file
171
visualc/VS2017/hello.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\hash\hello.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>hello</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/hmac_demo.vcxproj
Normal file
171
visualc/VS2017/hmac_demo.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\psa\hmac_demo.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{90DF77BA-05FC-B8EA-83F4-36057314AFC2}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>hmac_demo</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/key_app.vcxproj
Normal file
171
visualc/VS2017/key_app.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\key_app.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{10AE376F-1A70-0297-0216-1FD01AD15D19}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>key_app</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/key_app_writer.vcxproj
Normal file
171
visualc/VS2017/key_app_writer.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\pkey\key_app_writer.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>key_app_writer</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/key_ladder_demo.vcxproj
Normal file
171
visualc/VS2017/key_ladder_demo.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\psa\key_ladder_demo.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{778777A0-393D-45E8-83C1-EAF487236F1F}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>key_ladder_demo</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
171
visualc/VS2017/load_roots.vcxproj
Normal file
171
visualc/VS2017/load_roots.vcxproj
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\..\programs\x509\load_roots.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="mbedTLS.vcxproj">
|
||||||
|
<Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
|
||||||
|
<LinkLibraryDependencies>true</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{65EB85E6-C928-689F-8335-126F78025220}</ProjectGuid>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<RootNamespace>load_roots</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v141</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<IntDir>$(Configuration)\$(TargetName)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
|
||||||
|
</Link>
|
||||||
|
<ProjectReference>
|
||||||
|
<LinkLibraryDependencies>false</LinkLibraryDependencies>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<AdditionalIncludeDirectories>
|
||||||
|
../../include;../../3rdparty/everest/include/;../../3rdparty/everest/include/everest;../../3rdparty/everest/include/everest/vs2013;../../3rdparty/everest/include/everest/kremlib;../../tests/include;../../framework/tests/include;../../framework/tests/programs </AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
|
||||||
|
<AdditionalDependencies>bcrypt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
782
visualc/VS2017/mbedTLS.sln
Normal file
782
visualc/VS2017/mbedTLS.sln
Normal file
@@ -0,0 +1,782 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 2017
|
||||||
|
VisualStudioVersion = 15.0.26228.4
|
||||||
|
MinimumVisualStudioVersion = 15.0.26228.4
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mbedTLS", "mbedTLS.vcxproj", "{46CF2D25-6A36-4189-B59C-E4815388E554}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crypt_and_hash", "crypt_and_hash.vcxproj", "{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cipher_aead_demo", "cipher_aead_demo.vcxproj", "{1E959679-AB4C-F434-E078-BAA4DC2159E9}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generic_sum", "generic_sum.vcxproj", "{D071CCF7-ACA0-21F8-D382-52A759AEA261}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hello", "hello.vcxproj", "{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "md_hmac_demo", "md_hmac_demo.vcxproj", "{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dh_client", "dh_client.vcxproj", "{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dh_genprime", "dh_genprime.vcxproj", "{718960D9-5DA6-7B56-39AD-637E81076C71}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dh_server", "dh_server.vcxproj", "{8D91B804-E2CE-142D-8E06-FBB037ED1F65}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ecdh_curve25519", "ecdh_curve25519.vcxproj", "{82EE497E-12CC-7C5B-A072-665678ACB43E}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ecdsa", "ecdsa.vcxproj", "{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen_key", "gen_key.vcxproj", "{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "key_app", "key_app.vcxproj", "{10AE376F-1A70-0297-0216-1FD01AD15D19}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "key_app_writer", "key_app_writer.vcxproj", "{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mpi_demo", "mpi_demo.vcxproj", "{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pk_decrypt", "pk_decrypt.vcxproj", "{1EC6CBA3-6187-D456-D9B7-A35399395D71}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pk_encrypt", "pk_encrypt.vcxproj", "{55007179-7746-9CFB-97EC-65102FB272C8}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pk_sign", "pk_sign.vcxproj", "{F2E8CA55-597F-7FDC-6456-D8650FB970A3}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pk_verify", "pk_verify.vcxproj", "{C429B336-1B30-119C-3B34-21A186D6744F}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_decrypt", "rsa_decrypt.vcxproj", "{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_encrypt", "rsa_encrypt.vcxproj", "{D06CF12E-F222-9273-41BF-B8A052FA5527}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_genkey", "rsa_genkey.vcxproj", "{F472475C-F677-0E7F-F127-45BF5B64F622}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_sign", "rsa_sign.vcxproj", "{10790F49-6887-AAB6-2D86-BCBD516F8D26}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_sign_pss", "rsa_sign_pss.vcxproj", "{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_verify", "rsa_verify.vcxproj", "{689E28CF-89ED-BA38-3A14-78A75D891D46}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rsa_verify_pss", "rsa_verify_pss.vcxproj", "{95C50864-854C-2A11-4C91-BCE654E344FB}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "aead_demo", "aead_demo.vcxproj", "{B95203DF-96A0-9E2B-C761-DC13C13D7450}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crypto_examples", "crypto_examples.vcxproj", "{020C31BD-C4DF-BABA-E537-F517C4E98537}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "hmac_demo", "hmac_demo.vcxproj", "{90DF77BA-05FC-B8EA-83F4-36057314AFC2}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "key_ladder_demo", "key_ladder_demo.vcxproj", "{778777A0-393D-45E8-83C1-EAF487236F1F}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "psa_constant_names", "psa_constant_names.vcxproj", "{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "psa_hash", "psa_hash.vcxproj", "{A8EF04E6-AE07-699B-CC81-37838E95A361}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen_entropy", "gen_entropy.vcxproj", "{DE695064-13C3-18B0-378D-8B22672BF3F4}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gen_random_ctr_drbg", "gen_random_ctr_drbg.vcxproj", "{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dtls_client", "dtls_client.vcxproj", "{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dtls_server", "dtls_server.vcxproj", "{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mini_client", "mini_client.vcxproj", "{C4FE29EA-266D-5295-4840-976B9B5B3843}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_client1", "ssl_client1.vcxproj", "{487A2F80-3CA3-678D-88D5-82194872CF08}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_client2", "ssl_client2.vcxproj", "{4E590E9D-E28F-87FF-385B-D58736388231}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_context_info", "ssl_context_info.vcxproj", "{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_fork_server", "ssl_fork_server.vcxproj", "{918CD402-047D-8467-E11C-E1132053F916}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_mail_client", "ssl_mail_client.vcxproj", "{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_server", "ssl_server.vcxproj", "{E08E0065-896A-7487-DEA5-D3B80B71F975}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ssl_server2", "ssl_server2.vcxproj", "{A4DA7463-1047-BDF5-E1B3-5632CB573F41}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "benchmark", "benchmark.vcxproj", "{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "metatest", "metatest.vcxproj", "{95B15C5B-0EB4-4353-7990-22F6965A9437}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "query_compile_time_config", "query_compile_time_config.vcxproj", "{D6F58AF2-9D80-562A-E2B0-F743281522B9}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "query_included_headers", "query_included_headers.vcxproj", "{1C677561-D112-6A8C-4E17-7B1005CFFD72}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "selftest", "selftest.vcxproj", "{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "udp_proxy", "udp_proxy.vcxproj", "{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "zeroize", "zeroize.vcxproj", "{10C01E94-4926-063E-9F56-C84ED190D349}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pem2der", "pem2der.vcxproj", "{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "strerror", "strerror.vcxproj", "{23EF735C-CC4C-3EC4-A75E-903DB340F04A}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cert_app", "cert_app.vcxproj", "{D4D691D4-137C-CBFA-735B-D46636D7E4D8}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cert_req", "cert_req.vcxproj", "{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cert_write", "cert_write.vcxproj", "{35E52E46-3BA9-4361-41D3-53663C2E9B8A}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crl_app", "crl_app.vcxproj", "{DB904B85-AD31-B7FB-114F-88760CC485F2}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "load_roots", "load_roots.vcxproj", "{65EB85E6-C928-689F-8335-126F78025220}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "req_app", "req_app.vcxproj", "{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}"
|
||||||
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554} = {46CF2D25-6A36-4189-B59C-E4815388E554}
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{46CF2D25-6A36-4189-B59C-E4815388E554}.Release|x64.Build.0 = Release|x64
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{5DBB9FC3-6FD6-CA8D-E0FA-35F1E75EFAE7}.Release|x64.Build.0 = Release|x64
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{1E959679-AB4C-F434-E078-BAA4DC2159E9}.Release|x64.Build.0 = Release|x64
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{D071CCF7-ACA0-21F8-D382-52A759AEA261}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B02D4AE1-0218-1CD4-F44E-EFAE19B01B8D}.Release|x64.Build.0 = Release|x64
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{ABCEDDC7-BF2D-2779-909A-9AE5923F1415}.Release|x64.Build.0 = Release|x64
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{4D29BE4A-979C-C5AE-44B5-30FB37D8D4EE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{718960D9-5DA6-7B56-39AD-637E81076C71}.Release|x64.Build.0 = Release|x64
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{8D91B804-E2CE-142D-8E06-FBB037ED1F65}.Release|x64.Build.0 = Release|x64
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{82EE497E-12CC-7C5B-A072-665678ACB43E}.Release|x64.Build.0 = Release|x64
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{F58142CC-0CC7-0B18-5A0F-53642CFBA18E}.Release|x64.Build.0 = Release|x64
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{BF782A50-E9AE-00CC-C28A-C9DA8AAB4D52}.Release|x64.Build.0 = Release|x64
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{10AE376F-1A70-0297-0216-1FD01AD15D19}.Release|x64.Build.0 = Release|x64
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{E8ED79F9-8034-1B09-263E-D3F8C4C5C4A8}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{A59FAA0B-9C34-1F99-794D-A365A3AA8CCE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{1EC6CBA3-6187-D456-D9B7-A35399395D71}.Release|x64.Build.0 = Release|x64
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{55007179-7746-9CFB-97EC-65102FB272C8}.Release|x64.Build.0 = Release|x64
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{F2E8CA55-597F-7FDC-6456-D8650FB970A3}.Release|x64.Build.0 = Release|x64
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{C429B336-1B30-119C-3B34-21A186D6744F}.Release|x64.Build.0 = Release|x64
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{E0D71D72-8DF4-CCFC-EF60-741EADAB8BF9}.Release|x64.Build.0 = Release|x64
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{D06CF12E-F222-9273-41BF-B8A052FA5527}.Release|x64.Build.0 = Release|x64
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{F472475C-F677-0E7F-F127-45BF5B64F622}.Release|x64.Build.0 = Release|x64
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{10790F49-6887-AAB6-2D86-BCBD516F8D26}.Release|x64.Build.0 = Release|x64
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{DCD3A1B6-5EC1-8266-93EF-BD2B9BEFE12D}.Release|x64.Build.0 = Release|x64
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{689E28CF-89ED-BA38-3A14-78A75D891D46}.Release|x64.Build.0 = Release|x64
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{95C50864-854C-2A11-4C91-BCE654E344FB}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B95203DF-96A0-9E2B-C761-DC13C13D7450}.Release|x64.Build.0 = Release|x64
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{020C31BD-C4DF-BABA-E537-F517C4E98537}.Release|x64.Build.0 = Release|x64
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{90DF77BA-05FC-B8EA-83F4-36057314AFC2}.Release|x64.Build.0 = Release|x64
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{778777A0-393D-45E8-83C1-EAF487236F1F}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{A0BAD8F0-69B5-8382-86ED-C36ACBE54117}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{A8EF04E6-AE07-699B-CC81-37838E95A361}.Release|x64.Build.0 = Release|x64
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{DE695064-13C3-18B0-378D-8B22672BF3F4}.Release|x64.Build.0 = Release|x64
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{5FCC71F6-FF33-EBCF-FBA2-8FC783D5318E}.Release|x64.Build.0 = Release|x64
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{FE7AB78F-DBF1-0721-3522-0D7C3011D2E5}.Release|x64.Build.0 = Release|x64
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{BFE89EAA-D98B-34E1-C5A4-4080F6FFE317}.Release|x64.Build.0 = Release|x64
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{C4FE29EA-266D-5295-4840-976B9B5B3843}.Release|x64.Build.0 = Release|x64
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{487A2F80-3CA3-678D-88D5-82194872CF08}.Release|x64.Build.0 = Release|x64
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{4E590E9D-E28F-87FF-385B-D58736388231}.Release|x64.Build.0 = Release|x64
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{017ECC7D-FB6D-46D8-076B-F64172E8E3BC}.Release|x64.Build.0 = Release|x64
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{918CD402-047D-8467-E11C-E1132053F916}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7C4863A1-941A-C5AE-E1F9-30F062E4B2FD}.Release|x64.Build.0 = Release|x64
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{E08E0065-896A-7487-DEA5-D3B80B71F975}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{A4DA7463-1047-BDF5-E1B3-5632CB573F41}.Release|x64.Build.0 = Release|x64
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{90EFD9A4-C6B0-3EE8-1F06-0A0E0D55AEDA}.Release|x64.Build.0 = Release|x64
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{95B15C5B-0EB4-4353-7990-22F6965A9437}.Release|x64.Build.0 = Release|x64
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{D6F58AF2-9D80-562A-E2B0-F743281522B9}.Release|x64.Build.0 = Release|x64
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{1C677561-D112-6A8C-4E17-7B1005CFFD72}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7DBC5F77-3DA1-5F73-8421-E693D95FC66A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7E2C80FE-3CC3-82B4-0CAD-65DC233DE13A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{10C01E94-4926-063E-9F56-C84ED190D349}.Release|x64.Build.0 = Release|x64
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{D3C6FBD6-D78E-7180-8345-5E09B492DBEC}.Release|x64.Build.0 = Release|x64
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{23EF735C-CC4C-3EC4-A75E-903DB340F04A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{D4D691D4-137C-CBFA-735B-D46636D7E4D8}.Release|x64.Build.0 = Release|x64
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{C9E2AB15-8AEF-DD48-60C3-557ECC5215BE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{35E52E46-3BA9-4361-41D3-53663C2E9B8A}.Release|x64.Build.0 = Release|x64
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{DB904B85-AD31-B7FB-114F-88760CC485F2}.Release|x64.Build.0 = Release|x64
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{65EB85E6-C928-689F-8335-126F78025220}.Release|x64.Build.0 = Release|x64
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{486B1375-5CFA-C2D2-DD89-C9F497BADCB3}.Release|x64.Build.0 = Release|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user