RetroArch
|
Macros | |
#define | BYTES_TO_T_UINT_4(a, b, c, d) |
#define | BYTES_TO_T_UINT_2(a, b) BYTES_TO_T_UINT_4( a, b, 0, 0 ) |
#define | BYTES_TO_T_UINT_8(a, b, c, d, e, f, g, h) |
#define | NIST_MODP(P) grp->modp = ecp_mod_ ## P; |
#define | LOAD_GROUP_A(G) |
#define | LOAD_GROUP(G) |
#define | WIDTH 8 / sizeof( mbedtls_mpi_uint ) |
#define | A(i) N->p + i * WIDTH |
#define | ADD(i) add64( p, A( i ), &c ) |
#define | NEXT p += WIDTH; carry64( p, &c ) |
#define | LAST p += WIDTH; *p = c; while( ++p < end ) *p = 0 |
#define | LOAD32 cur = A( i ); |
#define | MAX32 N->n |
#define | A(j) N->p[j] |
#define | STORE32 N->p[i] = cur; |
#define | ADD(j) add32( &cur, A( j ), &c ); |
#define | SUB(j) sub32( &cur, A( j ), &c ); |
#define | INIT(b) |
#define | NEXT |
#define | LAST |
#define | P521_WIDTH ( 521 / 8 / sizeof( mbedtls_mpi_uint ) + 1 ) |
#define | P521_MASK 0x01FF |
#define | P255_WIDTH ( 255 / 8 / sizeof( mbedtls_mpi_uint ) + 1 ) |
#define | P_KOBLITZ_MAX ( 256 / 8 / sizeof( mbedtls_mpi_uint ) ) |
#define | P_KOBLITZ_R ( 8 / sizeof( mbedtls_mpi_uint ) ) |
#define BYTES_TO_T_UINT_2 | ( | a, | |
b | |||
) | BYTES_TO_T_UINT_4( a, b, 0, 0 ) |
#define INIT | ( | b | ) |
#define LAST |
#define LOAD_GROUP | ( | G | ) |
#define LOAD_GROUP_A | ( | G | ) |
#define MAX32 N->n |
#define NEXT |
#define P255_WIDTH ( 255 / 8 / sizeof( mbedtls_mpi_uint ) + 1 ) |
#define P521_MASK 0x01FF |
#define P521_WIDTH ( 521 / 8 / sizeof( mbedtls_mpi_uint ) + 1 ) |
#define P_KOBLITZ_MAX ( 256 / 8 / sizeof( mbedtls_mpi_uint ) ) |
#define P_KOBLITZ_R ( 8 / sizeof( mbedtls_mpi_uint ) ) |
#define WIDTH 8 / sizeof( mbedtls_mpi_uint ) |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
int mbedtls_ecp_group_load | ( | mbedtls_ecp_group * | grp, |
mbedtls_ecp_group_id | index | ||
) |
Set a group using well-known domain parameters.
grp | Destination group |
index | Index in the list of well-known domain parameters |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |