X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1ee79256095a770dd406a9cbd48f2a04c2d1499a..605ae1892874a438c5c7d72c5a13e78e1ef0ebbe:/common/crapto1/crapto1.h 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;\