tree checksum vpatch file split hunks

all signers: diana_coman

antecedents: eucrypt_ch4_rpng eucrypt_keccak_bitrate_fix

press order:

eucrypt_genesisdiana_coman
eucrypt_ch8_bit_keccakdiana_coman
eucrypt_ch6_keccak_permutationsdiana_coman
eucrypt_ch7_keccak_spongediana_coman
eucrypt_ch9_keccak_endiannessdiana_coman
eucrypt_ch10_oaep_tmsrdiana_coman
eucrypt_oaep_fix_checksdiana_coman
eucrypt_ch11_serpentdiana_coman
ch1_mpidiana_coman
eucrypt_mpi_fix_copy_incrdiana_coman
ch2_truerandomdiana_coman
eucrypt_ch3_miller_rabindiana_coman
eucrypt_ch4_rpngdiana_coman
eucrypt_ch5_rsa_keysdiana_coman
eucrypt_ch12_wrapper_rsa_oaep_c_adadiana_coman
eucrypt_keccak_bitrate_fixdiana_coman
eucrypt_check_nreaddiana_coman

patch:

- 6D9112FB539EED54572BE08E83FA23127773C52C6AEA0500217D50EC2F8C728CC64864F11C666521F393EB25690961B1C5FCAE914EFB049F6D65F8C4F34E64EC
+ 0F1E1E6138E6AC1F44446B24C9FCEF78DAB67B5AC2186AEA170B507EB33839533699C37C897DAFAB1BAD76F35BF5B98C80DEA90B2102DFAB6580E2CCD1E6A9CE
eucrypt/README
(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
+ 992C1ED9B3037031C841DB0BB5D6467D2142ACCE1E9B67DDF91D1661D7A9731452D2F2D95222AAC51EE7672A781FD2BB195692D3949E14EAF46B8E29D2243FE0
eucrypt/smg_rsa/primegen.c
(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 */