Crate scp03 [] [src]

Implementation of the GlobalPlatform Secure Channel Protocol "03" used by YubiHSM2

See GPC_SPE_014: GlobalPlatform Card Technology Secure Channel Protocol '03' at: https://www.globalplatform.org/specificationscard.asp

Structs

Challenge

A challenge message, sent by either host or the card

Context

Derivation context (i.e. concatenated challenges)

Cryptogram

Authentication cryptograms used to verify sessions

IdentityKeys

Static identity keys from which session keys are derived

SessionKeys

Session keys as derived from per-session challenges

Constants

CHALLENGE_SIZE

Size of a challenge message

KEY_SIZE

AES key size in bytes