diff options
author | Piotr Krysik <perper@o2.pl> | 2009-07-21 20:37:54 +0200 |
---|---|---|
committer | Piotr Krysik <perper@o2.pl> | 2009-07-21 20:37:54 +0200 |
commit | daee9c0f855dd7bce6d3257c814d32b15cc5c4e1 (patch) | |
tree | ab9b36ce8ac6728177ecff23edd97e13b13e3b20 /gsm-receiver/src/lib | |
parent | e9ebf57cd87f097bacc32accac8d73d079bae4ba (diff) |
little cleanup, removed one comment, printfs and changed defauld Kc key
Diffstat (limited to 'gsm-receiver/src/lib')
-rw-r--r-- | gsm-receiver/src/lib/gsm_receiver_cf.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gsm-receiver/src/lib/gsm_receiver_cf.cc b/gsm-receiver/src/lib/gsm_receiver_cf.cc index 9b2057d..db662ae 100644 --- a/gsm-receiver/src/lib/gsm_receiver_cf.cc +++ b/gsm-receiver/src/lib/gsm_receiver_cf.cc @@ -72,14 +72,11 @@ void gsm_receiver_cf::read_key(std::string key) for (i = 0;i < 8;i++) { b = d_hex_to_int[(char)key[(i)*2]]*16 + d_hex_to_int[(char)key[i*2+1]]; d_KC[i] = (byte)b; - } + } } void gsm_receiver_cf::process_normal_burst(burst_counter burst_nr, const unsigned char * burst_binary) { -// static byte KC[] = { 0xAD, 0x6A, 0x3E, 0xC2, 0xB4, 0x42, 0xE4, 0x00 }; -// static byte KC[] = { 0x2B, 0x08, 0x74, 0x9F, 0xDD, 0x0D, 0x9C, 0x00 }; -// printf("%x", KC[0]); float decrypted_data[148]; unsigned char * voice_frame; |