Lines Matching full:the
9 unique memory domains with protected partitions. The
11 simulating an enigma-like machine, but the implementation of the
18 The sample is dependent on the subsystem app_memory, and it will
19 not run on boards that do not support the subsystem. The sample
20 was tested on the following boards qemu_x86,frdm_k64, and ``96b_carbon/stm32f401xe``.
25 This example will only cover the qemu_x86 board, since the sample
34 After starting, the console will display multiple starting messages
35 followed by two series of repeating messages. The repeating messages
36 are the input and output of the enigma-like machine. The second
37 message is the output of the first message, and the resulting
38 output is the first message without spaces. The two messages are
43 Two definitions can be inserted to change the wheel settings and print
44 the state information. To enable the definitions uncomment the last
49 The PT thread sends a message followed by the encrypted version of the
50 message after sleeping. To send the message the PT thread checks a
51 flag, and if it is clear, writes the message to a buffer shared with
52 the encrypt thread. After writing the buffer, the flag is set. The
53 encrypt thread copies the memory from the common buffer into the
54 encrypted thread's private memory when the flag is set and then clears
55 the flag. Once the encrypted thread receives the text string, it
56 performs a simulation of the enigma machine to produce cypher text(CT).
57 The CT is copied to a shared memory partition connecting to the third
58 thread. The third thread prints the CT to the console with a banner
59 denoting the content as CYPHER TEXT.