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


Choosing Between CSNBMDG and CSNBMDG1

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

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

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

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

  • CSNBMDG1 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 CSNBMDG1 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 CSNEMDG1.

    For CSNBMDG1, text_id_in parameter specifies the access list entry token (ALET) for the data space containing the application-supplied text.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014