[Cryptech-Commits] [sw/cryptlib] 03/03: Propegate bugfix to flag transcription error to yet another repository.

git at cryptech.is git at cryptech.is
Thu Dec 4 09:25:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository sw/cryptlib.

commit de482ff6ecae3777ad07dc203724c38063286260
Author: Rob Austein <sra at hactrn.net>
Date:   Thu Dec 4 09:22:34 2014 +0100

    Propegate bugfix to flag transcription error to yet another
    repository.
---
 src/cryptech_novena_i2c_coretest.c | 4 ++--
 src/cryptech_novena_i2c_entropy.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/cryptech_novena_i2c_coretest.c b/src/cryptech_novena_i2c_coretest.c
index 31b4345..bb543ad 100644
--- a/src/cryptech_novena_i2c_coretest.c
+++ b/src/cryptech_novena_i2c_coretest.c
@@ -106,8 +106,8 @@
 #define CTRL_INIT_CMD           1
 #define CTRL_NEXT_CMD           2
 #define ADDR_STATUS             0x09
-#define STATUS_READY_BIT        0
-#define STATUS_VALID_BIT        1
+#define STATUS_READY_BIT        1
+#define STATUS_VALID_BIT        2
 
 /*
  * Addresses and codes for the specific hash cores.
diff --git a/src/cryptech_novena_i2c_entropy.c b/src/cryptech_novena_i2c_entropy.c
index 226ad1a..b2e6e22 100644
--- a/src/cryptech_novena_i2c_entropy.c
+++ b/src/cryptech_novena_i2c_entropy.c
@@ -106,8 +106,8 @@
 #define CTRL_INIT_CMD           1
 #define CTRL_NEXT_CMD           2
 #define ADDR_STATUS             0x09
-#define STATUS_READY_BIT        0
-#define STATUS_VALID_BIT        1
+#define STATUS_READY_BIT        1
+#define STATUS_VALID_BIT        2
 
 /*
  * Address for reading 32 bits of entropy from the noise board.



More information about the Commits mailing list