diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-03-08 19:07:26 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-03-08 19:07:26 +0000 |
commit | bc91494e064ebdcff68f987947f97e404fbca0b5 (patch) | |
tree | a2cdc113e234f0886918d9b1e43e4132f1569661 /crypto/dh/dh.h | |
parent | a1e7883edb9041aff44700fc9817891c800ac703 (diff) | |
download | openssl-bc91494e064ebdcff68f987947f97e404fbca0b5.tar.gz |
New SP 800-56A compliant version of DH_compute_key().
Diffstat (limited to 'crypto/dh/dh.h')
-rw-r--r-- | crypto/dh/dh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 084dc08c78..63db8c908b 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -202,6 +202,7 @@ int DH_check(const DH *dh,int *codes); int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes); int DH_generate_key(DH *dh); int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); +int DH_compute_key_padded(unsigned char *key,const BIGNUM *pub_key,DH *dh); DH * d2i_DHparams(DH **a,const unsigned char **pp, long length); int i2d_DHparams(const DH *a,unsigned char **pp); #ifndef OPENSSL_NO_FP_API |