ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
SshKexHashArgs Struct Reference

RFC 4253 sec 8: every term the exchange hash H is taken over, and where H lands. More...

#include <transport.h>

Public Attributes

proto_bool pub_is_string
 the peer public value is a string, not an mpint
 
const uint8_t * cpub
 the client public value
 
size_t cpub_len
 its length
 
const uint8_t * spub
 the server public value
 
size_t spub_len
 its length
 
const uint8_t * k_be
 the shared secret, big-endian
 
size_t k_len
 its length
 
const uint8_t * ks
 the host key blob
 
size_t ks_len
 its length
 
proto_bool k_is_string
 that secret is a string, not an mpint
 
proto_bool is512
 the method hashes with SHA-512
 
uint8_t hash [SSH_KEXHASH_MAX_LEN]
 where the exchange hash H lands
 
size_t hash_len
 its length: 32 for the SHA-256 methods, 64 for the SHA-512 one
 

Detailed Description

RFC 4253 sec 8: every term the exchange hash H is taken over, and where H lands.

Definition at line 194 of file transport.h.

Member Data Documentation

◆ pub_is_string

proto_bool SshKexHashArgs::pub_is_string

the peer public value is a string, not an mpint

Definition at line 196 of file transport.h.

◆ cpub

const uint8_t* SshKexHashArgs::cpub

the client public value

Definition at line 197 of file transport.h.

◆ cpub_len

size_t SshKexHashArgs::cpub_len

its length

Definition at line 198 of file transport.h.

◆ spub

const uint8_t* SshKexHashArgs::spub

the server public value

Definition at line 199 of file transport.h.

◆ spub_len

size_t SshKexHashArgs::spub_len

its length

Definition at line 200 of file transport.h.

◆ k_be

const uint8_t* SshKexHashArgs::k_be

the shared secret, big-endian

Definition at line 201 of file transport.h.

◆ k_len

size_t SshKexHashArgs::k_len

its length

Definition at line 202 of file transport.h.

◆ ks

const uint8_t* SshKexHashArgs::ks

the host key blob

Definition at line 203 of file transport.h.

◆ ks_len

size_t SshKexHashArgs::ks_len

its length

Definition at line 204 of file transport.h.

◆ k_is_string

proto_bool SshKexHashArgs::k_is_string

that secret is a string, not an mpint

Definition at line 205 of file transport.h.

◆ is512

proto_bool SshKexHashArgs::is512

the method hashes with SHA-512

Definition at line 206 of file transport.h.

◆ hash

uint8_t SshKexHashArgs::hash[SSH_KEXHASH_MAX_LEN]

where the exchange hash H lands

Definition at line 207 of file transport.h.

◆ hash_len

size_t SshKexHashArgs::hash_len

its length: 32 for the SHA-256 methods, 64 for the SHA-512 one

Definition at line 208 of file transport.h.


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