CSNBSYE and CSNBSYE1 provide identical functions. When choosing
which service to use, consider this:
- CSNBSYE requires the cleartext and ciphertext
to reside in the caller’s primary address space. Also, a program
using CSNBSYE adheres to the IBM Common Cryptographic Architecture: Cryptographic Application Programming Interface.
The callable service name
for AMODE(64) invocation is CSNESYE.
- CSNBSYE1 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 CSNBSYE1 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.
For CSNBSYE1, clear_text_id and cipher_text_id are
access list entry token (ALET) parameters of the data spaces containing
the cleartext and ciphertext.
The callable service name for
AMODE(64) invocation is CSNESYE1.
|