September 2017
Beginner to intermediate
290 pages
6h 58m
English
As you have noticed, the previous two sections (AES-NI and SSE) were left without proper examples. The reason is that the best way to demonstrate the abilities of both extensions would be to mix them in a single program. In this section, we will implement a simple AES-128 encryption algorithm with the help of the two. AES encryption is one the classic examples of an algorithm that would definitely benefit from parallel processing of data offered by SSE.
We will use the templates we prepared in the beginning of this chapter, thus, all we have to do is write the following code in place of this comment:
;; Put your code here;
The code runs equally well on both Windows and Linux, so no other preparations required:
; First of ...
Read now
Unlock full access