tree checksum vpatch file split hunks
all signers: diana_coman
antecedents: eucrypt_ch4_rpng eucrypt_keccak_bitrate_fix
press order:
patch:
(8 . 6)(8 . 8)
5
6 To understand EuCrypt, start from http://www.dianacoman.com/2017/12/07/introducing-eucrypt/
7
8 NB: EuCrypt aims to *keep trying* to accomplish a task. In particular, when entropy is needed, it will keep asking for as many random bits as it needs from the configured entropy source and it will not proceed unless those are provided.
9
10 Components:
11 1. mpi
12 Arbitrary length integers and operations.
- 125731AB93CC7040A8516735C40563958A82EF0484E0F9DF9BC60E33225E39BF919D5F6B277421FED43047FA2B2185C0244378C5568A3623674E8B4ABB015168(135 . 8)(135 . 11)
17 * loop until a prime is found: get noctets of random bits, trim and apply 110...01 mask, check if prime
18 */
19 unsigned char *p = xmalloc( noctets );
20 int nread;
21 do {
22 get_random_octets_from( noctets, p, entropy_source );
23 do {
24 nread = get_random_octets_from( noctets, p, entropy_source );
25 } while ( nread != noctets );
26 mpi_set_buffer( output, p, noctets, 0); /* convert to MPI representation */
27 mpi_set_highbit( output, nbits - 1 ); /* trim at required size and set top bit */
28 mpi_set_bit( output, nbits - 2); /* set second top bit */