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.
|