Previous Topic

Next Topic

Book Contents

Book Index

Sample exit that implements a user algorithm

Note: This sample only illustrates the exit functionality and the corresponding return code. It does not actually perform real encryption or decryption.

The CTDX029B member in the IOA SAMPEXIT library contains a sample exit that contains a simple algorithm. The algorithm exchanges high and low words in every double word in block. The customers can implement their own encryption algorithm.

In this case the exit communicates with CDAM (via a return code for the INIT call) to call the exit for each and every block.

An additional buffer may be required to return the encrypted/decrypted block, if the algorithm changes the length of the block.

Parent Topic

User Exit CTDX029