pktgen work (RSA prep. and encryption) and fixes