Commit Graph

24807 Commits

Author SHA1 Message Date
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
4378f084ef Switch to EVP_MD digest 2009-08-16 11:58:03 +02:00
Love Hornquist Astrand
b39e108bd8 Switch to EVP_MD digest 2009-08-16 11:23:51 +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
6c28d3a772 Switch __FUNCTION__ to __FILE__ since Sun Developer studio doesn't support the former 2009-08-15 05:59:35 +02:00
Love Hornquist Astrand
c8175f83a3 drop __FUNCTION__ 2009-08-15 05:57:07 +02:00
Love Hornquist Astrand
c6198388b7 pre5 2009-08-14 20:16:45 +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
fcdd38288b Use ${kdestroy} instead of the direct path 2009-08-14 20:06:04 +02:00
Love Hornquist Astrand
6ac304d156 Use min() instead of MIN() 2009-08-14 20:05:36 +02:00
Love Hornquist Astrand
92f483823b pre4 2009-08-14 16:29:56 +02:00
Love Hornquist Astrand
4f6adc4573 x 2009-08-14 16:29:40 +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
27b314c4e7 %o is unsigned int, case appropriately 2009-08-14 11:17:44 +02:00
Love Hornquist Astrand
0c539be609 Cast uid_t to long for printing 2009-08-14 11:15: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
8d8bc185ee Clean evp-{hcrypto,cc}.h 2009-08-14 10:32:48 +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
88cd143fd4 Spelling 2009-08-14 10:04:45 +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
b7bee62e48 Show IPv4 and IPv6 adresses too as examples 2009-08-14 04:36:23 +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
40b7a12ed2 add Andrew Cobaugh 2009-08-14 04:09:22 +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
Love Hornquist Astrand
af3a494387 pre3 2009-08-13 09:19:54 +02:00
Love Hornquist Astrand
c1a54a5e37 Make KRB5SignedPath less fragile, only sign trivial parts of the encTicketPart
Sign the client and auth time (like its done in the PAC) and let that
be ehough for now. Add a Typed hole so that we don't break wireprotocol
next time.
2009-08-12 23:05:36 +02:00
Love Hornquist Astrand
1011050f65 x 2009-08-12 22:37:03 +02:00