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


Choosing between CSNBENC and CSNBENC1

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

CSNBENC and CSNBENC1 provide identical functions. When choosing which service to use, consider this:

  • CSNBENC requires the cleartext and ciphertext to reside in the caller’s primary address space. Also, a program using CSNBENC adheres to the IBM Common Cryptographic Architecture: Cryptographic Application Programming Interface.

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

  • CSNBENC1 allows the cleartext and ciphertext to reside either in the caller’s primary address space or in a data space. This can allow you to encipher more data with one call. However, a program using CSNBENC1 does not adhere to the IBM Common Cryptographic Architecture: Cryptographic Application Programming Interface, and may need to be modified prior to it running with other cryptographic products that follow this programming interface.

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

    For CSNBENC1 and CSNEENC1, clear_text_id and cipher_text_id are access list entry token (ALET) parameters of the data spaces containing the cleartext and ciphertext.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014