Skip to content
  1. May 29, 2019
  2. May 28, 2019
  3. May 27, 2019
  4. May 26, 2019
  5. May 24, 2019
  6. May 23, 2019
  7. May 22, 2019
  8. May 21, 2019
  9. May 20, 2019
  10. May 16, 2019
  11. May 09, 2019
  12. May 08, 2019
    • Tobias Nießen's avatar
      Allow specifying the tag after AAD in CCM mode · b48e3be9
      Tobias Nießen authored
      
      
      This change allows to pass the authentication tag after specifying
      the AAD in CCM mode. This is already true for the other two supported
      AEAD modes (GCM and OCB) and it seems appropriate to match the
      behavior.
      
      GCM and OCB also support to set the tag at any point before the call
      to `EVP_*Final`, but this won't work for CCM due to a restriction
      imposed by section 2.6 of RFC3610: The tag must be set before
      actually decrypting data.
      
      This commit also adds a test case for setting the tag after supplying
      plaintext length and AAD.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/7243)
      
      (cherry picked from commit 67c81ec311d696464bdbf4c6d6f8a887a3ddf9f8)
      b48e3be9
  13. May 07, 2019
  14. May 02, 2019
  15. Apr 30, 2019
  16. Apr 25, 2019