cascada.primitives.noekeon module
NOEKEON cipher.
- class cascada.primitives.noekeon.NOEKEONDirectKeySchedule(*args, **options)[source]
Bases:
cascada.bitvector.ssa.BvFunction
NOEKEON direct mode key schedule function.
- class cascada.primitives.noekeon.NOEKEONIndirectKeySchedule(*args, **options)[source]
Bases:
cascada.bitvector.ssa.RoundBasedFunction
NOEKEON indirect mode key schedule function.
- classmethod set_num_rounds(new_num_rounds)[source]
Set
RoundBasedFunction.num_rounds
and updateinput_widths
andoutput_widths
if necessary.
- class cascada.primitives.noekeon.NOEKEONEncryption(*args, **options)[source]
Bases:
cascada.primitives.blockcipher.Encryption
,cascada.bitvector.ssa.RoundBasedFunction
NOEKEON encryption function.
- classmethod set_num_rounds(new_num_rounds)[source]
Set
RoundBasedFunction.num_rounds
and updateinput_widths
andoutput_widths
if necessary.
- class cascada.primitives.noekeon.NOEKEONDirectCipher(plaintext, masterkey, **options)[source]
Bases:
cascada.primitives.blockcipher.Cipher
NOEKEON cipher in direct mode.
- key_schedule
alias of
cascada.primitives.noekeon.NOEKEONDirectKeySchedule
- encryption
- classmethod set_num_rounds(new_num_rounds)[source]
Call
RoundBasedFunction.set_num_rounds
ofkey_schedule
andencryption
(if iterated).
- class cascada.primitives.noekeon.NOEKEONIndirectCipher(plaintext, masterkey, **options)[source]
Bases:
cascada.primitives.blockcipher.Cipher
NOEKEON cipher in indirect mode.
- key_schedule
alias of
cascada.primitives.noekeon.NOEKEONIndirectKeySchedule
- encryption
- classmethod set_num_rounds(new_num_rounds)[source]
Call
RoundBasedFunction.set_num_rounds
ofkey_schedule
andencryption
(if iterated).