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

Poly1305 Endianness on ByteBuffer not enforced

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 21
    • None
    • security-libs
    • None

      Per rfc7539 Section 2.5, "Read the block as a little-endian number."

      sun.security.util.math.intpoly.IntegerPolynomial1305 enforces this on input when input is provided as `[]byte` but not when input is in `ByteBuffer`

            vpaprotski Volodymyr Paprotski
            vpaprotski Volodymyr Paprotski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: