Note, this now compiles, but fails tests, so further remediation
is required.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
*/
typedef struct nistp224_pre_comp_st NISTP224_PRE_COMP;
typedef struct nistp256_pre_comp_st NISTP256_PRE_COMP;
-typedef struct nistp512_pre_comp_st NISTP521_PRE_COMP;
+typedef struct nistp521_pre_comp_st NISTP521_PRE_COMP;
typedef struct nistz256_pre_comp_st NISTZ256_PRE_COMP;
typedef struct ec_pre_comp_st EC_PRE_COMP;
}
/* Precomputation for the group generator. */
-struct nistp512_pre_comp_st {
+struct nistp521_pre_comp_st {
felem g_pre_comp[16][3];
int references;
};
int ec_GFp_nistp521_have_precompute_mult(const EC_GROUP *group)
{
- return HAVEPRECOMP(group, nistp512);
+ return HAVEPRECOMP(group, nistp521);
}
#else