@ -179,7 +179,7 @@ OPENSSL_INLINE int chacha20_poly1305_asm_capable(void) {
# endif
# 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|.
// |plaintext_len| bytes from |ciphertext| and writes them to |out_plaintext|.
// Additional input parameters are passed in |aead_data->in|. On exit, it will
// 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
// 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 ,
size_t ad_len ,
union chacha20_poly1305_open_data * data ) ;
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|.
// |plaintext_len| bytes from |plaintext| and writes them to |out_ciphertext|.
// Additional input parameters are passed in |aead_data->in|. The calculated tag
// Additional input parameters are passed in |aead_data->in|. The calculated tag
// value is over the computed ciphertext concatenated with |extra_ciphertext|
// value is over the computed ciphertext concatenated with |extra_ciphertext|