RSA Security 5 Projection Television User Manual


 
Chapter 4 Details of Crypto-C Functions 335
B_SymmetricKeyGenerate
B_SymmetricKeyGenerate
Description
Creates a symmetric key in accordance with data specified during the
B_SetAlgorithmInfo step. If hardware is present, the key information is stored in a
KI_TOKEN_INFO structure. If no hardware is present, the key information is stored in
KI_EXTENDED_TOKEN_INFO format, which extends the KI_Token base type.
Return value
int B_SymmetricKeyGenerate (
B_ALGORITHM_OBJ algorithmObject,
B_KEY_OBJ symmetricKey,
B_ALGORITHM_OBJ randomObject,
A_SURRENDER_CTX *surrenderContext;
);
Value Description
0 Operation was successful.
nonzero Error. See Appendix A, ”Crypto-C Error Types.”