IBM 2 Computer Hardware User Manual


 
Cryptographic_Variable_Encipher CCA Release 2.54
Parameters
For the definitions of the return_code, reason_code, exit_data_length, and exit_data
parameters, see “Parameters Common to All Verbs” on page 1-11.
c-variable_encrypting_key_identifier
The c-variable_encrypting_key_identifier parameter is a pointer to a string
variable containing an internal key-token or a key label of an internal key-token
record in key storage. The internal key-token must contain a control vector that
specifies a CVARENC key-type.
text_length
The text_length parameter is a pointer to an integer variable containing the
length of the plaintext variable and the ciphertext variable.
plaintext
The plaintext parameter is a pointer to is a string variable containing the
plaintext to be encrypted.
initialization_vector
The initialization_vector parameter is a pointer to a string variable containing
the eight-byte initialization vector the verb uses in encrypting the plaintext.
ciphertext
The ciphertext parameter is a pointer to a string variable containing the
ciphertext returned by the verb.
Required Commands
The Cryptographic_Variable_Encipher verb requires the Encipher Cryptovariable
command (offset X'00DA') to be enabled in the active role.
5-30 IBM 4758 CCA Basic Services, Release 2.54, February 2005