summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-21 01:44:27 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-21 01:44:27 +0700
commit1a63dc4ff1a59190980be236843dc055b83b8782 (patch)
treefdf99b715b6779bf8336ea9d0164ecad7ac35188
parentRefactoring in Pqc.Crypto.Cmce (performance) (diff)
downloadBouncyCastle.NET-ed25519-1a63dc4ff1a59190980be236843dc055b83b8782.tar.xz
Make FalconFPR a struct
-rw-r--r--crypto/src/pqc/crypto/falcon/FalconFPR.cs5
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;
         }
     }