z/OS Cryptographic Services ICSF Application Programmer's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Generating Random Numbers

z/OS Cryptographic Services ICSF Application Programmer's Guide
SA22-7522-16

If your BSAFE application uses the algorithm method AM_MD5_RANDOM, you can add a chooser definition containing the algorithm method AM_HW_RANDOM (new with BSAFE 3.1) and a couple of BSAFE function calls and your program can use ICSF and the Cryptographic Coprocessor Feature to generate random numbers instead of the BSAFE algorithm method.

BSAFE 3.1 provides a new algorithm information type, AI_HWRandom. You need to set your random number generation object with AI_HWRandom, and initialize the object with a chooser containing AM_HW_RANDOM, in order to use ICSF with the Cryptographic Coprocessor Feature for generating random numbers. You do not, however, have to make a B_RandomUpdate call, since the S/390 and IBM eServer zSeries cryptographic solution does not require a seed.

The only AI type with choosers that may include AM_HW_RANDOM is AI_HWRandom.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014