Love Hornquist Astrand
9200bb1738
Wrap <CommonCrypto/CommonDigest.h> with ifdef since it doesn't exists on Tiger
2010-01-08 13:12:44 +01:00
Love Hornquist Astrand
d65ba36a5e
replace exeext too
2010-01-01 13:33:47 +01:00
Love Hornquist Astrand
dd04b1d7ba
make DES_is_weak_key ct
2010-01-01 13:08:04 +01:00
Love Hornquist Astrand
212a3ea09a
test weak keys
2010-01-01 13:07:20 +01:00
Love Hornquist Astrand
02e980612e
make #ifdef positive, add comments
2009-12-24 07:19:49 +01:00
Love Hornquist Astrand
08d12ee6e0
implement RAND_pseudorand for the w32 provider in terms of w32crypto_bytes
2009-12-24 07:13:15 +01:00
Asanka Herath
e5ee3e7d60
Merge commit 'lha/master' into win32-port2
...
* commit 'lha/master':
glue for strsvisx
add Allan McRae and Victor Guerra, sort
Version Heimdal 1.3.2
Remove fd caching since we don't have unload (deconstructor) support
2009-12-01 16:58:05 -05:00
Love Hornquist Astrand
26e5159572
Remove fd caching since we don't have unload (deconstructor) support
...
basiclly this is reverting 164c99a4b4
the problem is when an application is using PAM loaded and unloaded
and over again, the file descriptior never get closed on unload of the
pam module. If main app already uses Heimdal, Heimdal doesn't get
unloaded, but in some scenarios this happen more often.
Since we now use fortuna for our internal random generator, this is
not that bad.
Bug found by Victor Guerra.
2009-11-26 10:06:22 -08:00
Asanka Herath
49d28d3f3a
Thread safety for rand-w32
2009-11-26 01:39:42 -05:00
Asanka Herath
e3882ffc62
(lib/hcrypto) Make w32crypto the default and only RAND method on Windows
2009-11-26 01:38:43 -05:00
Asanka Herath
4d923e766c
(lib/hcrypto) Add missing header files and update exports list
2009-11-25 12:43:13 -05:00
Love Hornquist Astrand
c8fc15de86
random number from windows csp
2009-11-25 07:52:39 -08:00
Asanka Herath
c4b95f7330
Make build on windows
...
Signed-off-by: Love Hornquist Astrand <lha@h5l.org >
2009-11-25 02:22:31 +01:00
Love Hornquist Astrand
c6bbdb545b
First drop of Windows build infrastructure from Secure Endpoints
2009-11-24 12:12:53 -08:00
Love Hornquist Astrand
b9bb21f185
just return if we are asked for 0 bytes
2009-11-22 12:51:23 -08:00
Love Hornquist Astrand
2454e93c62
fix typo
2009-11-22 12:51:02 -08:00
Love Hornquist Astrand
2f2063198f
update (c)
2009-11-22 12:50:39 -08:00
Love Hornquist Astrand
2ac04069b6
If the context already have a EVP_MD_CTX allocated, don't make a new
...
Patch from Derrick Pallas of Riverbed Techology
2009-10-16 16:40:49 -07:00
Love Hornquist Astrand
2064ee1a37
Wrap rc2 with COMMONCRYPTO_SUPPORTS_RC2 since its not suported on Leopard
2009-09-29 13:21:16 -07:00
Love Hornquist Astrand
ec263fc5a4
reading negative size is wrong, zero is ok
2009-09-25 14:53:31 -07:00
Love Hornquist Astrand
b0e2117322
Add missing symbols and fix malformed symbols
...
Build failure reported by Rok Papež on heimdal-discuss
2009-09-19 12:26:52 -07:00
Love Hornquist Astrand
7e1e9dc2e7
drop cts support
2009-08-25 20:28:33 -07:00
Love Hornquist Astrand
a1aa022f8b
drop evp-aes-cts
2009-08-25 20:27:04 -07:00
Love Hornquist Astrand
a4d850a656
don't include evp-aes-cts.c
2009-08-25 20:26:38 -07:00
Love Hornquist Astrand
eb7448156c
export d2i_RSAPublicKey
2009-08-21 21:42:03 -07:00
Love Hornquist Astrand
9f5d22b98a
define and use d2i_RSAPublicKey
2009-08-21 18:57:09 -07:00
Love Hornquist Astrand
796a522b46
always call cipher-init so that we can reset IV when caller wants too
2009-08-21 07:43:50 -07:00
Love Hornquist Astrand
2b6a34e132
allocate cleam memory for cipher to play with
2009-08-21 07:43:29 -07:00
Love Hornquist Astrand
292ff66a64
unused variable
2009-08-21 06:22:01 -07:00
Love Hornquist Astrand
3021868ebb
Drop write only assignments
2009-08-20 20:13:08 -07:00
Love Hornquist Astrand
f6da838557
init variables since compiler doesn't get __attribute__((noreturn))
2009-08-20 14:05:06 -07:00
Love Hornquist Astrand
1838afe680
Make sure return values are checked, always unblind if we blinded, handle error better
2009-08-20 14:04:34 -07:00
Love Hornquist Astrand
dd673af0b6
Import imath 1.14
2009-08-17 16:08:12 +02:00
Love Hornquist Astrand
06f016c1e6
Rename DEF_PROVIDER to HCRYPTO_DEF_PROVIDER
2009-08-17 13:59:17 +02:00
Love Hornquist Astrand
e8fce1170f
separate out common crypto vs hcrypto
2009-08-17 10:39:19 +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
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
8ef2d2d11b
the key argument is const, mark it as such
2009-08-14 20:06:39 +02:00
Love Hornquist Astrand
f6dd20ae2b
drop unused struct prototypes
2009-08-14 15:46:30 +02:00
Love Hornquist Astrand
241e0444d9
basic framework for ec.c
2009-08-14 15:33:20 +02:00
Love Hornquist Astrand
b7fc0614f0
Add return type for ECDH_compute_key
2009-08-14 10:13:48 +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
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
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