Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4920275

Align record payload on 8 byte boundaries

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • None
    • 5.0
    • security-libs

    Description

      SSL/TLS records consist of a 5 byte header plus the actual payload. SunJSSE currently reads that into a byte array starting at index 0, i.e. the payload - which needs to be crypted/MACed - starts at offset 5.

      This might make certain optimizations impossible or degrade performance since some processors to not support word loads from unaligned addresses.

      Attachments

        Issue Links

          Activity

            People

              xuelei Xuelei Fan
              andreas Andreas Sterbenz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: