cose-wg / cose-issues

COSE Working Group Issues
0 stars 1 forks source link

Separate the nonce and IV header parameters #27

Closed selfissued closed 8 years ago

selfissued commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

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