ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
public_key_t Struct Reference

Public key structure. More...

#include <lib/crypto/key_types.h>

Data Fields

key_type_t type
 
uint8_t key [32]
 
char comment [256]
 

Detailed Description

Public key structure.

Simplified public key structure for all key types. All keys are 32 bytes regardless of source (Ed25519, X25519, or GPG-derived).

Note
Key size: Always 32 bytes (simplifies protocol and key management)
Comment: Optional label for the key (max 256 chars including null terminator)
Conversion: Ed25519 and GPG keys are converted to X25519 for key exchange

Definition at line 69 of file key_types.h.


The documentation for this struct was generated from the following file: