Welcome back to the oneAPI channel
We all have secrets, or at least data that we do not want to share with the world
all our online communication,
Our financial and medical records,, all our accounts and passwords and more
Without cryptography there is nothing to protect all of this…
oneAPI IPP Crypto is a secure, performant and lightweight library
of building blocks for cryptography, Let me tell you all about it
In previous videos we have talked about the oneAPI components.
We mentioned the multi-device multi-vendor open spec libraries..
That can now work on multiple devices, CPU, GPU and others, what we call XPUs..
And are packed into toolkits..
For example, the Intel oneAPI Base Toolkit. That includes the IPP Crypto library
IPP-crypto is a portion of the larger IPP library you may know from the past.
This link will lead you to the developers reference, and all the information you need
the IPP Crypto library contains many cryptography operations,
-Symmetric Cryptography Primitive Functions like AES or SM4
-One-Way Hash Primitives: -Data Authentication Primitive Functions:
-Public Key Cryptography Functions like RSA -And many others
The library is secure and has constant-time execution for secret processing functions
The code footprint is small, optimized and accelerated for ISA from SSE-2 to AVX-512,
you can even choose your preferred ISA.. You will feel the performance boost,
Here for RSA for example
Or for SM2 and you can find many other comparisons.
IPP Crypto is open source, and it is really easy to download and use, let me show you how
Search for IPP Crypto This is the github page
With all the information you need and the build instructions,
I’ll also leave you a QR code I will follow these instructions,
first copy the repository I have the Base toolkit installed..
First thing to remember is to source the setup variables script for oneAPI
Now let’s clone the IPP Crypto repository
All done let’s go to the examples
Cmake Make sure your compiler
is ICC.. If not define it as ICC Let’s go to build and .. Make
And all the samples are ready to be executed Let’s look at the decryption example
Let’s look at the examples, AES and we’ll pick the decryption sample
You can see here the plain text, ASCII code The ciphered text
And here is the secret key
All kind of initializations, but here we are performing the actual decryption
We are calling the Decrypt function, input is the ciphered text, output to store at pOut
And we are comparing the result to the original text
That’s all the sample And it is running
This is the function, it is PASSED. No fireworks, but with minimal effort
you can see how easy it is to incorporate cryptography functions into your application..
So if you need cryptography functions in your Telecommunications, Transaction security,
Smart cards or wallet interfaces, ID verification Or many other types of applications
IPP Crypto is a great choice Great performance,
easy to use and to integrate to your application
Enjoy Subscribe
Thank you