GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DH_BITS (3)

.ds Aq ’

NAME

DH_size, DH_bits - get Diffie-Hellman prime size

CONTENTS

SYNOPSIS

#include <openssl/dh.h>

int DH_size(const DH *dh);

int DH_bits(const DH *dh);

DESCRIPTION

DH_size() returns the Diffie-Hellman prime size in bytes. It can be used to determine how much memory must be allocated for the shared secret computed by DH_compute_key().

DH_bits() returns the number of significant bits.

dh and dh->p must not be NULL.

RETURN VALUE

The size.

SEE ALSO

dh(3), DH_generate_key(3), BN_num_bits(3)

HISTORY

DH_bits() was added in OpenSSL 1.1.0.
Search for    or go to Top of page |  Section 3 |  Main Index


1.1.0-pre3 DH_SIZE (3) 2016-02-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.