Skip to content

Commit

Permalink
Fix copypasta
Browse files Browse the repository at this point in the history
  • Loading branch information
gilles-peskine-arm committed Feb 10, 2020
1 parent f2cb216 commit 8d63d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/psa/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ psa_status_t psa_wrap_key_with_policy(psa_key_handle_t wrapping_key,
* They are used as follows:
* - The key type and size may be 0. If either is
* nonzero, it must match the corresponding
* attribute of the source key.
* attribute of the wrapped key data.
* - The key location (the lifetime and, for
* persistent keys, the key identifier) is
* used directly.
Expand All @@ -937,7 +937,7 @@ psa_status_t psa_wrap_key_with_policy(psa_key_handle_t wrapping_key,
* embedded in \p data is ignored.
* - The policy constraints (usage flags and
* algorithm policy) are combined from
* the source key and \p attributes so that
* the wrapped key data and \p attributes so that
* both sets of restrictions apply. The
* policy restrictions are calculated in the
* same way as in psa_copy_key().
Expand Down

0 comments on commit 8d63d5d

Please sign in to comment.