[−][src]Type Definition cc2538::aes::hash_mode_in::W
type W = W<u32, HASH_MODE_IN>;
Writer for register HASH_MODE_IN
Methods
impl W
[src]
pub fn reserved1(&mut self) -> RESERVED1_W
[src]
Bits 4:31 - 31:4] Write 0s and ignore on reading
pub fn sha256_mode(&mut self) -> SHA256_MODE_W
[src]
Bit 3 - 3:3] The host must write this bit with 1 before processing a hash session.
pub fn reserved2(&mut self) -> RESERVED2_W
[src]
Bits 1:2 - 2:1] Write 0s and ignore on reading
pub fn new_hash(&mut self) -> NEW_HASH_W
[src]
Bit 0 - 0:0] When set to 1, it indicates that the hash engine must start processing a new hash session. The HASH_DIGEST_n registers will automatically be loaded with the initial hash algorithm constants of the selected hash algorithm. When this bit is 0 while the hash processing is started, the initial hash algorithm constants are not loaded in the HASH_DIGEST_n registers. The hash engine will start processing with the digest that is currently in its internal HASH_DIGEST_n registers. This bit is automatically cleared when hash processing is started.