RSA BSAFE Crypto-C

Cryptographic Components for C

Search

AI_DHParamGen

Generates Diffie-Hellman system parameters, which are the prime modulus, base and private value length.

info Format

B_SetAlgorithmInfo() A pointer to A_DH_PARAM_GEN_PARAMS.
The exponentBits must be less than primeBits.
B_GetAlgorithmInfo() A pointer to A_DH_PARAM_GEN_PARAMS.

AI_DHParamGen Information

Functions to use B_GenerateInit() and B_GenerateParameters().
B_GenerateParameters() sets the resultAlgorithmObject with the AI_DHKeyAgree information. Pass an initialized random algorithm to B_GenerateParameters().
AMs to include AM_DH_PARAM_GEN.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 068-001001-6210-001-000 - 6.2.1