~ubuntu-branches/ubuntu/lucid/openssl/lucid-security

« back to all changes in this revision

Viewing changes to util/mkdef.pl

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2006-10-02 18:05:00 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20061002180500-y5ux36zvt0fjeiax
Tags: upstream-0.9.8c
ImportĀ upstreamĀ versionĀ 0.9.8c

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
85
85
                         "CAST", "MD2", "MD4", "MD5", "SHA", "SHA0", "SHA1",
86
86
                         "SHA256", "SHA512", "RIPEMD",
87
 
                         "MDC2", "RSA", "DSA", "DH", "EC", "ECDH", "ECDSA", "HMAC", "AES",
 
87
                         "MDC2", "RSA", "DSA", "DH", "EC", "ECDH", "ECDSA", "HMAC", "AES", "CAMELLIA",
88
88
                         # Envelope "algorithms"
89
89
                         "EVP", "X509", "ASN1_TYPEDEFS",
90
90
                         # Helper "algorithms"
111
111
my $no_cast;
112
112
my $no_md2; my $no_md4; my $no_md5; my $no_sha; my $no_ripemd; my $no_mdc2;
113
113
my $no_rsa; my $no_dsa; my $no_dh; my $no_hmac=0; my $no_aes; my $no_krb5;
114
 
my $no_ec; my $no_ecdsa; my $no_ecdh; my $no_engine; my $no_hw;
 
114
my $no_ec; my $no_ecdsa; my $no_ecdh; my $no_engine; my $no_hw; my $no_camellia;
115
115
my $no_fp_api; my $no_static_engine; my $no_gmp; my $no_deprecated;
116
116
 
117
117
 
175
175
        elsif (/^no-ecdh$/)     { $no_ecdh=1; }
176
176
        elsif (/^no-hmac$/)     { $no_hmac=1; }
177
177
        elsif (/^no-aes$/)      { $no_aes=1; }
 
178
        elsif (/^no-camellia$/) { $no_camellia=1; }
178
179
        elsif (/^no-evp$/)      { $no_evp=1; }
179
180
        elsif (/^no-lhash$/)    { $no_lhash=1; }
180
181
        elsif (/^no-stack$/)    { $no_stack=1; }
240
241
$crypto.=" crypto/sha/sha.h" ; # unless $no_sha;
241
242
$crypto.=" crypto/ripemd/ripemd.h" ; # unless $no_ripemd;
242
243
$crypto.=" crypto/aes/aes.h" ; # unless $no_aes;
 
244
$crypto.=" crypto/camellia/camellia.h" ; # unless $no_camellia;
243
245
 
244
246
$crypto.=" crypto/bn/bn.h";
245
247
$crypto.=" crypto/rsa/rsa.h" ; # unless $no_rsa;
1089
1091
                        if ($keyword eq "ECDH" && $no_ecdh) { return 0; }
1090
1092
                        if ($keyword eq "HMAC" && $no_hmac) { return 0; }
1091
1093
                        if ($keyword eq "AES" && $no_aes) { return 0; }
 
1094
                        if ($keyword eq "CAMELLIA" && $no_camellia) { return 0; }
1092
1095
                        if ($keyword eq "EVP" && $no_evp) { return 0; }
1093
1096
                        if ($keyword eq "LHASH" && $no_lhash) { return 0; }
1094
1097
                        if ($keyword eq "STACK" && $no_stack) { return 0; }