preparing 0.016_2
Karel Miko
10 years ago
0 | 0 |
Changes for CryptX
|
1 | 1 |
|
2 | 2 |
TODO:
|
3 | |
- fix crash/memleak/or_what_it_is related to rsa_free/dsa_free
|
|
3 |
- CRITICAL: fix broken camellia
|
|
4 |
- more investigation crash/memleak/or_what_it_is related to rsa_free/dsa_free
|
4 | 5 |
- RSA->check_key (basic check + extented primality test)
|
5 | 6 |
- croak with the "real caller" (Crypt::Mac::*, Crypt::Mode::*, ...)
|
6 | 7 |
- croak when mode does not call start_(en|de)crypt
|
7 | 8 |
- "libtom-src/bn_mp_invmod.c", line 37: warning: statement not reached
|
8 | 9 |
|
9 | |
0.016_1 2013/09/22
|
|
10 |
0.016_2 2013/09/23
|
10 | 11 |
- support for import/export of password protected RSA/DSA keys
|
11 | 12 |
- RSA: added - export_key_pem('public_x509')
|
|
13 |
- better handling of dh_free/rsa_free/dsa_free/ecc_free
|
|
14 |
- added openssl test vectors
|
12 | 15 |
|
13 | 16 |
0.016 2013/09/15
|
14 | 17 |
- added missing test for key2hash, sign_hash, verify_hash
|
2 | 2 |
use strict;
|
3 | 3 |
use warnings ;
|
4 | 4 |
|
5 | |
our $VERSION = '0.016_1';
|
|
5 |
our $VERSION = '0.016_2';
|
6 | 6 |
|
7 | 7 |
require XSLoader;
|
8 | 8 |
XSLoader::load('CryptX', $VERSION);
|
19 | 19 |
$flag = ($flag && $flag eq ':1') ? 1 : 0;
|
20 | 20 |
$cipher_name = uc($cipher_name);
|
21 | 21 |
next if $cipher_name =~ /^(DESX-CBC|RC4)$/;
|
|
22 |
next if $cipher_name =~ /CAMELLIA/; #XXX-FIXME
|
22 | 23 |
die "UNEXPECTED '$l'" unless $cipher_name;
|
23 | 24 |
my ($cipher, undef, $klen, $mode) = $cipher_name =~ /^(AES|DES|DES-EDE3|SEED|CAMELLIA)(-(\d+))?-(CBC|CFB|ECB|OFB|CTR)$/i;
|
24 | 25 |
die "UNKNOWN CIPHER '$cipher_name'" unless $cipher;
|