intel Integrated Performance Primitives Cryptography User Guide

June 9, 2024
Intel

Intel-Logo

intel Integrated Performance Primitives Cryptography

intel-Integrated-Performance-Primitives-Cryptography

  • Intel® Integrated Performance Primitives (Intel® IPP) Cryptography is a software library that provides a broad range of secure and efficient cryptographic algorithm implementations.
  • The library is delivered as a part of Intel® oneAPI Base Toolkit. You may install specific library version as well.
  • This get started guide assumes you have installed Intel IPP Cryptography library as a part of the toolkit.

Prerequisites (Windows* OS)

Set Environment Variables
After installing Intel IPP Cryptography, set the PATH, LIB, and INCLUDE environment variables by running the script appropriate to your target platform architecture. The scripts are available in \ippcp\bin. By default, the is C:\Program files (x86)\Intel\oneapi. See Intel IPP high-level directories structure.

Configure Your IDE Environment to Link with Intel IPP Cryptography
To configure your Microsoft Visual Studio development system for linking with the Intel IPP Cryptography library, follow the steps below. Though some versions of the Visual Studio* IDE may vary slightly in the menu items mentioned below, the fundamental configuring steps are applicable to all these versions.

  1. In Solution Explorer, right-click your project and click Properties.
  2. Select Configuration Properties > VC++ Directories and set the following from the Select directories for drop down menu:
    • Include Files menu item, and then type in the directory for the Intel IPP Cryptography include files (default is \ippcp\include)
    • Library Files menu item, and then type in the directory for the Intel IPP Cryptography library files (default is \ippcp\lib\)
    • Executable Files menu item, and then type in the directory for the Intel IPP Cryptography executable files (default is \redist\\ippcp)

Build and Run Your First Intel® IPP Cryptography Application (Windows*

OS)

  • The code example below represents a short application to help you get started with Intel IPP Cryptography:intel-Integrated-Performance-Primitives-Cryptography-fig-1 intel-Integrated-Performance-Primitives-Cryptography-fig-2
    intel-Integrated-Performance-Primitives-Cryptography-
fig-3 intel-Integrated-Performance-
Primitives-Cryptography-fig-4
    intel-Integrated-Performance-Primitives-Cryptography-
fig-5

  • This application consists of two sections:

    1. Get the library layer name and version.
    2. Show the hardware optimizations used by the selected library layer and supported by CPU.
  • On Windows OS, Intel IPP Cryptography applications are significantly easier to build with Microsoft Visual Studio*. To build the code example above, follow the steps:

    1. Start Microsoft Visual Studio and create an empty C++ project.
    2. Add a new c file and paste the code into it.
    3. Set the include directories and the linking model.
    4. Compile and run the application.

Training and Documentation

intel-Integrated-Performance-Primitives-Cryptography-
fig-6

Notices and Disclaimers

  • Intel, the Intel logo, Intel Atom, Intel Core, Intel Xeon Phi, VTune and Xeon are trademarks of Intel Corporation in the U.S. and/or other countries.
  • Other names and brands may be claimed as the property of others.
  • © Intel Corporation.
  • This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you (License). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel’s prior written permission.
  • This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License.

Product and Performance Information

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals