Module sparx::sparx128 [] [src]

SPARX-128/128 block cipher.

Constants

BLOCK_SIZE
KEY_SIZE
NONCE_SIZE

Functions

decrypt_ctr

Decrypt an arbitrary-long message buf using SPARX in counter mode with the nonce nonce and the master key key.

encrypt_block

Encrypt a single block block using the key schedule ks

encrypt_ctr

Encrypt an arbitrary-long message buf using SPARX in counter mode with the nonce nonce and the master key key.

key_schedule_encrypt

Compute the key schedule from the master key key

Type Definitions

KeySchedule