aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/bindings/openssl/_conditional.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-11-13 22:47:34 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2018-11-13 22:47:34 -0500
commitd37346651bc4b9ebc0b8c7cfdc7c1f21de6a751d (patch)
tree5871abeda7565e32b1fbb6de35fddcba88e701f3 /src/cryptography/hazmat/bindings/openssl/_conditional.py
parent0dc5e3cce5deeb05c507643dc6c36845a085684f (diff)
downloadcryptography-d37346651bc4b9ebc0b8c7cfdc7c1f21de6a751d.tar.gz
cryptography-d37346651bc4b9ebc0b8c7cfdc7c1f21de6a751d.tar.bz2
cryptography-d37346651bc4b9ebc0b8c7cfdc7c1f21de6a751d.zip
add EVPDigestFinalXOF for extendable output functions (#4589)
Diffstat (limited to 'src/cryptography/hazmat/bindings/openssl/_conditional.py')
-rw-r--r--src/cryptography/hazmat/bindings/openssl/_conditional.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/_conditional.py b/src/cryptography/hazmat/bindings/openssl/_conditional.py
index 06199f4a..76417934 100644
--- a/src/cryptography/hazmat/bindings/openssl/_conditional.py
+++ b/src/cryptography/hazmat/bindings/openssl/_conditional.py
@@ -252,6 +252,12 @@ def cryptography_has_oneshot_evp_digest_sign_verify():
]
+def cryptography_has_evp_digestfinal_xof():
+ return [
+ "EVP_DigestFinalXOF",
+ ]
+
+
def cryptography_has_evp_pkey_get_set_tls_encodedpoint():
return [
"EVP_PKEY_get1_tls_encodedpoint",
@@ -394,4 +400,7 @@ CONDITIONAL_NAMES = {
"Cryptography_HAS_CIPHER_DETAILS": cryptography_has_cipher_details,
"Cryptography_HAS_TLSv1_3": cryptography_has_tlsv13,
"Cryptography_HAS_RAW_KEY": cryptography_has_raw_key,
+ "Cryptography_HAS_EVP_DIGESTFINAL_XOF": (
+ cryptography_has_evp_digestfinal_xof
+ ),
}