Lines Matching defs:aead
27 * AEAD couples confidentiality and integrity in a single primitive. AEAD
33 * performs any precomputation needed to use |aead| with |key|. The length of
56 * fixed by the AEAD in use and is returned by |EVP_AEAD_nonce_length|. *The
58 * important - nonce reuse may completely undermine the security of the AEAD.
93 /* AEAD algorithms. */
101 /* EVP_aead_chacha20_poly1305 is the AEAD built from ChaCha20 and
105 /* EVP_aead_chacha20_poly1305_old is an AEAD built from ChaCha20 and
138 /* TLS-specific AEAD algorithms.
140 * These AEAD primitives do not meet the definition of generic AEADs. They are
165 /* SSLv3-specific AEAD algorithms.
167 * These AEAD primitives do not meet the definition of generic AEADs. They are
184 * |aead|. */
185 OPENSSL_EXPORT size_t EVP_AEAD_key_length(const EVP_AEAD *aead);
188 * for |aead|. */
189 OPENSSL_EXPORT size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead);
192 * by the act of sealing data with |aead|. */
193 OPENSSL_EXPORT size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead);
195 /* EVP_AEAD_max_tag_len returns the maximum tag length when using |aead|. This
198 OPENSSL_EXPORT size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead);
201 /* AEAD operations. */
203 /* An EVP_AEAD_CTX represents an AEAD algorithm configured with a specific key
206 const EVP_AEAD *aead;
207 /* aead_state is an opaque pointer to whatever state the AEAD needs to
213 * any AEAD defined in this header. */
217 * any AEAD defined in this header. */
220 /* EVP_AEAD_MAX_OVERHEAD contains the maximum overhead used by any AEAD
225 * EVP_AEAD_CTX_init to indicate that the default tag length for an AEAD should
229 /* evp_aead_direction_t denotes the direction of an AEAD operation. */
241 /* EVP_AEAD_CTX_init initializes |ctx| for the given AEAD algorithm. The |impl|
250 OPENSSL_EXPORT int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead,
258 EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, const uint8_t *key, size_t key_len,
279 * |EVP_AEAD_nonce_length| for this AEAD.
304 * |EVP_AEAD_nonce_length| for this AEAD.