summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename CONFIG_AS*YM*METRIC, push into headersMiloslav Trmač2010-09-061-2/+2
|
* run scripts/Lindent.Nikos Mavrogiannopoulos2010-09-061-298/+321
|
* Added config flag CONFIG_ASSYMETRIC, that will disable all assymetric ↵Nikos Mavrogiannopoulos2010-09-061-0/+4
| | | | algorithm support when building the module. As a side-effect (due to DER requirements) key wrapping is disabled as well.
* Use the ncr_algorithm_t as an identifier for storage data. This will allowNikos Mavrogiannopoulos2010-09-051-1/+1
| | | | | keys tied to RSA-transparent, to be used for RSA operations as well (once keys are made tied to an algorithm).
* Allow sharing keys for "regular" and "transparent" algorithmsMiloslav Trmač2010-08-271-1/+3
|
* Replace ncr_derive_t by NLA_NUL_STRINGMiloslav Trmač2010-08-241-21/+18
|
* Replace ncr_algorithm_t by NLA_NUL_STRINGMiloslav Trmač2010-08-241-1/+2
|
* Convert *_SESSION_*Miloslav Trmač2010-08-241-105/+45
|
* Convert *_KEY_EXPORTMiloslav Trmač2010-08-241-1/+1
|
* Convert *_KEY_DERIVEMiloslav Trmač2010-08-241-23/+16
|
* Convert *_KEY_GENERATE_PAIRMiloslav Trmač2010-08-241-44/+56
|
* Drop <cryptodev.h>Miloslav Trmač2010-08-241-1/+0
| | | | Also drop implementation of its ioctls, examples, openssl patch.
* Fix in export of DH keys.Nikos Mavrogiannopoulos2010-08-211-1/+2
|
* Added KEY_WRAPPING flag that allows a key to be used for wrapping other keys.Nikos Mavrogiannopoulos2010-08-191-0/+24
| | | | | Only superuser can enable this flag. Prevent short keys to wrap longer ones. Added initial stuff for supporting wrapping of private and public keys.
* Merge branch 'bugfixes'Miloslav Trmač2010-08-071-2/+2
|\ | | | | | | | | Conflicts: ncr-int.h
| * Use <linux/uaccess.h> instead of <asm/uaccess.h>Miloslav Trmač2010-08-071-1/+1
| | | | | | | | Suggested by scripts/checkpatch.pl.
| * Use <linux/ioctl.h> instead of <asm/ioctl.h>Miloslav Trmač2010-08-071-1/+1
| | | | | | | | Suggested by scripts/checkpatch.pl.
* | Merge branch 'bugfixes'Miloslav Trmač2010-08-051-0/+1
|\|
| * Fix build with recent kernelsJan Chadima2010-08-051-0/+1
| |
* | Merge branch 'bugfixes'Miloslav Trmač2010-08-041-86/+29
|\|
| * Drop the key generation work queueMiloslav Trmač2010-08-041-86/+29
| | | | | | | | | | | | Originally motivated by debugobject.c reports about using INIT_WORK instead of INIT_WORK_ON_STACK and destroy_work_on_stack. In fact the work queue is completely unnecessary, and this commit removes it.
* | Merge branch 'algorithm-speedup'Miloslav Trmač2010-07-311-0/+8
|\ \ | |/ |/|
| * Merge branch 'master' into algorithm-speedupMiloslav Trmač2010-07-261-51/+167
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: libtomcrypt/pk/pkcs1/pkcs_1_pss_decode.c libtomcrypt/pk/pkcs1/pkcs_1_pss_encode.c libtomcrypt/pk/rsa/rsa_decrypt_key.c libtomcrypt/pk/rsa/rsa_encrypt_key.c libtomcrypt/pk/rsa/rsa_sign_hash.c libtomcrypt/pk/rsa/rsa_verify_hash.c ncr-int.h ncr-key.c ncr-pk.c ncr-sessions.c
| * | Only look up the sign_hash algorithm onceMiloslav Trmač2010-07-241-6/+2
| | |
| * | Use algo_properties_st in hash_memoryMiloslav Trmač2010-07-241-1/+1
| | |
| * | Use algo_properties_st in rsa_verify_hash_exMiloslav Trmač2010-07-241-1/+1
| | |
| * | Use algo_properties_st in rsa_sign_hash_exMiloslav Trmač2010-07-241-1/+1
| | |
| * | Use algo_properties_st in rsa_decrypt_key_exMiloslav Trmač2010-07-241-1/+1
| | |
| * | Use algo_properties_st in rsa_encrypt_key_exMiloslav Trmač2010-07-241-1/+1
| | |
| * | Use algo_properties_st in ncr_key_params_get_sign_hashMiloslav Trmač2010-07-241-11/+13
| | |
| * | Use algo_properties_st in ncr_pk_generateMiloslav Trmač2010-07-241-5/+4
| | |
| * | Use algo_properties_st in ncr_pk_ctx.oaep_hashMiloslav Trmač2010-07-241-5/+9
| | |
| * | Use algo_properties_st in ncr_pk_ctx.sign_hashMiloslav Trmač2010-07-241-3/+11
| | |
| * | Use algo_properties_st in ncr_pk_ctx.algorithmMiloslav Trmač2010-07-241-8/+8
| | |
| * | Use algo_properties_st in key_item_stMiloslav Trmač2010-07-241-6/+9
| | |
* | | Implemented Diffie Hellman Key exchange.Nikos Mavrogiannopoulos2010-07-271-4/+68
| | |
* | | Added Diffie Hellman key generation.Nikos Mavrogiannopoulos2010-07-271-19/+77
| | |
* | | Corrected copyright notices.Nikos Mavrogiannopoulos2010-07-271-1/+3
| | |
* | | relicensed under GNU GPLv2.Nikos Mavrogiannopoulos2010-07-271-8/+9
| |/ |/|
* | removed the data type.Nikos Mavrogiannopoulos2010-07-261-6/+8
| |
* | ncr_int.h -> ncr-int.hNikos Mavrogiannopoulos2010-07-251-1/+1
| |
* | Added a support for reading session data directly from userspace.Nikos Mavrogiannopoulos2010-07-241-52/+158
| |
* | Use of algo_properties to avoid linear search on a table for each property.Miloslav Trmač2010-07-241-31/+43
|/
* Splitted key from key_params structure. Also separated dsa from rsa ↵Nikos Mavrogiannopoulos2010-07-231-6/+25
| | | | structure in params.
* Revert "initial support for userspace data."Nikos Mavrogiannopoulos2010-07-231-165/+44
| | | | This reverts commit e7828004e40592c8cffc9235f72440c802905e16.
* initial support for userspace data.Nikos Mavrogiannopoulos2010-07-211-44/+165
|
* Fixed RSA encryption and decryption.Nikos Mavrogiannopoulos2010-07-191-0/+1
|
* sparse: Fix signedness missmatch (especially in *_export)Miloslav Trmač2010-07-191-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* Corrected RSA signature generation/verification.Nikos Mavrogiannopoulos2010-07-141-8/+10
| | | | Added Test for RSA and DSA signature generation and verification.
* Added signature generation and verification.Nikos Mavrogiannopoulos2010-07-121-6/+97
|