Permalink
Commits on May 7, 2011
Commits on May 6, 2011
  1. Revert "Add true streaming AES (CTR) encryption and streaming HMAC op…

    …erations"
    
    This reverts commit 9ae166f.
    committed May 6, 2011
  2. Add true streaming AES (CTR) encryption and streaming HMAC operations

    The current crypto module implementations require all of the data
    being encrypted or authenticated to be in memory at one time. When
    trying to encrypt or authenticate a large file (on order of GBs),
    this is problematic.
    
    The implementation of AES CTR uses the same underlying implementation
    as aes_ctr_[en|de]crypt, but hands the state back to the client
    after every operation.
    
    The HMAC implementation differs from the previous implementations of
    sha_mac and md5_mac. The old implementations did not utilize the
    OpenSSL HMAC implementation. In order to ensure that I didn't
    implement something incorrectly, I chose to use the OpenSSL HMAC
    implementation directly, since it handles streaming as well. This
    has the added side benefit of allowing other hash functions to be
    used as desired (for instances, I added support for ripemd160
    hashing).
    
    While I haven't done this, it seems like the existing md5_mac and
    sha_mac functions could either be depricated or redefined in terms
    of the new hmac_ functions.
    committed May 6, 2011
Commits on May 5, 2011
  1. @sverker

    Merge branch 'maint-r14' into dev

    Conflicts:
    	erts/vsn.mk
    sverker committed May 5, 2011
  2. @IngelaAndin

    Merge branch 'ia/ssl/more-socket-options-dialyzer-issues' into dev

    * ia/ssl/more-socket-options-dialyzer-issues:
      Spec corrections
    IngelaAndin committed May 5, 2011
  3. @IngelaAndin

    Spec corrections

    IngelaAndin committed May 5, 2011
Commits on May 4, 2011
  1. Prepare release

    Erlang/OTP committed May 4, 2011
  2. Merge branch 'sverker/halfword-ets-ordered_set-seq11836/OTP-9258' int…

    …o maint-r14
    
    * sverker/halfword-ets-ordered_set-seq11836/OTP-9258:
      Fix bug in halfword emulator causing ets:select_delete on ordered_set to crash
    Erlang/OTP committed May 4, 2011
  3. Merge branch 'maint-r14' into dev

    Niclas Eklund committed May 4, 2011
  4. @sverker
  5. @IngelaAndin

    Merge branch 'ia/ssl/dialyzer-socket-options-spec' into dev

    * ia/ssl/dialyzer-socket-options-spec:
      Dialyzer spec fix
    IngelaAndin committed May 4, 2011
  6. @IngelaAndin

    Dialyzer spec fix

    IngelaAndin committed May 4, 2011
Commits on May 3, 2011
  1. @proxyles

    Merge branch 'ta/unicode-non-chars' into dev

    * ta/unicode-non-chars:
      unicode: document 16#FFFE and 16#FFFF (non chars)
    
    OTP-9256
    proxyles committed May 3, 2011
  2. @proxyles

    Merge branch 'mh/inhibit-newline-inside-typespec' into dev

    * mh/inhibit-newline-inside-typespec:
      Inhibit electric newline after "->" when inside a type spec
    
    OTP-9255
    proxyles committed May 3, 2011
  3. @IngelaAndin

    Merge branch 'ia/ssl/dialyzer-iodata' into dev

    * ia/ssl/dialyzer-iodata:
      Changed iolist() to iodata()
    IngelaAndin committed May 3, 2011
Commits on May 2, 2011
  1. Add true streaming AES (CTR) encryption and streaming HMAC operations

    The current crypto module implementations require all of the data
    being encrypted or authenticated to be in memory at one time. When
    trying to encrypt or authenticate a large file (on order of GBs),
    this is problematic.
    
    The implementation of AES CTR uses the same underlying implementation
    as aes_ctr_[en|de]crypt, but hands the state back to the client
    after every operation.
    
    The HMAC implementation differs from the previous implementations of
    sha_mac and md5_mac. The old implementations did not utilize the
    OpenSSL HMAC implementation. In order to ensure that I didn't
    implement something incorrectly, I chose to use the OpenSSL HMAC
    implementation directly, since it handles streaming as well. This
    has the added side benefit of allowing other hash functions to be
    used as desired (for instances, I added support for ripemd160
    hashing).
    
    While I haven't done this, it seems like the existing md5_mac and
    sha_mac functions could either be depricated or redefined in terms
    of the new hmac_ functions.
    committed May 2, 2011
  2. Merge branch 'nick/ssh/memory_leak/OTP-9232' into maint-r14

    * nick/ssh/memory_leak/OTP-9232:
      OTP-9232: A memory leak has been fixed. I.e. per terminated connection the size of a pid and the length of a user name string was not cleared.
      Added deletion of clients to be used when a session is terminated.
    Erlang/OTP committed May 2, 2011
  3. @proxyles

    Merge branch 'ta/driver_entry-typo' into dev

    * ta/driver_entry-typo:
      driver_entry: Remove gratuitous paren and fix typo
    
    OTP-9254
    proxyles committed May 2, 2011
Commits on Apr 29, 2011
  1. @proxyles

    Merge branch 'ks/prim_file-fixes' into dev

    * ks/prim_file-fixes:
      add prim_file.beam
      Driver names should be strings, not atoms
      Cleanup and cosmetic changes
    
    OTP-9253
    proxyles committed Apr 29, 2011
  2. @proxyles

    Merge branch 'ms/erl_interface-compile-error' into dev

    * ms/erl_interface-compile-error:
      erl_interface: fix compile error
    
    OTP-9252
    proxyles committed Apr 29, 2011
  3. @proxyles

    Merge branch 'ms/unsigned-integer-overflow-in-error' into dev

    * ms/unsigned-integer-overflow-in-error:
      Unsigned integer may overflow in error message
    
    OTP-9251
    proxyles committed Apr 29, 2011
  4. @IngelaAndin

    Changed iolist() to iodata()

    ssl:send/2 takes iodata() as a second
    argument. erlang:iolist_to_binary should really be called
    erlang:iodata_to_binary which caused the mismatch in the first place.
    IngelaAndin committed Apr 29, 2011
Commits on Apr 28, 2011
  1. @pekadan

    Merge branch 'peppe/common_test/r14b03_tickets' into dev

    * peppe/common_test/r14b03_tickets:
      Have test_server locate the source code file for a test suite module if it's not in the same directory as the beam file.
      Fix error in vts mode, making it impossible to execute suites with test case groups.
      Fix problem with merging ticket branch.
      Fix problems with timetrap handling in common_test: 1. ct:timetrap(infinity) not supported. 2. Previous set timetrap for a test case is not cancelled by new one.
      Document the new init_per_testcase return value.
      Make it possible to fail test case by returning {fail,Reason} from init_per_testcase.
      Fix problem with merging a ticket branch.
      Fix issues related to test case groups: 1. Allow empty group to be specified without generating an error. 2. Sort out potential problem with unnecessary call to delete_subs/2.
      Add test case for suite with empty group.
      Improve validation of test events.
      Fix failing tests on Windows.
      Make it possible to refresh the top level index page at the start of a test run.
      Fix problem with CT hook start error causing IO to be sent to wrong group leader process.
      Do minor updates of the ts test framework.
      Correct failing test cases.
    
    OTP-9233
    OTP-9210
    OTP-9195
    OTP-9161
    OTP-9160
    OTP-9159
    OTP-9138
    pekadan committed Apr 28, 2011
  2. @pekadan

    Have test_server locate the source code file for a test suite module …

    …if it's not in the same directory as the beam file.
    pekadan committed Apr 21, 2011
  3. @pekadan
  4. @pekadan
  5. @pekadan

    Fix problems with timetrap handling in common_test:

    1. ct:timetrap(infinity) not supported.
    2. Previous set timetrap for a test case is not cancelled by new one.
    pekadan committed Apr 19, 2011
  6. @pekadan
  7. @pekadan
  8. @pekadan
  9. @pekadan

    Fix issues related to test case groups:

    1. Allow empty group to be specified without generating an error.
    2. Sort out potential problem with unnecessary call to delete_subs/2.
    pekadan committed Apr 18, 2011
  10. @pekadan