Commit Graph

  • 21983e69ee libdes is renamed to hcrypto Love Hörnquist Åstrand 2006-01-13 13:52:38 +00:00
  • b09a705bf7 Don't clean crypto headers, they now live in hcrypto/. Add hcrypto to SUBDIRS. Love Hörnquist Åstrand 2006-01-13 13:46:42 +00:00
  • 309808aa0f include crypto headers from hcrypto/ Love Hörnquist Åstrand 2006-01-13 13:45:14 +00:00
  • 862811c765 x Love Hörnquist Åstrand 2006-01-13 13:43:32 +00:00
  • 861f37ce34 build include/hcrypto/Makefile Love Hörnquist Åstrand 2006-01-13 13:34:15 +00:00
  • ee86169143 x Love Hörnquist Åstrand 2006-01-13 13:33:55 +00:00
  • 61a7db8122 Expose dsa symbols Love Hörnquist Åstrand 2006-01-13 13:33:34 +00:00
  • 5df6816433 Rename library to hcrypto and install headerfiles in hcrypto/. Love Hörnquist Åstrand 2006-01-13 13:32:57 +00:00
  • ded2929236 Remove support for old hash names. Love Hörnquist Åstrand 2006-01-13 09:00:15 +00:00
  • 0a12680b3c x Love Hörnquist Åstrand 2006-01-13 08:58:13 +00:00
  • 2f56b72d76 Include more crypto headerfiles. Remove support for old hash names. Love Hörnquist Åstrand 2006-01-13 08:57:55 +00:00
  • db692e67db x Love Hörnquist Åstrand 2006-01-13 08:45:16 +00:00
  • 41ce53a16e (PBE_string2key): libdes now supports PKCS12_key_gen Love Hörnquist Åstrand 2006-01-13 08:44:57 +00:00
  • bac884b9e6 Test for PKCS12_key_gen. Love Hörnquist Åstrand 2006-01-13 08:42:49 +00:00
  • 194f4b9da5 x Love Hörnquist Åstrand 2006-01-13 08:41:50 +00:00
  • 1a95d61630 Drop HMAC_CTX_create and HMAC_CTX_destroy. Love Hörnquist Åstrand 2006-01-13 08:41:38 +00:00
  • 38dd4722c8 (ENGINE_add_conf_module): Also load DH Love Hörnquist Åstrand 2006-01-13 08:41:06 +00:00
  • db4f904fbb Reorder includes to avoid compile errors, provide DH_new_method(). Love Hörnquist Åstrand 2006-01-13 08:39:22 +00:00
  • fc22d50a39 Indent. Love Hörnquist Åstrand 2006-01-13 08:38:26 +00:00
  • 33b75d6802 BN_get_negative was really named BN_is_negative, a comment confused me. Love Hörnquist Åstrand 2006-01-13 08:37:58 +00:00
  • 398bb0bf9b BN_get_negative was really named BN_is_negative, a comment confused me. Love Hörnquist Åstrand 2006-01-13 08:27:50 +00:00
  • 3117ec71da Add PKCS12_key_gen(). Love Hörnquist Åstrand 2006-01-13 08:27:12 +00:00
  • d3eb7dcae5 Add test_cipher, test_pkcs12, add pkcs12.[ch]. Love Hörnquist Åstrand 2006-01-13 08:26:09 +00:00
  • 39e4b9eec1 Test for EVP_CIPHER. Love Hörnquist Åstrand 2006-01-13 08:25:34 +00:00
  • 849dc3cc72 Rename rc2_40_cbc internal variable to something better. Unbreak des-ede3-cbc. Love Hörnquist Åstrand 2006-01-13 08:25:00 +00:00
  • f906d4c919 x Johan Danielsson 2006-01-12 16:37:42 +00:00
  • 52f388ba2f (pass): remove unused variable in the !OTP case Johan Danielsson 2006-01-12 16:37:31 +00:00
  • 2699d800b9 if su:ing to root, check that user is a member of group "wheel" Johan Danielsson 2006-01-12 16:25:01 +00:00
  • b126bb0e5b (verify_unix): if su:ing to root, check that user is a member of group "wheel" Johan Danielsson 2006-01-12 16:24:28 +00:00
  • abf3126ee2 x Johan Danielsson 2006-01-12 15:17:26 +00:00
  • 62018203ff fix reversed logic when deciding to print tty or not Johan Danielsson 2006-01-12 15:16:55 +00:00
  • 410d584bbb x Love Hörnquist Åstrand 2006-01-12 14:04:03 +00:00
  • 61be851b36 Need BN_is_negative too. Love Hörnquist Åstrand 2006-01-12 14:03:39 +00:00
  • 7d37435503 Free memory. Love Hörnquist Åstrand 2006-01-11 08:56:05 +00:00
  • 279fbe4766 Test BN_uadd. Love Hörnquist Åstrand 2006-01-11 08:55:24 +00:00
  • f84997825f (BN_uadd): Add. Love Hörnquist Åstrand 2006-01-11 08:34:55 +00:00
  • 670afff8cf (BN_rand): don't leak memory on failure, cache malloc(0) case Love Hörnquist Åstrand 2006-01-11 08:33:58 +00:00
  • 0e63038199 (BN_rand): clear the bits above the bits that user requested. (BN_uadd): new function. Love Hörnquist Åstrand 2006-01-11 08:29:32 +00:00
  • cc9f4beb11 x Love Hörnquist Åstrand 2006-01-11 01:57:08 +00:00
  • 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. Love Hörnquist Åstrand 2006-01-11 01:56:51 +00:00
  • 2471aed4f0 Provide glue to compile with less warnings with OpenSSL Love Hörnquist Åstrand 2006-01-11 01:38:12 +00:00
  • f9cb9785b3 x Love Hörnquist Åstrand 2006-01-10 12:22:15 +00:00
  • 1a5d249082 (EVP_CIPHER_CTX_cleanup): clean up less aggressively Love Hörnquist Åstrand 2006-01-10 12:22:03 +00:00
  • 4aa87b6a5e x Love Hörnquist Åstrand 2006-01-10 05:50:37 +00:00
  • 04972f2f5b (check_PROGRAMS): add test_hmac Love Hörnquist Åstrand 2006-01-10 05:49:38 +00:00
  • a83755aac8 Simple regression test for HMAC. Love Hörnquist Åstrand 2006-01-10 05:48:43 +00:00
  • bac186a757 Make hmac work. Love Hörnquist Åstrand 2006-01-10 05:47:45 +00:00
  • cf6b056888 return the right blocksize for digests. Love Hörnquist Åstrand 2006-01-10 05:46:59 +00:00
  • 1f6590e295 x Love Hörnquist Åstrand 2006-01-09 17:15:08 +00:00
  • d380836a17 x Love Hörnquist Åstrand 2006-01-09 17:14:52 +00:00
  • 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. Love Hörnquist Åstrand 2006-01-09 17:09:29 +00:00
  • f9dbc89ee3 Check that we can decode single character hex chars. Love Hörnquist Åstrand 2006-01-09 17:07:06 +00:00
  • 1b8bdba909 rename foo to ap_msg Johan Danielsson 2006-01-09 16:40:11 +00:00
  • 9bd626b2eb (kerberos5_is): also syslog all messages printed in auth_debug_mode Johan Danielsson 2006-01-09 16:39:38 +00:00
  • e5e8cfc104 x Johan Danielsson 2006-01-09 16:30:37 +00:00
  • 70820d395c log successful logins Johan Danielsson 2006-01-09 16:26:25 +00:00
  • eda77a82ab Add test for DH. Love Hörnquist Åstrand 2006-01-09 15:24:14 +00:00
  • 9c8236b25e x Love Hörnquist Åstrand 2006-01-08 23:24:38 +00:00
  • 5140fde4df x Love Hörnquist Åstrand 2006-01-08 23:23:09 +00:00
  • 018ec753ff Add DH_new_method, add ENGINE refcounting. Love Hörnquist Åstrand 2006-01-08 23:22:55 +00:00
  • f79e06f081 Add ENGINE_set_default_DH and ENGINE_get_default_DH Love Hörnquist Åstrand 2006-01-08 23:20:59 +00:00
  • 1b15095bd7 x Love Hörnquist Åstrand 2006-01-08 23:09:30 +00:00
  • f18d723991 Add test for RSA encryption. Love Hörnquist Åstrand 2006-01-08 23:09:07 +00:00
  • e1c122af2b x Love Hörnquist Åstrand 2006-01-08 22:59:40 +00:00
  • 2452ddfd39 Add test for RSA. Love Hörnquist Åstrand 2006-01-08 22:52:54 +00:00
  • 4326fc2833 Depend on LIB_des Love Hörnquist Åstrand 2006-01-08 22:02:43 +00:00
  • 8845ce15db Use "crypto_headers.h". Love Hörnquist Åstrand 2006-01-08 22:02:14 +00:00
  • 460a1a3274 Include the two diffrent implementation of crypto headers. Love Hörnquist Åstrand 2006-01-08 22:01:32 +00:00
  • 966f4361f9 Use "crypto-headers.h". Load ENGINE configuration. Love Hörnquist Åstrand 2006-01-08 22:00:08 +00:00
  • 4a4b90d3b8 Use "crypto-headers.h". Love Hörnquist Åstrand 2006-01-08 21:58:46 +00:00
  • 1a7317f812 Make compile with both OpenSSL and heimdal libdes. Love Hörnquist Åstrand 2006-01-08 21:58:13 +00:00
  • 434d46a8fa Add code for public key decryption (not supported yet) and use "crypto-headers.h". Love Hörnquist Åstrand 2006-01-08 21:57:09 +00:00
  • 6fffde6387 x Love Hörnquist Åstrand 2006-01-08 21:50:18 +00:00
  • 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 Love Hörnquist Åstrand 2006-01-08 21:47:29 +00:00
  • 6a7375e81e x Love Hörnquist Åstrand 2006-01-04 23:41:53 +00:00
  • 6042e74b75 (copy_heim_integer): copy the negative flag Love Hörnquist Åstrand 2006-01-04 23:41:29 +00:00
  • c52f7bb670 x Love Hörnquist Åstrand 2006-01-04 20:34:04 +00:00
  • 7dcf3289bb add a hx509_context where we can store configuration Love Hörnquist Åstrand 2006-01-04 20:33:31 +00:00
  • d5e17d6541 pkcs11 is now supported by library Love Hörnquist Åstrand 2006-01-04 20:31:57 +00:00
  • 0ef14a76b5 fix syntax error. Love Hörnquist Åstrand 2006-01-04 14:57:06 +00:00
  • 9384a0bba9 x Love Hörnquist Åstrand 2006-01-04 14:56:26 +00:00
  • 5952012ed9 more paranoid on refcount, set refcounter ealier, reset pointers after free Love Hörnquist Åstrand 2006-01-04 14:55:50 +00:00
  • d4c217034c (struct private_key): remove temporary key data storage, convert directly to a key (match_localkeyid): match certificate and key using localkeyid (match_keys): match certificate and key using _hx509_match_keys (_hx509_collector_collect): rewrite to use match_keys and match_localkeyid Love Hörnquist Åstrand 2006-01-04 14:54:32 +00:00
  • 998e7c5677 (_hx509_match_keys): function that determins if a private key matches a certificate, used when there is no localkeyid. (*) reset free pointer Love Hörnquist Åstrand 2006-01-04 14:51:13 +00:00
  • d88b19a93f x Love Hörnquist Åstrand 2006-01-04 08:50:14 +00:00
  • cfbf5acaf7 Rewrite to use collector and mapping support function. Love Hörnquist Åstrand 2006-01-04 08:50:00 +00:00
  • 71a46fa08f (rsa_pkcs1_method): constify Love Hörnquist Åstrand 2006-01-04 08:23:11 +00:00
  • 03838a117c drop extra wrapping of p11_init Love Hörnquist Åstrand 2006-01-04 06:41:58 +00:00
  • de88a56ec8 x Love Hörnquist Åstrand 2006-01-04 06:37:15 +00:00
  • cda5bbd725 (_hx509_private_key_assign_key_file): use function to extra rsa key Love Hörnquist Åstrand 2006-01-04 06:34:46 +00:00
  • 7c75e73121 Revert previous, refcounter is unsigned, so it can never be negative. Love Hörnquist Åstrand 2006-01-04 06:33:54 +00:00
  • e0753bff55 (hx509_cert_ref): more refcount paranoia Love Hörnquist Åstrand 2006-01-04 06:32:43 +00:00
  • f2ebc403b0 Implement rsa_private_decrypt and add stubs for public ditto. Love Hörnquist Åstrand 2006-01-04 06:31:28 +00:00
  • e54ee75622 x Love Hörnquist Åstrand 2006-01-04 06:23:31 +00:00
  • c5f932ca38 Less printf, less memory leaks. Love Hörnquist Åstrand 2006-01-04 06:23:14 +00:00
  • 24329dc0fc Implement signing using pkcs11. Love Hörnquist Åstrand 2006-01-04 06:16:37 +00:00
  • 33038f7586 Partly assign private key, enough to complete collection, but not any crypto functionallity. Love Hörnquist Åstrand 2006-01-04 03:14:59 +00:00
  • 971cfe76fa Use hx509_private_key to assign private keys. Love Hörnquist Åstrand 2006-01-04 03:13:49 +00:00
  • 1c38c798d6 Remove most of the EVP_PKEY code, and use RSA directly, this temporary removes DSA support. Love Hörnquist Åstrand 2006-01-04 03:03:09 +00:00
  • e66ec6f703 (print_f): print if there is a friendly name and if there is a private key Love Hörnquist Åstrand 2006-01-04 03:00:49 +00:00