diff options
Diffstat (limited to 'third_party/abseil-cpp/absl/random/internal/randen_slow.h')
-rw-r--r-- | third_party/abseil-cpp/absl/random/internal/randen_slow.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/third_party/abseil-cpp/absl/random/internal/randen_slow.h b/third_party/abseil-cpp/absl/random/internal/randen_slow.h index 72f92b54ad..532c3a8991 100644 --- a/third_party/abseil-cpp/absl/random/internal/randen_slow.h +++ b/third_party/abseil-cpp/absl/random/internal/randen_slow.h @@ -23,18 +23,11 @@ namespace absl { ABSL_NAMESPACE_BEGIN namespace random_internal { -// RANDen = RANDom generator or beetroots in Swiss German. +// RANDen = RANDom generator or beetroots in Swiss High German. // RandenSlow implements the basic state manipulation methods for // architectures lacking AES hardware acceleration intrinsics. class RandenSlow { public: - // Size of the entire sponge / state for the randen PRNG. - static constexpr size_t kStateBytes = 256; // 2048-bit - - // Size of the 'inner' (inaccessible) part of the sponge. Larger values would - // require more frequent calls to RandenGenerate. - static constexpr size_t kCapacityBytes = 16; // 128-bit - static void Generate(const void* keys, void* state_void); static void Absorb(const void* seed_void, void* state_void); static const void* GetKeys(); |