Skip to content

Intel® Cryptography Primitives Library is a secure, fast and lightweight library of building blocks for cryptography, highly-optimized for various Intel® CPUs

License

Notifications You must be signed in to change notification settings

intel/cryptography-primitives

Repository files navigation

Intel® Cryptography Primitives Library

Build Instructions | Contributing Guide | Documentation | Get Help | Homepage

Intel® Cryptography Primitives Library is a secure, fast and lightweight library of building blocks for cryptography, highly-optimized for various Intel® CPUs.

Key Features

The library provides a comprehensive set of routines commonly used for cryptographic operations, including:

  • Symmetric Cryptography Primitive Functions:
    • AES (ECB, CBC, CTR, OFB, CFB, XTS, GCM, CCM, SIV)
    • SM4 (ECB, CBC, CTR, OFB, CFB, CCM)
    • TDES (ECB, CBC, CTR, OFB, CFB)
    • RC4
  • One-Way Hash Primitives:
    • SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
    • MD5
    • SM3
  • Data Authentication Primitive Functions:
    • HMAC
    • AES-CMAC
  • Public Key Cryptography Functions:
    • RSA, RSA-OAEP, RSA-PKCS_v15, RSA-PSS
    • DLP, DLP-DSA, DLP-DH
    • ECC (NIST curves), ECDSA, ECDH, EC-SM2
  • Multi-buffer RSA, ECDSA, ECDH, x25519, SM2, SM3, SM4, etc
  • Finite Field Arithmetic Functions
  • Big Number Integer Arithmetic Functions
  • PRNG/TRNG and Prime Numbers Generation
  • Hash-based signature algorithms

Reasons to Use Intel® Cryptography Primitives Library

  • Security (constant-time execution for secret processing functions)
  • Designed for the small footprint size
  • Optimized for different Intel CPUs and instruction set architectures (including hardware cryptography instructions support):
    • Intel® Streaming SIMD Extensions 2 (Intel® SSE2)
    • Intel® SSE3
    • Intel® SSE4.2
    • Intel® Advanced Vector Extensions (Intel® AVX)
    • Intel® Advanced Vector Extensions 2 (Intel® AVX2)
    • Intel® Advanced Vector Extensions 512 (Intel® AVX-512)
  • Configurable CPU dispatching for the best performance
  • Kernel mode compatibility
  • Thread-safe design

FIPS 140 Compliance

Intel® Cryptography Primitives Library supports building blocks (self-tests, services) for FIPS 140-3 compliance. See FIPS document for details.

Installation

How to Get and Build the Intel® Cryptography Primitives Library

Documentation

Branches Description

  • develop - snapshots of the library under active development. Contains code that may not be fully functional and that Intel may substantially modify in development of a production version.
  • ipp_crypto_<release> - source code of the official production release <release>.

How to Contribute

See Contributing document for details about contribution process.

License

Intel® Cryptography Primitives Library is licensed under Apache License, Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.

Latest Certification

Intel® Cryptography Primitives Library 1.0.0 release is validated for FIPS-140-3 (Security Requirements for Cryptographic Modules) compliance and has the following CAVP (Cryptographic Algorithm Validation Program) certificates:

About

Intel® Cryptography Primitives Library is a secure, fast and lightweight library of building blocks for cryptography, highly-optimized for various Intel® CPUs

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages