summaryrefslogtreecommitdiffstats
path: root/include/crypto/drbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/drbg.h')
-rw-r--r--include/crypto/drbg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/drbg.h b/include/crypto/drbg.h
index c3f208dc83ee..fad6450b99f9 100644
--- a/include/crypto/drbg.h
+++ b/include/crypto/drbg.h
@@ -121,12 +121,11 @@ struct drbg_state {
121 unsigned char *prev; /* FIPS 140-2 continuous test value */ 121 unsigned char *prev; /* FIPS 140-2 continuous test value */
122#endif 122#endif
123 struct work_struct seed_work; /* asynchronous seeding support */ 123 struct work_struct seed_work; /* asynchronous seeding support */
124 u8 *seed_buf; /* buffer holding the seed */
125 size_t seed_buf_len;
126 struct crypto_rng *jent; 124 struct crypto_rng *jent;
127 const struct drbg_state_ops *d_ops; 125 const struct drbg_state_ops *d_ops;
128 const struct drbg_core *core; 126 const struct drbg_core *core;
129 struct drbg_string test_data; 127 struct drbg_string test_data;
128 struct random_ready_callback random_ready;
130}; 129};
131 130
132static inline __u8 drbg_statelen(struct drbg_state *drbg) 131static inline __u8 drbg_statelen(struct drbg_state *drbg)