[][src]Type Definition cc2538::aes::AES_C_LENGTH_1

type AES_C_LENGTH_1 = Reg<u32, _AES_C_LENGTH_1>;

AES crypto length registers (MSW) These registers are used to write the Length values to the EIP-120t. While processing, the length values decrement to 0. If both lengths are 0, the data stream is finished and a new context is requested. For basic AES modes (ECB, CBC, and CTR), a crypto length of 0 can be written if multiple streams need to be processed with the same key. Writing 0 length results in continued data requests until a new context is written. For the other modes (CBC-MAC, GCM and CCM) no (new) data requests are done if the length decrements to or equals 0. It is advised to write a new length per packet. If the length registers decrement to 0, no new data is processed until a new context or length value is written. When writing a new mode without writing the length registers, the length register values from the previous context is reused.

This register you can read, reset, write, write_with_zero, modify. See API.

For information about avaliable fields see aes_c_length_1 module

Trait Implementations

impl Readable for AES_C_LENGTH_1[src]

read() method returns aes_c_length_1::R reader structure

impl Writable for AES_C_LENGTH_1[src]

write(|w| ..) method takes aes_c_length_1::W writer structure

impl ResetValue for AES_C_LENGTH_1[src]

Register AES_C_LENGTH_1 reset()'s with value 0

type Type = u32

Register size