]> git.ipfire.org Git - thirdparty/rng-tools.git/blobdiff - rngd_entsource.h
rdrand: Enable the RDSEED instruction
[thirdparty/rng-tools.git] / rngd_entsource.h
index dd1d116d04dbbd52561d11185883f71bbdd846b6..e34f561902bbdf5711b4a40f4d03e8b73391e57e 100644 (file)
@@ -15,7 +15,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA  02110-1335  USA
  */
 
 #ifndef RNGD_ENTSOURCE__H
@@ -36,10 +36,12 @@ extern fips_ctx_t tpm_fipsctx;      /* Context for the tpm FIPS tests */
  * sourcedev is the path to the entropy source
  */
 extern int init_entropy_source(struct rng *);
+extern int init_drng_entropy_source(struct rng *);
 extern int init_tpm_entropy_source(struct rng *);
 
 /* Read data from the entropy source */
 extern int xread(void *buf, size_t size, struct rng *ent_src);
+extern int xread_drng(void *buf, size_t size, struct rng *ent_src);
 extern int xread_tpm(void *buf, size_t size, struct rng *ent_src);
 
 #endif /* RNGD_ENTSOURCE__H */