-
Notifications
You must be signed in to change notification settings - Fork 21
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
IKE v2 seems to provide wrong parameters #372
Comments
Do you want intermediate values from a specific test case? If so, pick a vsId and tcId and I'll generate the intermediate values for it. |
This might be helpful, we will try to reproduce: |
That has expired. Can you either drop the prompt here or provide an active vector set? |
Thanks Chris, i have just generated a new vector set: |
That one is a bit big. Here's a test case that is smaller. This is tcId 268. Note the bitlengths of |
Hi Chris, thanks for providing us this dataset ni=8B328569B49B57AC7208E20F1082BDB49A781881650E381C8A20777BAB0CEF5F3B775CA0DB0610AABFFA28E5BA99372B9A100065187C13E7F3408FC54617A69AEE9CA847CE57A49ADD10FD79160B7D1A05BD9351A7FDFBC3BF2AF87FA0EDBBBD733EF117B35CE90D41A862F45FD312CBC030D301B519B9FFB45B84B74506435FE53D20 What we would expect of (ni || nr || spii | spir) is the full concatenation of the parameters (meaning one after the other) Nevertheless, on your input, we see that from the last byte of ni something happened and the data is different = transforming "3D20" to "3D 37"
Can you please have a look and confirm if there is an issue on the concatenation operation or whether we are not performing the operation accurately? Many thanks |
|
Thanks for point this out Chris! I checked the reference = https://pages.nist.gov/ACVP/draft-celi-acvp-kdf-ikev2.html We see that the registration example integrates an increment maybe this can help for the overall size..
(we will do some registration tests next week to test this) |
Good. The length of nInit and nResp are provided in the test group properties as bits. |
environment
The environment the issue was experienced = Demo
testSessionId
The test session ID = 549202
vsId
The vectorSet ID displaying the issue = 2601060 / 2601061* / 2601062 / 2601063 / 2601064
Algorithm registration
The pertinent algorithm registration pieces (algorithm tested, capabilities, etc) in json format
"vsId": 2601061,
"algorithm": "kdf-components",
"mode": "ikev2",
"revision": "1.0",
"isSample": false,
"testGroups": [
{
"tgId": 1,
"hashAlg": "SHA2-224",
"dhLength": 8192,
"nInitLength": 64,
"nRespLength": 2048,
"derivedKeyingMaterialLength": 16384,
"derivedKeyingMaterialChildLength": 16384,
"testType": "AFT",
"tests": [
Endpoint in which the error is experienced
https://[acvpUrl]/acvp/[endpoint] GET = Not applicable
Expected behavior
A clear and concise description of what you expected to happen
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: