FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/L1/cfile/l1_drive.c @ 556:b3549e06db7e
l1_drive.c compiles: fix for Calypso A5 key setting found in TSM30 source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 04 Aug 2014 05:54:50 +0000 |
parents | 44d30f013ee5 |
children | 10b4bed10192 |
comparison
equal
deleted
inserted
replaced
555:44d30f013ee5 | 556:b3549e06db7e |
---|---|
901 l1s_dsp_com.dsp_ndb_ptr->a_a5_kc[3] = (ciph_key->A[6]) | (ciph_key->A[7] << 8); | 901 l1s_dsp_com.dsp_ndb_ptr->a_a5_kc[3] = (ciph_key->A[6]) | (ciph_key->A[7] << 8); |
902 } | 902 } |
903 | 903 |
904 #else | 904 #else |
905 | 905 |
906 l1s_dsp_com.dsp_ndb_ptr->a_a5_kc[0] = (ciph_key->A[0]) | (ciph_key->A[1] << 8); | 906 l1s_dsp_com.dsp_ndb_ptr->a_kc[0] = (ciph_key->A[0]) | (ciph_key->A[1] << 8); |
907 l1s_dsp_com.dsp_ndb_ptr->a_a5_kc[1] = (ciph_key->A[2]) | (ciph_key->A[3] << 8); | 907 l1s_dsp_com.dsp_ndb_ptr->a_kc[1] = (ciph_key->A[2]) | (ciph_key->A[3] << 8); |
908 l1s_dsp_com.dsp_ndb_ptr->a_a5_kc[2] = (ciph_key->A[4]) | (ciph_key->A[5] << 8); | 908 l1s_dsp_com.dsp_ndb_ptr->a_kc[2] = (ciph_key->A[4]) | (ciph_key->A[5] << 8); |
909 l1s_dsp_com.dsp_ndb_ptr->a_a5_kc[3] = (ciph_key->A[6]) | (ciph_key->A[7] << 8); | 909 l1s_dsp_com.dsp_ndb_ptr->a_kc[3] = (ciph_key->A[6]) | (ciph_key->A[7] << 8); |
910 | 910 |
911 #endif | 911 #endif |
912 } | 912 } |
913 | 913 |
914 /*-------------------------------------------------------*/ | 914 /*-------------------------------------------------------*/ |