Skip to content

Commit

Permalink
test/crypto: fix PDCP-SDAP test vectors
Browse files Browse the repository at this point in the history
[ upstream commit 2c34aae94dd79be9ca81875c8b24ec3a1e897861 ]

Fix incorrect fields in PDCP Header.
1. Only Data PDUs should be ciphered and authenticated.
   Here the vectors are control PDUs which should not be crypto
   processed. Change the D/C bit to make the vector as Data PDU
2. Reserved fields must be set to 0.

Updated the vectors and MAC-I values to handle above cases.

Fixes: 003afde ("test/crypto: add test vectors for PDCP-SDAP")

Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
  • Loading branch information
asasidharan authored and kevintraynor committed Jul 18, 2023
1 parent af1e196 commit 1763e0c
Showing 1 changed file with 126 additions and 126 deletions.

0 comments on commit 1763e0c

Please sign in to comment.