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

Separate the nonce and IV header parameters #27

Closed
selfissued opened this issue Nov 1, 2015 · 2 comments
Closed

Separate the nonce and IV header parameters #27

selfissued opened this issue Nov 1, 2015 · 2 comments

Comments

@selfissued
Copy link

The description of the “nonce” header parameter in Section 3.1 says that “This parameter holds either a nonce or Initialization Vector value.” Is there a well-understood reason why both a nonce and an initialization vector will never both be needed in the same set of header parameters. Unless such a reason can be documented, please create separate header parameters for “nonce” and “IV”.

@jimsch
Copy link

jimsch commented Nov 5, 2015

It is not clear that this makes sense. In many cases the IV is described as a nonce value not an IV. An example of this is GCM. It depends on what one things a nonce is as oppose to an IV. How would you characterize a nonce that is not trans-actional, and thus by your criteria it should be place in the content not the wrapper

@jimsch jimsch added the Complete label Nov 9, 2015
@jimsch
Copy link

jimsch commented Nov 9, 2015

Part of pull request cose-wg/cose-spec#98

@jimsch jimsch added this to the cose-msg-08 milestone Nov 10, 2015
@jricher jricher closed this as completed Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants