Project

General

Profile

« Previous | Next » 

Revision 215b5480

Added by emboss over 11 years ago

  • ext/openssl/ossl_cipher.c: add support for Authenticated Encryption
    with Associated Data (AEAD) for OpenSSL versions that support the
    GCM encryption mode. It's the only mode supported for now by OpenSSL
    itself. Add Cipher#authenticated? to detect whether a chosen mode
    does support Authenticated Encryption.
  • test/openssl/test_cipher.rb: add tests for Authenticated Encryption.
    [Feature #6980] [ruby-core:47426] Thank you, Stephen Touset for
    providing a patch!

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e