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