2021-05-24 20:51:48 +00:00
|
|
|
/* ecp_alt.h with dummy types for MBEDTLS_ECP_ALT */
|
|
|
|
/*
|
|
|
|
* Copyright The Mbed TLS Contributors
|
2023-11-02 19:47:20 +00:00
|
|
|
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
2021-05-24 20:51:48 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ECP_ALT_H
|
|
|
|
#define ECP_ALT_H
|
|
|
|
|
2023-01-11 13:50:10 +00:00
|
|
|
typedef struct mbedtls_ecp_group {
|
2021-05-31 19:20:30 +00:00
|
|
|
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;
|
2021-05-24 20:51:48 +00:00
|
|
|
}
|
|
|
|
mbedtls_ecp_group;
|
|
|
|
|
|
|
|
#endif /* ecp_alt.h */
|