Avoid two memory allocations in each RAND_DRBG_bytes
[openssl.git] / crypto / rand / rand_lcl.h
index 8abca4c..77be005 100644 (file)
@@ -205,6 +205,11 @@ struct rand_drbg_st {
      */
     struct rand_pool_st *pool;
 
+    /*
+     * Auxiliary pool for additional data.
+     */
+    struct rand_pool_st *adin_pool;
+
     /*
      * The following parameters are setup by the per-type "init" function.
      *