Fixed the call to load the bitsliced rollback byte to stop confusing Coverity
This commit is contained in:
@ -587,7 +587,7 @@ index b3893ea..bf71a08 100644
|
|||||||
+ PrintAndLog("Using %u-bit bitslices", MAX_BITSLICES);
|
+ PrintAndLog("Using %u-bit bitslices", MAX_BITSLICES);
|
||||||
+ PrintAndLog("Bitslicing best_first_byte^uid[3] (rollback byte): %02x...", best_first_bytes[0]^(cuid>>24));
|
+ PrintAndLog("Bitslicing best_first_byte^uid[3] (rollback byte): %02x...", best_first_bytes[0]^(cuid>>24));
|
||||||
+ // convert to 32 bit little-endian
|
+ // convert to 32 bit little-endian
|
||||||
+ crypto1_bs_bitslice_value32(rev32((best_first_bytes[0]^(cuid>>24))), bitsliced_rollback_byte, 8);
|
+ crypto1_bs_bitslice_value32((best_first_bytes[0]<<24)^cuid, bitsliced_rollback_byte, 8);
|
||||||
+
|
+
|
||||||
+ PrintAndLog("Bitslicing nonces...");
|
+ PrintAndLog("Bitslicing nonces...");
|
||||||
+ for(size_t tests = 0; tests < NONCE_TESTS; tests++){
|
+ for(size_t tests = 0; tests < NONCE_TESTS; tests++){
|
||||||
|
Reference in New Issue
Block a user