Commit Graph

14193 Commits

Author SHA1 Message Date
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
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
55c9d66d80 Drop md5/md4/rc4 reference and use EVP_ interface 2009-08-11 11:30:04 +02:00
Love Hornquist Astrand
33fcc11b3f Replace last SHA1_ with EVP_ replacement 2009-08-11 10:00:30 +02:00
Love Hornquist Astrand
18a4b69b48 Switch more cases to EVP crypto layer 2009-08-10 17:51:17 +02:00
Love Hornquist Astrand
21e8270aa2 Support RC4 in EVP 2009-08-10 11:48:12 +02:00
Love Hornquist Astrand
8276a469ab Add CommonCrypto support, split out all hcrypto specific code to hcrypto module 2009-08-10 09:07:37 +02:00
Love Hornquist Astrand
2a17be87ab Remove direct use of MD5 2009-08-10 09:06:50 +02:00
Love Hornquist Astrand
da61635b75 Quest Software, Inc. and its contributors waive all copyright claims on
the attached getifaddrs test code and dedicate it to the public domain.

Changed to looked to the other heimdal test apps by me
2009-08-07 20:00:09 +02:00
Love Hornquist Astrand
e57f65f563 clean better 2009-08-06 10:53:35 +02:00
Love Hornquist Astrand
658a7b52ca clean better 2009-08-06 10:19:51 +02:00
Love Hornquist Astrand
0a92381e98 clean better 2009-08-06 10:19:28 +02:00
Love Hornquist Astrand
07f0c8be5d Clean better 2009-08-06 10:18:52 +02:00
Love Hornquist Astrand
655ee18a17 add missing files, clean better 2009-08-06 10:18:25 +02:00
Love Hornquist Astrand
44709846a0 add ec*.h files 2009-08-06 09:28:08 +02:00
Love Hornquist Astrand
d1eb77fba8 add basic symbol renaming and header prototection 2009-08-06 09:27:35 +02:00
Love Hornquist Astrand
5334dd9702 add basic symbol renaming and header prototection 2009-08-06 09:26:54 +02:00
Love Hornquist Astrand
a9b182bc4e add basic symbol renaming and header prototection 2009-08-06 09:25:52 +02:00
Love Hornquist Astrand
3ae9834b37 As part of distdir don't build vis.h for platforms that doesn't need it 2009-08-05 15:42:55 +02:00
Love Hornquist Astrand
b8ebf4e245 add wincrypt 2009-08-05 13:48:40 +02:00
Love Hornquist Astrand
95993f222c Fix order of flags, passes regression test now 2009-08-05 13:42:34 +02:00
Love Hornquist Astrand
3a031244bc Drop RCSID and HAVE_CONFIG_H 2009-08-05 13:37:37 +02:00
Love Hornquist Astrand
80a62da8de make depend on config.h, so that we can't avoid symbol renaming 2009-08-05 12:47:11 +02:00
Ted Percival
1cbb0e766d Fix crash in rk_freeifaddrs due to freeing an invalid pointer
Crash occurs on Linux systems that support AF_NETLINK but do not have
getifaddrs() in libc (eg. SuSE 8.1).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-05 12:29:26 +02:00
Love Hornquist Astrand
0ede7ac561 Pass down the use-dce-style flag instead of the while gssapi krb5 context 2009-08-05 12:00:07 +02:00
Love Hornquist Astrand
1fc7af5bcf Add missing files 2009-08-05 11:13:01 +02:00
Stefan Metzmacher
ab9e5d13ec gsskrb5: try to be compatible with windows for gss_wrap* and cfx
The good thing is that windows and heimdal both use EC=0
in the non DCE_STYLE case, so we need the windows compat hack
only in DCE_STYLE mode.

metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:22:05 +02:00
Stefan Metzmacher
0297d047a4 gsskrb5: add support for DCE_STYLE and des and des3 keys
Only the des keys are tested as windows doesn't support des3

metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:21:20 +02:00
Stefan Metzmacher
772dfac438 lib/asn1: remove unused reference to vers.h
metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:19:44 +02:00
Stefan Metzmacher
5b8a319a7e lib/krb5: fix the build without KRB4
metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:19:44 +02:00
Love Hornquist Astrand
abd2f29c44 Pull in roken and use ROKEN_CPP_BEGIN/ROKEN_CPP_END instead of cdecl 2009-08-04 20:19:44 +02:00
Stefan Metzmacher
513f59dcd4 heimdal:camellia: include roken.h
metze

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-04 20:19:44 +02:00