enodeb print security key
This commit is contained in:
parent
01985fbffa
commit
977ed71848
1 changed files with 1 additions and 1 deletions
|
@ -958,7 +958,7 @@ void rrc::ue::set_security_capabilities(LIBLTE_S1AP_UESECURITYCAPABILITIES_STRUC
|
||||||
void rrc::ue::set_security_key(uint8_t* key, uint32_t length)
|
void rrc::ue::set_security_key(uint8_t* key, uint32_t length)
|
||||||
{
|
{
|
||||||
memcpy(k_enb, key, length);
|
memcpy(k_enb, key, length);
|
||||||
|
parent->rrc_log->info_hex(k_enb, 32, "Key eNodeB (k_enb)");
|
||||||
// Select algos (TODO: use security capabilities and config preferences)
|
// Select algos (TODO: use security capabilities and config preferences)
|
||||||
cipher_algo = srslte::CIPHERING_ALGORITHM_ID_EEA0;
|
cipher_algo = srslte::CIPHERING_ALGORITHM_ID_EEA0;
|
||||||
integ_algo = srslte::INTEGRITY_ALGORITHM_ID_128_EIA1;
|
integ_algo = srslte::INTEGRITY_ALGORITHM_ID_128_EIA1;
|
||||||
|
|
Loading…
Reference in a new issue