Update comment in light of prior change.

(Tweaking pending CLs now upsets the tooling so doing this as a
follow-up CL instead.)

Change-Id: I78efc5cb72de7b41d57769bb3958c20167de69b3
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/52325
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
fips-20220613
Adam Langley 3 years ago committed by Boringssl LUCI CQ
parent 53a87b7c59
commit 553e81e473
  1. 4
      crypto/cipher_extra/internal.h

@ -179,7 +179,7 @@ OPENSSL_INLINE int chacha20_poly1305_asm_capable(void) {
#endif
}
// chacha20_poly1305_open is defined in chacha20_poly1305_x86_64.pl. It decrypts
// chacha20_poly1305_open is defined in chacha20_poly1305_*.pl. It decrypts
// |plaintext_len| bytes from |ciphertext| and writes them to |out_plaintext|.
// Additional input parameters are passed in |aead_data->in|. On exit, it will
// write calculated tag value to |aead_data->out.tag|, which the caller must
@ -190,7 +190,7 @@ extern void chacha20_poly1305_open(uint8_t *out_plaintext,
size_t ad_len,
union chacha20_poly1305_open_data *data);
// chacha20_poly1305_open is defined in chacha20_poly1305_x86_64.pl. It encrypts
// chacha20_poly1305_open is defined in chacha20_poly1305_*.pl. It encrypts
// |plaintext_len| bytes from |plaintext| and writes them to |out_ciphertext|.
// Additional input parameters are passed in |aead_data->in|. The calculated tag
// value is over the computed ciphertext concatenated with |extra_ciphertext|

Loading…
Cancel
Save