uPartyInfo and vPartyInfo are not required for KTS#1527
uPartyInfo and vPartyInfo are not required for KTS#1527jvdsn wants to merge 1 commit intousnistgov:masterfrom
Conversation
|
Thanks for providing this @jvdsn. I'll take a look. |
|
https://github.com/usnistgov/ACVP/blob/master/src/kas/sp800-56br2/sections/05-capabilities.adoc?plain=1#L241 states You are correct that the associated data pattern check in the parameter validator does not enforce this. I'd need to look more closely/a bit deeper to be able to say whether it should or should not be enforcing this. The purpose of the statements in https://github.com/usnistgov/ACVP/blob/master/src/kas/sp800-56br2/sections/05-capabilities.adoc?plain=1#L252-L257 and https://github.com/usnistgov/ACVP/blob/master/src/kas/sp800-56br2/sections/05-capabilities.adoc?plain=1#L261-L266 is not to convey that uPartyInfo and vPartyInfo are REQUIRED to be registered in the associatedDataPattern. I added these statements to document and clarify (for myself and others) how uPartyInfo and vPartyInfo are constructed w/in the context of the ACVTS KAS testing. I'm thinking that you are correct in that these statements may not also be true for KTS testing. That would be something to look at and to flush out. |
In the ACVP-Server source code, the validation of the "AssociatedDataPattern" (used in KTS) is separate from the validation of the "FixedInfoPattern" (used in KDA OneStep and TwoStep, also when part of a KAS):
Note that for OneStep and TwoStep,
uPartyInfoandvPartyInfoare required:ValidateAssociatedDataPatternhas no such checks.