bc-csharp icon indicating copy to clipboard operation
bc-csharp copied to clipboard

Private key parameters support in PqcPrivateKeyInfoFactory.CreatePrivateKeyInfo

Open nd1012 opened this issue 2 years ago • 4 comments

It seems there is some code missing for creating private key info from FrodoPrivateKeyParameters.

nd1012 avatar Apr 30 '23 13:04 nd1012

Yes, actually there was quite a bit missing for Frodo, including entries in all the PQC factory classes, which I've now added. Thanks for the report.

peterdettman avatar Apr 30 '23 17:04 peterdettman

Glad to help!

nd1012 avatar May 01 '23 07:05 nd1012

When I'm trying to implement NTRUEncrypt, I get the same problem with NtruPrivateKeyParameters. When I look for the sequence "ntru" in the PqcPrivateKeyInfoFactory.CreatePrivateKeyInfo code, I get no matches, so I assume the same issue also applies for NTRUSign, too.

nd1012 avatar Oct 15 '23 07:10 nd1012

FrodoKEM key info serialization has been fixed with the latest NuGet package version 2.3.0. Anyway, the problem with NTRUEncrypt key serialization still persists.

nd1012 avatar Feb 11 '24 09:02 nd1012