/dports/java/sablevm-classpath/sablevm-classpath-1.13/gnu/java/security/provider/ |
H A D | SHA1PRNG.java | 58 private static final int SEED_SIZE = 20; field in SHA1PRNG 77 seed = new byte[SEED_SIZE]; in SHA1PRNG() 80 datapos = SEED_SIZE; // try to force hashing a first block in SHA1PRNG() 86 this.seed[seedpos++ % SEED_SIZE] ^= seed[i]; in engineSetSeed() 87 seedpos %= SEED_SIZE; in engineSetSeed() 97 int copy = Math.min (bytes.length - loc, SEED_SIZE - datapos); in engineNextBytes() 108 System.arraycopy( seed, 0, data, SEED_SIZE, SEED_SIZE); in engineNextBytes() 110 System.arraycopy( digestdata, 0, data, 0, SEED_SIZE); in engineNextBytes() 131 System.arraycopy(digestdata, 0, data, 0, SEED_SIZE); in ensureIsSeeded()
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DiscIO/ |
H A D | LaggedFibonacciGenerator.h | 15 static constexpr size_t SEED_SIZE = 17; 20 static size_t GetSeed(const u8* data, size_t size, size_t data_offset, u32 seed_out[SEED_SIZE]); 23 void SetSeed(const u32 seed[SEED_SIZE]); 24 void SetSeed(const u8 seed[SEED_SIZE * sizeof(u32)]); 35 LaggedFibonacciGenerator* lfg, u32 seed_out[SEED_SIZE]); 40 bool Reinitialize(u32 seed_out[SEED_SIZE]);
|
H A D | LaggedFibonacciGenerator.cpp | 16 void LaggedFibonacciGenerator::SetSeed(const u32 seed[SEED_SIZE]) in SetSeed() argument 21 void LaggedFibonacciGenerator::SetSeed(const u8 seed[SEED_SIZE * sizeof(u32)]) in SetSeed() 25 for (size_t i = 0; i < SEED_SIZE; ++i) in SetSeed() 32 u32 seed_out[SEED_SIZE]) in GetSeed() argument 65 LaggedFibonacciGenerator* lfg, u32 seed_out[SEED_SIZE]) in GetSeed() argument 162 bool LaggedFibonacciGenerator::Reinitialize(u32 seed_out[SEED_SIZE]) in Reinitialize() argument 173 for (size_t i = 0; i < SEED_SIZE; ++i) in Reinitialize() 179 for (size_t i = 0; i < SEED_SIZE; ++i) in Reinitialize() 187 for (size_t i = SEED_SIZE; i < LFG_K; ++i) in Initialize()
|
H A D | WIACompression.cpp | 358 constexpr size_t SEED_SIZE = LaggedFibonacciGenerator::SEED_SIZE * sizeof(u32); in Decompress() local 362 SEED_SIZE); in Decompress() 369 m_decompressed_bytes_read += SEED_SIZE; in Decompress()
|
H A D | WIABlob.cpp | 1142 using Seed = std::array<u32, LaggedFibonacciGenerator::SEED_SIZE>; in RVZPack() 1149 constexpr size_t SEED_SIZE = LaggedFibonacciGenerator::SEED_SIZE * sizeof(u32); in RVZPack() local 1165 if (!compression && zeroes > SEED_SIZE) in RVZPack() 1228 if (store_junk_efficiently && end_offset - current_offset > SEED_SIZE) in RVZPack() 1230 const auto next_junk_it = junk_info.upper_bound(current_offset + SEED_SIZE); in RVZPack() 1232 next_junk_it->second.start_offset + SEED_SIZE < end_offset) in RVZPack() 1271 entry.rvz_packed_size += sizeof(u32) + SEED_SIZE; in RVZPack()
|
/dports/devel/bugzilla44/bugzilla-4.4.13/Bugzilla/ |
H A D | RNG.pm | 26 use constant SEED_SIZE => 16; # 128 bits. constant 146 read($fh, $buffer, SEED_SIZE); 147 if (length($buffer) < SEED_SIZE) { 170 my $buffer = chr(0) x SEED_SIZE; 171 my $result = $rtlgenrand->Call($buffer, SEED_SIZE); 207 my $buffer = chr(0) x SEED_SIZE; 208 my $rand_result = $crypt_gen_random->Call($context, SEED_SIZE, $buffer);
|
/dports/devel/bugzilla50/bugzilla-5.0.4/Bugzilla/ |
H A D | RNG.pm | 30 use constant SEED_SIZE => 16; # 128 bits. constant 150 read($fh, $buffer, SEED_SIZE); 151 if (length($buffer) < SEED_SIZE) { 174 my $buffer = chr(0) x SEED_SIZE; 175 my $result = $rtlgenrand->Call($buffer, SEED_SIZE); 211 my $buffer = chr(0) x SEED_SIZE; 212 my $rand_result = $crypt_gen_random->Call($context, SEED_SIZE, $buffer);
|
/dports/security/pam_ssh_agent_auth/pam_ssh_agent_auth-7ff7858/openbsd-compat/ |
H A D | bsd-arc4random.c | 33 #define SEED_SIZE 20 macro 64 unsigned char rand_buf[SEED_SIZE]; in pamsshagentauth_arc4random_stir()
|
/dports/security/p5-Bytes-Random-Secure/Bytes-Random-Secure-0.29/lib/Bytes/Random/ |
H A D | Secure.pm | 31 use constant SEED_SIZE => 256; # In bits constant 44 Bits => SEED_SIZE, # Seed 64 <= Bits <= 8192. Internal (256) 51 Bits => SEED_SIZE,
|
/dports/security/py-pynacl/PyNaCl-1.4.0/src/nacl/ |
H A D | public.py | 81 SEED_SIZE = nacl.bindings.crypto_box_SEEDBYTES 118 if not (isinstance(seed, bytes) and len(seed) == cls.SEED_SIZE): 120 "binary sequence").format(cls.SEED_SIZE)
|
/dports/security/p5-Bytes-Random-Secure-Tiny/Bytes-Random-Secure-Tiny-1.008/lib/Bytes/Random/Secure/ |
H A D | Tiny.pm | 304 use constant SEED_SIZE => 256; # bits; eight 32-bit words. constant 309 my $bits = SEED_SIZE; # Default: eight 32bit words.
|
/dports/security/py-pynacl/PyNaCl-1.4.0/tests/ |
H A D | test_box.py | 55 PrivateKey.from_seed(random(PrivateKey.SEED_SIZE))
|
/dports/java/sablevm-classpath/sablevm-classpath-1.13/ |
H A D | ChangeLog | 17728 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of
|
/dports/lang/gcc6-aux/gcc-6-20180516/libjava/classpath/ |
H A D | ChangeLog-2005 | 23827 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of
|
/dports/lang/gcc48/gcc-4.8.5/libjava/classpath/ |
H A D | ChangeLog-2005 | 23827 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libjava/classpath/ |
H A D | ChangeLog-2005 | 23827 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of
|
/dports/lang/gnat_util/gcc-6-20180516/libjava/classpath/ |
H A D | ChangeLog-2005 | 23827 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libjava/classpath/ |
H A D | ChangeLog-2005 | 23827 (SEED_SIZE, DATA_SIZE): new constants. Use them instead of
|