Changes between Version 22 and Version 23 of A3A8A5

Show
Ignore:
Timestamp:
02/02/2012 05:44:13 AM (16 months ago)
Author:
guest
Comment:

CKSN-related update

Legend:

Unmodified
Added
Removed
Modified
  • A3A8A5

    v22 v23  
    3434 
    3535=== Generating Kc === 
    36 Kc is generated along with SRES when {{{comp128v1}}} (or any other A3/A8) is invoked.  Acquiring it is just a matter of adding a little extra string processing to {{{sipauthserve}}}. 
     36Kc is generated along with SRES and CKSN when {{{comp128v1}}} (or any other A3/A8) is invoked in SubscriberRegistry.  Acquiring it is just a matter of adding a little extra string processing to {{{sipauthserve}}}. 
    3737 
    38 === Sending Kc to OpenBTS === 
    39 Kc should be communicated to {{{OpenBTS}}} in the final 200 OK response from sipauthserve.   
     38=== Sending Kc and CKSN to OpenBTS === 
     39Kc and CKSN should be communicated to {{{OpenBTS}}} in the final 200 OK response from sipauthserve.   
    4040 
    4141''Suggestion:'' 
    4242 
    43 Use SIP 200 OK message with ''Authentication-Info'' header set to Kc. 
     43Use SIP 200 OK message with ''Authentication-Info'' header set to Kc, and ''cnonce'' value set to CKSN. 
    4444 
    4545Reasoning:  
     
    5555 1. git clone git://github.com/zabbal/subscriberRegistry.git -b authenc 
    5656 
    57 === Storing Kc Locally in OpenBTS === 
    58 When Kc arrives in the 200 OK, it should be stored locally in the TMSI table.  When a channel is actually using Kc, the active Kc value is also stored in the L1FEC for that channel.  A Kc value of zero will indicate that cihpering is off.  Setting the Kc value on the L1FEC results in immediate application of the new ciphering setting.  The actual Kc value should be kept in L1FEC, with accessor in the {{{L1Encoder}}} and {{{L1Decoder}}} classes and a passthrough accessor in {{{LogicalChannel}}} so that it can also be presented in the transaction table records. 
     57=== Storing Kc and CKSN Locally in OpenBTS === 
     58When Kc and CKSN arrives in the 200 OK, they should be stored locally in the TMSI table.  When a channel is actually using Kc, the active Kc value is also stored in the L1FEC for that channel.  A Kc value of zero will indicate that cihpering is off.  Setting the Kc value on the L1FEC results in immediate application of the new ciphering setting.  The actual Kc value should be kept in L1FEC, with accessor in the {{{L1Encoder}}} and {{{L1Decoder}}} classes and a passthrough accessor in {{{LogicalChannel}}} so that it can also be presented in the transaction table records. 
    5959 
    6060=== Cipher Stream Generation ===