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

Align record payload on 8 byte boundaries

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: