Skip to content

Twofish

Snoopy87 edited this page Jul 8, 2019 · 3 revisions

Overview

Twofish is a symmetric-key algorithm. Twofish encrypts/decrypts blocks of 128-bit and can use a key of 128/192/256-bit.

Twofish

Core available

  • Twofish_Std works in encryption/decryption with keys-length of 128/192/256-bit and uses the SymmetricCryptoBlockIO interface.

Spinal Interface

Measure

Core Target Performance Aera RAM
*_Std Altera Cyclone V (C6) - - -

Example

import spinal.crypto.symmetric.towfish._

val core = new Twofish_Std(128 bits)
Clone this wiki locally