net/bluetooth/ecdh_helper.h

Source file repositories/reference/linux-study-clean/net/bluetooth/ecdh_helper.h

File Facts

System
Linux kernel
Corpus path
net/bluetooth/ecdh_helper.h
Extension
.h
Size
1259 bytes
Lines
28
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: implementation source
Status
source implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

#include <crypto/kpp.h>
#include <linux/types.h>

int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 pair_public_key[64],
			u8 secret[32]);
int set_ecdh_privkey(struct crypto_kpp *tfm, const u8 private_key[32]);
int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64]);
int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64]);

Annotation

Implementation Notes