summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Stop looking in the hash table after the first match.Miloslav Trmač2010-07-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | There should be only one entry anyway. This reduces the average lookup time when there are hash collisions roughly by half.
| * | | | Use hash tables to speed up limit lookupMiloslav Trmač2010-07-281-45/+80
| | | | |
| * | | | Store all types of limits together.Miloslav Trmač2010-07-282-18/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A process/user that uses one type of crypto primitive is likely to use other types as well. This saves memory and simplifies lookup in the common case.
| * | | | Use <linux/idr.h> for session ID allocation and lookupMiloslav Trmač2010-07-283-69/+52
| | | | |
| * | | | Use <linux/idr.h> for key ID allocation and lookupMiloslav Trmač2010-07-283-110/+88
| | | | |
| * | | | Use ncr_lists instead of list_sem_st in intefacesMiloslav Trmač2010-07-275-93/+106
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should result in no functionality change. This makes the code marginally more effective (reducing the number of "&lst->key" and "&lst->sessions" operations in the code, and moving them toward dereferences where they can be combined with member accesses), and more type-safe (prevents mixing the key and session list in most places because they the difference is only in the low-level accessor functions). Most importantly, this allows replacing list_sem_st without having to touch most of the functions again.
* | | | Merge branch 'bugfixes'Miloslav Trmač2010-07-311-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Fix error path in unwrap_aesMiloslav Trmač2010-07-301-1/+1
| | |/ | |/|
* | | Merge branch 'algorithm-speedup'Miloslav Trmač2010-07-311-0/+8
|\ \ \ | |/ / |/| |
| * | Merge branch 'master' into algorithm-speedupMiloslav Trmač2010-07-2632-1572/+1258
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-243-9/+5
| | | |
| * | | Replace _ncr_algo_to_str by direct accessesMiloslav Trmač2010-07-244-30/+10
| | | |
| * | | Replace _ncr_algo_digest_size by direct accessesMiloslav Trmač2010-07-249-30/+11
| | | |
| * | | Use algo_properties_st in hash_is_validMiloslav Trmač2010-07-2413-14/+14
| | | |
| * | | Use algo_properties_st in hash_memory_multiMiloslav Trmač2010-07-245-9/+9
| | | |
| * | | Use algo_properties_st in hash_memoryMiloslav Trmač2010-07-245-11/+11
| | | |
| * | | Use algo_properties_st in pkcs_1_mgf1Miloslav Trmač2010-07-246-12/+12
| | | |
| * | | Use algo_properties_st in pkcs_1_pss_decodeMiloslav Trmač2010-07-243-8/+8
| | | |
| * | | Use algo_properties_st in pkcs_1_oaep_decodeMiloslav Trmač2010-07-243-10/+10
| | | |
| * | | Use algo_properties_st in pkcs_1_pss_encodeMiloslav Trmač2010-07-243-8/+8
| | | |
| * | | Use algo_properties_st in pkcs_1_oaep_encodeMiloslav Trmač2010-07-243-11/+13
| | | |
| * | | Use algo_properties_st in hash_get_oidMiloslav Trmač2010-07-244-5/+7
| | | |
| * | | Replace algo_can_*, algo_needs_iv with direct accessesMiloslav Trmač2010-07-241-62/+5
| | | |
| * | | Use algo_properties_st in rsa_verify_hash_exMiloslav Trmač2010-07-243-9/+10
| | | |
| * | | Use algo_properties_st in rsa_sign_hash_exMiloslav Trmač2010-07-243-9/+10
| | | |
| * | | Use algo_properties_st in rsa_decrypt_key_exMiloslav Trmač2010-07-243-8/+9
| | | |
| * | | Use algo_properties_st in rsa_encrypt_key_exMiloslav Trmač2010-07-243-8/+11
| | | |
| * | | Use algo_properties_st in ncr_key_params_get_sign_hashMiloslav Trmač2010-07-243-19/+20
| | | |
| * | | Use algo_properties_st in ncr_pk_generateMiloslav Trmač2010-07-243-7/+6
| | | |
| * | | Use algo_properties_st in ncr_pk_ctx.oaep_hashMiloslav Trmač2010-07-242-6/+10
| | | |
| * | | Use algo_properties_st in ncr_pk_ctx.sign_hashMiloslav Trmač2010-07-242-4/+12
| | | |
| * | | Use algo_properties_st in ncr_pk_ctx.algorithmMiloslav Trmač2010-07-243-12/+12
| | | |
| * | | Replace ncr_algoritm_to_key_type by a struct memberMiloslav Trmač2010-07-244-55/+50
| | | | | | | | | | | | | | | | Also handle some algorithms missing in the function.
| * | | Use algo_properties_st in ncr_algorithm_to_key_typeMiloslav Trmač2010-07-243-6/+12
| | | | | | | | | | | | | | | | An intermediary patch, the function will be removed in next commit.
| * | | Use algo_properties_st in key_item_stMiloslav Trmač2010-07-245-15/+34
| | | |
| * | | Use algo_properties_st in session_item_stMiloslav Trmač2010-07-242-37/+27
| | | | | | | | | | | | | | | | Drop no longer necessary lookup functions.
| * | | Rename algo_properties_st members for better readabilityMiloslav Trmač2010-07-242-19/+19
| | | |
| * | | Make algo_properties_st public inside the moduleMiloslav Trmač2010-07-242-11/+13
| | | |
* | | | just noticed that the DSA generation algorithm is not the nist one.Nikos Mavrogiannopoulos2010-07-291-0/+1
| | | |
* | | | put correct license.Nikos Mavrogiannopoulos2010-07-292-10/+38
| | | |
* | | | updated README.Nikos Mavrogiannopoulos2010-07-292-4/+14
| | | |
* | | | small change in AUTHORS.Nikos Mavrogiannopoulos2010-07-291-1/+1
| | | |
* | | | updatedNikos Mavrogiannopoulos2010-07-291-8/+4
| | | |
* | | | NCR_CIPHER_MAX_KEY_LEN no longer exist in userspace API.Nikos Mavrogiannopoulos2010-07-285-5/+11
| | | |
* | | | Use less stack and memory.Nikos Mavrogiannopoulos2010-07-281-89/+91
| | | |
* | | | Added Mirek.Nikos Mavrogiannopoulos2010-07-281-0/+4
| | | |
* | | | Don't access new objects when not holding a referenceMiloslav Trmač2010-07-282-2/+3
| | | |
* | | | Fix error paths in _ncr_session_initMiloslav Trmač2010-07-281-2/+4
| | | |
* | | | Fix kmalloc return value checkMiloslav Trmač2010-07-281-1/+1
| | | |
* | | | Return ENOMEM on session allocation errorsMiloslav Trmač2010-07-281-1/+1
| | | |