]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/implementations/ciphers/cipher_tdes_wrap.c
Add a gettable for provider ciphers to return the EVP_CIPH_RAND_KEY flag
[thirdparty/openssl.git] / providers / implementations / ciphers / cipher_tdes_wrap.c
index f6a859539e8f9fd0eb647f00d77333bd9cf5924c..1b4539a64ce32de0b98a9f0e75581886c7938d1d 100644 (file)
@@ -22,7 +22,7 @@
 #include "prov/implementations.h"
 #include "prov/providercommon.h"
 
-#define TDES_WRAP_FLAGS PROV_CIPHER_FLAG_CUSTOM_IV
+#define TDES_WRAP_FLAGS PROV_CIPHER_FLAG_CUSTOM_IV | PROV_CIPHER_FLAG_RAND_KEY
 
 static OSSL_FUNC_cipher_update_fn tdes_wrap_update;
 static OSSL_FUNC_cipher_cipher_fn tdes_wrap_cipher;