summaryrefslogtreecommitdiff
path: root/crypto/api.c
AgeCommit message (Collapse)Author
2004-09-14[CRYPTO]: Zero out tfm before freeing in crypto_free_tfm().David S. Miller
Based upon discussions with Ulrich Kuehn (ukuehn@acm.org) Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2003-10-29[CRYPTO]: crypto_alg_lookup() should fail when passed a NULL name.Hideaki Yoshifuji
2003-03-28[CRYPTO]: Add Deflate algorithm to crypto API.James Morris
2003-03-23[CRYPTO]: Make use of crypto_exit_ops() during crypto_free_tfm().James Morris
2003-03-20[CRYPTO]: Include linux/errno.h as appropriate.David S. Miller
2003-03-07[CRYPTO]: Eliminate crypto_tfm.crt_ctx, from Adam Richter.James Morris
2002-12-29[PATCH] Missed one 'try_inc_mod_count()'Christoph Hellwig
I missed one hunk when splitting the patch for removing try_inc_mod_count().
2002-12-29[PATCH] avoid deprecated module functions in core codeChristoph Hellwig
A second start at removing them from kernel/*.c and fs/*.c. Note that module_put is fine for a NULL argument.
2002-12-07[CRYPTO]: Simplify crypto memory allocation.Adam J. Richter
2002-12-05[CRYPTO]: Dont compile procfs stuff if procfs is not enabled.James Morris
2002-11-25[CRYPTO]: Add twofish algorithm.James Morris
2002-11-18[CRYPTO]: Kill stray CRYPTO_ALG_TYPE_COMP.David S. Miller
2002-11-18[CRYPTO]: Add null algorithms and minor cleanups.James Morris
2002-11-18[CRYPTO]: Kill accidental double memset.Jeff Garzik
2002-11-14[CRYPTO] kstack cleanup (v0.28)James Morris
2002-11-13[PATCH] module_name macroRusty Russell
Fixes crypto so it compiles with !CONFIG_MODULES, and cleans up two other cases which did #ifdef CONFIG_MODULES.
2002-11-06[CRYPTO]: Add blowfish algorithm.James Morris
2002-11-04[IPSEC/CRYPTO]: Allocate work buffers instead of using kstack.David S. Miller
2002-11-01[CRYPTO]: Add crypto_alg_available interface.James Morris
2002-11-01[CRYPTO]: Cleanups based upon feedback from jgarzik.James Morris
- make crypto_cipher_flags() return u32 (this means it will return the actual flags reliably, instead of being just a boolean op). - simplify error path in crypto_init_flags().
2002-10-29[CRYPTO]: Cleanups based upon suggestions by Jeff Garzik.James Morris
- Changed unsigned to unsigned int in algos. - Consistent use of u32 for flags throughout api. - Use of unsigned int rather than int for counting things which must be positive, also replaced size_ts to keep code simpler and lessen bloat on some archs. - got rid of some unneeded returns. - const correctness.
2002-10-28[CRYPTO]: Clean up header file usage.David S. Miller
2002-10-28[CRYPTO]: Build/warning fixups.David S. Miller
2002-10-28[CRYPTO]: Cleanups and more consistency checks.James Morris
- Removed local_bh_disable() from kmap wrapper, not needed now with two atomic kmaps. - Nuked atomic flag, use in_softirq() instead. - Converted crypto_kmap() and crypto_yield() to check in_softirq(). - Check CRYPTO_MAX_CIPHER_BLOCK_SIZE during alg init. - Try to initialize as much at compile time as possible (feedback from Christoph Hellwig). - Clean up list handling a bit (feedback from Christoph Hellwig).
2002-10-27[CRYPTO]: Algorithm lookup API change plus bug fixes.James Morris
- API change: implemented simplest version of algorithm lookup by name (feedback from Rusty Russell and Herbert Valerio Riedel). - Now need to add the following line to to /etc/modules.conf for dynamic module loading: alias des3_ede des
2002-10-26[CRYPTO]: More bug fixes and cleanups.James Morris
- added back USAGI copyright for HMAC (lost earlier during some refactoring). - bugfix: make sure tfm pointer is set to NULL during post allocation failure path in crypto_alloc_tfm()
2002-10-26[CRYPTO]: Bug fixes and cleanups.James Morris
- try_inc_mod_count() already does what crypto_alg_get() was trying to do. (feedback from Andrew Morton). - Moved the BUG_ON() in crypto_unregister_alg() further up, no need to bother iterating over the list. - Always use kmap_atomic (feedback from Andrew Morton). Implemented two atomic kmaps, KM_USER for user context and KM_SOFTIRQ for softirq context. - Fixup KM_CRYPTO_ placement so Dave does not go crazy.
2002-10-24[CRYPTO]: Use kmod to try to autoload modules.James Morris
2002-10-24[CRYPTO]: Use try_inc_mod_count and semaphore for alg list.James Morris
2002-10-24[CRYPTO]: Cleanups based upon feedback from Rusty and jgarzikJames Morris
- s/__u/u/ - s/char/u8/ - Fixed bug in cipher.c, page remapped was off by one block
2002-10-23[CRYPTO]: Fix compiler warnings and build failures.David S. Miller
- Add missing includes of asm/byteorder.h - Fix sha1.c compiler crash with egcs-2.92.x - Use correct printf format for size_t types.
2002-10-23[CRYPTO]: Add initial crypto api subsystem.James Morris