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


Choosing Between CSNBMGN and CSNBMGN1

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

CSNBMGN and CSNBMGN1 provide identical functions. When choosing which service to use, consider the following:

  • CSNBMGN requires the application-supplied text to reside in the caller’s primary address space. Also, a program using CSNBMGN adheres to the IBM Common Cryptographic Architecture: Cryptographic Application Programming Interface.

    The callable service name for AMODE(64) invocation is CSNEMGN.

  • CSNBMGN1 allows the application-supplied text to reside either in the caller’s primary address space or in a data space. This can allow you to process more data with one call. However, a program using CSNBMGN1 does not adhere to the IBM Common Cryptographic Architecture: Cryptographic Application Programming Interface, and may need to be modified before it can run with other cryptographic products that follow this programming interface.

    The callable service name for AMODE(64) invocation is CSNEMGN1.

    For CSNBMGN1, text_id_in is an access list entry token (ALET) parameter of the data space containing the application-supplied text.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014