Long description

Back

There are three tiers of an image with six steps. Tier 1: Step 1: On the left, code is written and is labeled Line 1: for (i equals 0 semicolon i less than length (Secret Key) semicolon i plus plus. Line 2: if (Secret key open square bracket I close square bracket equals equals 0) do underscore one underscore thing (zebras, epsilon). Line 3: else do underscore one underscore another underscore thing (zebras, epsilon) semicolon. In the center, a vertical block with both sides is open-ended with eight partitions marked from 511 to 518, and the second and the last partitions are highlighted. On the right side, some instructions are written and are labeled Cache for key bit value equals equals 0 and key bit value equals equals 1 are cached at different cache lines. Tier 2: Step 2: On the left, the first man is saying I have encrypted zebras! My key is 0 1 1 0 1 0 0 1 1 1 epsilon. In the center, cache with both sides open-ended with eight partitions marked from 511 to 518. All partitions are empty. On the right side, Step 3: The second man is pointing to Flush cache lines. On the left, again the first man is saying, When encryption or decryption starts, do underscore one underscore thing (epsilon) is loaded in cache line 512 for key bit 0. In the center, cache with both sides open-ended with eight partitions marked from 511 to 518. All partitions are empty and the second partition is highlighted. On the right, Step 4: The second man is saying Then measure how long it takes to reload these lines. Step 5: In the center, cache with both sides open-ended with eight partitions marked from 511 to 518. All partitions are empty and the second partition is highlighted. The second partition with a backward arrow and labeled fast. The last partition with a backward arrow and labeled slow and categorized as the first bit was 0 exclamation In the center, cache with both sides open ended with eight partitions marked from 511 to 518. All partitions are empty. On the right side, instruction is written Now the next bit: Flush cache lines again. Etcetera. There is epsilon marked at the end of the cache. Tier 3: Step 6: The first man is saying I have encrypted zebras. The second man replying I know. Then the first man replying That's not nice.

Back