Allocate DRBG additional data pool from non-secure memory
[openssl.git] / crypto / rand / rand_lcl.h
index 416237ace7f190e1c83aa30dc3d5804d5b6c3887..1a77c89a5526bb2f1acb657c937bcdea60aebc02 100644 (file)
@@ -180,6 +180,7 @@ struct rand_pool_st {
     size_t len; /* current number of random bytes contained in the pool */
 
     int attached;  /* true pool was attached to existing buffer */
+    int secure;    /* 1: allocated on the secure heap, 0: otherwise */
 
     size_t min_len; /* minimum number of random bytes requested */
     size_t max_len; /* maximum number of random bytes (allocated buffer size) */