1 1.1 elric 2008-06-26 Love Hrnquist strand <lha (a] kth.se> 2 1.1 elric 3 1.1 elric * ui.c: Send newline from use to stderr, just like the 4 1.1 elric prompt. From Ted Percival. 5 1.1 elric 6 1.1 elric 2008-05-20 Love Hrnquist strand <lha (a] kth.se> 7 1.1 elric 8 1.1 elric * rand-fortuna.c: If we forked, force a reseed again. Add the pid 9 1.1 elric as part of the reseed(). 10 1.1 elric 11 1.1 elric 2008-04-29 Bjrn Sandell <biorn (a] chalmers.se> 12 1.1 elric 13 1.1 elric * des.h: Add DES_set_key_unchecked 14 1.1 elric 15 1.1 elric * version-script.map: Export DES_set_key_unchecked 16 1.1 elric 17 1.1 elric 2008-04-29 Love Hrnquist strand <lha (a] it.su.se> 18 1.1 elric 19 1.1 elric * evp.c: EVP_MD_CTX_init already implemented. 20 1.1 elric 21 1.1 elric 2008-04-28 Love Hrnquist strand <lha (a] it.su.se> 22 1.1 elric 23 1.1 elric * evp.[ch]: deprecate functions that are needed for exported 24 1.1 elric EVP_MD_CTX. 25 1.1 elric 26 1.1 elric * evp.h: Internalize hc_EVP_MD_CTX. 27 1.1 elric 28 1.1 elric * evp.c: Internalize hc_EVP_MD_CTX. 29 1.1 elric 30 1.1 elric * mdtest.c: Use EVP_MD_CTX_create()/EVP_MD_CTX_destroy(). 31 1.1 elric 32 1.1 elric * test_cipher.c: unbreak des-test 33 1.1 elric 34 1.1 elric * evp.c: Fixup key parity before going ahead and using the key. 35 1.1 elric 36 1.1 elric * evp.c: use DES_set_key_unchecked(). 37 1.1 elric 38 1.1 elric * des.c: Remove inifinite loop in DES_set_key(). 39 1.1 elric 40 1.1 elric 2008-04-27 Love Hrnquist strand <lha (a] it.su.se> 41 1.1 elric 42 1.1 elric * des.c: Document missing functions, add DES_check_key_parity(). 43 1.1 elric 44 1.1 elric * des.h: Add DES_check_key_parity, deprecate DES_set_key. 45 1.1 elric 46 1.1 elric * version-script.map: Export DES_check_key_parity. 47 1.1 elric 48 1.1 elric * des.h: DES_set_odd_parity "returns" void. 49 1.1 elric 50 1.1 elric * rand.c: Drop const warnings. 51 1.1 elric 52 1.1 elric * des.h: Sort options. 53 1.1 elric 54 1.1 elric 2008-04-18 Love Hrnquist strand <lha (a] it.su.se> 55 1.1 elric 56 1.1 elric * pkcs5.c: Document PKCS5_PBKDF2_HMAC_SHA1. 57 1.1 elric 58 1.1 elric * des.c: DES is withdrawn. 59 1.1 elric 60 1.1 elric * des.c: Document using doxygen. 61 1.1 elric 62 1.1 elric * des.c: History of DES. 63 1.1 elric 64 1.1 elric * doxygen.c: History of hcrypto. 65 1.1 elric 66 1.1 elric * test_rand.c: do a head vs tail test on the random buffer. 67 1.1 elric 68 1.1 elric * test_crypto.in: Use --file to test_rand. 69 1.1 elric 70 1.1 elric * rand.c: Document, implement RAND_set_rand_engine(). 71 1.1 elric 72 1.1 elric * doxygen.c: Add reference to DES, more quick links. 73 1.1 elric 74 1.1 elric * rnd_keys.c: Reimplement using RAND_ interface. 75 1.1 elric 76 1.1 elric * des.h: Undeprecate DES_new_random_key. 77 1.1 elric 78 1.1 elric * des.c: Add documentation. 79 1.1 elric 80 1.1 elric 2008-04-15 Love Hrnquist strand <lha (a] it.su.se> 81 1.1 elric 82 1.1 elric * camellia-ntt.h: Move the typedef u<num> to camellia-ntt.h header 83 1.1 elric file. Use u32 to define KEY_TABLE_TYPE, avoids warning on 84 1.1 elric platfors where u32 is not unsigned int. 85 1.1 elric 86 1.1 elric * camellia-ntt.c: Move the typedef u<num> to camellia-ntt.h 87 1.1 elric header file. 88 1.1 elric 89 1.1 elric * camellia.h: Drop need to camellia-ntt.h by including some more 90 1.1 elric defines. 91 1.1 elric 92 1.1 elric 2008-04-11 Love Hrnquist strand <lha (a] it.su.se> 93 1.1 elric 94 1.1 elric * rnd_keys.c: deprecated. 95 1.1 elric 96 1.1 elric * des.h: c++ wrappers + deprecated. 97 1.1 elric 98 1.1 elric * aes.h: c++ wrappers 99 1.1 elric 100 1.1 elric * des.h: c++ wrappers + deprecated 101 1.1 elric 102 1.1 elric * rnd_keys.c: Use matching prototypes, prompted by bug report by 103 1.1 elric David Rosenstrauch. 104 1.1 elric 105 1.1 elric 2008-03-19 Love Hrnquist strand <lha (a] it.su.se> 106 1.1 elric 107 1.1 elric * camellia.h: Drop unused defined that originates from aes. 108 1.1 elric 109 1.1 elric 2008-01-11 Love Hrnquist strand <lha (a] it.su.se> 110 1.1 elric 111 1.1 elric * Makefile.am: Add extra files missing from dist. 112 1.1 elric 113 1.1 elric 2007-12-30 Love Hrnquist strand <lha (a] it.su.se> 114 1.1 elric 115 1.1 elric * rsa.c: ENGINE_get_default_RSA can return NULL. 116 1.1 elric 117 1.1 elric * dh.c: more doxygen. 118 1.1 elric 119 1.1 elric 2007-12-28 Love Hrnquist strand <lha (a] it.su.se> 120 1.1 elric 121 1.1 elric * evp.c: Add last of the doxygen documentation for functions in 122 1.1 elric this module. 123 1.1 elric 124 1.1 elric * evp.c: complete the EVP_MD functions doxygen. 125 1.1 elric 126 1.1 elric 2007-12-11 Love Hrnquist strand <lha (a] it.su.se> 127 1.1 elric 128 1.1 elric * version-script.map: export RSA_gmp_method. 129 1.1 elric 130 1.1 elric * doxygen.c: More documentation. 131 1.1 elric 132 1.1 elric * rsa.h: add RSA_gmp_method 133 1.1 elric 134 1.1 elric * rsa-gmp.c: RSA implementation written using GMP. 135 1.1 elric 136 1.1 elric * test_dh.c: Test of DH by Matthias Koenig. 137 1.1 elric 138 1.1 elric 2007-12-09 Love Hrnquist strand <lha (a] it.su.se> 139 1.1 elric 140 1.1 elric * bn.h (BN_is_negative): make argument const. 141 1.1 elric 142 1.1 elric 2007-12-07 Love Hrnquist strand <lha (a] it.su.se> 143 1.1 elric 144 1.1 elric * rand.c: Can't call getpwuid(getuid()) at all since that causes 145 1.1 elric recursive lookups. Pointed out by Hai Zaar. 146 1.1 elric 147 1.1 elric 2007-08-16 Love Hrnquist strand <lha (a] it.su.se> 148 1.1 elric 149 1.1 elric * test_cipher.c: Use test from camellia samples. 150 1.1 elric 151 1.1 elric * version-script.map: Export camellia. 152 1.1 elric 153 1.1 elric * test_cipher.c: Make camellia-128-cbc tests pass. 154 1.1 elric 155 1.1 elric 2007-08-07 Love Hrnquist strand <lha (a] it.su.se> 156 1.1 elric 157 1.1 elric * test_cipher.c: Sprinkle EVP cipher names. 158 1.1 elric 159 1.1 elric 2007-07-30 David Love <fx (a] gnu.org> 160 1.1 elric 161 1.1 elric * camellia-ntt.c: Include <krb5-types.h> 162 1.1 elric 163 1.1 elric 2007-07-24 Love Hrnquist strand <lha (a] it.su.se> 164 1.1 elric 165 1.1 elric * Add Camellia. 166 1.1 elric 167 1.1 elric 2007-07-10 Love Hrnquist strand <lha (a] it.su.se> 168 1.1 elric 169 1.1 elric * Makefile.am: New library version. 170 1.1 elric 171 1.1 elric 2007-06-30 Love Hrnquist strand <lha (a] it.su.se> 172 1.1 elric 173 1.1 elric * hmac.c (HMAC_Init_ex): also zero out key material on re-init. 174 1.1 elric 175 1.1 elric 2007-06-20 Love Hrnquist strand <lha (a] it.su.se> 176 1.1 elric 177 1.1 elric * rand.c: Default to fortuna due to weired /dev/*random that 178 1.1 elric failes to deliver random data for us in hi load situations. 179 1.1 elric 180 1.1 elric * rand-fortuna.c: Reseed the random generator now and then from 181 1.1 elric external sources. 182 1.1 elric 183 1.1 elric 2007-06-19 Love Hrnquist strand <lha (a] it.su.se> 184 1.1 elric 185 1.1 elric * rand-egd.c: Avoid stoping unrelated memory. 186 1.1 elric 187 1.1 elric 2007-06-18 Love Hrnquist strand <lha (a] it.su.se> 188 1.1 elric 189 1.1 elric * rand-fortuna.c: Use /etc/shadow, not /dev/shadow, pointed out by 190 1.1 elric Andrew Bartlett 191 1.1 elric 192 1.1 elric * Makefile.am: add rand-timer.c 193 1.1 elric 194 1.1 elric * rand-fortuna.c: Fall back to gattering data from timer and 195 1.1 elric secret files, this is really the last resort. 196 1.1 elric 197 1.1 elric * rand-timer.c: Pick up timing diffrences in the timeing info from 198 1.1 elric realtime timer, only in use as a last resort. 199 1.1 elric 200 1.1 elric * version-script.map: Add hc_RAND_timer_method. 201 1.1 elric 202 1.1 elric 2007-06-10 Love Hrnquist strand <lha (a] it.su.se> 203 1.1 elric 204 1.1 elric * test_bn.c: Add <rand.h>. 205 1.1 elric 206 1.1 elric * test_crypto.in: Test for random device before running the tests. 207 1.1 elric 208 1.1 elric * test_engine_dso.c: Test for random device. 209 1.1 elric 210 1.1 elric * test_bn.c (test_BN_rand): skip this test if there is no random 211 1.1 elric device 212 1.1 elric 213 1.1 elric 2007-06-07 Love Hrnquist strand <lha (a] it.su.se> 214 1.1 elric 215 1.1 elric * Makefile.am: Include more ui.[ch] in libbctest. 216 1.1 elric 217 1.1 elric * version-script.map: Unexport _hc_DES_ipfp_test now there is a 218 1.1 elric separate test lib. 219 1.1 elric 220 1.1 elric * Makefile.am: Build library libhctest.la for testing and link 221 1.1 elric with that when testing. 222 1.1 elric 223 1.1 elric * version-script.map: export _hc_DES_ipfp_test 224 1.1 elric 225 1.1 elric 2007-06-03 Love Hrnquist strand <lha (a] it.su.se> 226 1.1 elric 227 1.1 elric * imath: new update from Michael Fromberger 228 1.1 elric 229 1.1 elric * test_imath.c: Try to find ABR in mp_int_mul. 230 1.1 elric 231 1.1 elric * engine.c: Don't try to load gmp module. 232 1.1 elric 233 1.1 elric 2007-06-02 Love Hrnquist strand <lha (a] it.su.se> 234 1.1 elric 235 1.1 elric * test_bn.c: Plug memory leak. 236 1.1 elric 237 1.1 elric 2007-05-31 Love Hrnquist strand <lha (a] it.su.se> 238 1.1 elric 239 1.1 elric * imath/imath.[ch]: New snapshot for Michael Fromberger, lets see if 240 1.1 elric this corrupts memory less. 241 1.1 elric 242 1.1 elric 2007-05-30 Love Hrnquist strand <lha (a] it.su.se> 243 1.1 elric 244 1.1 elric * version-script.map: Don't prefix all symbols with _ 245 1.1 elric 246 1.1 elric 2007-05-10 Love Hrnquist strand <lha (a] it.su.se> 247 1.1 elric 248 1.1 elric * test_pkcs12.c: test the difference between "" and NULL password. 249 1.1 elric 250 1.1 elric * test_pkcs12.c: one more pkcs12-pbe-s2k check 251 1.1 elric 252 1.1 elric 2007-04-20 Love Hrnquist strand <lha (a] it.su.se> 253 1.1 elric 254 1.1 elric * Add version-script 255 1.1 elric 256 1.1 elric * test_crypto.in: try generate a couple of rsa keys of 257 1.1 elric diffrent (random) sizes, spelling. 258 1.1 elric 259 1.1 elric * test_rsa.c: try generate a couple of rsa keys of 260 1.1 elric diffrent (random) sizes. 261 1.1 elric 262 1.1 elric 2007-04-19 Love Hrnquist strand <lha (a] it.su.se> 263 1.1 elric 264 1.1 elric * mdtest.c: stop leaking memory 265 1.1 elric 266 1.1 elric * test_imath.c: fix warnings, make test into function. 267 1.1 elric 268 1.1 elric * test_imath.c: shortest program causing the problem. 269 1.1 elric 270 1.1 elric * test_imath.c: basic imath test 271 1.1 elric 272 1.1 elric 2007-04-18 Love Hrnquist strand <lha (a] it.su.se> 273 1.1 elric 274 1.1 elric * test_cipher.c (test_cipher): avoid leaking memory 275 1.1 elric 276 1.1 elric 2007-04-17 Love Hrnquist strand <lha (a] it.su.se> 277 1.1 elric 278 1.1 elric * rsa.c: plug memory leak 279 1.1 elric 280 1.1 elric 2007-04-16 Love Hrnquist strand <lha (a] it.su.se> 281 1.1 elric 282 1.1 elric * Makefile.am: CLEANFILES += test.file 283 1.1 elric 284 1.1 elric 2007-04-15 Love Hrnquist strand <lha (a] it.su.se> 285 1.1 elric 286 1.1 elric * Makefile.am: Add randi.h. 287 1.1 elric 288 1.1 elric 2007-04-11 Love Hrnquist strand <lha (a] it.su.se> 289 1.1 elric 290 1.1 elric * rsa.c: spelling. 291 1.1 elric 292 1.1 elric 2007-02-01 Love Hrnquist strand <lha (a] it.su.se> 293 1.1 elric 294 1.1 elric * rand.c: Name the random file ~/.rnd, this is the same as 295 1.1 elric OpenSSL. 296 1.1 elric 297 1.1 elric 2007-01-31 Love Hrnquist strand <lha (a] it.su.se> 298 1.1 elric 299 1.1 elric * rand-egd.c: Make get_bytes static. 300 1.1 elric 301 1.1 elric * rand.c (RAND_write_file): default to failure. 302 1.1 elric 303 1.1 elric 2007-01-30 Love Hrnquist strand <lha (a] it.su.se> 304 1.1 elric 305 1.1 elric * rand.c: Implement RAND_file_name. 306 1.1 elric 307 1.1 elric * test_rand.c: test RAND_file_name(). 308 1.1 elric 309 1.1 elric * rand.c: Provide dummy implementation of RAND_file_name. 310 1.1 elric 311 1.1 elric * rand.h: add RAND_file_name 312 1.1 elric 313 1.1 elric 2007-01-21 Love Hrnquist strand <lha (a] it.su.se> 314 1.1 elric 315 1.1 elric * Makefile.am: clean more files 316 1.1 elric 317 1.1 elric * rand-egd.c: access private functions though the RAND_METHOD 318 1.1 elric switch, move global egd function to rand-egd.c 319 1.1 elric 320 1.1 elric * rand-fortuna.c: access private functions though the RAND_METHOD 321 1.1 elric switch 322 1.1 elric 323 1.1 elric * rand-unix.c: unexport private functions. 324 1.1 elric 325 1.1 elric * randi.h: Unexport internal functions. 326 1.1 elric 327 1.1 elric * rand.c: access private functions though the RAND_METHOD switch, 328 1.1 elric don't truncate the seed-file, move global egd function to 329 1.1 elric rand-egd.c 330 1.1 elric 331 1.1 elric * test_crypto.in: add basic random tests 332 1.1 elric 333 1.1 elric * rand-egd.c: SGI cc doesn' like return void_returning_function(); 334 1.1 elric in a void returning function. 335 1.1 elric 336 1.1 elric 2007-01-20 Love Hrnquist strand <lha (a] it.su.se> 337 1.1 elric 338 1.1 elric * test_rand.c: Allow select rand method. 339 1.1 elric 340 1.1 elric * rand-unix.c: expose _hc_rand_unix_status 341 1.1 elric 342 1.1 elric * randi.h: expose _hc_rand_unix_status and the internal 343 1.1 elric RAND_METHODs 344 1.1 elric 345 1.1 elric * rand.c: Implement RAND_load_file and RAND_write_file. Select 346 1.1 elric UNIX random device if available, otherwise use Fortuna. 347 1.1 elric 348 1.1 elric * Add EGD/PRNGD support 349 1.1 elric 350 1.1 elric 2007-01-17 Love Hrnquist strand <lha (a] it.su.se> 351 1.1 elric 352 1.1 elric * fortuna: Add fortuna based on Marko Kreen's pgcrypt, no enabled yet 353 1.1 elric 354 1.1 elric 2007-01-11 Love Hrnquist strand <lha (a] it.su.se> 355 1.1 elric 356 1.1 elric * test_rsa.c: if RAND is unhappy, don't run the tests. 357 1.1 elric 358 1.1 elric * test_engine_dso.c: if RAND is unhappy, don't run the tests. 359 1.1 elric 360 1.1 elric * imath/imath.c: Update to imath-1.8 from Michael Fromberger 361 1.1 elric 362 1.1 elric Fixed a bug in s_udiv() affecting the computation of quotient 363 1.1 elric digits. Thanks to Love strand for isolating this bug. Also in 364 1.1 elric this release, defining USELLONG=Y or USELLONG=N on the command 365 1.1 elric line for make will switch support for the "long long" data type on 366 1.1 elric or off without having to edit the Makefile. The default is still 367 1.1 elric to permit use of "long long", even though the type is not standard 368 1.1 elric ANSI C90. 369 1.1 elric 370 1.1 elric * imath/imath.c (s_udiv): Allocate one more for q, remove debug 371 1.1 elric printfs 372 1.1 elric 373 1.1 elric 2007-01-10 Love Hrnquist strand <lha (a] it.su.se> 374 1.1 elric 375 1.1 elric * imath/imath.c (s_udiv): make a copy of a and b before we start 376 1.1 elric to make sure there is something un-tainted to print in cause of 377 1.1 elric failure. XXX remove this delta 378 1.1 elric (s_embar): make static 379 1.1 elric 380 1.1 elric 2007-01-09 Love Hrnquist strand <lha (a] it.su.se> 381 1.1 elric 382 1.1 elric * rsa.c: Correct the test if the rsa is a complete RSA private 383 1.1 elric key. 384 1.1 elric 385 1.1 elric 2007-01-08 Love Hrnquist strand <lha (a] it.su.se> 386 1.1 elric 387 1.1 elric * imath/imath.c: More verbose debugging in case of assertion 388 1.1 elric failure. XXX temporary for AIX problem. 389 1.1 elric 390 1.1 elric 2007-01-06 Love Hrnquist strand <lha (a] it.su.se> 391 1.1 elric 392 1.1 elric * rsa-imath.c: Fix a silly typo, and with that enable CRT since 393 1.1 elric now it works. 394 1.1 elric 395 1.1 elric * rsa-imath.c: With this crt works, but something is wrong in the 396 1.1 elric key generation, so keep it turned off for now. 397 1.1 elric 398 1.1 elric * test_rsa.c: Allow testing effect of key-blinding 399 1.1 elric 400 1.1 elric * test_rsa.c: Add timing info to rsa keygen. 401 1.1 elric 402 1.1 elric * rsa-imath.c: don't include <imath/rsamath.h> 403 1.1 elric 404 1.1 elric 2007-01-05 Love Hrnquist strand <lha (a] it.su.se> 405 1.1 elric 406 1.1 elric * imath: prune off stuff we dont use 407 1.1 elric 408 1.1 elric * imath/import.sh: Prune off stuff we don't use from imathsource 409 1.1 elric 410 1.1 elric * Makefile.am: Prune off stuff we don't use from imathsource 411 1.1 elric 412 1.1 elric * rsa-imath.c: Use mp_int_exptmod directly. 413 1.1 elric 414 1.1 elric * imath/iprime.c: Use a larger table of small primes, cut down 415 1.1 elric genenration in best cases to half compared to using a small table. 416 1.1 elric 417 1.1 elric * rsa.h: add RSA_FLAG_NO_BLINDING 418 1.1 elric 419 1.1 elric * rsa-imath.c: Add keyblinding, add a commented out CRT based RSA. 420 1.1 elric 421 1.1 elric * rsa.c: Add iqmp. 422 1.1 elric 423 1.1 elric 2007-01-04 Love Hrnquist strand <lha (a] it.su.se> 424 1.1 elric 425 1.1 elric * rsa.c: add missing ; 426 1.1 elric 427 1.1 elric * rsa.c: Add i2d_RSAPrivateKey. 428 1.1 elric 429 1.1 elric * rsa.h: Add i2d_RSAPrivateKey. 430 1.1 elric 431 1.1 elric * test_rsa.c: test RSA_generate_key_ex 432 1.1 elric 433 1.1 elric * rsa-imath.c: Add imath_rsa_generate_key. 434 1.1 elric 435 1.1 elric 2006-12-31 Love Hrnquist strand <lha (a] it.su.se> 436 1.1 elric 437 1.1 elric * rsa.c: add RSA_generate_key_ex 438 1.1 elric 439 1.1 elric * rsa.h: add RSA_generate_key_ex 440 1.1 elric 441 1.1 elric 2006-12-07 Love Hrnquist strand <lha (a] it.su.se> 442 1.1 elric 443 1.1 elric * Makefile.am: CLEANFILES += test_crypto 444 1.1 elric 445 1.1 elric 2006-12-06 Love Hrnquist strand <lha (a] it.su.se> 446 1.1 elric 447 1.1 elric * Makefile.am: Add rsakey.der to EXTRA_DIST. 448 1.1 elric 449 1.1 elric 2006-12-05 Love Hrnquist strand <lha (a] it.su.se> 450 1.1 elric 451 1.1 elric * Makefile.am: Add test_crypto.in to EXTRA_DIST. 452 1.1 elric 453 1.1 elric * test_crypto.in: Add more spaces to allow sh to parse this 454 1.1 elric 455 1.1 elric * test_rsa.c: Explain what the fixed "sha1" checksum test tries to 456 1.1 elric test. 457 1.1 elric 458 1.1 elric * test_crypto.in: test rsa, dh and engine code 459 1.1 elric 460 1.1 elric 2006-12-04 Love Hrnquist strand <lha (a] it.su.se> 461 1.1 elric 462 1.1 elric * Makefile.am: rsa and crypto engine test cases 463 1.1 elric 464 1.1 elric * test_rsa.c: Make faster and less verbose 465 1.1 elric 466 1.1 elric * rsakey.der: test rsa key 467 1.1 elric 468 1.1 elric * test_rsa.c: Test rsa operations 469 1.1 elric 470 1.1 elric * rsa-imath.c: Fix the rsa-decrypt failed case that been hauting 471 1.1 elric me for a while. 472 1.1 elric 473 1.1 elric 2006-12-02 Love Hrnquist strand <lha (a] it.su.se> 474 1.1 elric 475 1.1 elric * rsa-imath.c: Use mp_int_to_binary to encode bignums 476 1.1 elric 477 1.1 elric * rsa-imath.c: Check if header is there 478 1.1 elric 479 1.1 elric 2006-11-27 Love Hrnquist strand <lha (a] it.su.se> 480 1.1 elric 481 1.1 elric * rsa-imath.c: Return -1 for failure. 482 1.1 elric 483 1.1 elric * rsa-imath.c: Its ok with smaller signatures. 484 1.1 elric 485 1.1 elric * rsa-imath.c: Split error codes for now 486 1.1 elric 487 1.1 elric 2006-10-22 Love Hrnquist strand <lha (a] it.su.se> 488 1.1 elric 489 1.1 elric * rsa.c: Try to not leak memory. 490 1.1 elric 491 1.1 elric 2006-10-21 Love Hrnquist strand <lha (a] it.su.se> 492 1.1 elric 493 1.1 elric * rand-unix.c (unix_bytes): read until the other side give us all 494 1.1 elric or fail. 495 1.1 elric 496 1.1 elric * imath: import imath-1.7, fixes buffer overrun problems 497 1.1 elric 498 1.1 elric * rsa.c (RSA_free): free the whole key 499 1.1 elric 500 1.1 elric * test_engine_dso.c: Add more dh tests. 501 1.1 elric 502 1.1 elric 2006-10-20 Love Hrnquist strand <lha (a] it.su.se> 503 1.1 elric 504 1.1 elric * imath/imath.c: Allocate more bits. 505 1.1 elric 506 1.1 elric * dh-imath.c (dh_compute_key): fix signness test 507 1.1 elric 508 1.1 elric * dh-imath.c: Try harder to generate a good keypair. 509 1.1 elric 510 1.1 elric * dh-imath.c: Return -1 dh_compute_key on failure, pointed out by 511 1.1 elric Olga Kornievskaia. 512 1.1 elric 513 1.1 elric 2006-10-19 Love Hrnquist strand <lha (a] it.su.se> 514 1.1 elric 515 1.1 elric * Makefile.am: Add hash.h and des-tables.h. 516 1.1 elric 517 1.1 elric * dh.c (DH_compute_key): return -1 on bad public key. 518 1.1 elric 519 1.1 elric * rsa.c: remove stray ; 520 1.1 elric 521 1.1 elric * engine.c: Does function typecasts instead of void * type-casts. 522 1.1 elric 523 1.1 elric * evp.c: Does function typecasts instead of void * type-casts. 524 1.1 elric 525 1.1 elric 2006-10-16 Love Hrnquist strand <lha (a] it.su.se> 526 1.1 elric 527 1.1 elric * Makefile.am: add rand-unix.c 528 1.1 elric 529 1.1 elric * rand.c: Move out rand-unix functions from the core lib. 530 1.1 elric 531 1.1 elric * rand-unix.c: Move out rand-unix functions from the core lib. 532 1.1 elric 533 1.1 elric 2006-10-15 Love Hrnquist strand <lha (a] it.su.se> 534 1.1 elric 535 1.1 elric * hmac.c (HMAC_CTX_cleanup): destroy the EVP_MD_CTX, so it will be 536 1.1 elric freed. 537 1.1 elric 538 1.1 elric 2006-10-14 Love Hrnquist strand <lha (a] it.su.se> 539 1.1 elric 540 1.1 elric * bn.c: Drop heim_any.h, prefix der primitives with der_ 541 1.1 elric 542 1.1 elric * rsa.c: Drop heim_any.h. 543 1.1 elric 544 1.1 elric 2006-10-11 Love Hrnquist strand <lha (a] it.su.se> 545 1.1 elric 546 1.1 elric * rsa.c (RSA_free): Call the meth->finish before releasing the 547 1.1 elric engine. 548 1.1 elric 549 1.1 elric 2006-10-06 Love Hrnquist strand <lha (a] it.su.se> 550 1.1 elric 551 1.1 elric * imath/imath.c: Cast argument to ctype(3) functions to (unsigned 552 1.1 elric char). 553 1.1 elric 554 1.1 elric * imath/imrat.c: Cast argument to ctype(3) functions to (unsigned 555 1.1 elric char). 556 1.1 elric 557 1.1 elric 2006-09-22 Love Hrnquist strand <lha (a] it.su.se> 558 1.1 elric 559 1.1 elric * ui.c (read_string): Try to not call signaction for signal 0 and 560 1.1 elric use NSIG if it exists to determin how many signals there exists, 561 1.1 elric also, only restore those signalhandlers that we got out. 562 1.1 elric 563 1.1 elric Bug reported by and patch tested by Harald Barth. 564 1.1 elric 565 1.1 elric 2006-09-15 Love Hrnquist strand <lha (a] it.su.se> 566 1.1 elric 567 1.1 elric * rsa-imath.c: Add commeted out test that exponent is > 3 568 1.1 elric 569 1.1 elric 2006-05-13 Love Hrnquist strand <lha (a] it.su.se> 570 1.1 elric 571 1.1 elric * bn.c (BN_rand): avoid shadowing. 572 1.1 elric 573 1.1 elric 2006-05-12 Love Hrnquist strand <lha (a] it.su.se> 574 1.1 elric 575 1.1 elric * rsa-imath.c: Fix the last one of the asserts. 576 1.1 elric 577 1.1 elric 2006-05-08 Love Hrnquist strand <lha (a] it.su.se> 578 1.1 elric 579 1.1 elric * rand.c (get_device_fd): use /dev/urandom first. 580 1.1 elric 581 1.1 elric * rctest.c: Less "pointer targets in passing argument differ in 582 1.1 elric signedness" warnings. 583 1.1 elric 584 1.1 elric * rc2test.c: Less "pointer targets in passing argument differ in 585 1.1 elric signedness" warnings. 586 1.1 elric 587 1.1 elric 2006-05-07 Love Hrnquist strand <lha (a] it.su.se> 588 1.1 elric 589 1.1 elric * rsa-imath.c: Fix a off by one. 590 1.1 elric 591 1.1 elric * test_engine_dso.c: print the lengths when they don't match. 592 1.1 elric 593 1.1 elric * engine.c (ENGINE_load_builtin_engines): use RSA_imath_method for 594 1.1 elric the building engine. 595 1.1 elric 596 1.1 elric * rsa.h: expose RSA_imath_method 597 1.1 elric 598 1.1 elric * rsa.c (RSA_check_key): Do sign/verify instead. 599 1.1 elric 600 1.1 elric * dsa.c: rename the DSA_METHOD 601 1.1 elric 602 1.1 elric * dh.c: rename the DH_METHOD 603 1.1 elric 604 1.1 elric * dh-imath.c: rename the DH_METHOD 605 1.1 elric 606 1.1 elric * rsa.c: Default to use rsa-imath. 607 1.1 elric 608 1.1 elric * Makefile.am: Add rsa-imath.c to libhcrypto 609 1.1 elric 610 1.1 elric * rsa-imath.c: Add RSA support using imath. 611 1.1 elric 612 1.1 elric 2006-05-06 Love Hrnquist strand <lha (a] it.su.se> 613 1.1 elric 614 1.1 elric * imath: Add imath-1.1.9 615 1.1 elric 616 1.1 elric * dh.h: Expose DH_imath_method. 617 1.1 elric 618 1.1 elric * Makefile.am: Add imath source, add test_engine_dso to TESTS. 619 1.1 elric 620 1.1 elric * engine.c: Lets say we have RSA_null_method(), not really 621 1.1 elric useable, but still. 622 1.1 elric 623 1.1 elric * test_engine_dso.c: If there are no arguments, use the internal 624 1.1 elric engine. 625 1.1 elric 626 1.1 elric * engine.h: Cpp rename some ENGINE symbols. 627 1.1 elric 628 1.1 elric * engine.c (ENGINE_load_builtin_engines): Load the internal 629 1.1 elric engine. 630 1.1 elric 631 1.1 elric * dh.c: Default to use DH-imath. 632 1.1 elric 633 1.1 elric * dh.c (DH_check_pubkey): describe what the function do 634 1.1 elric 635 1.1 elric 2006-05-05 Love Hrnquist strand <lha (a] it.su.se> 636 1.1 elric 637 1.1 elric * dh.c (DH_compute_key): check return status value from 638 1.1 elric DH_check_pubkey 639 1.1 elric 640 1.1 elric * Rename u_intXX_t to uintXX_t 641 1.1 elric 642 1.1 elric 2006-04-24 Love Hrnquist strand <lha (a] it.su.se> 643 1.1 elric 644 1.1 elric * pkcs5.c: include <krb5-types.h> 645 1.1 elric 646 1.1 elric * evp.c: Sprinkel some assertions. 647 1.1 elric 648 1.1 elric * des.c: Move assertion and add another restriction, used as hint 649 1.1 elric to beam that its ok 650 1.1 elric 651 1.1 elric 2006-04-23 Love Hrnquist strand <lha (a] it.su.se> 652 1.1 elric 653 1.1 elric * rsa.c (RSA_check_key): don't do any checking if there is no 654 1.1 elric private key 655 1.1 elric 656 1.1 elric * engine.c (add_engine): reassign engines variable after realloc 657 1.1 elric 658 1.1 elric 2006-04-21 Love Hrnquist strand <lha (a] it.su.se> 659 1.1 elric 660 1.1 elric * evp.h: Add EVP_get_cipherbyname, unbreak EVP_BytesToKey 661 1.1 elric 662 1.1 elric * evp.h: Add prototype for EVP_BytesToKey 663 1.1 elric 664 1.1 elric * evp.c: Add stub for EVP_BytesToKey 665 1.1 elric 666 1.1 elric 2006-04-20 Love Hrnquist strand <lha (a] it.su.se> 667 1.1 elric 668 1.1 elric * dh.h: Add cpp-rename for DH_check_pubkey 669 1.1 elric 670 1.1 elric 2006-04-17 Love Hrnquist strand <lha (a] it.su.se> 671 1.1 elric 672 1.1 elric * rand.h: Add more RAND functions. 673 1.1 elric 674 1.1 elric * rand.c: Split out unix /dev/random to a RAND_METHOD 675 1.1 elric 676 1.1 elric * engine.h: add RAND support 677 1.1 elric 678 1.1 elric * engine.c: add RAND support 679 1.1 elric 680 1.1 elric * evp.h: s/rc4_64/rc2_64/ 681 1.1 elric 682 1.1 elric * rand.c: Add RAND_METHOD and some associated functions. 683 1.1 elric 684 1.1 elric * rand.h: Add RAND_METHOD and some associated functions. 685 1.1 elric 686 1.1 elric * test_bn.c: Test BN_rand 687 1.1 elric 688 1.1 elric 2006-04-16 Love Hrnquist strand <lha (a] it.su.se> 689 1.1 elric 690 1.1 elric * engine.c (ENGINE_by_dso): less printf 691 1.1 elric 692 1.1 elric * rsa.h (i2d_RSAPublicKey): fix prototype 693 1.1 elric 694 1.1 elric * rsa.c (i2d_RSAPublicKey): fix prototype 695 1.1 elric 696 1.1 elric 2006-04-15 Love Hrnquist strand <lha (a] it.su.se> 697 1.1 elric 698 1.1 elric * evp.h: Add EVP_rc2_64_cbc 699 1.1 elric 700 1.1 elric * evp.c: Add EVP_rc2_64_cbc 701 1.1 elric 702 1.1 elric * evp.h: Add SHA-256 symbols. 703 1.1 elric 704 1.1 elric * evp.c: Add SHA-256. 705 1.1 elric 706 1.1 elric * sha.h: Add SHA-256 symbols. 707 1.1 elric 708 1.1 elric * mdtest.c: Test SHA-256. 709 1.1 elric 710 1.1 elric * sha256.c: Inital (naive) SHA-256 implementation. 711 1.1 elric 712 1.1 elric 2006-04-14 Love Hrnquist strand <lha (a] it.su.se> 713 1.1 elric 714 1.1 elric * des.c (DES_cfb64_encrypt): add asserts that the *num pointers is 715 1.1 elric >= 0, because if it is, its a programmer error. 716 1.1 elric 717 1.1 elric 2006-04-09 Love Hrnquist strand <lha (a] it.su.se> 718 1.1 elric 719 1.1 elric * rc2.c (RC2_set_key): abort on erroneous input (len <= 0) size 720 1.1 elric that will case out out bound indexing, and its invalid input. 721 1.1 elric 722 1.1 elric * rsa.c: Make compile again. 723 1.1 elric 724 1.1 elric 2006-04-03 Love Hrnquist strand <lha (a] it.su.se> 725 1.1 elric 726 1.1 elric * rsa.c: Implement i2d_RSAPublicKey 727 1.1 elric 728 1.1 elric * rsa.h: Add i2d_RSAPublicKey 729 1.1 elric 730 1.1 elric 2006-03-07 Love Hrnquist strand <lha (a] it.su.se> 731 1.1 elric 732 1.1 elric * Makefile.am: EVP interface depends on dlopen, add it to LIBFLAGS 733 1.1 elric 734 1.1 elric 2006-02-28 Love Hrnquist strand <lha (a] it.su.se> 735 1.1 elric 736 1.1 elric * Makefile.am: Add pkcs5 files. 737 1.1 elric 738 1.1 elric * test_pkcs5.c: Testcases for pkcs5 pbe2. 739 1.1 elric 740 1.1 elric * pkcs5.c (PKCS5_PBKDF2_HMAC_SHA1): new function. 741 1.1 elric 742 1.1 elric * hmac.c: Digest key when it exceeds block size, not when it 743 1.1 elric exceeds the size of the output block. 744 1.1 elric 745 1.1 elric 2006-02-16 Love Hrnquist strand <lha (a] it.su.se> 746 1.1 elric 747 1.1 elric * rand.c (RAND_bytes): Don't abort() on failure, return error. 748 1.1 elric 749 1.1 elric * bn.c (BN_rand): check return value from RAND_bytes 750 1.1 elric 751 1.1 elric 2006-01-18 Love Hrnquist strand <lha (a] it.su.se> 752 1.1 elric 753 1.1 elric * dh.c (DH_compute_key): check public key 754 1.1 elric 755 1.1 elric * dh.h: Add DH_check_pubkey and defines it uses. 756 1.1 elric 757 1.1 elric * dh.c (DH_check_pubkey): New function. 758 1.1 elric 759 1.1 elric * bn.c: Remove unused fragment. 760 1.1 elric 761 1.1 elric * test_bn.c: Compare numbers with BN_cmp(). 762 1.1 elric 763 1.1 elric 2006-01-17 David Love <fx (a] gnu.org> 764 1.1 elric 765 1.1 elric * bn.c: Include <limits.h>. 766 1.1 elric 767 1.1 elric 2006-01-13 Love Hrnquist strand <lha (a] it.su.se> 768 1.1 elric 769 1.1 elric * *.h: use #include <hcrypto/...> 770 1.1 elric 771 1.1 elric * Makefile.am: provide a symlink so the directory hcrypto/ seems 772 1.1 elric to exists 773 1.1 elric 774 1.1 elric * engine.h: Expose dsa symbols 775 1.1 elric 776 1.1 elric * Makefile.am: Rename library to hcrypto and install headerfiles 777 1.1 elric in hcrypto/. 778 1.1 elric 779 1.1 elric * test_pkcs12.c: Test for PKCS12_key_gen. 780 1.1 elric 781 1.1 elric * hmac.h: Drop HMAC_CTX_create and HMAC_CTX_destroy. 782 1.1 elric 783 1.1 elric * engine.c (ENGINE_add_conf_module): Also load DH 784 1.1 elric 785 1.1 elric * dh.h: Reorder includes to avoid compile errors, provide 786 1.1 elric DH_new_method(). 787 1.1 elric 788 1.1 elric * dh.c: Indent. 789 1.1 elric 790 1.1 elric * bn.c: BN_get_negative was really named BN_is_negative, a comment 791 1.1 elric confused me. 792 1.1 elric 793 1.1 elric * bn.h: BN_get_negative was really named BN_is_negative, a comment 794 1.1 elric confused me. 795 1.1 elric 796 1.1 elric * pkcs12.h: Add PKCS12_key_gen(). 797 1.1 elric 798 1.1 elric * pkcs12.c: Add PKCS12_key_gen(). 799 1.1 elric 800 1.1 elric * Makefile.am: Add test_cipher, test_pkcs12, add pkcs12.[ch]. 801 1.1 elric 802 1.1 elric * evp.c: Rename rc2_40_cbc internal variable to something better. 803 1.1 elric Unbreak des-ede3-cbc. 804 1.1 elric 805 1.1 elric 2006-01-11 Love Hrnquist strand <lha (a] it.su.se> 806 1.1 elric 807 1.1 elric * test_bn.c: Test BN_uadd. 808 1.1 elric 809 1.1 elric * bn.c (BN_rand): don't leak memory on failure, catch malloc(0) 810 1.1 elric case 811 1.1 elric 812 1.1 elric * bn.c (BN_rand): clear the bits above the bits that user 813 1.1 elric requested. 814 1.1 elric (BN_uadd): new function. 815 1.1 elric 816 1.1 elric * bn.h (BN_uadd): new function. 817 1.1 elric 818 1.1 elric 2006-01-10 Love Hrnquist strand <lha (a] it.su.se> 819 1.1 elric 820 1.1 elric * evp.c (EVP_CIPHER_CTX_cleanup): clean up less aggressively 821 1.1 elric 822 1.1 elric * Makefile.am (check_PROGRAMS): add test_hmac 823 1.1 elric 824 1.1 elric * test_hmac.c: Simple regression test for HMAC. 825 1.1 elric 826 1.1 elric * hmac.c: Make hmac work. 827 1.1 elric 828 1.1 elric * evp.c: return the right blocksize for digests. 829 1.1 elric 830 1.1 elric 2006-01-09 Love Hrnquist strand <lha (a] it.su.se> 831 1.1 elric 832 1.1 elric * test_engine_dso.c: Add test for DH. 833 1.1 elric 834 1.1 elric * dh.c: Add DH_new_method, add ENGINE refcounting. 835 1.1 elric 836 1.1 elric * engine.[ch]: Add ENGINE_set_default_DH and ENGINE_get_default_DH 837 1.1 elric 838 1.1 elric * test_engine_dso.c: Add test for RSA encryption. 839 1.1 elric 840 1.1 elric 2006-01-08 Love Hrnquist strand <lha (a] it.su.se> 841 1.1 elric 842 1.1 elric * test_engine_dso.c: Add test for RSA. 843 1.1 elric 844 1.1 elric * implement enough glue to support OpenSSLs EVP, RSA, DSA, DH, 845 1.1 elric HMAC, RAND and ENGINE interfaces for use in hx509. rename all 846 1.1 elric symbols to start with hc_ to avoid clobbering namespaces. contains 847 1.1 elric no RSA/DH/DSA code, just glue to support using dynamic 848 1.1 elric ENGINE. hx509 supports this via pkcs11 and there is a gmp ENGINE 849 1.1 elric module supporting RSA. Also contains a MD2 digest for completion. 850 1.1 elric 851 1.1 elric 2005-07-20 Love Hrnquist strand <lha (a] it.su.se> 852 1.1 elric 853 1.1 elric * des.c,des.h,rnd_keys.c: change unsigned char * to void * 854 1.1 elric 855 1.1 elric 2005-06-30 Love Hrnquist strand <lha (a] it.su.se> 856 1.1 elric 857 1.1 elric * rnd_keys.c: const poision for unwriteable strings 858 1.1 elric 859 1.1 elric 2005-06-19 Love Hrnquist strand <lha (a] it.su.se> 860 1.1 elric 861 1.1 elric * des.c,aes.c,rc2.c: Rename parameter, as encrypt shadows a 862 1.1 elric global, from Andrew Bartlett 863 1.1 elric 864 1.1 elric 2005-06-02 Love Hrnquist strand <lha (a] it.su.se> 865 1.1 elric 866 1.1 elric * rnd_keys.c: Include <stdlib.h> for srandom/random. 867 1.1 elric 868 1.1 elric 2005-05-29 Love Hrnquist strand <lha (a] it.su.se> 869 1.1 elric 870 1.1 elric * des.c (DES_cbc_cksum): init u to make sure it have a value in 871 1.1 elric case of the empty in data 872 1.1 elric 873 1.1 elric * destest.c: add test for the empty password "" 874 1.1 elric 875 1.1 elric 2005-05-27 Love Hrnquist strand <lha (a] it.su.se> 876 1.1 elric 877 1.1 elric * rctest.c (cipher3): used unsigned char to avoid problems with 878 1.1 elric platforms using "signed char" 879 1.1 elric 880 1.1 elric 2005-05-13 Love Hrnquist strand <lha (a] it.su.se> 881 1.1 elric 882 1.1 elric * rc2.c: use unsigned char to avoid signess warning 883 1.1 elric 884 1.1 elric * des.c: use unsigned char to avoid signess warning 885 1.1 elric 886 1.1 elric * aes.c (AES_cbc_encrypt): use unsigned char to avoid signess 887 1.1 elric warning 888 1.1 elric 889 1.1 elric 2005-05-03 Dave Love <fx (a] gnu.org> 890 1.1 elric 891 1.1 elric * mdtest.c: Fix typo for HAVE_STDLIB_H. 892 1.1 elric 893 1.1 elric 2005-05-03 Love Hrnquist strand <lha (a] it.su.se> 894 1.1 elric 895 1.1 elric * rnd_keys.c: Enabled to build on cygwin, based on patch from 896 1.1 elric David Love <fx (a] gnu.org> 897 1.1 elric 898 1.1 elric 2005-05-02 Dave Love <fx (a] gnu.org> 899 1.1 elric 900 1.1 elric * mdtest.c: Include <krb5-types.h>. 901 1.1 elric 902 1.1 elric 2005-04-30 Love Hrnquist strand <lha (a] it.su.se> 903 1.1 elric 904 1.1 elric * ui.c: Include <des.h>. 905 1.1 elric (UI_UTIL_read_pw_string): make the prompt argument const. 906 1.1 elric 907 1.1 elric * des.h (UI_UTIL_read_pw_string): make the prompt argument const 908 1.1 elric 909 1.1 elric * ui.c (UI_UTIL_read_pw_string): remove unused variable plen 910 1.1 elric 911 1.1 elric * des.c: replace <strings.h> with <string.h> 912 1.1 elric 913 1.1 elric 2005-04-29 Dave Love <fx (a] gnu.org> 914 1.1 elric 915 1.1 elric * Makefile.am: Add LIB_roken. 916 1.1 elric 917 1.1 elric 2005-04-27 Dave Love <fx (a] gnu.org> 918 1.1 elric 919 1.1 elric * sha.c: Include hash.h first. 920 1.1 elric 921 1.1 elric * md4.c: Include hash.h first. 922 1.1 elric 923 1.1 elric * md5.c: Include hash.h first. 924 1.1 elric 925 1.1 elric * hash.h: Include krb5-types.h 926 1.1 elric 927 1.1 elric 2005-04-26 Dave Love <fx (a] gnu.org> 928 1.1 elric 929 1.1 elric * mdtest.c: Maybe include stdlib.h 930 1.1 elric 931 1.1 elric 2005-04-10 Love Hrnquist strand <lha (a] it.su.se> 932 1.1 elric 933 1.1 elric * sha.h,md5.h, md4.h: don't include bit types, the user must do 934 1.1 elric that #ifdef wrap 935 1.1 elric 936 1.1 elric * aes.h: #ifdef wrap 937 1.1 elric 938 1.1 elric 2005-03-23 Love Hrnquist strand <lha (a] it.su.se> 939 1.1 elric 940 1.1 elric * des.h: fix prototype for DES_random_key 941 1.1 elric 942 1.1 elric * rnd_keys.c: fix prototype for DES_random_key 943 1.1 elric 944 1.1 elric * des.[ch]: provide compatibility function DES_key_sched, same as 945 1.1 elric DES_set_key 946 1.1 elric 947 1.1 elric 2005-03-20 Love Hrnquist strand <lha (a] it.su.se> 948 1.1 elric 949 1.1 elric * destest.c: include config.h and protect some headers 950 1.1 elric 951 1.1 elric * rnd_keys.c: move <des.h> to after include <krb5-types.h> so the 952 1.1 elric C99 integer types exists 953 1.1 elric 954 1.1 elric 2005-03-14 Love Hrnquist strand <lha (a] it.su.se> 955 1.1 elric 956 1.1 elric * des.c: add DES_set_key_checked 957 1.1 elric 958 1.1 elric * des.h: add DES_set_key_checked 959 1.1 elric 960 1.1 elric 2005-03-01 Love Hrnquist strand <lha (a] it.su.se> 961 1.1 elric 962 1.1 elric * des-tables.h: Add the missing file 963 1.1 elric 964 1.1 elric 2005-02-23 Love Hrnquist strand <lha (a] it.su.se> 965 1.1 elric 966 1.1 elric * ui.c: remove dependency on asprintf 967 1.1 elric 968 1.1 elric * Makefile.am: make destest only once 969 1.1 elric 970 1.1 elric * Replace the eay DES code with key scheule setup code by me and DES 971 1.1 elric s-box and p permutation from Richard Outerbridge implemtation (in 972 1.1 elric public domain). The DES modes are implemented by me. ui.c code are 973 1.1 elric from appl/login. 974 1.1 elric 975 1.1 elric The implementation is about 3 times slower then Eric for encryption, 976 1.1 elric and about the same speed for key setup. 977 1.1 elric 978 1.1 elric 979 1.1 elric 2004-08-10 Love Hrnquist strand <lha (a] it.su.se> 980 1.1 elric 981 1.1 elric * rnd_keys.c (DES_rand_data): also try /dev/arandom 982 1.1 elric 983 1.1 elric 2004-06-02 Love Hrnquist strand <lha (a] it.su.se> 984 1.1 elric 985 1.1 elric * rnd_keys.c: don't include krb4 headers 986 1.1 elric 987 1.1 elric * rijndael-alg-fst.c: don't include krb4 headers 988 1.1 elric 989 1.1 elric * aes.c: don't include krb4 headers 990 1.1 elric 991 1.1 elric * aes.h: define AES_{EN,DE}CRYPT; remove #ifdefs, this is an 992 1.1 elric installed file 993 1.1 elric 994 1.1 elric 2004-04-25 Love Hrnquist strand <lha (a] it.su.se> 995 1.1 elric 996 1.1 elric * rc2.c: handle non blocksized cbc messages 997 1.1 elric 998 1.1 elric * aes.[ch]: add AES_cbc_encrypt 999 1.1 elric 1000 1.1 elric 2004-04-24 Love Hrnquist strand <lha (a] it.su.se> 1001 1.1 elric 1002 1.1 elric * rc2test.c: test vectors from RFC2268 1003 1.1 elric 1004 1.1 elric * rc2.c (RC2_set_key): rewrite the mask calculation 1005 1.1 elric 1006 1.1 elric * rc2.c (RC2_set_key): handle keys where effective bits are 1007 1.1 elric diffrent from keylength 1008 1.1 elric 1009 1.1 elric 2004-04-23 Love Hrnquist strand <lha (a] it.su.se> 1010 1.1 elric 1011 1.1 elric * rc2.c: rc2 implementation 1012 1.1 elric 1013 1.1 elric * rc2.h: rc2 implementation 1014 1.1 elric 1015 1.1 elric * rc2test.c: rc2 implementation 1016 1.1 elric 1017 1.1 elric * Makefile.am: rc2 implementation 1018 1.1 elric 1019 1.1 elric 2004-03-25 Love Hrnquist strand <lha (a] it.su.se> 1020 1.1 elric 1021 1.1 elric * Makefile.am: new arcfour implementation 1022 1.1 elric 1023 1.1 elric * rc4.c: implemented from description in 1024 1.1 elric draft-kaukonen-cipher-arcfour-03.txt 1025 1.1 elric 1026 1.1 elric * rc4.h: replace with new implementation 1027 1.1 elric 1028 1.1 elric * rc4_enc.c rc4_skey.c: remove 1029 1.1 elric 1030 1.1 elric * rctest.c: test for arcfour 1031 1.1 elric 1032 1.1 elric 2003-12-07 Love Hrnquist strand <lha (a] it.su.se> 1033 1.1 elric 1034 1.1 elric * rnd_keys.c: uninitialized variable, from Panasas Inc 1035 1.1 elric 1036 1.1 elric 2003-09-03 Love Hrnquist strand <lha (a] it.su.se> 1037 1.1 elric 1038 1.1 elric * md4.c (MD4_Final): make the function threadsafe by removing 1039 1.1 elric static on the local variable zeros 1040 1.1 elric 1041 1.1 elric * md5.c (MD5_Final): make the function threadsafe by removing 1042 1.1 elric static on the local variable zeros 1043 1.1 elric 1044 1.1 elric * switch to the DES_ api, dont provide any compat glue 1045 1.1 elric 1046 1.1 elric 2003-08-27 Love Hrnquist strand <lha (a] it.su.se> 1047 1.1 elric 1048 1.1 elric * sha.c: make the function threadsafe by removing static on the 1049 1.1 elric local variable zeros 1050 1.1 elric 1051 1.1 elric 2003-07-23 Love Hrnquist strand <lha (a] it.su.se> 1052 1.1 elric 1053 1.1 elric * rijndael-alg-fst.h,rijndael-alg-fst.c,aes.c,aes.h: 1054 1.1 elric Makefile.am: add AES support 1055 1.1 elric 1056 1.1 elric 2003-03-19 Love Hrnquist strand <lha (a] it.su.se> 1057 1.1 elric 1058 1.1 elric * des.1: sunOS -> SunOS, from jmc <jmc (a] prioris.mini.pw.edu.pl> 1059 1.1 elric 1060 1.1 elric 2003-03-19 Love Hrnquist strand <lha (a] it.su.se> 1061 1.1 elric 1062 1.1 elric * des.1: spelling, from <jmc (a] prioris.mini.pw.edu.pl> 1063 1.1 elric 1064 1.1 elric 2002-08-28 Johan Danielsson <joda (a] pdc.kth.se> 1065 1.1 elric 1066 1.1 elric * read_pwd.c: move NeXT SGTTY stuff here 1067 1.1 elric 1068 1.1 elric 2001-05-17 Assar Westerlund <assar (a] sics.se> 1069 1.1 elric 1070 1.1 elric * Makefile.am: bump version to 3:1:0 1071 1.1 elric 1072 1.1 elric 2001-05-11 Assar Westerlund <assar (a] sics.se> 1073 1.1 elric 1074 1.1 elric * str2key.c (des_string_to_key, des_string_to_2keys): avoid weak 1075 1.1 elric keys 1076 1.1 elric 1077 1.1 elric 2001-02-16 Assar Westerlund <assar (a] sics.se> 1078 1.1 elric 1079 1.1 elric * set_key.c: correct weak keys and update comment 1080 1.1 elric 1081 1.1 elric 2001-02-14 Assar Westerlund <assar (a] sics.se> 1082 1.1 elric 1083 1.1 elric * set_key.c: correct the two last weak keys in accordance with 1084 1.1 elric FIPS 74. noted by <jhutz (a] cmu.edu> 1085 1.1 elric 1086 1.1 elric 2001-01-30 Assar Westerlund <assar (a] sics.se> 1087 1.1 elric 1088 1.1 elric * Makefile.am (libdes_la_LDFLAGS): bump version to 3:0:0 1089 1.1 elric 1090 1.1 elric 2000-10-19 Assar Westerlund <assar (a] sics.se> 1091 1.1 elric 1092 1.1 elric * Makefile.in (LIBSRC, LIBOBJ): add rc4* and enc_{read,write} 1093 1.1 elric files so that this library contains the same things as libdes in 1094 1.1 elric Heimdal 1095 1.1 elric 1096 1.1 elric 2000-08-16 Assar Westerlund <assar (a] sics.se> 1097 1.1 elric 1098 1.1 elric * Makefile.am: bump version to 2:1:0 1099 1.1 elric 1100 1.1 elric 2000-08-03 Johan Danielsson <joda (a] pdc.kth.se> 1101 1.1 elric 1102 1.1 elric * enc_writ.c: BSIZE -> des_BSIZE to avoid conflicts with AIX 1103 1.1 elric jfs/fsparam.h 1104 1.1 elric 1105 1.1 elric * enc_read.c: BSIZE -> des_BSIZE to avoid conflicts with AIX 1106 1.1 elric jfs/fsparam.h 1107 1.1 elric 1108 1.1 elric * des_locl.h: BSIZE -> des_BSIZE to avoid conflicts with AIX 1109 1.1 elric jfs/fsparam.h 1110 1.1 elric 1111 1.1 elric 2000-02-07 Assar Westerlund <assar (a] sics.se> 1112 1.1 elric 1113 1.1 elric * Makefile.am: set version to 2:0:0 1114 1.1 elric 1115 1.1 elric 2000-01-26 Assar Westerlund <assar (a] sics.se> 1116 1.1 elric 1117 1.1 elric * mdtest.c: update to pseudo-standard APIs for md4,md5,sha. 1118 1.1 elric * md4.c, md4.h, md5.c, md5.h, sha.c, sha.h: move to the 1119 1.1 elric pseudo-standard APIs 1120 1.1 elric 1121 1.1 elric 1999-12-06 Assar Westerlund <assar (a] sics.se> 1122 1.1 elric 1123 1.1 elric * Makefile.am: set version to 1:0:1 1124 1.1 elric 1125 1.1 elric 1999-11-29 Assar Westerlund <assar (a] sics.se> 1126 1.1 elric 1127 1.1 elric * fcrypt.c (crypt_md5): add trailing $ 1128 1.1 elric 1129 1.1 elric 1999-11-13 Assar Westerlund <assar (a] sics.se> 1130 1.1 elric 1131 1.1 elric * Makefile.am (include_HEADERS): add rc4.h 1132 1.1 elric (libdes_la_SOURCES): add rc4_skey.c 1133 1.1 elric 1134 1.1 elric 1999-10-28 Assar Westerlund <assar (a] sics.se> 1135 1.1 elric 1136 1.1 elric * md5crypt_test.c: change the test case. apparently we should not 1137 1.1 elric include $ after the salt. also make it print more useful stuff 1138 1.1 elric when failing. 1139 1.1 elric 1140 1.1 elric 1999-10-20 Assar Westerlund <assar (a] sics.se> 1141 1.1 elric 1142 1.1 elric * Makefile.am: bump version to 0:2:0 1143 1.1 elric 1144 1.1 elric 1999-09-21 Johan Danielsson <joda (a] pdc.kth.se> 1145 1.1 elric 1146 1.1 elric * des.h: make this work with mips 64-bit abi 1147 1.1 elric 1148 1.1 elric 1999-08-14 Johan Danielsson <joda (a] pdc.kth.se> 1149 1.1 elric 1150 1.1 elric * fcrypt.c (crypt_md5): don't use snprintf 1151 1.1 elric 1152 1.1 elric 1999-08-13 Assar Westerlund <assar (a] sics.se> 1153 1.1 elric 1154 1.1 elric * Makefile.am: add md5crypt_test 1155 1.1 elric 1156 1.1 elric * Makefile.in: add md5crypt_test 1157 1.1 elric 1158 1.1 elric * md5crypt_test.c: test md5 crypt 1159 1.1 elric 1160 1.1 elric * fcrypt.c: always enable md5 crypt 1161 1.1 elric 1162 1.1 elric 1999-07-26 Johan Danielsson <joda (a] pdc.kth.se> 1163 1.1 elric 1164 1.1 elric * Makefile.am: bump version number (changes to md*, sha) 1165 1.1 elric 1166 1.1 elric 1999-06-15 Assar Westerlund <assar (a] sics.se> 1167 1.1 elric 1168 1.1 elric * sha.c (swap_u_int32_t): add _CRAY 1169 1.1 elric 1170 1.1 elric Sat Apr 10 23:02:30 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1171 1.1 elric 1172 1.1 elric * destest.c: fixes for crays 1173 1.1 elric 1174 1.1 elric Thu Apr 1 11:26:38 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1175 1.1 elric 1176 1.1 elric * Makefile.am: noinst_PROGRAMS -> check_PROGRAMS; add TESTS; don't 1177 1.1 elric build rpw, and speed 1178 1.1 elric 1179 1.1 elric Mon Mar 22 20:16:26 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1180 1.1 elric 1181 1.1 elric * Makefile.am: hash.h 1182 1.1 elric 1183 1.1 elric * sha.c: use hash.h; fixes for crays 1184 1.1 elric 1185 1.1 elric * md5.c: use hash.h; fixes for crays 1186 1.1 elric 1187 1.1 elric * md4.c: use hash.h; fixes for crays 1188 1.1 elric 1189 1.1 elric * hash.h: common stuff from md4, md5, and sha1 1190 1.1 elric 1191 1.1 elric Sat Mar 20 00:16:53 1999 Assar Westerlund <assar (a] sics.se> 1192 1.1 elric 1193 1.1 elric * rnd_keys.c (des_rand_data): move declaration to get rid of 1194 1.1 elric warning 1195 1.1 elric 1196 1.1 elric Thu Mar 18 11:22:28 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1197 1.1 elric 1198 1.1 elric * Makefile.am: include Makefile.am.common 1199 1.1 elric 1200 1.1 elric Mon Mar 15 17:36:41 1999 Johan Danielsson <joda (a] hella.pdc.kth.se> 1201 1.1 elric 1202 1.1 elric * rnd_keys.c (des_rand_data): if not using setitimer, block 1203 1.1 elric SIGCHLD around fork(), also make sure we get the status of the 1204 1.1 elric child process 1205 1.1 elric (fake_signal): emulate signal using sigaction 1206 1.1 elric 1207 1.1 elric Tue Jan 12 05:06:54 1999 Assar Westerlund <assar (a] sics.se> 1208 1.1 elric 1209 1.1 elric * des.h: sparcv9 is also 64 bits, use `unsigned int' instead of 1210 1.1 elric `unsigned long' 1211 1.1 elric 1212 1.1 elric Sun Nov 22 10:40:09 1998 Assar Westerlund <assar (a] sics.se> 1213 1.1 elric 1214 1.1 elric * Makefile.in (WFLAGS): set 1215 1.1 elric 1216 1.1 elric Mon May 25 05:24:56 1998 Assar Westerlund <assar (a] sics.se> 1217 1.1 elric 1218 1.1 elric * Makefile.in (clean): try to remove shared library debris 1219 1.1 elric 1220 1.1 elric Sun Apr 19 09:50:53 1998 Assar Westerlund <assar (a] sics.se> 1221 1.1 elric 1222 1.1 elric * Makefile.in: add symlink magic for linux 1223 1.1 elric 1224 1.1 elric Sun Nov 9 07:14:45 1997 Assar Westerlund <assar (a] sics.se> 1225 1.1 elric 1226 1.1 elric * mdtest.c: print out old and new string 1227 1.1 elric 1228