Crate burble_crypto

Crate burble_crypto 

Source
Expand description

Bluetooth LE cryptographic toolbox ([Vol 3] Part H, Section 2.2).

Structs§

Addr
56-bit device address in big-endian byte order used by DHKey::f5 and MacKey::f6 functions ([Vol 3] Part H, Section 2.2.7 and 2.2.8).
AesCmac
RFC-4493 AES-CMAC ([Vol 3] Part H, Section 2.2.5).
Check
LE Secure Connections check value generated by MacKey::f6.
Confirm
LE Secure Connections confirm value generated by Nonce::f4.
DHKey
P-256 elliptic curve shared secret ([Vol 3] Part H, Section 2.3.5.6.1).
IoCap
Concatenated AuthReq, OOB data flag, and IO capability parameters used by MacKey::f6 function ([Vol 3] Part H, Section 2.2.8).
LTK
LE Secure Connections Long Term Key.
MacKey
128-bit key used to compute LE Secure Connections check value ([Vol 3] Part H, Section 2.2.8).
Nonce
128-bit random nonce value ([Vol 3] Part H, Section 2.3.5.6).
NumCompare
6-digit LE Secure Connections numeric comparison value generated by Nonce::g2.
PublicKey
P-256 elliptic curve public key ([Vol 3] Part H, Section 3.5.6).
PublicKeyX
P-256 elliptic curve public key affine X coordinate.
SecretKey
P-256 elliptic curve secret key.

Traits§

Codec
Codec for packing and unpacking SMP command parameters.