6 * Description: Implementation of the A5/1 stream cipher algorithm, as used in GSM.
7 * ! Warning, this is weak crypto !
22 /* 3-Bit word parity lookup table (Byte)
35 #define PARITY_LOOKUP 0x96
38 uint32_t r1,r2,r3; /* the three regs, 19,22,23 bit in length */
42 void a5_1_init(a5_1_ctx_t *c, uint8_t *key, uint8_t length);
43 bool a5_1_clock(a5_1_ctx_t *c);
44 uint8_t a5_1_gen(a5_ 1_ctx_t *c);