rand: add DRBG/seed setting functions
[openssl.git] / include / openssl / rand.h
index 1b928a1ef49c7a386721856cfa34b99dfb13b6c3..08593705c393e8059b95cb9762fa69a63976cf8c 100644 (file)
@@ -74,6 +74,11 @@ EVP_RAND_CTX *RAND_get0_primary(OSSL_LIB_CTX *ctx);
 EVP_RAND_CTX *RAND_get0_public(OSSL_LIB_CTX *ctx);
 EVP_RAND_CTX *RAND_get0_private(OSSL_LIB_CTX *ctx);
 
+int RAND_set_DRBG_type(OSSL_LIB_CTX *ctx, const char *drbg, const char *propq,
+                       const char *cipher, const char *digest);
+int RAND_set_seed_source_type(OSSL_LIB_CTX *ctx, const char *seed,
+                              const char *propq);
+
 void RAND_seed(const void *buf, int num);
 void RAND_keep_random_devices_open(int keep);