Documentation ¶
Overview ¶
Package deoxysii implements the Deoxys-II-256-128 MRAE algorithm.
Index ¶
Constants ¶
View Source
const ( // KeySize is Deoxys-II-256-128 key size in bytes. KeySize = 32 // NonceSize is the Deoxys-II-256-128 nonce size in bytes. NonceSize = 15 // TagSize is the Deoxys-II-256-128 authentication tag size // in bytes. TagSize = 16 )
Variables ¶
View Source
var ( // ErrOpen is the error returned when the message authentication // fails durring an Open call. ErrOpen = errors.New("deoxysii: message authentication failure") // ErrInvalidKeySize is the error returned when the key size is // invalid ErrInvalidKeySize = errors.New("deoxysii: invalid key size") // ErrInvalidNonceSize is the error returned when the nonce size // is invalid ErrInvalidNonceSize = errors.New("deoxysii: invalid nonce size") )
Functions ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
api
Package api provides the internal API, and common helpers/definitions.
|
Package api provides the internal API, and common helpers/definitions. |
ct32
Package ct32 provides a portable constant time Deoxys-II-256-128 implementation intended for 32 bit processors.
|
Package ct32 provides a portable constant time Deoxys-II-256-128 implementation intended for 32 bit processors. |
ct64
Package ct64 provides a portable constant time Deoxys-II-256-128 implementation intended for 64 bit processors.
|
Package ct64 provides a portable constant time Deoxys-II-256-128 implementation intended for 64 bit processors. |
ext/aes/ct32
Package ct32 is a 32 bit optimized AES implementation that processes 2 blocks at a time.
|
Package ct32 is a 32 bit optimized AES implementation that processes 2 blocks at a time. |
ext/aes/ct64
Package ct64 is a 64 bit optimized AES implementation that processes 4 blocks at a time.
|
Package ct64 is a 64 bit optimized AES implementation that processes 4 blocks at a time. |
hardware
Package hardware provides a hardware accelerated Deoxys-II-256-128 implementation.
|
Package hardware provides a hardware accelerated Deoxys-II-256-128 implementation. |
vartime
Package vartime provides a insecure/slow variable time Deoxys-II-256-128 implementation.
|
Package vartime provides a insecure/slow variable time Deoxys-II-256-128 implementation. |
hardware/asm
Module
|
Click to show internal directories.
Click to hide internal directories.