Check out the new USENIX Web site. next up previous
Next: Integration with BGP Up: Whisper Implementation Previous: Whisper Implementation

Whisper Library

The structure of a basic Whisper signature is:


typedef struct { 
  BIGNUM *seed; 
  BIGNUM *N; 
}Signature;

BIGNUM is a basic data structure used within the OpenSSL crypto library to represent large numbers. The whisper library supports these three functions using the Signature data structure:



\begin{algorithmic}[1]
\STATE generate\_signature(Signature *sg);
\STATE update\...
...es(Signature *r, Signature *s,int *aspath\_r, int *aspath\_s);
\end{algorithmic}

These functions exactly map to the three whisper operations described earlier in Section 3.2.2. The main advantage of separating the whisper library from the whisper-BGP interface is modularity. The whisper library can be used in isolation with any other BGP implementation sufficiently different from the Zebra version.



116 2004-02-12