From 605ae1892874a438c5c7d72c5a13e78e1ef0ebbe Mon Sep 17 00:00:00 2001 From: Iceman Date: Mon, 26 Jun 2017 21:50:20 +0200 Subject: [PATCH] Update crapto1.h extern definition for validation --- common/crapto1/crapto1.h | 1 + 1 file changed, 1 insertion(+) 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;\ -- 2.39.2