recover_pk.py: replace secp192r1 by prime192v1
[RRG-proxmark3.git] / common / legic_prng.h
blob1b02518f4c3b8055512923c1c680dd0aa08789d9
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
14 // See LICENSE.txt for the text of the license.
15 //-----------------------------------------------------------------------------
16 // LEGIC's obfuscation function
17 //-----------------------------------------------------------------------------
19 #ifndef __LEGIC_PRNG_H
20 #define __LEGIC_PRNG_H
22 #include "common.h"
24 void legic_prng_init(uint8_t iv);
25 void legic_prng_forward(int count);
26 uint8_t legic_prng_get_bit(void);
27 uint32_t legic_prng_get_bits(uint8_t len);
29 #endif