From b47c10d83a557bb9890edb8a8d83d092db4b1292 Mon Sep 17 00:00:00 2001 From: Aram Date: Mon, 25 Apr 2016 14:43:34 +0200 Subject: [PATCH] Fixed the call to load the bitsliced rollback byte to stop confusing Coverity --- pwpiwi_proxmark3_hard_nested.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwpiwi_proxmark3_hard_nested.patch b/pwpiwi_proxmark3_hard_nested.patch index a977be7..c53a52b 100644 --- a/pwpiwi_proxmark3_hard_nested.patch +++ b/pwpiwi_proxmark3_hard_nested.patch @@ -587,7 +587,7 @@ index b3893ea..bf71a08 100644 + PrintAndLog("Using %u-bit bitslices", MAX_BITSLICES); + PrintAndLog("Bitslicing best_first_byte^uid[3] (rollback byte): %02x...", best_first_bytes[0]^(cuid>>24)); + // 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..."); + for(size_t tests = 0; tests < NONCE_TESTS; tests++){