Macros | Functions
ecdh.h File Reference
#include <openssl/base.h>
#include <openssl/ec_key.h>
Include dependency graph for ecdh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ECDH_R_KDF_FAILED   100
 
#define ECDH_R_NO_PRIVATE_VALUE   101
 
#define ECDH_R_POINT_ARITHMETIC_FAILURE   102
 
#define ECDH_R_UNKNOWN_DIGEST_LENGTH   103
 

Functions

OPENSSL_EXPORT int ECDH_compute_key (void *out, size_t outlen, const EC_POINT *pub_key, const EC_KEY *priv_key, void *(*kdf)(const void *in, size_t inlen, void *out, size_t *outlen))
 
OPENSSL_EXPORT int ECDH_compute_key_fips (uint8_t *out, size_t out_len, const EC_POINT *pub_key, const EC_KEY *priv_key)
 

Macro Definition Documentation

◆ ECDH_R_KDF_FAILED

#define ECDH_R_KDF_FAILED   100

Definition at line 113 of file ecdh.h.

◆ ECDH_R_NO_PRIVATE_VALUE

#define ECDH_R_NO_PRIVATE_VALUE   101

Definition at line 114 of file ecdh.h.

◆ ECDH_R_POINT_ARITHMETIC_FAILURE

#define ECDH_R_POINT_ARITHMETIC_FAILURE   102

Definition at line 115 of file ecdh.h.

◆ ECDH_R_UNKNOWN_DIGEST_LENGTH

#define ECDH_R_UNKNOWN_DIGEST_LENGTH   103

Definition at line 116 of file ecdh.h.

Function Documentation

◆ ECDH_compute_key()

OPENSSL_EXPORT int ECDH_compute_key ( void *  out,
size_t  outlen,
const EC_POINT pub_key,
const EC_KEY priv_key,
void *(*)(const void *in, size_t inlen, void *out, size_t *outlen)  kdf 
)

◆ ECDH_compute_key_fips()

OPENSSL_EXPORT int ECDH_compute_key_fips ( uint8_t out,
size_t  out_len,
const EC_POINT pub_key,
const EC_KEY priv_key 
)

Definition at line 80 of file ecdh.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:11