Skip to main content

odin_crypto_get_peer_status

OdinCryptoPeerStatus odin_crypto_get_peer_status(struct OdinCipher *cipher, uint64_t peer_id);

Overview

Retrieves the encryption status of a specified peer. This can be used to determine if a peer is communicating with valid encryption, no encryption, or if there is a key mismatch.

Parameters

NameTypeDescription
cipherstruct OdinCipher *The cipher handle.
peer_iduint64_tThe peer ID to check.

Return Value

TypeDescription
OdinCryptoPeerStatusThe encryption status of the peer.