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

One direction's codec state, handed to the packet layer per call. More...

#include <transport.h>

Public Attributes

proto_bool enc
 that direction's cipher/MAC is active
 
uint8_t epoch
 key epoch it reads out of ssh_keys[slot][]
 

Detailed Description

One direction's codec state, handed to the packet layer per call.

RFC 4253 sec 6 sits under sec 7, so the codec is told which keys to use rather than reading the session that negotiated them. Each direction switches on its own SSH_MSG_NEWKEYS (sec 7.3).

Definition at line 31 of file transport.h.

Member Data Documentation

◆ enc

proto_bool SshDir::enc

that direction's cipher/MAC is active

Definition at line 33 of file transport.h.

◆ epoch

uint8_t SshDir::epoch

key epoch it reads out of ssh_keys[slot][]

Definition at line 34 of file transport.h.


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