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

MSCAPI's PRNG is too slow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b95
    • CPU:
      generic
    • OS:
      generic

      Description

      SecureRandom sr = SecureRandom.getInstance(args[0], args[1]);
      for(int i = 0; i < Integer.parseInt(args[2]); i++)
          sr.nextBoolean();

      args: SHA1PRNG SUN 1000. result: 0.1s
      args: PRNG SunMSCAPI 1000. result: 5.6s

      Find this while evaluating 6445557.

        Attachments

          Activity

            People

            Assignee:
            weijun Weijun Wang
            Reporter:
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: