Love Hörnquist Åstrand
410d584bbb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 14:04:03 +00:00
Love Hörnquist Åstrand
61be851b36
Need BN_is_negative too.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 14:03:39 +00:00
Love Hörnquist Åstrand
7d37435503
Free memory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:56:05 +00:00
Love Hörnquist Åstrand
279fbe4766
Test BN_uadd.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:55:24 +00:00
Love Hörnquist Åstrand
f84997825f
(BN_uadd): Add.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:34:55 +00:00
Love Hörnquist Åstrand
670afff8cf
(BN_rand): don't leak memory on failure, cache malloc(0) case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:33:58 +00:00
Love Hörnquist Åstrand
0e63038199
(BN_rand): clear the bits above the bits that user requested.
...
(BN_uadd): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 08:29:32 +00:00
Love Hörnquist Åstrand
cc9f4beb11
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:57:08 +00:00
Love Hörnquist Åstrand
e3f2a6b60a
(p11_rsa_public_decrypt): since is wrong, don't provide it. PKCS11
...
can't do public_decrypt, it support verify though. All this doesn't
matter, since the code never go though this path.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:56:51 +00:00
Love Hörnquist Åstrand
2471aed4f0
Provide glue to compile with less warnings with OpenSSL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:38:12 +00:00
Love Hörnquist Åstrand
f9cb9785b3
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 12:22:15 +00:00
Love Hörnquist Åstrand
1a5d249082
(EVP_CIPHER_CTX_cleanup): clean up less aggressively
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 12:22:03 +00:00
Love Hörnquist Åstrand
4aa87b6a5e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 05:50:37 +00:00
Love Hörnquist Åstrand
04972f2f5b
(check_PROGRAMS): add test_hmac
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 05:49:38 +00:00
Love Hörnquist Åstrand
a83755aac8
Simple regression test for HMAC.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 05:48:43 +00:00
Love Hörnquist Åstrand
bac186a757
Make hmac work.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 05:47:45 +00:00
Love Hörnquist Åstrand
cf6b056888
return the right blocksize for digests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-10 05:46:59 +00:00
Love Hörnquist Åstrand
1f6590e295
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:15:08 +00:00
Love Hörnquist Åstrand
d380836a17
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:14:52 +00:00
Love Hörnquist Åstrand
eda99f62e6
(hex_decode): support decoding odd number of characters, in the odd
...
len case, the character ends up in the first byte in the lower nibble.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:09:29 +00:00
Love Hörnquist Åstrand
f9dbc89ee3
Check that we can decode single character hex chars.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 17:07:06 +00:00
Johan Danielsson
1b8bdba909
rename foo to ap_msg
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 16:40:11 +00:00
Johan Danielsson
9bd626b2eb
(kerberos5_is): also syslog all messages printed in auth_debug_mode
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 16:39:38 +00:00
Johan Danielsson
e5e8cfc104
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 16:30:37 +00:00
Johan Danielsson
70820d395c
log successful logins
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 16:26:25 +00:00
Love Hörnquist Åstrand
eda77a82ab
Add test for DH.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-09 15:24:14 +00:00
Love Hörnquist Åstrand
9c8236b25e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 23:24:38 +00:00
Love Hörnquist Åstrand
5140fde4df
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 23:23:09 +00:00
Love Hörnquist Åstrand
018ec753ff
Add DH_new_method, add ENGINE refcounting.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 23:22:55 +00:00
Love Hörnquist Åstrand
f79e06f081
Add ENGINE_set_default_DH and ENGINE_get_default_DH
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 23:20:59 +00:00
Love Hörnquist Åstrand
1b15095bd7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 23:09:30 +00:00
Love Hörnquist Åstrand
f18d723991
Add test for RSA encryption.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 23:09:07 +00:00
Love Hörnquist Åstrand
e1c122af2b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:59:40 +00:00
Love Hörnquist Åstrand
2452ddfd39
Add test for RSA.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:52:54 +00:00
Love Hörnquist Åstrand
4326fc2833
Depend on LIB_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:02:43 +00:00
Love Hörnquist Åstrand
8845ce15db
Use "crypto_headers.h".
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:02:14 +00:00
Love Hörnquist Åstrand
460a1a3274
Include the two diffrent implementation of crypto headers.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:01:32 +00:00
Love Hörnquist Åstrand
966f4361f9
Use "crypto-headers.h". Load ENGINE configuration.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:00:08 +00:00
Love Hörnquist Åstrand
4a4b90d3b8
Use "crypto-headers.h".
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:58:46 +00:00
Love Hörnquist Åstrand
1a7317f812
Make compile with both OpenSSL and heimdal libdes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:58:13 +00:00
Love Hörnquist Åstrand
434d46a8fa
Add code for public key decryption (not supported yet) and use
...
"crypto-headers.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:57:09 +00:00
Love Hörnquist Åstrand
6fffde6387
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:50:18 +00:00
Love Hörnquist Åstrand
b8d967ede5
implement enough glue to support OpenSSLs EVP, RSA, DSA, DH, HMAC and ENGINE interfaces for use in hx509. rename all symbols to start with hc_ to avoid clobbering namespaces. contains no RSA/DH/DSA code, just glue to support using dynamic ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE module supporting RSA
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:47:29 +00:00
Love Hörnquist Åstrand
6a7375e81e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 23:41:53 +00:00
Love Hörnquist Åstrand
6042e74b75
(copy_heim_integer): copy the negative flag
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 23:41:29 +00:00
Love Hörnquist Åstrand
c52f7bb670
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 20:34:04 +00:00
Love Hörnquist Åstrand
7dcf3289bb
add a hx509_context where we can store configuration
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 20:33:31 +00:00
Love Hörnquist Åstrand
d5e17d6541
pkcs11 is now supported by library
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 20:31:57 +00:00
Love Hörnquist Åstrand
0ef14a76b5
fix syntax error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 14:57:06 +00:00
Love Hörnquist Åstrand
9384a0bba9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 14:56:26 +00:00