--- pgp/src/mpiio.h 2018/04/24 16:39:28 1.1.1.3 +++ pgp/src/mpiio.h 2018/04/24 16:43:44 1.1.1.7 @@ -69,9 +69,6 @@ byte *put_word32(word32 w, byte *buf); #include -#define fill0(buffer,count) memset( buffer, 0, count ) - /* Zero-fill the byte buffer. */ - #ifdef EMBEDDED int putchar(int c); /* standard C library function from */ #endif /* EMBEDDED */ @@ -84,7 +81,8 @@ int str2reg(unitptr reg,string digitstr) Returns assumed radix, derived from suffix 'h','o',b','.' */ int display_in_base(string s,unitptr n,short radix); - /* Display n in any base, such as base 10. Returns number of digits. */ + /* Display n in any base, such as base 10. Returns number + of digits. */ void mp_display(string s,unitptr r); /* Display register r in hex, with prefix string s. */ @@ -99,19 +97,12 @@ void hiloswap(byteptr r1,short numbytes) /* Reverses the order of bytes in an array of bytes. */ short mpi2reg(register unitptr r, register byteptr buf); - /* Converts to unit array from byte array with bit length prefix word. */ + /* Converts to unit array from byte array with bit length prefix + word. */ short reg2mpi(register byteptr buf, register unitptr r); - /* Converts from unit array to byte array with bit length prefix word. */ - -short preblock(unitptr outreg, byteptr inbuf, short bytecount, - unitptr modulus, byteptr randompad); - /* Converts plaintext block into form suitable for RSA encryption. */ - -short postunblock(byteptr outbuf, unitptr inreg, unitptr modulus); - /* Converts a just-decrypted RSA block back - into unblocked plaintext form. */ - + /* Converts from unit array to byte array with bit length prefix + word. */ /****************** end of MPI I/O library ************************/