Codebase list libcryptx-perl / fc6c42e
notes about solaris crash Karel Miko 10 years ago
3 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
66 - croak with the "real caller" (Crypt::Mac::*, Crypt::Mode::*, ...)
77 - croak when mode does not call start_(en|de)crypt
88 - "libtom-src/bn_mp_invmod.c", line 37: warning: statement not reached
9 - solaris crash:
10 - http://ppm4.activestate.com/sun4-solaris/5.14/1400/M/MI/MIK/CryptX-0.017.d/log-20130924T103600.txt
11 - t/pk_rsa.t crashes after: ok 32 - verify_hash
12 - t/pk_dsa.t crashes after: ok 28 - decrypt
913 - better primality testing: http://questhub.io/realm/perl/quest/519032ee1088c76505000035
1014 - libtomcrypt patch: https://secure.ucc.asn.au/hg/dropbear/rev/9a789fc03f40?revcount=240 (free rsa key)
1115
6767 my $pt = $pr1->decrypt($ct);
6868 ok(length $ct > 200, 'encrypt ' . length($ct));
6969 is($pt, "secret message", 'decrypt');
70
70 #XXX-FIXME somwhere here a crash happens on solaris - http://ppm4.activestate.com/sun4-solaris/5.14/1400/M/MI/MIK/CryptX-0.017.d/log-20130924T103600.txt
7171 my $sig = $pr1->sign_message("message");
7272 ok(length $sig > 60, 'sign_message ' . length($sig));
7373 ok($pu1->verify_message($sig, "message"), 'verify_message');
7777 ok(length $sig > 60, 'sign_hash ' . length($sig));
7878 ok($pu1->verify_hash($sig, $hash, 'SHA1'), 'verify_hash');
7979 }
80
80 #XXX-FIXME somwhere here a crash happens on solaris - http://ppm4.activestate.com/sun4-solaris/5.14/1400/M/MI/MIK/CryptX-0.017.d/log-20130924T103600.txt
8181 {
8282 my $k = Crypt::PK::RSA->new;
8383 $k->generate_key(256, 65537);