Skip to content
Commits on Oct 19, 2009
  1. Respecify OpenSSL back-end internals in terms of krb5_key.

    ghudson committed Oct 19, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22941 dc483132-0cff-0310-8789-dd5450dbe970
  2. Fix a typo in a new comment.

    ghudson committed Oct 19, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22940 dc483132-0cff-0310-8789-dd5450dbe970
  3. Merge trunk changes from r22841 to r22912 to enc-perf branch.

    ghudson committed Oct 19, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22931 dc483132-0cff-0310-8789-dd5450dbe970
  4. Add a performance-testing harness for comparing krb5_k and krb5_c

    ghudson committed Oct 19, 2009
    variants of crypto functions.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22930 dc483132-0cff-0310-8789-dd5450dbe970
  5. Clarify that krb5_keys are logically immutable but may not be shared

    ghudson committed Oct 19, 2009
    between threads due to mutable internal state.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22929 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 18, 2009
  1. Implement derived key caching. For now, omit the "nocache" flag, beca…

    ghudson committed Oct 18, 2009
    …use it
    
    would add code bulk without necessarily saving much work.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22919 dc483132-0cff-0310-8789-dd5450dbe970
  2. Add reference counts to key identifiers, so that they can have multip…

    ghudson committed Oct 18, 2009
    …le owners
    
    without having to create multiple underlying PKCS#11 objects (or similar).
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22918 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 15, 2009
  1. Change the krb5_keyblocks in the gss-krb5 id-rec to krb5_keys, and use

    ghudson committed Oct 15, 2009
    krb5_k functions to encrypt and decrypt with them.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22903 dc483132-0cff-0310-8789-dd5450dbe970
  2. Export krb5int_hmac_keyblock from libk5crypto so it can be referenced

    ghudson committed Oct 15, 2009
    by the accessor.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22901 dc483132-0cff-0310-8789-dd5450dbe970
  3. Initialize the accessor with the keyblock version of krb5_hmac to

    ghudson committed Oct 15, 2009
    avoid changing its signature.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22899 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 8, 2009
  1. Change the krb5_keyblocks in the libkrb5 auth context to krb5_keys,

    ghudson committed Oct 8, 2009
    and use krb5_k functions to encrypt and decrypt with them.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22870 dc483132-0cff-0310-8789-dd5450dbe970
  2. Revert an unintended debugging change from r22845.

    ghudson committed Oct 8, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22869 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 6, 2009
  1. Adjust test programs to match new internal interfaces using krb5_key.

    ghudson committed Oct 6, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22858 dc483132-0cff-0310-8789-dd5450dbe970
  2. Extend t_encrypt to test krb5_k_encrypt and related functions as well

    ghudson committed Oct 6, 2009
    as the krb5_c variants.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22855 dc483132-0cff-0310-8789-dd5450dbe970
  3. Export krb5_k_encrypt/etc. from libk5crypto (change was missing

    ghudson committed Oct 6, 2009
    from r22845).
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22854 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 5, 2009
  1. Respecify most crypto internals in terms of krb5_key.

    ghudson committed Oct 5, 2009
    Implement krb5_k_encrypt/decrypt/etc. with krb5_c versions as wrapers.
    OpenSSL back end not yet updated since it is undergoing work on trunk.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22845 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 3, 2009
  1. Merge trunk changes from r22833 to r22841 to enc-perf branch.

    ghudson committed Oct 3, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22842 dc483132-0cff-0310-8789-dd5450dbe970
  2. Define constructors, destructors, and accessors for krb5_key (file was

    ghudson committed Oct 3, 2009
    missing from r22793).  Const-poison signature of krb5_k_create_key.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22841 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 2, 2009
  1. Merge trunk changes from r22791 to r22833 to enc-perf branch.

    ghudson committed Oct 2, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22834 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Oct 1, 2009
  1. Merge trunk changes from r22791 to r22815 to enc-perf branch.

    ghudson committed Oct 1, 2009
    bigredbutton: whitespace
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22816 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Sep 28, 2009
  1. Move the implementation of krb5_copy_keyblock[_contents] into crypto

    ghudson committed Sep 28, 2009
     to allow internal use (similar to krb5_free_keyblock[_contents]).
    Define krb5_key type and initial internal representation.
    Define the constructor, destructor, and accessors.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22793 dc483132-0cff-0310-8789-dd5450dbe970
  2. Create a new branch (from trunk r22791) for work on encryption

    ghudson committed Sep 28, 2009
    performance, as described in:
    http://k5wiki.kerberos.org/wiki/Projects/Encryption_Performance
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/enc-perf@22792 dc483132-0cff-0310-8789-dd5450dbe970
  3. Fix a braino in r22790.

    ghudson committed Sep 28, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22791 dc483132-0cff-0310-8789-dd5450dbe970
  4. Fix a few problems introduced by r22787.

    ghudson committed Sep 28, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22790 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Sep 25, 2009
  1. Add keytab_local.c to the kadmin client SRCS variable, so that we

    ghudson committed Sep 25, 2009
    generate dependencies for its object file.  This change causes
    kadmin.local to be properly rebuilt when keytab.c changes.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22789 dc483132-0cff-0310-8789-dd5450dbe970
  2. Fix a few bugs in kadmin's keytab.c from r22785.

    ghudson committed Sep 25, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22788 dc483132-0cff-0310-8789-dd5450dbe970
  3. Clean up krb5_get_credentials:

    ghudson committed Sep 25, 2009
      * Use the current coding practice for output parameters.
      * Rename the helper function krb5_get_credentials_core to
        krb5int_construct_matching_creds and document it.
      * Don't fail out if we fail to cache intermediate tgts.
      * Simplify conditional logic and variable handling.  ncreds is now
        always a temporary holder for the resulting credentials.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22787 dc483132-0cff-0310-8789-dd5450dbe970
  4. Crypto modularity proj: Updated IOV crypto.

    tsitkova committed Sep 25, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22786 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Sep 24, 2009
  1. Update the kadmin client code to most current coding practices.

    ghudson committed Sep 24, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22785 dc483132-0cff-0310-8789-dd5450dbe970
  2. Fix kadm5 unit test modified in r22782.

    ghudson committed Sep 24, 2009
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22784 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Sep 22, 2009
  1. Fix a braino in r22782: we don't use strcpy even safely; use strlcpy

    ghudson committed Sep 22, 2009
    instead.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22783 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Sep 21, 2009
  1. Improve the mechanism used for addprinc -randkey. In the kadmin

    ghudson committed Sep 21, 2009
    server, if the password is null when creating a principal, treat that
    as a request for a random key.  In the kadmin client, try using the
    new method for random key creation and then fall back to the old one.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22782 dc483132-0cff-0310-8789-dd5450dbe970
  2. ticket: 6568

    ghudson committed Sep 21, 2009
    subject: Fix addprinc -randkey when policy requires multiple character classes
    tags: pullup
    target_version: 1.7.1
    
    The fix for ticket #6074 (r20650) caused a partial regression of
    ticket #115 (r9210) because the dummy password contained only one
    character class.  As a minimal 1.7 fix, use all five character classes
    in the dummy password.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22781 dc483132-0cff-0310-8789-dd5450dbe970
  3. ticket: 6563

    ghudson committed Sep 21, 2009
    Fix a few bugs in r22736.  Cherry-picked from Luke's authdata branch.
    
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22780 dc483132-0cff-0310-8789-dd5450dbe970
Commits on Sep 20, 2009
  1. Clean up warnings of unused variables that have crept into the source…

    epeisach committed Sep 20, 2009
    … tree...
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22779 dc483132-0cff-0310-8789-dd5450dbe970
Something went wrong with that request. Please try again.