IBM 2 Computer Hardware User Manual


 
PKA_Decrypt CCA Release 2.54
source_encrypted_key_length
The source_encrypted_key_length parameter is a pointer to an integer variable
containing the number of bytes of data in the source_encrypted_key variable.
The maximum size allowed is 256 bytes.
source_encrypted_key
The source_encrypted_key parameter is a pointer to a string variable
containing the input key to be decrypted.
data_structure_length
The data_structure_length parameter is a pointer to an integer variable
containing the number of bytes of data in the data_structure variable. This
value must be zero.
data_structure
The data_structure parameter is a pointer to a string variable. This variable is
currently ignored.
private_key_identifier_length
The private_key_identifier_length parameter is a pointer to an integer variable
containing the number of bytes of data in the private_key_identifier variable.
The maximum size allowed is 2500 bytes.
private_key_identifier
The private_key_identifier parameter is a pointer to a string variable containing
the RSA private-key token, or the label of an RSA private-key token in key
storage, used to decrypt the source key.
clear_target_key_length
The clear_target_key_length parameter is a pointer to an integer variable
containing the number of bytes of data in the clear_target_key variable. On
input, this variable specifies the maximum permissible length of the result. On
output, this verb updates the variable to indicate the length of the returned key.
The maximum size allowed is 256 bytes.
clear_target_key
The clear_target_key parameter is a pointer to a string variable containing the
decrypted (clear) key returned by this verb.
Keyword Meaning
Recovery method (required)
PKCS-1.2 Specifies the method found in RSA DSI PKCS #1 block type
02 documentation. In the RSA PKCS #1 v2.0 standard, RSA
terminology describes this as the RSAES-PKCS1-v1_5 format.
Required Commands
The PKA_Decrypt verb requires the RSA Decipher Key Data command (offset
X'011F') to be enabled in the hardware.
5-74 IBM 4758 CCA Basic Services, Release 2.54, February 2005