Upon return from this exit, the register contents must be:
- Register
- Contents
- 0-14
- Restored to contents at entry
- 15
- For an encrypt operation, one of the following return codes:
- Value
- Meaning
- 0
- The exit has encrypted the data and placed the results in the
area pointed to by the address at offset 16 (X'10') in the
parameter list. The length of the encrypted data must be the same
as that of the clear text data.
- 4
- The exit has not encrypted the data. RACF® is to encrypt the data, using the masking
algorithm.
- 8
- The exit has not encrypted the data. RACF is to encrypt the data, using the RACF DES algorithm.
- 16
- The exit has not encrypted the data. RACF is to encrypt the data, using the RACF DES algorithm.
For a compare operation, one of the following return
codes:
- Value
- Meaning
- 0
- The clear text data and the encrypted data should be considered
equal.
- 4
- RACF is to attempt to compare
the data by using the masking algorithm.
- 8
- RACF is to attempt to compare
the data by using the RACF DES
algorithm.
- 12
- The clear text data and the encrypted data should be considered
unequal.
- 16
- RACF is to attempt to compare
the data by using the RACF DES
algorithm. If DES processing fails, RACF uses
masking.
Note: If register 15 contains any other value, RACF treats it as a return code
of 4.