moving of A5/1

This commit is contained in:
bg 2012-03-14 19:22:41 +00:00
parent 54cfadc0fd
commit cf610f6848
3 changed files with 4 additions and 4 deletions

View File

@ -74,9 +74,9 @@ void shiftreg(uint8_t* d){
d[2] = (d[2]<<1) | c2;
}
uint8_t parity3_lut[] PROGMEM = {0, 1, 1, 0,
const uint8_t parity3_lut[] PROGMEM = {0, 1, 1, 0,
1, 0, 0, 1};
uint8_t clock_lut[] PROGMEM = {0x7, 0x6, 0x5, 0x3,
const uint8_t clock_lut[] PROGMEM = {0x7, 0x6, 0x5, 0x3,
0x3, 0x5, 0x6, 0x7};
uint8_t a5_1_clock_core(a5_1_ctx_t *c, uint8_t clockoverride){

View File

View File

@ -1,7 +1,7 @@
# Makefile for ARCFOUR (RC4 compatible)
# Makefile for A5/1 (from GSM)
ALGO_NAME := A51
# comment out the following line for removement of ARCFOUR from the build process
# comment out the following line for removement of A5/1 from the build process
STREAM_CIPHERS += $(ALGO_NAME)
$(ALGO_NAME)_OBJ := A5_1.o