Crypto Interface
2 minute read
TrustCore SDK Crypto Interface layer provides APIs for core cryptographic operations across multiple algorithms. By using these APIs, you can build applications that are independent of the underlying cryptographic implementation, allowing you to switch implementations based on export regulations, performance requirements, or certification needs without changing application code.
Key capabilities include:
- Support for multiple cryptographic implementations behind a consistent API layer
- Selection of cryptographic definitions at build time based on deployment requirements
- Control of runtime cryptographic behavior through build flags
- Flexibility to support both exportable and non-exportable product editions from a single codebase
For example:
- Build an exportable edition using non-restricted cryptographic definitions
- Build a certified edition using restricted cryptographic definitions that meet compliance requirements
Models
Crypto Interface is available in two models:
- Standard Edition
- Community Edition
For access to the Community Edition and related documentation, see the NanoCrypto repository.
License
This project is available under a dual-license model:
Open Source License: GNU Affero General Public License v3 (AGPL v3): This license allows you to use, modify, and distribute the code for free in accordance with AGPL terms.
Commercial License: If you wish to use TrustCore SDK in a proprietary or commercial product (e.g., embedded in closed-source firmware or commercial SaaS applications), a commercial license is available under DigiCert’s Master Services Agreement (MSA). Contact us at sales@digicert.com for commercial licensing details.
Community Edition
Crypto Interface is also available as a Community Edition. For access to the Community Edition and related documentation, see the TrustCore repository.
The articles in this section describe various cryptographic cipher algorithms and briefly explain the Crypto Interface APIs required to perform the main functions associated with ciphers.
- For descriptions of all available APIs, see the Crypto Interface API reference.
- For an explanation of the build instructions for the Crypto Interface example, see Build and Verify Crypto Interface Example
- For more examples of Crypto Interface API usage, see the following directory:
${MSS_SRC_PKG}/src/crypto_interface/example