Skip to content

Commit efce7a5

Browse files
committed
remove aes-gcm from protocol.md
1 parent cc29156 commit efce7a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

04-Protocol-Security.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ CipherState has the following interface:
9393
- Sets `k = key`, `n = 0`
9494
- `EncryptWithAd(ad, plaintext)`
9595
- If `k` is non-empty, performs `ENCRYPT(k, n++, ad, plaintext)` on the underlying cipher function, otherwise returns `plaintext`. The `++` post-increment operator applied to `n` means: "use the current n value, then increment it".
96-
- Where `ENCRYPT` is an evaluation of `ChaCha20-Poly1305` (IETF variant) or `AES-GCM` with the passed arguments, with nonce `n` encoded as 32 zero bits, followed by a _little-endian_ 64-bit value. Note: this follows the Noise Protocol convention, rather than our normal endian.
96+
- Where `ENCRYPT` is an evaluation of `ChaCha20-Poly1305` (IETF variant) with the passed arguments, with nonce `n` encoded as 32 zero bits, followed by a _little-endian_ 64-bit value. Note: this follows the Noise Protocol convention, rather than our normal endian.
9797
- `DecryptWithAd(ad, ciphertext)`
9898
- If `k` is non-empty performs `DECRYPT(k, n++, ad, plaintext)` on the underlying cipher function, otherwise returns ciphertext. If an authentication failure occurs in `DECRYPT()` then `n` is not incremented and an error is signaled to the caller.
99-
- Where `DECRYPT` is an evaluation of `ChaCha20-Poly1305` (IETF variant) or `AES-GCM` with the passed arguments, with nonce `n` encoded as 32 zero bits, followed by a _little-endian_ 64-bit value.
99+
- Where `DECRYPT` is an evaluation of `ChaCha20-Poly1305` (IETF variant) with the passed arguments, with nonce `n` encoded as 32 zero bits, followed by a _little-endian_ 64-bit value.
100100

101101
### 4.4.2 Handshake Operation
102102

0 commit comments

Comments
 (0)