Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port key wrapping tests to *_lib.c | Miloslav Trmač | 2010-08-24 | 1 | -2/+52 |
| | |||||
* | Don't assume <ncr.h> includes <stdint.h> | Miloslav Trmač | 2010-08-24 | 1 | -0/+1 |
| | |||||
* | Drop a few unnecessary #includes from examples | Miloslav Trmač | 2010-08-24 | 1 | -3/+0 |
| | |||||
* | Provide a nicer example on including <ncrypto.h> | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | |||||
* | Implement missing algorithm-specific keygen params | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | | | | | Rename ncr_key_generate_params_set_bits to ncr_key_generate_params_set_secret_bits in the process, an incompatible change. | ||||
* | Support output data in NCRIO_SESSION_UPDATE | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | |||||
* | Use NCR_KEY_INVALID for clarity | Miloslav Trmač | 2010-08-24 | 1 | -1/+1 |
| | |||||
* | Remove somewhat confusing casts | Miloslav Trmač | 2010-08-24 | 1 | -4/+4 |
| | | | | | | | | | | | | "luckily" DIAGNOSTIC_DUMP does not quote its arguments, so DIAGNOSTIC_DUMP((int)array, size) expanded into ... fprintf(stderr, "%.2x:", (int)(int)array[out_index]); ... Still, it would break with more meticulous parenthesising, and the macro invocations appear to be casting an array to int. | ||||
* | Don't set the master key in an example program. | Miloslav Trmač | 2010-08-24 | 1 | -2/+0 |
| | | | | | That is an operation reserved for root, and should be done during system initialization. | ||||
* | Fix and reenable unwrapping test | Miloslav Trmač | 2010-08-24 | 1 | -2/+3 |
| | |||||
* | Use the correct wrapping key | Miloslav Trmač | 2010-08-24 | 1 | -2/+2 |
| | | | | ... as specified in the RFC3394 test vector in section 4.1. | ||||
* | Remove an unused variable | Miloslav Trmač | 2010-08-24 | 1 | -2/+0 |
| | |||||
* | Add Jan's port of ncr.c to libcryptodev. | Jan Chadima | 2010-08-24 | 1 | -0/+476 |