Avoid two memory allocations in each RAND_DRBG_bytes
[openssl.git] / crypto / rand / rand_lcl.h
index 8abca4c2906a3d0661b6de774d0f7c7463b2d331..77be0059c9a45d2cef8dca7da020bd214522a0c7 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.
      *