diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-21 01:44:27 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-21 01:44:27 +0700 |
commit | 1a63dc4ff1a59190980be236843dc055b83b8782 (patch) | |
tree | fdf99b715b6779bf8336ea9d0164ecad7ac35188 | |
parent | Refactoring in Pqc.Crypto.Cmce (performance) (diff) | |
download | BouncyCastle.NET-ed25519-1a63dc4ff1a59190980be236843dc055b83b8782.tar.xz |
Make FalconFPR a struct
-rw-r--r-- | crypto/src/pqc/crypto/falcon/FalconFPR.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/src/pqc/crypto/falcon/FalconFPR.cs b/crypto/src/pqc/crypto/falcon/FalconFPR.cs index b3f99f944..bab3d8fcb 100644 --- a/crypto/src/pqc/crypto/falcon/FalconFPR.cs +++ b/crypto/src/pqc/crypto/falcon/FalconFPR.cs @@ -2,11 +2,12 @@ using System; namespace Org.BouncyCastle.Pqc.Crypto.Falcon { - class FalconFPR + internal struct FalconFPR { internal double v; - internal FalconFPR(double v) { + internal FalconFPR(double v) + { this.v = v; } } |