-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'test-code-history' into dev/davidhorstmann-arm/move-tes…
…t-code
- Loading branch information
Showing
74 changed files
with
15,586 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* aes_alt.h with dummy types for MBEDTLS_AES_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef AES_ALT_H | ||
#define AES_ALT_H | ||
|
||
typedef struct mbedtls_aes_context { | ||
int dummy; | ||
} | ||
mbedtls_aes_context; | ||
|
||
#if defined(MBEDTLS_CIPHER_MODE_XTS) | ||
|
||
typedef struct mbedtls_aes_xts_context { | ||
int dummy; | ||
} mbedtls_aes_xts_context; | ||
#endif | ||
|
||
|
||
#endif /* aes_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* aria_alt.h with dummy types for MBEDTLS_ARIA_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef ARIA_ALT_H | ||
#define ARIA_ALT_H | ||
|
||
typedef struct mbedtls_aria_context { | ||
int dummy; | ||
} | ||
mbedtls_aria_context; | ||
|
||
|
||
#endif /* aria_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* camellia_alt.h with dummy types for MBEDTLS_CAMELLIA_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef CAMELLIA_ALT_H | ||
#define CAMELLIA_ALT_H | ||
|
||
typedef struct mbedtls_camellia_context { | ||
int dummy; | ||
} | ||
mbedtls_camellia_context; | ||
|
||
|
||
#endif /* camellia_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* ccm_alt.h with dummy types for MBEDTLS_CCM_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef CCM_ALT_H | ||
#define CCM_ALT_H | ||
|
||
typedef struct mbedtls_ccm_context { | ||
int dummy; | ||
} | ||
mbedtls_ccm_context; | ||
|
||
|
||
#endif /* ccm_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* chacha20_alt.h with dummy types for MBEDTLS_CHACHA20_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef CHACHA20_ALT_H | ||
#define CHACHA20_ALT_H | ||
|
||
typedef struct mbedtls_chacha20_context { | ||
int dummy; | ||
} | ||
mbedtls_chacha20_context; | ||
|
||
|
||
#endif /* chacha20_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* chachapoly_alt.h with dummy types for MBEDTLS_CHACHAPOLY_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef CHACHAPOLY_ALT_H | ||
#define CHACHAPOLY_ALT_H | ||
|
||
#include "mbedtls/chacha20.h" | ||
|
||
typedef struct mbedtls_chachapoly_context { | ||
int dummy; | ||
} | ||
mbedtls_chachapoly_context; | ||
|
||
|
||
#endif /* chachapoly_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* cmac_alt.h with dummy types for MBEDTLS_CMAC_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef CMAC_ALT_H | ||
#define CMAC_ALT_H | ||
|
||
struct mbedtls_cmac_context_t { | ||
int dummy; | ||
}; | ||
|
||
|
||
#endif /* cmac_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* des_alt.h with dummy types for MBEDTLS_DES_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
* | ||
*/ | ||
|
||
#ifndef DES_ALT_H | ||
#define DES_ALT_H | ||
|
||
typedef struct mbedtls_des_context { | ||
int dummy; | ||
} | ||
mbedtls_des_context; | ||
|
||
typedef struct mbedtls_des3_context { | ||
int dummy; | ||
} | ||
mbedtls_des3_context; | ||
|
||
|
||
#endif /* des_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* dhm_alt.h with dummy types for MBEDTLS_DHM_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef DHM_ALT_H | ||
#define DHM_ALT_H | ||
|
||
typedef struct mbedtls_dhm_context { | ||
int dummy; | ||
} | ||
mbedtls_dhm_context; | ||
|
||
|
||
#endif /* dhm_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* ecjpake_alt.h with dummy types for MBEDTLS_ECJPAKE_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef ECJPAKE_ALT_H | ||
#define ECJPAKE_ALT_H | ||
|
||
typedef struct mbedtls_ecjpake_context { | ||
int dummy; | ||
} mbedtls_ecjpake_context; | ||
|
||
|
||
#endif /* ecjpake_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* ecp_alt.h with dummy types for MBEDTLS_ECP_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef ECP_ALT_H | ||
#define ECP_ALT_H | ||
|
||
typedef struct mbedtls_ecp_group { | ||
const mbedtls_ecp_group_id id; | ||
const mbedtls_mpi P; | ||
const mbedtls_mpi A; | ||
const mbedtls_mpi B; | ||
const mbedtls_ecp_point G; | ||
const mbedtls_mpi N; | ||
const size_t pbits; | ||
const size_t nbits; | ||
} | ||
mbedtls_ecp_group; | ||
|
||
#endif /* ecp_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* gcm_alt.h with dummy types for MBEDTLS_GCM_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef GCM_ALT_H | ||
#define GCM_ALT_H | ||
|
||
typedef struct mbedtls_gcm_context { | ||
int dummy; | ||
} | ||
mbedtls_gcm_context; | ||
|
||
|
||
#endif /* gcm_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* md5_alt.h with dummy types for MBEDTLS_MD5_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef MD5_ALT_H | ||
#define MD5_ALT_H | ||
|
||
typedef struct mbedtls_md5_context { | ||
int dummy; | ||
} | ||
mbedtls_md5_context; | ||
|
||
|
||
#endif /* md5_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* nist_kw_alt.h with dummy types for MBEDTLS_NIST_KW_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef NIST_KW_ALT_H | ||
#define NIST_KW_ALT_H | ||
|
||
typedef struct { | ||
int dummy; | ||
} mbedtls_nist_kw_context; | ||
|
||
|
||
#endif /* nist_kw_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* platform_alt.h with dummy types for MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef PLATFORM_ALT_H | ||
#define PLATFORM_ALT_H | ||
|
||
typedef struct mbedtls_platform_context { | ||
int dummy; | ||
} | ||
mbedtls_platform_context; | ||
|
||
|
||
#endif /* platform_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* poly1305_alt.h with dummy types for MBEDTLS_POLY1305_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef POLY1305_ALT_H | ||
#define POLY1305_ALT_H | ||
|
||
typedef struct mbedtls_poly1305_context { | ||
int dummy; | ||
} | ||
mbedtls_poly1305_context; | ||
|
||
|
||
#endif /* poly1305_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* ripemd160_alt.h with dummy types for MBEDTLS_RIPEMD160_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef RIPEMD160_ALT_H | ||
#define RIPEMD160_ALT_H | ||
|
||
typedef struct mbedtls_ripemd160_context { | ||
int dummy; | ||
} | ||
mbedtls_ripemd160_context; | ||
|
||
|
||
#endif /* ripemd160_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* rsa_alt.h with dummy types for MBEDTLS_RSA_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef RSA_ALT_H | ||
#define RSA_ALT_H | ||
|
||
typedef struct mbedtls_rsa_context { | ||
int dummy; | ||
} | ||
mbedtls_rsa_context; | ||
|
||
|
||
#endif /* rsa_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* sha1_alt.h with dummy types for MBEDTLS_SHA1_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef SHA1_ALT_H | ||
#define SHA1_ALT_H | ||
|
||
typedef struct mbedtls_sha1_context { | ||
int dummy; | ||
} | ||
mbedtls_sha1_context; | ||
|
||
|
||
#endif /* sha1_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* sha256_alt.h with dummy types for MBEDTLS_SHA256_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef SHA256_ALT_H | ||
#define SHA256_ALT_H | ||
|
||
typedef struct mbedtls_sha256_context { | ||
int dummy; | ||
} | ||
mbedtls_sha256_context; | ||
|
||
|
||
#endif /* sha256_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* sha512_alt.h with dummy types for MBEDTLS_SHA512_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef SHA512_ALT_H | ||
#define SHA512_ALT_H | ||
|
||
typedef struct mbedtls_sha512_context { | ||
int dummy; | ||
} | ||
mbedtls_sha512_context; | ||
|
||
|
||
#endif /* sha512_alt.h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* threading_alt.h with dummy types for MBEDTLS_THREADING_ALT */ | ||
/* | ||
* Copyright The Mbed TLS Contributors | ||
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later | ||
*/ | ||
|
||
#ifndef THREADING_ALT_H | ||
#define THREADING_ALT_H | ||
|
||
typedef struct mbedtls_threading_mutex_t { | ||
int dummy; | ||
} mbedtls_threading_mutex_t; | ||
|
||
#endif /* threading_alt.h */ |
Oops, something went wrong.