-
Notifications
You must be signed in to change notification settings - Fork 0
Key generation process is right or wrong? #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I'm reviewing it right now because there are some parameters that are below the range to be able to guarantee 64-bit operations, but I'm correcting it, for now, I've modified some and I've made the commit with the test to validate it, as soon as I finish it I'll let you know and I'll close it. Thanks for letting me know... (Now I'm trying to solve the 0...0... situation) --- IND-CPA Public Key --- Polyvec Compressed Portion (256 bytes): Polyvec Compressed (hex): Polyvec Compressed (decimal list): Public Seed (32 bytes, hex): Full IND-CPA Public Key (Base64): Exited. |
When I am generating the public key I am getting only 224 byte non zero value. The rest of values are always zero.
pk: [36, 61, 99, 81, 20, 69, 81, 20, 69, 81, 20, 69, 174, 235, 186, 174, 235, 186, 174, 107, 192, 175, 62, 123, 181, 167, 212, 140, 150, 51, 49, 6, 246, 16, 21, 191, 182, 85, 144, 36, 38, 121, 237, 144, 53, 148, 144, 18, 31, 101, 55, 210, 96, 20, 110, 54, 177, 153, 8, 44, 175, 147, 66, 209, 146, 241, 214, 29, 178, 30, 168, 180, 183, 20, 43, 136, 227, 56, 142, 227, 56, 142, 227, 56, 170, 170, 170, 170, 170, 106, 166, 153, 87, 36, 125, 155, 36, 61, 99, 81, 20, 69, 81, 20, 69, 81, 20, 69, 174, 235, 186, 174, 235, 186, 174, 59, 181, 139, 108, 22, 167, 32, 169, 0, 208, 234, 15, 9, 194, 97, 254, 190, 46, 116, 241, 189, 240, 35, 38, 223, 237, 183, 116, 173, 170, 35, 247, 154, 51, 169, 202, 232, 208, 222, 91, 250, 85, 11, 254, 25, 19, 221, 67, 59, 213, 118, 54, 90, 188, 227, 56, 142, 227, 56, 142, 227, 56, 142, 227, 56, 170, 170, 170, 170, 240, 42, 37, 68, 171, 33, 125, 155, 223, 111, 86, 3, 90, 173, 80, 30, 28, 145, 120, 65,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
The issue is that the 'polyveccompress' function is returning an Uint8List of size 192 byte and the public seed of 32 byte is appended to it.
The text was updated successfully, but these errors were encountered: