aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/preauth/pkinit/pkinit_kdf_test.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-10Fix memory leaks in test programsGreg Hudson1-31/+2
Eliminate memory leaks detected by asan in test programs, to make it easier to find more serious leaks.
2014-07-08Include autoconf.h before system headersGreg Hudson1-10/+1
Include autoconf.h (either directly or via proxy) before system headers, so that feature test macros defined there can affect the system namespace. Where include order was changed, eliminate some redundant or unnecessary includes. ticket: 7961
2011-12-21Stop using krb5_octet_dataGreg Hudson1-8/+8
For consistency with the rest of the code base, make PKINIT use krb5_data as a pointer/length container. Leave krb5_octet_data and krb5_free_octet_data behind for API compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25600 dc483132-0cff-0310-8789-dd5450dbe970
2011-10-05Add tests to pkinit_kdf_test to test SHA-256/AES and SHA-512/DES3Sam Hartman1-14/+113
Signed-off-by: Margaret Wasserman <mrw@painless-security.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25307 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-21Fix typo in pkinit_kdf_test error messageSam Hartman1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25220 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-21Add newlines to end of status messagesSam Hartman1-2/+2
Signed-off-by: Margaret Wasserman <mrw@painless-security.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25219 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-19Make pkinit_kdf_test.c compileGreg Hudson1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25210 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-19Formatting fixesGreg Hudson1-20/+16
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25209 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-19reindentSam Hartman1-32/+32
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25208 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-19Remove the ticket from the pkinit-alg-agility KDF function, to matchSam Hartman1-42/+27
agreed changes to the IETF specification. Includes removing a parameter from the KDF function, removing the ticket from the ASN.1 encoder, and updating the test code. Signed-off-by: Margaret Wasserman <mrw@painless-security.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25197 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-19Refactor to use oid instead of algorithm_id in KDF interfaceSam Hartman1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25193 dc483132-0cff-0310-8789-dd5450dbe970
2011-09-19 implementation of new function and test program for pkinit agility.Sam Hartman1-0/+183
Implementation of pkinit_alg_agility_kdf() function to implement the key derivation function defined in draft-ietf-krb-wg-pkinit-alg-agility-04, and implementation of pkinit_kdf_test program to test the new KDF against the test vector in the draft. Signed-off-by: Margaret Wasserman <mrw@painless-security.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25191 dc483132-0cff-0310-8789-dd5450dbe970