fixing key naming

This commit is contained in:
David Rupprecht 2019-07-28 14:00:04 +02:00 committed by Andre Puschmann
parent 06ac8143a4
commit bb97d7d199
1 changed files with 6 additions and 6 deletions

View File

@ -1677,12 +1677,12 @@ void nas::integrity_generate(srslte::byte_buffer_t* pdu, uint8_t* mac)
break;
case srslte::INTEGRITY_ALGORITHM_ID_128_EIA3:
srslte::security_128_eia3(&m_sec_ctx.k_nas_int[16],
m_sec_ctx.dl_nas_count,
0, // Bearer always 0 for NAS
SECURITY_DIRECTION_DOWNLINK,
&pdu->msg[5],
pdu->N_bytes - 5,
mac);
m_sec_ctx.dl_nas_count,
0, // Bearer always 0 for NAS
srslte::SECURITY_DIRECTION_DOWNLINK,
&pdu->msg[5],
pdu->N_bytes - 5,
mac);
break;
default:
break;