As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

SimpleSerial

86 bytes added, 14:54, 25 April 2017
Commands
|-
|h
|h0h00\n
|Select stack / hardware to use (if supported).
|In
|k
|k2b7e151628aed2a6abf7158809cf4f3c\n
|Set encryption key; possibly trigger key scheduling
|In
|Y
|-
|m
|m0m00\n
|Select cipher mode (if supported)
|In
|v
|v\n
|Select Check protocol version (no reply on v1.0 = original, 1 = 1; ACK on v1.1)
|In
|Y|Y
|-
|x
|xxxxxx\n
|Clears Buffers (resets to 'IDLE' state), does not clear any variables.
|In
|-
|z
|zz00\n|ACK - Command processing done(with optional status code)
|Out
|Y
== Encryption Application ==
The encryption application provides a simple method to encrypt a plaintext into a ciphertext. This application was the original "simple serial". The following operations are performed:
# Load encryption key with 'k' command (for example, k2b7e151628aed2a6abf7158809cf4f3c\n sets key to k2b7e151628aed2a6abf7158809cf4f3c2b7e151628aed2a6abf7158809cf4f3c).
# Set input text to encryption module with 'p' command. Device encrypts input text, and toggles the I/O trigger line during the encryption operation.
# The ciphertext is returned with the 'r' command.
== Authentication Application ==
The authentication application does not expose the result of the encryption. Instead, the result is used only in authentication mode, where the following operations are performed:
# Load encryption key with 'k' command (for example, k2b7e151628aed2a6abf7158809cf4f3c\n sets key to k2b7e151628aed2a6abf7158809cf4f3c2b7e151628aed2a6abf7158809cf4f3c).
# Set the authentication challenge with 't' command.
# Set input text to encryption module with 'p' command. Device encrypts input text, and toggles the I/O trigger line during the encryption operation.
Approved_users
510
edits

Navigation menu