~ubuntu-branches/ubuntu/maverick/openssl/maverick

« back to all changes in this revision

Viewing changes to crypto/dh/dh_key.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Martin
  • Date: 2004-12-16 18:41:29 UTC
  • mto: (11.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20041216184129-z7xjkul57mh1jiha
Tags: upstream-0.9.7e
ImportĀ upstreamĀ versionĀ 0.9.7e

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
#include <openssl/rand.h>
63
63
#include <openssl/dh.h>
64
64
 
 
65
#ifndef OPENSSL_FIPS
 
66
 
65
67
static int generate_key(DH *dh);
66
68
static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
67
69
static int dh_bn_mod_exp(const DH *dh, BIGNUM *r,
220
222
                BN_MONT_CTX_free((BN_MONT_CTX *)dh->method_mont_p);
221
223
        return(1);
222
224
        }
 
225
 
 
226
#endif