Browse Source

(squash this) Note not to overwrite aead's.

pull/2096/head
ValarDragon 6 years ago
parent
commit
ce9ddc7cd7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docs/architecture/adr-015-symmetric-crypto.md

+ 2
- 0
docs/architecture/adr-015-symmetric-crypto.md View File

@ -64,6 +64,8 @@ In decryption, we read the `algo_name`, and then instantiate a new AEAD with the
Then we call the AEAD's decrypt method on the provided nonce/ciphertext.
`RegisterSymmetric` allows a downstream user to add their own desired AEAD to the symmetric package.
It will error if the AEAD name is already registered.
This prevents a malicious import from modifying / nullifying an AEAD at runtime.
## Implementation strategy


Loading…
Cancel
Save