Permalink
Commits on Dec 1, 2008
  1. des-hmac-sha1 does not support AEAD

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21259 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  2. Omit CTS length check

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21257 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  3. Update t_encrypt to do some black-box testing of the iov API

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21256 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  4. type in krb5_c_crypto_length is the crypto type not the enctype

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21255 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  5. Add stream cryptotype

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21254 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  6. Fix extern declaration

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21253 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  7. Use return value of get/put block to indicate termination condition

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21252 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  8. Cleanup; stream processing is done now by krb5_c_decrypt_iov()

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21251 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  9. Cleanup IOV code

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21250 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  10. Add krb5_c_crypto_length_iov() and krb5_c_padding_length() APIs

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21249 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  11. Change the behaviour of KRB5_CRYPTO_TYPE_STREAM slightly: STREAM should

    be the concatenation of HEADER | DATA | PADDING | TRAILER (without any
    SIGN_ONLY buffers). When passing STREAM into decrypt, any additional
    SIGN_ONLY buffers should be included as input, ordered relative to the
    (output) DATA buffer as they were on encrypt.
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21248 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  12. Only a single padding buffer is required

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21247 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  13. Cleanup code on the assumption HEADER buffer is always first

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21246 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  14. cleanup

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21245 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  15. cleanup

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21244 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  16. cleanup

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21243 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  17. KRB5_CRYPTO_TYPE_STREAM handling code was in wrong file

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21242 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  18. When pad_to_boundary is set (as it is for CCM), don't pad between

    buffers of the same type.
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21241 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  19. Initialize PADDING buffers that are not preceeded by DATA buffers to

    zero length
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21240 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  20. Ensure padding is initialized on return from krb5_c_encrypt_iov()

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21239 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  21. Add some notes regarding block IOV APIs

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21238 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  22. CTR mode and associated data do not require explicit padding in the

    output message
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21237 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  23. Cleanup

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21236 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  24. Provisional implementation of CCM mode for AES

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21235 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  25. RC4 has a header length that includes the confounder and checksum.

    The trailer length is 0
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21234 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  26. Reformat

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21233 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  27. Careful not to overwrite mit_des_zeroblock

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21232 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  28. Don't reset iov_pos to current index after reading header; found by Sam

    Hartman
    
    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21231 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  29. cleanup

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21230 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  30. support KRB5_CRYPTO_TYPE_STREAM

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21229 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  31. fix some more pointer adjustment errors

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21228 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  32. Don't encrypt checksum!

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21227 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  33. For RC4, checksum is in header, not trailer

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21226 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  34. No padding for rc4 at krb5 layer

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21225 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008
  35. Expose krb5_hmac_iov via accessor

    git-svn-id: svn://anonsvn.mit.edu/krb5/branches/mskrb-integ-crypto-iov@21224 dc483132-0cff-0310-8789-dd5450dbe970
    hartmans committed Dec 1, 2008