diff options
author | Rob Austein <sra@hactrn.net> | 2014-12-04 09:22:34 +0100 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-12-04 09:22:34 +0100 |
commit | de482ff6ecae3777ad07dc203724c38063286260 (patch) | |
tree | 2731e96355115dd4d25923080d4e4a62a90573a8 | |
parent | ce8f1238a1923af331d0de8e97e70a4c7954b060 (diff) |
Propegate bugfix to flag transcription error to yet another
repository.
-rw-r--r-- | src/cryptech_novena_i2c_coretest.c | 4 | ||||
-rw-r--r-- | 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. |