ARM-software / psa-api

Documentation source and development of the PSA Certified API
https://arm-software.github.io/psa-api/
Other
49 stars 24 forks source link

Improve the description of using IVs in PSA_ALG_CTR #186

Closed athoelke closed 3 months ago

athoelke commented 4 months ago

Fixes #181

[As we are patching 1.2 to fix some minor issues, it is worth including this clarification before 1.3.]

athoelke commented 4 months ago

You have lost the sentence

A counter block value must only be used once across all messages encrypted using the same key value.

This is the key cryptographic property, so should be retained.

I've added a patch to reinstate it (or an equivalent). Please check the result conveys the intended meaning effectively.

MarcusJGStreets commented 4 months ago

You have lost the sentence A counter block value must only be used once across all messages encrypted using the same key value. This is the key cryptographic property, so should be retained.

I've added a patch to reinstate it (or an equivalent). Please check the result conveys the intended meaning effectively.

Yes, that looks OK. Thanks.