AI_DHKeyAgree

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.

4 6

R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l

Page 56
Image 56
RSA Security 5 manual Initialized random algorithm to BKeyAgreePhase1