Skip to content

Commit

Permalink
Remove Python bindings to EVP_AEAD (#10171)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Jan 13, 2024
1 parent 94e5167 commit 13fc913
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 101 deletions.
1 change: 0 additions & 1 deletion src/_cffi_src/build_openssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"engine",
"err",
"evp",
"evp_aead",
"nid",
"objects",
"opensslv",
Expand Down
88 changes: 0 additions & 88 deletions src/_cffi_src/openssl/evp_aead.py

This file was deleted.

12 changes: 0 additions & 12 deletions src/cryptography/hazmat/bindings/openssl/_conditional.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,6 @@ def cryptography_has_get_extms_support() -> list[str]:
return ["SSL_get_extms_support"]


def cryptography_has_evp_aead() -> list[str]:
return [
"EVP_aead_chacha20_poly1305",
"EVP_AEAD_CTX_free",
"EVP_AEAD_CTX_seal",
"EVP_AEAD_CTX_open",
"EVP_AEAD_max_overhead",
"Cryptography_EVP_AEAD_CTX_new",
]


# This is a mapping of
# {condition: function-returning-names-dependent-on-that-condition} so we can
# loop over them and delete unsupported names at runtime. It will be removed
Expand Down Expand Up @@ -248,5 +237,4 @@ def cryptography_has_evp_aead() -> list[str]:
cryptography_has_ssl_op_ignore_unexpected_eof
),
"Cryptography_HAS_GET_EXTMS_SUPPORT": cryptography_has_get_extms_support,
"Cryptography_HAS_EVP_AEAD": cryptography_has_evp_aead,
}

0 comments on commit 13fc913

Please sign in to comment.