passes test vectors and started on 64 bit support