Parcourir la source

use floor(log_2(3^e3)) for keylen of B

trials/PERF
Henry Case il y a 6 ans
committed by Kris Kwiatkowski
Parent
révision
9f976e2cdf
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      p751/consts.go

+ 2
- 2
p751/consts.go Voir le fichier

@@ -9,8 +9,8 @@ const (
P751_SharedSecretSize = 188
// Max size of secret key for 2-torsion group, corresponds to 2^e2
P751_SecretBitLenA = 372
// Size of secret key for 3-torsion group, corresponds to log_2(3^e3)
P751_SecretBitLenB = 379
// Size of secret key for 3-torsion group, corresponds to floor(log_2(3^e3))
P751_SecretBitLenB = 378
// P751 bytelen ceil(751/8)
P751_Bytelen = 94
// Size of a compuatation strategy for 2-torsion group


Chargement…
Annuler
Enregistrer