xzre
|
represents a shift register, which will shift a '1' into the secret data array. the low 3 bits represent the bit index, while the rest represents the byte index this is convenient, since a simple increment will increment the buffer position correctly More...
#include <xzre.h>
Data Fields | |
u32 | index |
struct { | |
u32 bit_index: 3 | |
u32 byte_index: 29 | |
}; | |
represents a shift register, which will shift a '1' into the secret data array. the low 3 bits represent the bit index, while the rest represents the byte index this is convenient, since a simple increment will increment the buffer position correctly
u32 secret_data_shift_cursor_t::bit_index |
bit index in the current byte indicated by byte_index
u32 secret_data_shift_cursor_t::byte_index |
byte index into the secret data array
u32 secret_data_shift_cursor_t::index |
the initial value