summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/evp.pod
diff options
context:
space:
mode:
authorreyk <>2015-10-14 07:41:28 +0000
committerreyk <>2015-10-14 07:41:28 +0000
commit9d97a73291fdf754ac433bb870b979ef8c5ff3c4 (patch)
tree7f4867395e575d1b4040494f072e867f05b550b7 /src/lib/libcrypto/doc/evp.pod
parent9e151aaca6e7363dac26dfe6ce30adf712fc7102 (diff)
downloadopenbsd-9d97a73291fdf754ac433bb870b979ef8c5ff3c4.tar.gz
openbsd-9d97a73291fdf754ac433bb870b979ef8c5ff3c4.tar.bz2
openbsd-9d97a73291fdf754ac433bb870b979ef8c5ff3c4.zip
Add EVP_AEAD_CTX_init(3) manpage to document the new(ish) AEAD API.
The "authenticated encryption with additional data" API is used for ciphers like AES-GCM or ChaCha20-Poly1305. The manpage is a beginning and certainly needs more work, especially improvements in the EXAMPLES section. Based on agl's source code comments. Converted from pod to mandoc by schwarze@ OK schwarze@ jsing@
Diffstat (limited to 'src/lib/libcrypto/doc/evp.pod')
-rw-r--r--src/lib/libcrypto/doc/evp.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/libcrypto/doc/evp.pod b/src/lib/libcrypto/doc/evp.pod
index 57c761d01f..dfd96d3b98 100644
--- a/src/lib/libcrypto/doc/evp.pod
+++ b/src/lib/libcrypto/doc/evp.pod
@@ -25,6 +25,9 @@ functions.
25Symmetric encryption is available with the L<B<EVP_Encrypt>I<...>|EVP_EncryptInit(3)> 25Symmetric encryption is available with the L<B<EVP_Encrypt>I<...>|EVP_EncryptInit(3)>
26functions. The L<B<EVP_Digest>I<...>|EVP_DigestInit(3)> functions provide message digests. 26functions. The L<B<EVP_Digest>I<...>|EVP_DigestInit(3)> functions provide message digests.
27 27
28Authenticated encryption with additional data (AEAD) is available with
29the L<B<EVP_AEAD>I<...>|EVP_AEAD_CTX_init(3)> functions.
30
28The B<EVP_PKEY>I<...> functions provide a high level interface to 31The B<EVP_PKEY>I<...> functions provide a high level interface to
29asymmetric algorithms. To create a new EVP_PKEY see 32asymmetric algorithms. To create a new EVP_PKEY see
30L<EVP_PKEY_new(3)|EVP_PKEY_new(3)>. EVP_PKEYs can be associated 33L<EVP_PKEY_new(3)|EVP_PKEY_new(3)>. EVP_PKEYs can be associated
@@ -81,6 +84,7 @@ using the high level interface.
81 84
82L<EVP_DigestInit(3)|EVP_DigestInit(3)>, 85L<EVP_DigestInit(3)|EVP_DigestInit(3)>,
83L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>, 86L<EVP_EncryptInit(3)|EVP_EncryptInit(3)>,
87L<EVP_AEAD_CTX_init(3)|EVP_AEAD_CTX_init(3)>,
84L<EVP_OpenInit(3)|EVP_OpenInit(3)>, 88L<EVP_OpenInit(3)|EVP_OpenInit(3)>,
85L<EVP_SealInit(3)|EVP_SealInit(3)>, 89L<EVP_SealInit(3)|EVP_SealInit(3)>,
86L<EVP_DigestSignInit(3)|EVP_DigestSignInit(3)>, 90L<EVP_DigestSignInit(3)|EVP_DigestSignInit(3)>,