IBM Crypto Education Community

  • 1.  CSNDEDH

    Posted Fri January 18, 2019 01:31 PM

    Hi,

     

    We're running into an intermittent issue with the CSNDEDH call, I've reproduced it using a C program creating multiple threads.

     

    Input data is identical in each thread, we're passing the X and Y components of a public key, along with the label of an ECC private key in the PKDS, using PASSTHRU to derive a secret.

     

    It fails with RC=08 and RS=11000, I'd say I've run the program 10+ times, only in 3 of the runs it failed, and it only fails 1 out of 10 - 50 threads.

     

    Have you had any issues similar to this? I think we coded our function assuming concurrency wouldn't be an issue but it seems like it is, most likely with the PKDS ECC key?

     

    Attached some response time stats just FYI.

    hermanpun


  • 2.  Re: CSNDEDH

    Posted Tue January 22, 2019 01:46 PM

    Nevermind, this was a program error on our part. Forgot to clear mem from a GETMAIN.

    hermanpun