ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SshRsaPubKey Struct Reference

RSA-2048 public host key parameters. Allocated in BSS; contains only n and e. More...

#include <ssh_rsa.h>

Public Attributes

uint8_t n [PC_RSA_KEY_BYTES]
 Modulus n (256 bytes, big-endian).
 
uint8_t e_bytes [4]
 Public exponent e (big-endian uint32).
 
bool loaded
 True after pc_ssh_rsa_load_pubkey() succeeds.
 

Detailed Description

RSA-2048 public host key parameters. Allocated in BSS; contains only n and e.

Definition at line 66 of file ssh_rsa.h.

Member Data Documentation

◆ n

uint8_t SshRsaPubKey::n[PC_RSA_KEY_BYTES]

Modulus n (256 bytes, big-endian).

Definition at line 68 of file ssh_rsa.h.

Referenced by pc_ssh_rsa_load_pubkey(), and ssh_rsa_encode_pubkey().

◆ e_bytes

uint8_t SshRsaPubKey::e_bytes[4]

Public exponent e (big-endian uint32).

Definition at line 69 of file ssh_rsa.h.

Referenced by pc_ssh_rsa_load_pubkey(), and ssh_rsa_encode_pubkey().

◆ loaded

bool SshRsaPubKey::loaded

True after pc_ssh_rsa_load_pubkey() succeeds.

Definition at line 70 of file ssh_rsa.h.

Referenced by pc_ssh_rsa_load_pubkey(), and ssh_rsa_encode_pubkey().


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