aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-02-13 18:21:51 +0000
committerBodo Möller <bodo@openssl.org>2002-02-13 18:21:51 +0000
commit4d94ae00d5614d64d4dd065860c4b00161a81f82 (patch)
treee993aa323ea753b3c0782439eb78f4f8c896a67e /util
parent60d8bae30d1040a4f955e3247443b2dd4c674cde (diff)
downloadopenssl-4d94ae00d5614d64d4dd065860c4b00161a81f82.tar.gz
ECDSA support
Submitted by: Nils Larsch <nla@trustcenter.de>
Diffstat (limited to 'util')
-rwxr-xr-xutil/libeay.num72
-rwxr-xr-xutil/mkdef.pl7
-rw-r--r--util/mkerr.pl4
3 files changed, 79 insertions, 4 deletions
diff --git a/util/libeay.num b/util/libeay.num
index adbb09a57f..68f2e05854 100755
--- a/util/libeay.num
+++ b/util/libeay.num
@@ -2760,3 +2760,75 @@ DES_read_2passwords 3206 EXIST::FUNCTION:DES
DES_read_password 3207 EXIST::FUNCTION:DES
UI_UTIL_read_pw 3208 EXIST::FUNCTION:
UI_UTIL_read_pw_string 3209 EXIST::FUNCTION:
+EC_GROUP_new_by_name 3210 EXIST::FUNCTION:EC
+d2i_ECDSA_PUBKEY 3211 EXIST::FUNCTION:ECDSA
+PEM_read_bio_ECDSAPrivateKey 3212 EXIST::FUNCTION:ECDSA
+ECDSA_SIG_new 3213 EXIST::FUNCTION:ECDSA
+ECDSA_verify 3214 EXIST::FUNCTION:ECDSA
+i2d_ECDSAParameters 3215 EXIST::FUNCTION:ECDSA
+i2d_ECDSAPrivateKey_bio 3216 EXIST::FUNCTION:BIO,ECDSA
+PEM_write_bio_ECDSAParameters 3217 EXIST::FUNCTION:ECDSA
+ECDSAParameters_print_fp 3218 EXIST::FUNCTION:ECDSA,FP_API
+ENGINE_set_default_ECDSA 3219 EXIST::FUNCTION:
+PEM_read_bio_ECDSA_PUBKEY 3220 EXIST::FUNCTION:ECDSA
+ECDSA_check_key 3221 EXIST::FUNCTION:ECDSA
+ECDSA_new_method 3222 EXIST::FUNCTION:ECDSA
+d2i_ECDSAPrivateKey_bio 3223 EXIST::FUNCTION:BIO,ECDSA
+i2d_ECDSA_PUBKEY 3224 EXIST::FUNCTION:ECDSA
+i2d_ECDSA_PUBKEY_fp 3225 EXIST::FUNCTION:ECDSA,FP_API
+ENGINE_unregister_ECDSA 3226 EXIST::FUNCTION:
+ECDSA_free 3227 EXIST::FUNCTION:ECDSA
+ECDSAParameters_print 3228 EXIST::FUNCTION:BIO,ECDSA
+PEM_write_bio_ECDSA_PUBKEY 3229 EXIST::FUNCTION:ECDSA
+ECDSA_set_method 3230 EXIST::FUNCTION:ECDSA
+ECDSA_print 3231 EXIST::FUNCTION:BIO,ECDSA
+EVP_PKEY_get1_ECDSA 3232 EXIST::FUNCTION:ECDSA
+ECDSA_SIG_free 3233 EXIST::FUNCTION:ECDSA
+ECDSA_get_default_openssl_method 3234 EXIST::FUNCTION:ECDSA
+ENGINE_get_default_ECDSA 3235 EXIST::FUNCTION:
+PEM_write_ECDSAPrivateKey 3236 EXIST:!WIN16:FUNCTION:ECDSA
+ECDSA_sign_setup 3237 EXIST::FUNCTION:ECDSA
+ENGINE_get_ECDSA 3238 EXIST::FUNCTION:
+d2i_ECDSA_PUBKEY_bio 3239 EXIST::FUNCTION:BIO,ECDSA
+ECDSA_sign 3240 EXIST::FUNCTION:ECDSA
+ENGINE_register_ECDSA 3241 EXIST::FUNCTION:
+d2i_ECDSAPrivateKey_fp 3242 EXIST::FUNCTION:ECDSA,FP_API
+ECDSA_print_fp 3243 EXIST::FUNCTION:ECDSA,FP_API
+i2d_ECDSAPrivateKey 3244 EXIST::FUNCTION:ECDSA
+d2i_ECDSAParameters 3245 EXIST::FUNCTION:ECDSA
+d2i_ECDSAPublicKey 3246 EXIST::FUNCTION:ECDSA
+PEM_write_bio_ECDSAPrivateKey 3247 EXIST::FUNCTION:ECDSA
+d2i_ECDSA_SIG 3248 EXIST::FUNCTION:ECDSA
+ECDSA_size 3249 EXIST::FUNCTION:ECDSA
+EC_GROUP_set_nid 3250 EXIST::FUNCTION:EC
+EVP_PKEY_set1_ECDSA 3251 EXIST::FUNCTION:ECDSA
+EC_GROUP_get_nid 3252 EXIST::FUNCTION:EC
+d2i_ECDSA_PUBKEY_fp 3253 EXIST::FUNCTION:ECDSA,FP_API
+ECDSA_OpenSSL 3254 EXIST::FUNCTION:ECDSA
+ECDSA_get_parameter_flags 3255 EXIST::FUNCTION:ECDSA
+PEM_read_ECDSAParameters 3256 EXIST:!WIN16:FUNCTION:ECDSA
+ECDSA_get_ex_data 3257 EXIST::FUNCTION:ECDSA
+ECDSA_do_verify 3258 EXIST::FUNCTION:ECDSA
+ECDSA_do_sign 3259 EXIST::FUNCTION:ECDSA
+ECDSA_set_parameter_flags 3260 EXIST::FUNCTION:ECDSA
+i2d_ECDSA_SIG 3261 EXIST::FUNCTION:ECDSA
+PEM_read_bio_ECDSAParameters 3262 EXIST::FUNCTION:ECDSA
+ENGINE_load_aep 3263 EXIST::FUNCTION:
+EVP_ecdsa 3264 EXIST::FUNCTION:SHA
+ECDSA_set_default_method 3265 EXIST::FUNCTION:ECDSA
+ENGINE_set_ECDSA 3266 EXIST::FUNCTION:
+ECDSA_get_ex_new_index 3267 EXIST::FUNCTION:ECDSA
+i2d_ECDSAPublicKey 3268 EXIST::FUNCTION:ECDSA
+PEM_write_ECDSA_PUBKEY 3269 EXIST:!WIN16:FUNCTION:ECDSA
+ECDSA_set_ex_data 3270 EXIST::FUNCTION:ECDSA
+i2d_ECDSA_PUBKEY_bio 3271 EXIST::FUNCTION:BIO,ECDSA
+ENGINE_load_sureware 3272 EXIST::FUNCTION:
+d2i_ECDSAPrivateKey 3273 EXIST::FUNCTION:ECDSA
+EC_GROUP_new_by_nid 3274 EXIST::FUNCTION:EC
+PEM_read_ECDSA_PUBKEY 3275 EXIST:!WIN16:FUNCTION:ECDSA
+ECDSA_up_ref 3276 EXIST::FUNCTION:ECDSA
+ENGINE_register_all_ECDSA 3277 EXIST::FUNCTION:
+ECDSA_generate_key 3278 EXIST::FUNCTION:ECDSA
+PEM_write_ECDSAParameters 3279 EXIST:!WIN16:FUNCTION:ECDSA
+i2d_ECDSAPrivateKey_fp 3280 EXIST::FUNCTION:ECDSA,FP_API
+PEM_read_ECDSAPrivateKey 3281 EXIST:!WIN16:FUNCTION:ECDSA
diff --git a/util/mkdef.pl b/util/mkdef.pl
index 071036a6d2..3ed8e53473 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -82,7 +82,7 @@ my @known_ossl_platforms = ( "VMS", "WIN16", "WIN32", "WINNT" );
my @known_algorithms = ( "RC2", "RC4", "RC5", "IDEA", "DES", "BF",
"CAST", "MD2", "MD4", "MD5", "SHA", "SHA0", "SHA1",
"RIPEMD",
- "MDC2", "RSA", "DSA", "DH", "EC", "HMAC", "AES",
+ "MDC2", "RSA", "DSA", "DH", "EC", "ECDSA", "HMAC", "AES",
# Envelope "algorithms"
"EVP", "X509", "ASN1_TYPEDEFS",
# Helper "algorithms"
@@ -105,7 +105,7 @@ my $no_rc2; my $no_rc4; my $no_rc5; my $no_idea; my $no_des; my $no_bf;
my $no_cast;
my $no_md2; my $no_md4; my $no_md5; my $no_sha; my $no_ripemd; my $no_mdc2;
my $no_rsa; my $no_dsa; my $no_dh; my $no_hmac=0; my $no_aes; my $no_krb5;
-my $no_ec;
+my $no_ec; my $no_ecdsa;
my $no_fp_api;
foreach (@ARGV, split(/ /, $options))
@@ -155,6 +155,7 @@ foreach (@ARGV, split(/ /, $options))
elsif (/^no-dsa$/) { $no_dsa=1; }
elsif (/^no-dh$/) { $no_dh=1; }
elsif (/^no-ec$/) { $no_ec=1; }
+ elsif (/^no-ecdsa$/) { $no_ecdsa=1; }
elsif (/^no-hmac$/) { $no_hmac=1; }
elsif (/^no-aes$/) { $no_aes=1; }
elsif (/^no-evp$/) { $no_evp=1; }
@@ -215,6 +216,7 @@ $crypto.=" crypto/rsa/rsa.h" ; # unless $no_rsa;
$crypto.=" crypto/dsa/dsa.h" ; # unless $no_dsa;
$crypto.=" crypto/dh/dh.h" ; # unless $no_dh;
$crypto.=" crypto/ec/ec.h" ; # unless $no_ec;
+$crypto.=" crypto/ecdsa/ecdsa.h" ; # unless $no_ecdsa;
$crypto.=" crypto/hmac/hmac.h" ; # unless $no_hmac;
$crypto.=" crypto/engine/engine.h";
@@ -1022,6 +1024,7 @@ sub is_valid
if ($keyword eq "DSA" && $no_dsa) { return 0; }
if ($keyword eq "DH" && $no_dh) { return 0; }
if ($keyword eq "EC" && $no_ec) { return 0; }
+ if ($keyword eq "ECDSA" && $no_ecdsa) { return 0; }
if ($keyword eq "HMAC" && $no_hmac) { return 0; }
if ($keyword eq "AES" && $no_aes) { return 0; }
if ($keyword eq "EVP" && $no_evp) { return 0; }
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 6c2237d142..4105047b21 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -262,7 +262,7 @@ foreach $lib (keys %csrc)
} else {
push @out,
"/* ====================================================================\n",
-" * Copyright (c) 2001 The OpenSSL Project. All rights reserved.\n",
+" * Copyright (c) 2001-2002 The OpenSSL Project. All rights reserved.\n",
" *\n",
" * Redistribution and use in source and binary forms, with or without\n",
" * modification, are permitted provided that the following conditions\n",
@@ -404,7 +404,7 @@ EOF
print OUT <<"EOF";
/* $cfile */
/* ====================================================================
- * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-2002 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions