From: Iceman Date: Mon, 26 Jun 2017 19:50:20 +0000 (+0200) Subject: Update crapto1.h X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/605ae1892874a438c5c7d72c5a13e78e1ef0ebbe Update crapto1.h extern definition for validation --- diff --git a/common/crapto1/crapto1.h b/common/crapto1/crapto1.h index 8e79d224..7ccddafd 100644 --- a/common/crapto1/crapto1.h +++ b/common/crapto1/crapto1.h @@ -48,6 +48,7 @@ uint8_t lfsr_rollback_bit(struct Crypto1State* s, uint32_t in, int fb); uint8_t lfsr_rollback_byte(struct Crypto1State* s, uint32_t in, int fb); uint32_t lfsr_rollback_word(struct Crypto1State* s, uint32_t in, int fb); int nonce_distance(uint32_t from, uint32_t to); +extern bool validate_prng_nonce(uint32_t nonce); #define FOREACH_VALID_NONCE(N, FILTER, FSIZE)\ uint32_t __n = 0,__M = 0, N = 0;\ int __i;\