New implementation of Curve25519 (using multiplications of words of 15 bits or so, should be much faster on Cortex M0).
This commit is contained in:
parent
2f9c953af4
commit
693d2a0085
6 changed files with 1574 additions and 7 deletions
|
|
@ -714,6 +714,13 @@ test_speed_ec_c25519_i15(void)
|
|||
&br_ec_c25519_i15, &br_curve25519);
|
||||
}
|
||||
|
||||
static void
|
||||
test_speed_ec_c25519_m15(void)
|
||||
{
|
||||
test_speed_ec_inner("EC m15 C25519",
|
||||
&br_ec_c25519_m15, &br_curve25519);
|
||||
}
|
||||
|
||||
static void
|
||||
test_speed_ecdsa_inner(const char *name,
|
||||
const br_ec_impl *impl, const br_ec_curve_def *cd,
|
||||
|
|
@ -1256,6 +1263,7 @@ static const struct {
|
|||
STU(ec_prime_i15),
|
||||
STU(ec_prime_i31),
|
||||
STU(ec_c25519_i15),
|
||||
STU(ec_c25519_m15),
|
||||
STU(ecdsa_p256_m15),
|
||||
STU(ecdsa_i15),
|
||||
STU(ecdsa_i31),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue