Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix MAC calculation when message is ciphered #118

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

Raguideau
Copy link
Contributor

@Raguideau Raguideau commented Apr 16, 2024

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have read the CONTRIBUTING document.
  • Each of my commits messages include Signed-off-by: Author Name <authoremail@example.com> to accept the DCO.

Signed-off-by: akiya <akiya.raguideau@hpe.com>
ue.DerivateAlgKey()
if newSecurityContext {
if m.GmmHeader.GetMessageType() == nas.MsgTypeSecurityModeCommand {
ue.UeSecurity.DLCount.Set(0, 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ue.UeSecurity.DLCount.Set(0, 0)
ULCount to be reset to 0 as well?

@linouxis9 linouxis9 merged commit 4a486e4 into HewlettPackard:main Apr 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants