New experimental EC implementation (P-256, only 32-bit multiplications, meant for Cortex-M0/M0+).

This commit is contained in:
Thomas Pornin 2017-01-02 22:19:49 +01:00
parent bf809dfae5
commit 6dd8c51ba7
7 changed files with 1092 additions and 3 deletions

View file

@ -613,6 +613,12 @@ test_speed_ec_inner(const char *name,
}
}
static void
test_speed_ec_p256_i15(void)
{
test_speed_ec_inner("EC i15 P-256", &br_ec_p256_i15, &br_secp256r1);
}
static void
test_speed_ec_prime_i31(void)
{
@ -1130,6 +1136,7 @@ static const struct {
STU(rsa_i31),
STU(rsa_i32),
STU(ec_p256_i15),
STU(ec_prime_i31),
STU(ecdsa_i31),