Browse Source

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

trials/PERF
Henry Case 6 years ago
committed by Kris Kwiatkowski
parent
commit
9f976e2cdf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      p751/consts.go

+ 2
- 2
p751/consts.go View File

@@ -9,8 +9,8 @@ const (
P751_SharedSecretSize = 188 P751_SharedSecretSize = 188
// Max size of secret key for 2-torsion group, corresponds to 2^e2 // Max size of secret key for 2-torsion group, corresponds to 2^e2
P751_SecretBitLenA = 372 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 ceil(751/8)
P751_Bytelen = 94 P751_Bytelen = 94
// Size of a compuatation strategy for 2-torsion group // Size of a compuatation strategy for 2-torsion group


Loading…
Cancel
Save