Commit Graph

14574 Commits

Author SHA1 Message Date
Love Hornquist Astrand
62433c844c switch to use EVP interface instead of old crypto interface 2009-08-17 16:02:45 +02:00
Love Hornquist Astrand
06f016c1e6 Rename DEF_PROVIDER to HCRYPTO_DEF_PROVIDER 2009-08-17 13:59:17 +02:00
Love Hornquist Astrand
7afc04e7cf switch to use EVP interface instead of old crypto interface 2009-08-17 13:56:59 +02:00
Love Hornquist Astrand
fcfa32b0b9 Use constant time memcmp 2009-08-17 12:04:51 +02:00
Love Hornquist Astrand
a6bfd9bb41 use constant time memcmp 2009-08-17 12:01:06 +02:00
Love Hornquist Astrand
42cec58cb4 switch to use EVP interface instead of old crypto interface 2009-08-17 11:43:24 +02:00
Love Hornquist Astrand
e8fce1170f separate out common crypto vs hcrypto 2009-08-17 10:39:19 +02:00
Love Hornquist Astrand
a1f6faed25 switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:23:01 +02:00
Love Hornquist Astrand
dfd1edb54d switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:20:01 +02:00
Love Hornquist Astrand
ddb54ca483 switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:16:13 +02:00
Love Hornquist Astrand
13c3b9b1c6 switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:15:31 +02:00
Love Hornquist Astrand
639e93d436 switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:14:24 +02:00
Love Hornquist Astrand
3ef05891ee switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:13:04 +02:00
Love Hornquist Astrand
ddb8230917 switch to use EVP interface instead of old MDX_ style interface 2009-08-17 10:10:42 +02:00
Love Hornquist Astrand
9745ba2d18 export right cts symbol 2009-08-17 08:53:43 +02:00
Love Hornquist Astrand
76e01c5084 (EVP_MD_CTX_cleanup): clean out memory 2009-08-16 20:42:38 +02:00
Love Hornquist Astrand
c45ecc94bf switch to use EVP interface instead of old MDX_ style interface 2009-08-16 18:28:40 +02:00
Love Hornquist Astrand
9b138fdec4 remove HAVE_CONFIG_H 2009-08-16 18:28:12 +02:00
Love Hornquist Astrand
eceaab6670 use ct_memcmp 2009-08-15 14:24:19 +02:00
Love Hornquist Astrand
0bb8ad20d3 Use EVP for digest signatures 2009-08-15 14:24:00 +02:00
Love Hornquist Astrand
fef41d9e23 Use constant time compare 2009-08-15 13:29:15 +02:00
Love Hornquist Astrand
1cd2e05d82 ct comment 2009-08-15 13:27:55 +02:00
Love Hornquist Astrand
b657b2e680 Add constant time version of memcmp 2009-08-15 13:24:52 +02:00
Love Hornquist Astrand
c8175f83a3 drop __FUNCTION__ 2009-08-15 05:57:07 +02:00
Love Hornquist Astrand
cdf6c8a199 Don't return void, Solaris CC doesn't like that 2009-08-14 20:07:48 +02:00
Love Hornquist Astrand
8ef2d2d11b the key argument is const, mark it as such 2009-08-14 20:06:39 +02:00
Love Hornquist Astrand
6ac304d156 Use min() instead of MIN() 2009-08-14 20:05:36 +02:00
Love Hornquist Astrand
92288a7137 Avoid testing ECDSA when hcrypto doesn't support it 2009-08-14 16:24:35 +02:00
Love Hornquist Astrand
c9bc9957aa add ecdsa: hcrypto null if we are not using openssl 2009-08-14 16:21:01 +02:00
Love Hornquist Astrand
f6dd20ae2b drop unused struct prototypes 2009-08-14 15:46:30 +02:00
Love Hornquist Astrand
a26bd9bd2f slctest doesn't depend on LEXLIB, slc does though, reorder LDADD 2009-08-14 15:42:46 +02:00
Love Hornquist Astrand
241e0444d9 basic framework for ec.c 2009-08-14 15:33:20 +02:00
Love Hornquist Astrand
0ff7f9ebd2 doxygen 2009-08-14 15:12:05 +02:00
Love Hornquist Astrand
9160374a4c doxygen 2009-08-14 13:47:25 +02:00
Love Hornquist Astrand
f01ca1a10e doxygen 2009-08-14 13:46:45 +02:00
Love Hornquist Astrand
550a6c9427 doxygen fixes, include <evp-hcrypto.h> if not using openssl 2009-08-14 11:45:18 +02:00
Love Hornquist Astrand
ee68687168 @return, not @param for the return value 2009-08-14 11:43:45 +02:00
Love Hornquist Astrand
076f3b9b8c Provide glue function for dirfd() for Solaris 2009-08-14 11:02:08 +02:00
Love Hornquist Astrand
f1207346f0 Fix printf argument error to errx() 2009-08-14 10:45:17 +02:00
Love Hornquist Astrand
a72efaea19 drop dirfd(), and move to roken 2009-08-14 10:40:40 +02:00
Love Hornquist Astrand
b7fc0614f0 Add return type for ECDH_compute_key 2009-08-14 10:13:48 +02:00
Love Hornquist Astrand
7c18fc4cfe Solaris doesn't have dirfd(), lets pull it out from DIR * 2009-08-14 10:12:44 +02:00
Love Hornquist Astrand
193f14461f Add symbols renaming 2009-08-14 10:07:50 +02:00
Love Hornquist Astrand
628075b646 remove dup EC_KEY_free 2009-08-14 10:06:09 +02:00
Love Hornquist Astrand
b0757f7f3f Export krb5_crypto_fx_cf2 2009-08-14 05:49:02 +02:00
Love Hornquist Astrand
d3828fe201 Don't depend on that memcmp() have same return value on all platforms
BSDish libc returns -14 3 14, while GNU LIBC returns -1 3 1.
2009-08-14 05:34:50 +02:00
Love Hornquist Astrand
21ff5b84a5 Fix symbols renaming for flock 2009-08-14 05:17:51 +02:00
Love Hornquist Astrand
ede8ad11ad Support IPv6 numeric style addresses, example [2001:10:300::1]:88 2009-08-14 04:34:10 +02:00
Love Hornquist Astrand
833ac10aab Use unsigned char instead of u_int32_t 2009-08-14 03:59:24 +02:00
Love Hornquist Astrand
57393f7b86 Add <limits.h> for INT_MAX, needed on Solaris 2009-08-14 03:05:18 +02:00