A SERVICE OF

logo

AI_DHKeyAgree
46 RSA BSAFE Crypto-C Library Reference Manual
Crypto-C procedures to use with algorithm object:
B_KeyAgreeInit, B_KeyAgreePhase1, and B_KeyAgreePhase2. You must pass an
initialized random algorithm to
B_KeyAgreePhase1.
Algorithm methods to include in application’s algorithm chooser:
AM_DH_KEY_AGREE.
Compatible representation:
AI_DHKeyAgreeBER.
Output considerations:
The size of the output of B_KeyAgreePhase1 (the public value) will be the same size as
the
prime
. The size of the output of B_KeyAgreePhase2 (the agreed-upon secret) will
also be the same size as the
prime
.