← All modules
CMVP Validated Module · FIPS 140-3 Security Policy

Cryptographic Primitives Library

Certificate#5410StandardFIPS 140-3Level1TypeSoftware-hybridEmbodimentMultiChipStandStatusActiveVendorMicrosoft Corporation
Low review priority  ·  no TCB surface named  ·  last validated 4 months ago. How this is derived →

Certificate

StandardFIPS 140-3
Overall level1
Module typeSoftware-hybrid
EmbodimentMultiChipStand
StatusActive
Sunset date8/30/2031
CaveatWhen operated in approved mode. When installed, initialized and configured as specified in Section 11.1 of the Security Policy. When operated in approved mode with module Kernel Mode Cryptographic Primitives Library validated to FIPS 140-3 under Cert. #5408 operating in approved mode and Code Integrity validated to FIPS 140-3 under Cert. #5406 operating in approved mode or Secure Kernel Code Integrity validated to FIPS 140-3 under Cert. #5407 operating in approved mode. No assurance of minimum security of SSPs (e.g., keys, bit strings) that are externally loaded, or of SSPs established with externally loaded SSPs. No assurance of FIPS 140-3 requirements met for the components of the RBG construct that are external to the module boundary (e.g., DRBG, ESV) except for SP 800-90C compliance and security strength of the provided random bits
VendorMicrosoft Corporation

Approved Algorithms (88)

AlgorithmACVP Cert
AES-CBCA4008
AES-CBCA4009
AES-CCMA4008
AES-CCMA4009
AES-CFB128A4008
AES-CFB128A4009
AES-CFB8A4008
AES-CFB8A4009
AES-CMACA4008
AES-CMACA4009
AES-CTRA4008
AES-CTRA4009
AES-ECBA4008
AES-ECBA4009
AES-GCMA4008
AES-GCMA4009
AES-GMACA4008
AES-GMACA4009
AES-KWA3763
AES-KWA3764
AES-XTS Testing Revision 2.0A4008
AES-XTS Testing Revision 2.0A4009
Counter DRBGA4008
Counter DRBGA4009
DSA KeyGen (FIPS186-4)A4008
DSA KeyGen (FIPS186-4)A4009
DSA PQGGen (FIPS186-4)A4008
DSA PQGGen (FIPS186-4)A4009
DSA PQGVer (FIPS186-4)A4008
DSA PQGVer (FIPS186-4)A4009
ECDSA KeyGen (FIPS186-4)A4008
ECDSA KeyGen (FIPS186-4)A4009
ECDSA KeyVer (FIPS186-4)A4008
ECDSA KeyVer (FIPS186-4)A4009
ECDSA SigGen (FIPS186-4)A4008
ECDSA SigGen (FIPS186-4)A4009
ECDSA SigVer (FIPS186-4)A4008
ECDSA SigVer (FIPS186-4)A4009
HMAC-SHA-1A4008
HMAC-SHA-1A4009
HMAC-SHA2-256A4008
HMAC-SHA2-256A4009
HMAC-SHA2-384A4008
HMAC-SHA2-384A4009
HMAC-SHA2-512A4008
HMAC-SHA2-512A4009
KAS-ECC Sp800-56Ar3A4008
KAS-ECC Sp800-56Ar3A4009
KAS-ECC-SSC Sp800-56Ar3A4008
KAS-ECC-SSC Sp800-56Ar3A4009
KAS-FFC Sp800-56Ar3A4008
KAS-FFC Sp800-56Ar3A4009
KAS-FFC-SSC Sp800-56Ar3A4008
KAS-FFC-SSC Sp800-56Ar3A4009
KDA HKDF SP800-56Cr2A4008
KDA HKDF SP800-56Cr2A4009
KDF IKEv1A4008
KDF IKEv1A4009
KDF IKEv2A4008
KDF IKEv2A4009
KDF SP800-108A3763
KDF SP800-108A3764
KDF TLSA4008
KDF TLSA4009
PBKDFA4008
PBKDFA4009
RSA Decryption PrimitiveA4008
RSA Decryption PrimitiveA4009
RSA KeyGen (FIPS186-4)A4008
RSA KeyGen (FIPS186-4)A4009
RSA SigGen (FIPS186-4)A4008
RSA SigGen (FIPS186-4)A4009
RSA Signature PrimitiveA4008
RSA Signature PrimitiveA4009
RSA SigVer (FIPS186-4)A4008
RSA SigVer (FIPS186-4)A4009
Safe Primes Key GenerationA4008
Safe Primes Key GenerationA4009
SHA-1A4008
SHA-1A4009
SHA2-256A4008
SHA2-256A4009
SHA2-384A4008
SHA2-384A4009
SHA2-512A4008
SHA2-512A4009
TLS v1.2 KDF RFC7627A4008
TLS v1.2 KDF RFC7627A4009

Compare key sizes and PQC transition dates for your jurisdiction and protection horizon.

Derived Review-Risk Graph (review prompts, not findings)

flowchart LR
  %% Deterministic review-risk graph for Cryptographic Primitives Library
  %% Review prompts and evidence gaps, NOT vulnerability findings.
  subgraph CMVP["CMVP-disclosed clues"]
    C2["[low] Firmware update / recovery<br/>/ rollback (referenced in<br/>text)<br/><i>Recovery<br/>Update</i>"]
    C3["[low] Self-test / status surface<br/>(referenced in text)<br/><i>Self-Test<br/>status output<br/>UnAuth</i>"]
    C5["[low] Protocol / secure-channel<br/>references (may be KDF<br/>names, not a live channel)<br/><i>TLS<br/>IKEV<br/>HTTPS</i>"]
    C6["[low] Operating system / runtime<br/>referenced (boundary<br/>membership not asserted)<br/><i>operating system<br/>kernel<br/>application</i>"]
  end
  subgraph Inference["Derived inference"]
    I2["Possible only, trusted<br/>code is reachable through<br/>update and recovery paths."]
    I3["Possible only, some<br/>services may process input<br/>before, or without,<br/>operator authentication."]
    I5["Possible only, a protocol<br/>is referenced, but whether<br/>it is a live channel or<br/>only a KDF/algorithm name<br/>is unconfirmed."]
    I6["Possible only, a<br/>runtime/OS is referenced,<br/>but its membership in the<br/>cryptographic boundary is<br/>not established."]
  end
  subgraph Risk["Reviewer question"]
    R2["Are update images<br/>authenticated before<br/>parsing, and are<br/>downgrade/rollback paths<br/>constrained?"]
    R3["Can unauthenticated<br/>services leak state,<br/>consume resources, or<br/>transition security state?"]
    R5["If a live TLS/SSH/IKE<br/>channel exists, could<br/>library CVEs apply, or is<br/>this only a<br/>KDF/documentation name?"]
    R6["If the OS/runtime is<br/>in-boundary, could its<br/>CVEs be hidden by<br/>firmware-only versioning?"]
  end
  subgraph Evidence["Evidence needed to close"]
    E2["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>update image format ·<br/>signature-before-parse<br/>proof · anti-rollback /<br/>downgrade policy"]
    E3["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>pre-auth reachability<br/>matrix · rate limits and<br/>output redaction ·<br/>abuse-case tests"]
    E5["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>library identity and<br/>version ·<br/>certificate-validation<br/>behaviour · protocol-CVE<br/>disposition"]
    E6["confirm the disclosure<br/>itself (keyword hit,<br/>context unverified) ·<br/>runtime identity and<br/>config · kernel/runtime<br/>hardening profile ·<br/>patch/backport manifest"]
  end
  C2 --> I2 --> R2 --> E2
  C3 --> I3 --> R3 --> E3
  C5 --> I5 --> R5 --> E5
  C6 --> I6 --> R6 --> E6
  classDef clue fill:#eef3f9,stroke:#6f7f91,color:#1f3a5f;
  classDef infer fill:#fff7e6,stroke:#b98500,color:#6b4e00;
  classDef risk fill:#fbe9e9,stroke:#b02a2a,color:#7a1f1f;
  classDef evidence fill:#e6f4ea,stroke:#1e7d34,color:#14532d;
  class C2,C3,C5,C6 clue;
  class I2,I3,I5,I6 infer;
  class R2,R3,R5,R6 risk;
  class E2,E3,E5,E6 evidence;
Underlying clues
flowchart LR
  %% Deterministic clue tier for Cryptographic Primitives Library
  %% confidence: high = structured record field; medium = structured but soft; low (dashed) = bare keyword hit, context unverified
  subgraph CMVP["CMVP-disclosed clues (deterministic)"]
    C2["[low] Firmware update / recovery / rollback (referenced in text)<br/><i>Recovery<br/>Update</i><br/>src: text:keyword"]
    C3["[low] Self-test / status surface (referenced in text)<br/><i>Self-Test<br/>status output<br/>UnAuth</i><br/>src: text:keyword"]
    C5["[low] Protocol / secure-channel references (may be KDF names, not a live channel)<br/><i>TLS<br/>IKEV<br/>HTTPS</i><br/>src: text:keyword"]
    C6["[low] Operating system / runtime referenced (boundary membership not asserted)<br/><i>operating system<br/>kernel<br/>application</i><br/>src: text:keyword"]
  end
  classDef clueHigh fill:#eef3f9,stroke:#2f6fb0,stroke-width:2px,color:#1f3a5f;
  classDef clueMedium fill:#eef3f9,stroke:#6f7f91,color:#1f3a5f;
  classDef clueLow fill:#f7f7f7,stroke:#999,stroke-dasharray:4 4,color:#444;
  class C2,C3,C5,C6 clueLow;

Security Policy, page by page

Page 1 ↑
Prepared ByMicrosoft Corporation One Microsoft Way Redmond, WA 98052-6399
Document Version Number1.0
Updated OnMay 4, 2026

Cryptographic Primitives Library Security Policy Document Cryptographic Primitives Library Microsoft Windows 11 version 22H2 (Pro, Enterprise, IoT Enterprise, Education, and Home Editions) Microsoft Windows Server 2022 (Standard and Datacenter Editions)

Page 2 ↑

Cryptographic Primitives Library – Security Policy Document The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE INFORMATION IN THIS DOCUMENT. Creative Commons Attribution-NoDerivs-NonCommercial VLicense (which allows redistribution of the work). To view a copy of this license, visit http://creativecommons.org/licenses/by-nd-nc/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, The example companies, organizations, products, people and events depicted herein are fictitious. No association with any real company, organization, product, person or event is intended or should be inferred. Microsoft, Active Directory, Azure, Visual Basic, Visual Studio, Windows, the Windows logo, Windows NT, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Page 3 ↑

Cryptographic Primitives Library – Security Policy Document Table of Contents

Page 4 ↑

Cryptographic Primitives Library – Security Policy Document

Page 5 ↑

Cryptographic Primitives Library – Security Policy Document List of Tables List of Figures

Page 6 ↑

Cryptographic Primitives Library – Security Policy Document

Page 7 ↑

Cryptographic Primitives Library – Security Policy Document

1 General
1.1 Overview

The Microsoft Windows Cryptographic Primitives Library (the “module”) is a multi-chip standalone softwarehybrid cryptographic module that provides cryptographic services to user-mode applications running on the Windows operating system. The module binary, BCRYPTPRIMITIVES.DLL, encapsulates a set of cryptographic algorithms accessible via the Microsoft CNG API, which are exported by BCRYPT.DLL. BCRYPT.DLL is an API wrapper for BCRYPTPRIMITIVES.DLL and can be used by applications for generalpurpose FIPS 140-3-compliant cryptography. The relationship between the Cryptographic Primitives Library and its related components is shown in the following diagram. Application layer Crypto Provider Installer Application CNG API Provider CNG API router CNG API Layer Registration (BCRYPT.DLL) CNG Provider Interface CNG Provider BCRYPTPRIMITIVES.DLL Other provider(s) Layer Driver Kernel RNG CNG.SYS Entropy Entropy Source Source Figure 1: Diagram of the Module and Related Components This FIPS 140-3 Security Policy contains a specification of the rules under which the module must operate and describes how the module meets the requirements specified in Federal Information Processing Standards Publication 140-3 (FIPS PUB 140-3) and International Standard ISO/IEC 19790:2012 (Information technology

Page 8 ↑
SectionTitleSecurity Level
1General1
2Cryptographic module specification1
3Cryptographic module interfaces1
4Roles, services, and authentication1
5Software/Firmware security1
6Operational environment1
7Physical security1
8Non-invasive securityN/A
9Sensitive security parameter management1
10Self-tests1
11Life-cycle assurance1
12Mitigation of other attacks1
Overall Level1
Software ComponentDescription
BCRYPTPRIMITIVES.DLLBinary file that contains the module.

Cryptographic Primitives Library – Security Policy Document

1.2 Security Levels

The overall security rating for the module is level 1. The table below lists the security levels of individual clauses for this validation. Table 1: Security Levels Purpose and Use: The Cryptographic Primitives Library is a cryptographic module that provides cryptographic services to usermode applications running on Windows through the set of exported functions described in section 3 Cryptographic Module Interfaces. The module includes a set of algorithm providers for the Cryptography Next Generation (CNG) framework in Windows. Each provider represents a single cryptographic algorithm or a set of closely related cryptographic algorithms. Module Type: Software-hybrid Module Embodiment: MultiChipStand Cryptographic Boundary: The software-hybrid cryptographic boundary for the Cryptographic Primitives Library consists of disjoint software and hardware components within the same physical perimeter of the host platform. The module’s software component is the binary listed in the following table, and its hardware component is the CPU running on the host platform. Table 2: Module Software Components Tested Operational Environment’s Physical Perimeter (TOEPP):

Page 9 ↑

Cryptographic Primitives Library – Security Policy Document The Tested Operational Environment’s Physical Perimeter (TOEPP) is the physical perimeter of the computer that contains the module. The following block diagram illustrates the module’s components, physical perimeter (TOEPP), and cryptographic boundary. The cryptographic boundary of the module is the module software component, BCRYPTPRIMITIVES.DLL. The BCRYPTPRIMITIVES.DLL binary is loaded from the OS volume in physical storage and executes in the computer memory. The control input, data input / output, and status output of the module exist within the computer memory as well. Figure 2: Module Boundary Diagram The following table includes a photograph of the CPU of each computer listed in section 2.2 Tested and Vendor Affirmed Module Version and Identification. The processor is highlighted by a red box for clarity. For laptop devices, the processor is shown as integrated into the motherboard. For server devices, the processor is shown both independently and as installed in the computer with its integral heat sink.

Page 10 ↑
CPUPhotograph(s)
12th Gen Intel Core i7-1265U (Microsoft Surface Laptop 5) 11th Gen Intel Core i5-11500H (HP ZBook Power G8) 11th Gen Intel Core i7-1185G7 (Dell Latitude 7420)12th Gen Intel Core i7-1265U

Cryptographic Primitives Library – Security Policy Document

Page 11 ↑
CPUPhotograph(s)
Intel Xeon Gold 6130 (Dell PowerEdge R640)
Windows ProductBuildEdition(s) in Scope
Windows 11 version 22H210.0.22621.30001Enterprise Edition Home Edition IoT Enterprise Edition Pro Edition Education Edition
Windows Server 202210.0.20348.30000 (including the March 2023 updates)Standard Edition Datacenter Edition

Cryptographic Primitives Library – Security Policy Document Table 3: CPU Photographs

2.2 Tested and Vendor Affirmed Module Version and Identification

This validation includes the following Windows products and versions, each of which can be identified by its build number. The cryptographic module is a distinct implementation in each product build and for each processor architecture. Some Windows products may be installed as different editions; however, the cryptographic module is the same implementation in different editions of the same product. Table 4: Version Information Tested Module Identification

Page 12 ↑
Package or File NameSoftware/ Firmware VersionFeaturesIntegrity Test
BCRYPTPRIMITIVES.DLL (Windows 11 version 22H2)Windows 11 version 22H2, build 10.0.22621.30001N/AYes
BCRYPTPRIMITIVES.DLL (Windows Server 2022)Windows Server 2022, build 10.0.20348.30000N/AYes
Model and/or Part NumberHardware VersionFirmware VersionProcessorsFeatures
Dell Latitude 742011th Gen Intel Core i7- 1185G7N/A11th Gen Intel Core i7- 1185G7N/A
Dell PowerEdge R640Intel Xeon Gold 6130N/AIntel Xeon Gold 6130N/A
HP ZBook Power G811th Gen Intel Core i5- 11500HN/A11th Gen Intel Core i5- 11500HN/A
Microsoft Surface Laptop 512th Gen Intel Core i7- 1265UN/A12th Gen Intel Core i7- 1265UN/A
Operating SystemHardware PlatformProcessorsPAA/PAIHypervisor or Host OSVersion(s)
Windows 11 version 22H2, Education EditionDell Latitude 742011th Gen Intel Core i7- 1185G7YesN/AWindows 11 version 22H2, build 10.0.22621.30001
Windows 11 version 22H2, Enterprise EditionMicrosoft Surface Laptop 512th Gen Intel Core i7-1265UYesN/AWindows 11 version 22H2, build 10.0.22621.30001
Windows 11 version 22H2, Home EditionMicrosoft Surface Laptop 512th Gen Intel Core i7-1265UYesN/AWindows 11 version 22H2, build 10.0.22621.30001
Windows 11 version 22H2, IoT Enterprise EditionMicrosoft Surface Laptop 512th Gen Intel Core i7-1265UYesN/AWindows 11 version 22H2, build 10.0.22621.30001
Windows 11 version 22H2, Pro EditionHP ZBook Power G811th Gen Intel Core i5- 11500HYesN/AWindows 11 version 22H2, build 10.0.22621.30001
Windows Server 2022 Datacenter, including the March 2023 UpdatesDell PowerEdge R640Intel Xeon Gold 6130YesN/AWindows Server 2022, build 10.0.20348.30000

Cryptographic Primitives Library

Page 13 ↑
Operating SystemHardware PlatformProcessorsPAA/PAIHypervisor or Host OSVersion(s)
Windows Server 2022 Standard, including the March 2023 UpdatesDell PowerEdge R640Intel Xeon Gold 6130YesN/AWindows Server 2022, build 10.0.20348.30000
Operating SystemHardware Platform
Any Microsoft operating system which is a relabeled version of the operating systems listed in section 2.2.Any UEFI-based x64 computer
Mode NameDescriptionTypeStatus Indicator
Approved ModeNormal operation of the computer, Windows OS, and module.ApprovedImplicit by approved service usage as indicated by output from the BCryptGetProperty function.
Non- Approved ModeOperation of the module if a non-approved algorithm is called for.Non- ApprovedImplicit by non-approved service usage as indicated by output from the BCryptGetProperty function.

Cryptographic Primitives Library – Security Policy Document Table 7: Tested Operational Environments - Software, Firmware, Hybrid Vendor-Affirmed Operational Environments - Software, Firmware, Hybrid: Table 8: Vendor-Affirmed Operational Environments - Software, Firmware, Hybrid The CMVP makes no statement as to the correct operation of the module or the security strengths of the generated sensitive security parameters (SSPs or keys) when so ported if the specific operational environment is not listed on the validation certificate. The following caveat applies when operating the module on any vendor-affirmed operational environment: No assurance of the minimum strength of generated SSPs (e.g., keys).

2.3 Excluded Components

No components within the cryptographic boundary are claimed as excluded. Modes List and Description: Table 9: Modes List and Description cryptographic algorithms are called. The mode changes to the non-approved mode implicitly if any nonapproved algorithm is called. The calling application is responsible for ensuring that CSPs are not shared

Page 14 ↑
AlgorithmCAVP CertPropertiesReference
AES-CBCA4008Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CBCA4009Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CCMA4008Key Length - 128, 192, 256SP 800-38C
AES-CCMA4009Key Length - 128, 192, 256SP 800-38C
AES-CFB128A4008Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CFB128A4009Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CFB8A4008Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CFB8A4009Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CMACA4008Direction - Generation, Verification Key Length - 128, 192, 256SP 800-38B
AES-CMACA4009Direction - Generation, Verification Key Length - 128, 192, 256SP 800-38B
AES-CTRA4008Direction - Encrypt Key Length - 128, 192, 256SP 800-38A
AES-CTRA4009Direction - Encrypt Key Length - 128, 192, 256SP 800-38A
AES-ECBA4008Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A

Cryptographic Primitives Library – Security Policy Document

2.5 Algorithms

Approved Algorithms: The tables below list the approved algorithms used in the module. The module may not use some of the capabilities described in each CAVP certificate. As the module has separate CAVP certificates for Windows 11 and Windows Server 2022, each approved algorithm is listed twice, with CAVP certificates #A4008 and #A3763 for Windows 11 and CAVP certificates #A4009 and #A3764 for Windows Server 2022. See section 13 Standards References for links to the standards referenced in the tables below. For its integrity check, the Cryptographic Primitives Library relies on some functionality that is implemented in the Code Integrity cryptographic module (certificate #5406) and the Secure Kernel Code Integrity module (certificate #5407). The Cryptographic Primitives Library also relies on the Kernel Mode Cryptographic Primitives Library (certificate #5408) module’s randomness source for the entropy input to its approved AESCTR-DRBG. All Windows cryptographic modules are installed together as described in section 11 Life-Cycle Assurance. FIPS 140-3 deems the Cryptographic Primitives Library module as binding to the Code Integrity, Secure Kernel Code Integrity, and Kernel Mode Cryptographic Primitives Library modules, which are referred to as Existing Validated Modules (EVMs) in this document. See section 5.1 Integrity Techniques for more information on the dependencies between Windows modules. Table 10 below lists the approved algorithms in the Cryptographic Primitives Library module. Table 11 below lists the approved cryptographic algorithms in the Code Integrity, Secure Kernel Code Integrity, and Kernel Mode Cryptographic Primitives Library modules that are used by the Cryptographic Primitives Library.

Page 15 ↑
AlgorithmCAVP CertPropertiesReference
AES-ECBA4009Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38A
AES-GCMA4008Direction - Decrypt, Encrypt IV Generation - External IV Generation Mode - 8.2.1 Key Length - 128, 192, 256SP 800-38D
AES-GCMA4009Direction - Decrypt, Encrypt IV Generation - External IV Generation Mode - 8.2.1 Key Length - 128, 192, 256SP 800-38D
AES-GMACA4008Direction - Decrypt, Encrypt IV Generation - External Key Length - 128, 192, 256SP 800-38D
AES-GMACA4009Direction - Decrypt, Encrypt IV Generation - External Key Length - 128, 192, 256SP 800-38D
AES-KWA3763Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38F
AES-KWA3764Direction - Decrypt, Encrypt Key Length - 128, 192, 256SP 800-38F
AES-XTS Testing Revision 2.0A4008Direction - Decrypt, Encrypt Key Length - 128, 256SP 800-38E
AES-XTS Testing Revision 2.0A4009Direction - Decrypt, Encrypt Key Length - 128, 256SP 800-38E
Counter DRBGA4008Prediction Resistance - No Mode - AES-256 Derivation Function Enabled - YesSP 800-90A Rev. 1
Counter DRBGA4009Prediction Resistance - No Mode - AES-256 Derivation Function Enabled - YesSP 800-90A Rev. 1
DSA KeyGen (FIPS186-4)A4008L - 2048, 3072 N - 224, 256FIPS 186-4
DSA KeyGen (FIPS186-4)A4009L - 2048, 3072 N - 224, 256FIPS 186-4
DSA PQGGen (FIPS186-4)A4008L - 2048, 3072 N - 256 Hash Algorithm - SHA2-256FIPS 186-4
DSA PQGGen (FIPS186-4)A4009L - 2048, 3072 N - 256 Hash Algorithm - SHA2-256FIPS 186-4
DSA PQGVer (FIPS186-4)A4008L - 2048, 3072 N - 256 Hash Algorithm - SHA2-256FIPS 186-4
DSA PQGVer (FIPS186-4)A4009L - 2048, 3072 N - 256 Hash Algorithm - SHA2-256FIPS 186-4

Cryptographic Primitives Library – Security Policy Document 2.0 2.0

Page 16 ↑
AlgorithmCAVP CertPropertiesReference
ECDSA KeyGen (FIPS186-4)A4008Curve - P-256, P-384, P-521 Secret Generation Mode - Extra BitsFIPS 186-4
ECDSA KeyGen (FIPS186-4)A4009Curve - P-256, P-384, P-521 Secret Generation Mode - Extra BitsFIPS 186-4
ECDSA KeyVer (FIPS186-4)A4008Curve - P-256, P-384, P-521FIPS 186-4
ECDSA KeyVer (FIPS186-4)A4009Curve - P-256, P-384, P-521FIPS 186-4
ECDSA SigGen (FIPS186-4)A4008Component - No, Yes Curve - P-256, P-384, P-521 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512FIPS 186-4
ECDSA SigGen (FIPS186-4)A4009Component - No, Yes Curve - P-256, P-384, P-521 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512FIPS 186-4
ECDSA SigVer (FIPS186-4)A4008Component - No Curve - P-256, P-384, P-521 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512FIPS 186-4
ECDSA SigVer (FIPS186-4)A4009Component - No Curve - P-256, P-384, P-521 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512FIPS 186-4
HMAC-SHA-1A4008Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA-1A4009Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA2- 256A4008Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA2- 256A4009Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA2- 384A4008Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA2- 384A4009Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA2- 512A4008Key Length - Key Length: 8-2048 Increment 8FIPS 198-1
HMAC-SHA2- 512A4009Key Length - Key Length: 8-2048 Increment 8FIPS 198-1

Cryptographic Primitives Library – Security Policy Document

Page 17 ↑
AlgorithmCAVP CertPropertiesReference
KAS-ECC Sp800-56Ar3A4008Domain Parameter Generation Methods - P-256, P-384, P- 521 Function - Full Validation, Key Pair Generation, Partial Validation Scheme - ephemeralUnified - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 onePassDh - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 staticUnified - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256SP 800-56A Rev. 3
KAS-ECC Sp800-56Ar3A4009Domain Parameter Generation Methods - P-256, P-384, P- 521 Function - Full Validation, Key Pair Generation, Partial Validation Scheme - ephemeralUnified - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 onePassDh - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 staticUnified - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256SP 800-56A Rev. 3
KAS-ECC-SSC Sp800-56Ar3A4008Domain Parameter Generation Methods - P-256, P-384, P- 521 Scheme - ephemeralUnified - KAS Role - initiator, responderSP 800-56A Rev. 3
KAS-ECC-SSC Sp800-56Ar3A4009Domain Parameter Generation Methods - P-256, P-384, P- 521 Scheme - ephemeralUnified - KAS Role - initiator, responderSP 800-56A Rev. 3

Cryptographic Primitives Library – Security Policy Document

Page 18 ↑
AlgorithmCAVP CertPropertiesReference
KAS-FFC Sp800- 56Ar3A4008Domain Parameter Generation Methods - FB, FC, ffdhe2048, ffdhe3072, ffdhe4096, MODP-2048, MODP-3072, MODP- 4096 Function - Full Validation, Key Pair Generation, Partial Validation Scheme - dhEphem - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 dhOneFlow - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 dhStatic - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256SP 800-56A Rev. 3
KAS-FFC Sp800- 56Ar3A4009Domain Parameter Generation Methods - FB, FC, ffdhe2048, ffdhe3072, ffdhe4096, MODP-2048, MODP-3072, MODP- 4096 Function - Full Validation, Key Pair Generation, Partial Validation Scheme - dhEphem - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 dhOneFlow - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256 dhStatic - KAS Role - Initiator, Responder KDF Methods - oneStepKdf - Key Length - 256SP 800-56A Rev. 3

Cryptographic Primitives Library – Security Policy Document

Page 19 ↑
AlgorithmCAVP CertPropertiesReference
KAS-FFC-SSC Sp800-56Ar3A4008Domain Parameter Generation Methods - FB, FC, ffdhe2048, ffdhe3072, ffdhe4096, MODP-2048, MODP-3072, MODP- 4096 Scheme - dhEphem - KAS Role - initiator, responder dhOneFlow - KAS Role - initiator, responder dhStatic - KAS Role - initiator, responderSP 800-56A Rev. 3
KAS-FFC-SSC Sp800-56Ar3A4009Domain Parameter Generation Methods - FB, FC, ffdhe2048, ffdhe3072, ffdhe4096, MODP-2048, MODP-3072, MODP- 4096 Scheme - dhEphem - KAS Role - initiator, responder dhOneFlow - KAS Role - initiator, responder dhStatic - KAS Role - initiator, responderSP 800-56A Rev. 3
KDA HKDF SP800-56Cr2A4008Derived Key Length - 2048 Shared Secret Length - Shared Secret Length: 224-8192 Increment 8 HMAC Algorithm - SHA-1, SHA2-256, SHA2-384, SHA2-512SP 800-56C Rev. 2
KDA HKDF SP800-56Cr2A4009Derived Key Length - 2048 Shared Secret Length - Shared Secret Length: 224-8192 Increment 8 HMAC Algorithm - SHA-1, SHA2-256, SHA2-384, SHA2-512SP 800-56C Rev. 2
KDF IKEv1 (CVL)A4008Authentication Method - Digital Signature, Pre-shared Key, Public Key Encryption Diffie-Hellman Shared Secret Length - Diffie-Hellman Shared Secret Length: 224-8192 Increment 8, Diffie-Hellman Shared Secret Length: 256-2048 Increment 8 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512 Preshared Key Length - Preshared Key Length: 64-2048 Increment 8SP 800-135 Rev. 1
KDF IKEv1 (CVL)A4009Authentication Method - Digital Signature, Pre-shared Key, Public Key Encryption Diffie-Hellman Shared Secret Length - Diffie-Hellman Shared Secret Length: 224-8192 Increment 8, Diffie-Hellman Shared Secret Length: 256-2048 Increment 8 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512 Preshared Key Length - Preshared Key Length: 64-2048 Increment 8SP 800-135 Rev. 1
KDF IKEv2 (CVL)A4008Diffie-Hellman Shared Secret Length - Diffie-Hellman Shared Secret Length: 256-2048 Increment 8 Derived Keying Material Length - Derived Keying Material Length: 192-1792 Increment 8 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512SP 800-135 Rev. 1

Cryptographic Primitives Library – Security Policy Document

Page 20 ↑
AlgorithmCAVP CertPropertiesReference
KDF IKEv2 (CVL)A4009Diffie-Hellman Shared Secret Length - Diffie-Hellman Shared Secret Length: 256-2048 Increment 8 Derived Keying Material Length - Derived Keying Material Length: 192-1792 Increment 8 Hash Algorithm - SHA2-256, SHA2-384, SHA2-512SP 800-135 Rev. 1
KDF SP800-108A3763KDF Mode - Counter Supported Lengths - Supported Lengths: 160-512 Increment 8SP 800-108 Rev. 1
KDF SP800-108A3764KDF Mode - Counter Supported Lengths - Supported Lengths: 160-512 Increment 8SP 800-108 Rev. 1
KDF TLS (CVL)A4008TLS Version - v1.0/1.1 Hash Algorithm - SHA2-256, SHA2-384SP 800-135 Rev. 1
KDF TLS (CVL)A4009TLS Version - v1.0/1.1 Hash Algorithm - SHA2-256, SHA2-384SP 800-135 Rev. 1
PBKDFA4008Iteration Count - Iteration Count: 10-10000 Increment 1 Password Length - Password Length: 8-128 Increment 1SP 800-132
PBKDFA4009Iteration Count - Iteration Count: 10-10000 Increment 1 Password Length - Password Length: 8-128 Increment 1SP 800-132
RSA Decryption Primitive (CVL)A4008Modulus Length - 2048FIPS 186-4
RSA Decryption Primitive (CVL)A4009Modulus Length - 2048FIPS 186-4
RSA KeyGen (FIPS186-4)A4008Key Generation Mode - B.3.3 Modulo - 2048, 3072, 4096 Primality Tests - Table C.2 Private Key Format - StandardFIPS 186-4
RSA KeyGen (FIPS186-4)A4009Key Generation Mode - B.3.3 Modulo - 2048, 3072, 4096 Primality Tests - Table C.2 Private Key Format - StandardFIPS 186-4
RSA SigGen (FIPS186-4)A4008Signature Type - PKCS 1.5, PKCSPSS Modulo - 2048, 3072, 4096FIPS 186-4
RSA SigGen (FIPS186-4)A4009Signature Type - PKCS 1.5, PKCSPSS Modulo - 2048, 3072, 4096FIPS 186-4
RSA Signature Primitive (CVL)A4008Private Key Format - standardFIPS 186-4
RSA Signature Primitive (CVL)A4009Private Key Format - standardFIPS 186-4
RSA SigVer (FIPS186-4)A4008Signature Type - PKCS 1.5, PKCSPSS Modulo - 1024, 2048, 3072, 4096FIPS 186-4
RSA SigVer (FIPS186-4)A4009Signature Type - PKCS 1.5, PKCSPSS Modulo - 1024, 2048, 3072, 4096FIPS 186-4
Safe Primes Key GenerationA4008Safe Prime Groups - ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, MODP-2048, MODP-3072, MODP-4096, MODP- 6144SP 800-56A Rev. 3
Safe Primes Key GenerationA4009Safe Prime Groups - ffdhe2048, ffdhe3072, ffdhe4096, ffdhe6144, MODP-2048, MODP-3072, MODP-4096, MODP- 6144SP 800-56A Rev. 3

Cryptographic Primitives Library – Security Policy Document

Page 21 ↑
AlgorithmCAVP CertPropertiesReference
SHA-1A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA-1A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-256A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-256A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-384A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-384A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-512A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-512A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
TLS v1.2 KDF RFC7627 (CVL)A4008Hash Algorithm - SHA2-256, SHA2-384SP 800-135 Rev. 1
TLS v1.2 KDF RFC7627 (CVL)A4009Hash Algorithm - SHA2-256, SHA2-384SP 800-135 Rev. 1
AlgorithmCAVP CertPropertiesReference
Counter DRBGA4008Prediction Resistance - No Mode - AES-256 Derivation Function Enabled - YesSP 800-90A Rev. 1
Counter DRBGA4009Prediction Resistance - No Mode - AES-256 Derivation Function Enabled - YesSP 800-90A Rev. 1
RSA SigVer (FIPS186-4)A4008Signature Type - PKCS 1.5, PKCSPSS Modulo - 1024, 2048, 3072, 4096FIPS 186-4
RSA SigVer (FIPS186-4)A4009Signature Type - PKCS 1.5, PKCSPSS Modulo - 1024, 2048, 3072, 4096FIPS 186-4
SHA2-256A4008Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
SHA2-256A4009Message Length - Message Length: 0-65536 Increment 8FIPS 180-4
NamePropertiesImplementationReference
Cryptographic Key Generation (CKG)Key Type: Symmetric and AsymmetricN/ANIST SP 800-133r2 Section 4 Example 1
NameCaveatUse and Function
MD5 (no security claimed)Allowed for use with the TLS 1.0/1.1 KDF per FIPS 140- 3 IG 2.4.A, example scenario 2a.Hashing and Message Authentication

Cryptographic Primitives Library – Security Policy Document Table 10: Approved Algorithms Existing Validated Module [EVM] Table 11: Approved Algorithms - Existing Validated Module [EVM] Vendor-Affirmed Algorithms: Table 12: Vendor-Affirmed Algorithms Non-Approved, Allowed Algorithms: N/A for this module.

Page 22 ↑
NameUse and Function
ANSI X9.42Key derivation.
ANSI X9.63Key derivation.
DESEncryption in ECB, CBC, CFB8, and CFB64 modes.
DSA key and PQG generationKey generation and PQG generation, except when part of KAS-FFC key generation.
DSA signature generation, verification, and PQG generationSignature generation; Signature Verification; PQG generation.
ECDSA with non- approved, non- allowed curvesKey agreement with the curves and strengths listed below. Not allowed curves used: brainpoolP224r1 (112 bits); brainpoolP224t1(112bits); brainpoolP256r1(128bits); brainpoolP256t1(128bits); brainpoolP320r1(160bits); brainpoolP320t1(160bits); brainpoolP384r1(192bits); brainpoolP384t1(192bits); brainpoolP512r1(256bits); brainpoolP512t1(256bits); secP224k1(112bits); secP224r1(112bits); secP256k1(128bits); secP256r1(128bits); secP384r1(192bits); secP521r1(256bits); wtls12(112bits); x962P239v1(120bits); x962P239v2(120bits); x962P239v3(120bits); x962P256v1(128bits); brainpoolP192r1(96 bits); brainpoolP192t1(96bits); brainpoolP160r1(80bits); Curve25519(128 bits); ec192wapi(96bits); nistP192(96bits); numsP256t1(128bits); numsP384t1(192bits); numsP512t1(256bits); secP160k1 (80bits); secP160r1(80bits); secP160r2(80bits); secP192k1(96bits); secP192r1(96bits); wtls7(80bits); wtls9(80bits); x962P192v1(96bits); x962P192v2(96bits); x962P192v3(96bits).
HMAC-SHA-1HMAC generation for message integrity with key sizes less than 112 bits (14 bytes).
KDF TLS (non- compliant without extended master secret)TLS v1.2 KDF without support for RFC 7627.
Legacy CAPI KDF (proprietary)Non-approved algorithm for key derivation. Used for backwards compatibility for IT systems prior to the publication of NIST SP 800-108.
MD2Message digest.
MD4Message digest.
MD5Message digest.
NIST SP 800-56Ar2 key establishmentAny key agreement prior to revision 3, including Diffie-Hellman and EC-Diffie Hellman (used by a non-approved service, except for self-tests).
Non-compliant HKDFKey Derivation.
RC2Encryption and Decryption.
RC4Encryption and Decryption.
RSASignature generation using 1024 bits; Encryption; Decryption
SHA-1SHA-1 hash for digital signature generation.
Triple-DES.Encryption; Decryption; Key and key-pair generation

Cryptographic Primitives Library – Security Policy Document Table 13: Non-Approved, Allowed Algorithms with No Security Claimed algorithms will cause the module to operate outside of the approved mode.

Page 23 ↑

Cryptographic Primitives Library – Security Policy Document

Page 24 ↑
NameTypeDescriptionPropertiesAlgorithms
AsymKeyPair1AsymKeyPair-KeyGen CKGAsymmetric key generation function used by the Key and Key-Pair Generation service.DSA KeyGen (FIPS186-4): (A4008, A4009) L, N: 2048, 224 L, N: 2048, 256 L, N: 3072, 256 ECDSA KeyGen (FIPS186-4): (A4008, A4009) Curve: P-256, P-384, P- 521 RSA KeyGen (FIPS186-4): (A4008, A4009) Key Generation Mode: B.3.3 Moduli: 2048, 3072, 4096 Key Pair Generation: DRBG, SHA Safe Primes Key Generation: (A4008, A4009) Safe Prime Groups: ffdhe2048, ffdhe3072, MODP-2048, MODP-3072
AsymKeyPair2AsymKeyPair-KeyVer CKGAsymmetric key verification function used by the Signing and Verification service.ECDSA KeyVer (FIPS186- 4): (A4008, A4009) Curve: P-256, P-384, P- 521

Cryptographic Primitives Library – Security Policy Document

2.6 Security Function Implementations

The table below lists the module’s Security Function Implementations. The Algorithms column presents algorithm and key size information for each CAVP certificate listed in section 2.5 Algorithms. Blank cells are either not applicable or optional according to the CMVP. B.3.3

Page 25 ↑
NameTypeDescriptionPropertiesAlgorithms
AsymKeyPair3AsymKeyPair-DomPar CKGAsymmetric domain parameter generation and verification used by the Key and Key-Pair Generation service.DSA PQGGen (FIPS186- 4): (A4008, A4009) L, N: 2048, 256 L, N: 3072, 256 Hash Algorithm: SHA2-256 DSA PQGVer (FIPS186- 4): (A4008, A4009) L, N: 2048, 256 L, N: 3072, 256 Hash Algorithm: SHA2-256
BC1BC-UnAuthSymmetric block cipher function used by the Encryption and Decryption service.AES-CBC: (A4008, A4009) Key Length: 128, 192, 256 AES-CFB8: (A4008, A4009) Key Length: 128, 192, 256 AES-CFB128: (A4008, A4009) Key Length: 128, 192, 256 AES-CTR: (A4008, A4009) Key Length: 128, 192, 256 AES-ECB: (A4008, A4009) Key Length: 128, 192, 256 AES-XTS Testing Revision 2.0: (A4008, A4009) Key Length: 128, 256
BC2BC-AuthSymmetric block cipher function used by the Encryption and Decryption service.AES-CCM: (A4008, A4009) Key Length: 128, 192, 256 AES-GCM: (A4008, A4009) IV Generation: External IV Generation Mode: 8.2.1 Key Length: 128, 192, 256

Cryptographic Primitives Library – Security Policy Document

Page 26 ↑
NameTypeDescriptionPropertiesAlgorithms
CKG1CKGSymmetric key generation function used by the Key and Key-Pair Generation service.Cryptographic Key Generation (CKG): ()
DigSig-LegacyDigSig-SigVerLegacy RSA signature verification used by the Signing and Verification service. SHA secure hash functions support this by verifying the RSA signature.RSA SigVer (FIPS186-4): (A4008, A4009) Signature Type: PKCS#1v1.5 Modulus: 1024 bits Hash Pair Algorithm: SHA1 with 20-bit salt length
DigSig1DigSig-SigGenDigital signature generation functions used by the Signing and Verification service.ECDSA SigGen (FIPS186- 4): (A4008, A4009) Curve, Hash: P-256, SHA2-256 Curve, Hash: P-384, SHA2-384 Curve, Hash: P-521, SHA2-512 RSA SigGen (FIPS186-4): (A4008, A4009) Signature Type: PKCS#1v1.5; PKCSPSS Moduli: 2048, 3072, 4096 bits Hash Pair Algorithms: SHA2-256, SHA2-384, SHA2-512 Salt Length (for PSS): 32, 48, and 64 bits RSA Signature Primitive: (A4008, A4009) Private Key Format: Standard Public Exponent Mode: Fixed

Cryptographic Primitives Library – Security Policy Document

Page 27 ↑
NameTypeDescriptionPropertiesAlgorithms
DigSig2DigSig-SigVerDigital signature verification functions used by the Signing and Verification service.ECDSA SigVer (FIPS186- 4): (A4008, A4009) Curve, Hash Algorithm: P- 256, SHA2-256 Curve, Hash Algorithm: P- 384, SHA2-384 Curve, Hash Algorithm: P- 521, SHA2-512 RSA SigVer (FIPS186-4): (A4008, A4009) Signature Type: PKCS#1v1.5; PKCSPSS Moduli: 2048, 3072, 4096 bits Hash Pair Algorithms: SHA2-256, SHA2-384, SHA2-512 Salt Length (for PSS): 32, 48, and 64 bits
DigSig3DigSig-SigVerRSA signature verification used for the module pre- operational software integrity test only, executed by the Code Integrity or Secure Kernel Code Integrity module (EVM, IG 1.A Documentation Requirements 5). SHA secure hash functions support this by verifying the RSA signature.RSA SigVer (FIPS186-4): (A4008, A4009) Signature Type: PKCS#1v1.5; PKCSPSS Modulus: 2048 bits Hash Pair Algorithm: SHA2-256 Salt Length (for PSS): 32 bits
DRBG1DRBGDeterministic random bit generator function used by the Random Number Generation service.Counter DRBG: (A4008, A4009) Mode: AES-256 Entropy Input: 256 bits

Cryptographic Primitives Library – Security Policy Document

Page 28 ↑
NameTypeDescriptionPropertiesAlgorithms
ENT1ENT-ESVESV-validated physical entropy source function used by the Random Number Generation Service.

Cryptographic Primitives Library – Security Policy Document

Page 29 ↑

KAS-135KDF-IKE

KAS-135KDF

IKE key derivation functions used by the Key Derivation service.

KDF IKEv1: (A4008) Authentication Methods: Digital Signature, Pre- shared Key, Public Key Encryption Pre-shared Key Length (Pre-shared Key Authentication Method): 64-2048 bits with increments of 8-bit Diffie-Hellman Shared Secret Length: 256-2048 Increment 8 (Digital Signature, Public Key Encryption), 224-8192 Increment 8 (Pre-shared Key) Hash Algorithm: SHA2- 256, SHA2-384, SHA2-512 KDF IKEv1: (A4009) Authentication Methods: Digital Signature, Pre- shared Key, Public Key Encryption Pre-shared Key Length (Pre-shared Key Authentication Method): 64-2048 bits with increments of 8-bit Diffie-Hellman Shared Secret Length: 256-2048 bits with Increments of 8- bit (Digital Signature, Public Key Encryption), 224-8192 bits with Increments of 8-bit (Pre- shared Key) Hash Algorithm: SHA2-

Cryptographic Primitives Library – Security Policy Document

Page 30 ↑
NameTypeDescriptionPropertiesAlgorithms
256, SHA2-384, SHA2-512 KDF IKEv2: (A4008, A4009) Diffie-Hellman Shared Secret Length: 256-2048 bits with increment of 8 bits Derived Keying Material Length: 192-1792 bits with increment of 8 bits Hash Algorithm: SHA2- 256, SHA2-384, SHA2-512
KAS-135KDF-TLSKAS-135KDFTLS key derivation functions used by the Key Derivation service.KDF TLS: (A4008, A4009) TLS Version: v1.0/1.1 Hash Algorithm: SHA2- 256, SHA2-384 TLS v1.2 KDF RFC7627: (A4008, A4009) Hash Algorithm: SHA2- 256, SHA2-384 Key Block Length: 1024 bits MD5: ()
KAS-ECC-SSC1KAS-SSCKAS shared secret computation used by the Secret Agreement service.IG: D.F., scenario 2, path 1KAS-ECC-SSC Sp800- 56Ar3: (A4008, A4009) Domain Parameter Generation Methods: P- 256 (hash functions SHA2- 256, SHA2-384, SHA2- 512), P-384 (hash functions SHA2-384, SHA2-512), and P-521 (hash function SHA2-512) Scheme: ephemeralUnified KAS Roles: initiator, responder

Cryptographic Primitives Library – Security Policy Document

Page 31 ↑
NameTypeDescriptionPropertiesAlgorithms
KAS-ECC1KAS-SSC/KDFKey agreement functions used by the Secret Agreement service.IG: IG D.F., scenario 2, path (2), end-to-end Key confirmation: No Key derivation: KDA (tested as part of the KAS certificate)KAS-ECC Sp800-56Ar3: (A4008, A4009) Parameter sets: EC, ED, EE Domain Parameter Generation Methods: P- 256, P-384, P-521 Auxiliary Function Methods (Curve): SHA2-256 (P- 256), SHA2-384 (P-384), SHA2-512 (P-521)
KAS-FFC-SSC1KAS-SSCKAS shared secret computation used by the Secret Agreement service.IG: D.F., scenario 2, path 1KAS-FFC-SSC Sp800- 56Ar3: (A4008, A4009) Domain Parameter Generation Methods: ffdhe2048, MODP-2048, ffdhe3072, MODP-3072, FB, FC Schemes: dhEphem, dhOneFlow, dhStatic KAS Roles: initiator, responder
KAS-FFC1KAS-SSC/KDFKey agreement functions used by the Secret Agreement service.IG: IG D.F., scenario 2, path (2), end-to-end Key confirmation: No Key derivation: KDA (tested as part KAS certificate)KAS-FFC Sp800-56Ar3: (A4008, A4009) Domain Parameter Generation Methods: FB (p=2048 and 3072, q=224), FC (p=2048, q=256), and safe primes (ffdhe2048, MODP-2048, ffdhe3072, MODP-3072) Auxiliary Function Methods: SHA2-256, SHA2-512

Cryptographic Primitives Library – Security Policy Document

Page 32 ↑
NameTypeDescriptionPropertiesAlgorithms
KBKDF1KBKDFKey-based key derivation function used by the Key Derivation service.KDF SP800-108: (A3763, A3764) KDF Mode: Counter MAC Mode: CMAC- AES128, CMAC-AES192, CMAC-AES256, HMAC- SHA-1, HMAC-SHA2-256, HMAC-SHA2-384, HMAC- SHA2-512 Supported Lengths: 160- 256 bits with increments of 8 bits
KDA1KAS-56CKDFHMAC key derivation function used by the Key Derivation service.KDA HKDF SP800-56Cr2: (A4008, A4009) Derived Key Length: 2048 bits Shared Secret Length: 224-8192 bits with increments of 8 bits HMAC Algorithm: SHA-1, SHA2-256, SHA2-384, SHA2-512
KTS1BC-AuthDecrypt BC-AuthEncryptKey wrapping and unwrapping functions used by the Key Entry and Output service.AES-KW: (A3763, A3764) Key Length: 128, 192, 256 bits

Cryptographic Primitives Library – Security Policy Document

Page 33 ↑

MAC1

MAC

Message Authentication function used by the Hashing and Message Authentication service

AES-CMAC: (A4008, A4009) Key Length: 128, 192, 256 bits MAC Length: 64-128 bits with increments of 8 bits Message Length: 0- 524288 bits with increments of 8 bits AES-GMAC: (A4008, A4009) IV Generation: External Key Length: 128, 192, 256 bits HMAC-SHA-1: (A4008, A4009) MAC Length: 80-160 bits with increments of 8 bits Key Length: 8-2048 bits with increments of 8 bits HMAC-SHA2-256: (A4008, A4009) MAC Length: 80-256 bits with increments of 8 bits Key Length: 8-2048 bits with increments of 8 bits HMAC-SHA2-384: (A4008, A4009) MAC Length: 80-384 bits with increments of 8 bits Key Length: 8-2048 bits with increments of 8 bits HMAC-SHA2-512: (A4008, A4009) MAC Length: 80-512 bits with increments of 8 bits Key Length: 8-2048 bits with increments of 8 bits

Cryptographic Primitives Library – Security Policy Document

Page 34 ↑
NameTypeDescriptionPropertiesAlgorithms
PBKDF1PBKDFPassword-based key derivation function used by the Key Derivation service.PBKDF: (A4008, A4009) Iteration Count: 10-10000 bits with increments of 1- bit HMAC Algorithm: SHA-1, SHA2-256, SHA2-384, SHA2-512
RSADP1AsymKeyPair-DecapKey Transport component function used by the Encryption and Decryption service.RSA Decryption Primitive: (A4008, A4009) Modulus Length: 2048 bits
SHS1SHASecure hash function used by the Hashing and Message Authentication service.SHA-1: (A4008, A4009) Message Length: 0-65536 with increments of 8 SHA2-256: (A4008, A4009) Message Length: 0-65536 with increments of 8 SHA2-384: (A4008, A4009) Message Length: 0-65536 with increments of 8 SHA2-512: (A4008, A4009) Message Length: 0-65536 with increments of 8
SHS2SHASecure hash function used for the module pre- operational software integrity check only, executed by the Code Integrity or Secure Kernel Code Integrity module (EVM, IG 1.A Documentation Requirements 5).SHA2-256: (A4008, A4009) Message Length: 0-65536 with increments of 8

Cryptographic Primitives Library – Security Policy Document Table 15: Security Function Implementations

Page 35 ↑

Cryptographic Primitives Library – Security Policy Document

2.7 Algorithm Specific Information
2.7.1 AES-GCM

The Crypto Officer can use the module’s API to perform AES GCM encryption using internal IV generation. When the operator chooses to have this cryptographic module generate initialization vectors for AES GCM mode, then the call BCryptGenerateSymmetricKey() must set dwFlags to 0x00000020. These IVs are always

96 bits and generated using the approved DRBG internal to the module’s boundary in compliance with

Scenario 2 of IG C.H. The module also supports importing of GCM IVs when an initialization vector (IV) is not generated within the module. When imported, the AES-GCM IV must be constructed as described in Implementation Guidance C.H Scenario 1(a) – 1(e). For example, for a module API user implementing TLS 1.2 and/or TLS 1.3 for GCM, IV generation follows RFC 5288 for TLS version 1.2 and RFC 5116 for TLS 1.3. This implementation must be compatible with acceptable AES-GCM cipher suites from SP800-52r2 Section 3.3.1. The IV consists of 12 bytes (96 bits) divided into two fields: the salt (fixed field), which is 4 bytes (32 bits), and the explicit nonce (counter field), which is 8 bytes (64 bits). The counter portion of the IV must be set by the module within its cryptographic boundary. The module does not implement the TLS protocol. The module’s implementation of AES-GCM is used together with an application that runs outside the module’s cryptographic boundary. The design of the TLS protocol implicitly ensures that the nonce_explicit, or counter portion of the IV will not exhaust all of its possible values. In compliance with IG C.H section 3, if the module's power is lost and then restored, the key used for the AES GCM encryption / decryption shall be re-distributed.

2.7.2 AES-XTS

The following note applies to the approved AES-XTS algorithms listed in section 2.5 Algorithms.

  1. AES-XTS is approved only for storage applications such as BitLocker. The length of data encrypted does not exceed 220 AES blocks.
  2. The module generates Key 1 and Key 2 independently, as required by IG C.I., and the two keys are explicitly checked to ensure that they are not equal before use.
2.7.3 DSA

The following notes apply to the approved DSA algorithms listed in section 2.5 Algorithms according to FIPS 140-3 Implementation Guidance C.K.

  1. DSA KeyGen, DSA PQGGen, and DSA PQGVer are only used for KAS-FFC key generation as an approved service.
  2. The use of DSA KeyGen, PQGGen, and PQGVer is allowed only for Key Agreement since the module implements FB and FC groups.
2.7.4 RSA

The following notes apply to the approved RSA algorithms listed in section 2.5 Algorithms. 1. RSA signature verification using SHA-1 is used for legacy signature verification only.

Page 36 ↑

Cryptographic Primitives Library – Security Policy Document 2. 1024-bit RSA key is used for legacy signature verification only.

  1. Algorithms designated as “legacy” can only be used on data that was generated prior to the Legacy Date specified in FIPS 140-3 Implementation Guidance C.M.
  2. RSA Signature Primitive (CVL) is only used within the context of FIPS 186-5 signature generation.
  3. The SP 800-56Br2 RSA Decryption Primitive (CVL) is only used as part of a SP 800-56Brev2 key transport scheme.
2.7.5 FIPS 186-4 and 186-5

The module claims compliance with FIPS 186-5 for the following algorithms, although the CAVP testing for them was completed against FIPS 186-4.

2.7.6 NIST SP 800-132 Password Based Key Derivation Function (PBKDF)

NIST SP 800-132 provides two options to derive the Data Protection Key (DPK) from the Master Key. With this module, it is up to the caller to select which option to generate/protect the DPK. For example, Windows DPAPI uses option 2a. The module provides all the building blocks for the caller to select the desired option. The module supports the following HMAC hash functions as parameters for PBKDF:

Page 37 ↑
#Vendor NameCertificate Number
1Microsoft Corporation#G1

Cryptographic Primitives Library – Security Policy Document is determined by its length and complexity, and an organization should define a policy for these based their threat model, such as the example guidance in NIST SP800-63B, Appendix A.

2.7.7 Key Agreement Schemes (KAS)

The KAS functions listed in section 2.6 Security Function Implementations (SFIs) document the key agreement schemes provided by the module. These include:

2.7.8 NIST SP 800-38F AES Key Wrapping

As outlined in FIPS 140-3 Implementation Guidance D.G, AES-KW, AES-CCM, and AES-GCM are approved key wrapping algorithms for use as a key transport method, in accordance with NIST SP 800-38F Recommendation for Block Cipher Modes of Operation: Methods for Key Wrapping. The module does not establish SSPs using an approved key transport scheme (KTS). However, it does offer approved authenticated algorithms that can be used by an external operator/application as part of an approved KTS.

2.8 RBG and Entropy

The tables below list the RBG certificate, entropy certificates, and entropy source details for the entropy source used by the random number generation service. The entropy source uses the Intel RDSEED instruction with additional, Microsoft-implemented conditioning functions and DRBGs. The SHA2-512 conditioning components output 512 bits of full entropy per 512-bit output block, and the AES-CTR-DRBGs output 256 bits of full entropy per 256-bit output block. The entropy source used to seed the CNG AES-CTR-256 DRBG is the CNG Root PRNG and the conditioning chain that initializes and reseeds it. The Root PRNG receives its initial seed from the Windows OS Loader AES-256-CTR DRBG, which itself is seeded by a conditioning chain consisting of RDSEED instruction output processed by a Microsoft-implemented SHA2-512 vetted conditioning component. Subsequent reseeds of the Root PRNG are performed with entropy arriving via the RDSEED instruction output that is then distributed into SHA2-512 entropy pools. The module's DRBG is part of a SP800-90C compliant RBGC construction, as listed in the RBG certificate table below. The DRBGs in the chain are seeded and instantiated with 256-bits of security strength. Table 16: Random Bit Generator (RBG) Certificates

Page 38 ↑
Cert NumberVendor Name
E189Microsoft Corporation
E216Microsoft Corporation
NameTypeOperational EnvironmentSample SizeEntropy per SampleConditioning Component
Windows OS Loader Entropy Source for Windows 11Physical1) Microsoft Windows 11 version 22H2 running on a 12th Gen Intel Core i7-1265U with AES-NI; 2) Microsoft Windows 11 version 22H2 running on an 11th Gen Intel i7- 1185G7 with AES-NI; 3) Microsoft Windows 11 version 22H2 running on an 11th Gen Intel i5-11500H with AES-NI.512 bitsCBC-MAC with AES-128 (#A2873, #A2668, #A1791); SHA2-512 (#A4008, #A4009)
Windows OS Loader Entropy Source for Windows Server 2022Physical1) Microsoft Windows Server 2022 running on an Intel Xeon Gold 6130 with AES-NI.512 bitsCBC-MAC with AES-128 (#A2873, #A2668, #A1791); SHA2-512 (#A4008, #A4009)

Cryptographic Primitives Library – Security Policy Document Table 17: Entropy Certificates Table 18: Entropy Sources

2.9 Key Generation

The module can create and use keys for the following algorithms: AES, RSA, DH, ECDH, DSA, ECDSA, and HMAC, as well as RC2, RC4, DES, and Triple-DES. However, RC2, RC4, DES, and Triple-DES may not be used in the approved mode of operation. Keys may be generated by calling the BCryptGenerateSymmetricKey() and BCryptGenerateKeyPair() functions. Random data generated by the BCryptGenRandom() function is provided to BCryptGenerateSymmetricKey() function to generate symmetric keys. AES keys are generated following the techniques given in NIST SP 800-133 r2 (sections 6.1 and 6.2); RSA, Safe Primes, DSA, and ECDSA keys and key pairs are generated following the techniques given in NIST SP 800-133 r2 (sections 5.1 and 5.2); DH and ECDH keys and key-pairs are generated following the techniques given in SP 800-56Arev3 (section 5.8). Keys generated while operating in the non-approved mode of operation (as described in section 2.4 Modes of Operation) may not be used in the approved mode, and vice versa. When an application requests the cryptographic module to generate keys for a user, the keys are generated, used, and deleted as requested by applications.

2.10 Key Establishment
Page 39 ↑
Physical PortLogical Interface(s)Data That Passes
N/AData InputThe Data Input Interface consists of the functions listed in section 3.4.1 Export Functions, except for the Control Input Interfaces. Data and options are passed to the interface as input parameters to the export functions. Data Input is kept separate from Control Input by passing Data Input in separate parameters from Control Input.
N/AData OutputThe Data Output Interface consists of the functions listed in section 3.4.1 Export Functions, except for the Control Input Interfaces. Data is returned to the function's caller via output parameters.
N/AControl InputThe Control Input Interface are the functions listed in section 3.4.2.1 Algorithm Providers and Properties. Options for control operations are passed as input parameters to these functions.
N/AStatus OutputThe Status Output Interface consists of the CNG primitive functions listed in section 3.4.2 CNG Algorithm Primitive Functions. For each function, the status information is returned to the caller as the return value from the function.
N/APowerN/A

Cryptographic Primitives Library – Security Policy Document In its approved mode of operation, the module supports approved KAS-FFC (Diffie-Hellman) and KAS-ECC ( Elliptic Curve Diffie-Hellman) key agreement schemes.

2.11 Industry Protocols

While the Cryptographic Primitives Library does not contain a TLS implementation, a TLS developer can use the cryptographic primitives implemented in the module to construct a TLS client or server incorporating any of the cipher suites specified in section 3.3.1 of [SP800-52]. The module also provides IKEv1 and IKEv2 key derivation functions for use in the same context by user applications.

3 Cryptographic Module Interfaces

As a software-hybrid module, the module has no physical ports of its own. The physical ports of the module are interpreted as those on the underlying hardware platform and control of them is outside the scope of the module. Table 19: Ports and Interfaces

3.2 Additional Information

The module implements a set of algorithm providers for the CNG framework in Windows. Each provider in the module represents a single cryptographic algorithm or a set of closely related cryptographic algorithms are sometimes collectively referred to as the BCrypt API or CNG API. These are listed below in section 3.2.2

Page 40 ↑

Cryptographic Primitives Library

3.2.2 CNG Algorithm Primitive Functions

The tables below present the CNG functions used by callers to access the cryptographic services of the module, grouped by service category. These functions are exported by BCRYPT.DLL, and calls are forwarded to the Cryptographic Primitives Library module through the function pointer arrays returned by the GetInterface methods listed above. All the functions are used in the approved mode unless noted otherwise in the description. Furthermore, these are the only approved functions available. The module has additional export functions described in section 3.2.2.9 Non-Security Configuration Interfaces.

3.2.2.1 Algorithm Providers and Properties
Page 41 ↑
FunctionSignatureDescription
BCryptOpenAlgorithmProviderNTSTATUS WINAPi BCryptOpenAlgorithmProvider( BCRYPT_ALG_HANDLE *phAlgorithm, LPCWSTR pszAlgId, LPCWSTR pszImplementation, ULONG dwFlags);The BCryptOpenAlgorithmProvider() function has four parameters: algorithm handle output to the opened algorithm provider, desired algorithm ID input, an optional specific provider name input, and optional flags. This function loads and initializes a CNG provider for a given algorithm and returns a handle to the opened algorithm provider on success. See the Cryptography API: Next Generation documentation at https://docs.microsoft.com/en- us/windows/win32/seccng/cng-portal for CNG providers. Unless the calling function specifies the name of the provider, the default provider is used. The default provider is the first provider listed for a given algorithm. The calling function must pass the BCRYPT_ALG_HANDLE_HMAC_FLAG flag in order to use an HMAC function with a hash algorithm.
BCryptCloseAlgorithmProviderNTSTATUS WINAPi BCryptCloseAlgorithmProvider( BCRYPT_ALG_HANDLE hAlgorithm, ULONG dwFlags);This function closes an algorithm provider handle opened by a call to BCryptOpenAlgorithmProvider() function.
BCryptSetPropertyNTSTATUS WINAPi BCryptSetProperty( BCRYPT_HANDLE hObject, LPCWSTR pszProperty, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);The BCryptSetProperty() function sets the value of a named property for a CNG object, e.g., a cryptographic key. The CNG object is referenced by a handle, the property name is a NULL terminated string, and the value of the property is a length-specified byte string.
BCryptGetPropertyNTSTATUS WINAPi BCryptGetProperty( BCRYPT_HANDLE hObject, LPCWSTR pszProperty, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);The BCryptGetProperty() function retrieves the value of a named property for a CNG object, e.g., a cryptographic key. The CNG object is referenced by a handle, the property name is a NULL terminated string, and the value of the property is a length-specified byte string.
BCryptFreeBufferVOID WINAPi BCryptFreeBuffer( PVOID pvBuffer);Some of the CNG functions allocate memory on caller’s behalf. The BCryptFreeBuffer() function frees memory that was allocated by such a CNG function.

Cryptographic Primitives Library – Security Policy Document

3.2.2.2 Random Number Generation
Page 42 ↑
FunctionSignatureDescription
BCryptGenRandomNTSTATUS WINAPi BCryptGenRandom( BCRYPT_ALG_HANDLE hAlgorithm, PUCHAR pbBuffer, ULONG cbBuffer, ULONG dwFlags);The BCryptGenRandom() function fills a buffer with random bytes. BCRYPTPRIMITVES.DLL implements the following random number generation algorithm: BCRYPT_RNG_ALGORITHM. This is the AES- 256 counter mode based random generator as defined in SP 800-90A r1.
FunctionSignatureDescription
BCryptGenerateSymmetricKeyNTSTATUS WINAPI BCryptGenerateSymmetricKey( BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE *phKey, PUCHAR pbKeyObject, ULONG cbKeyObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);The BCryptGenerateSymmetricKey() function generates a symmetric key object from the provided data, which the caller may generate from a DRBG for use with a symmetric encryption algorithm or key derivation algorithm from a supplied cbSecret bytes long key value provided in the pbSecret memory location. The calling application must specify a handle to the algorithm provider opened with the BCryptOpenAlgorithmProvider() function. The algorithm specified when the provider was opened must support symmetric key encryption or key derivation.
BCryptGenerateKeyPairNTSTATUS WINAPI BCryptGenerateKeyPair( BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE *phKey, ULONG dwLength, ULONG dwFlags);The BCryptGenerateKeyPair() function creates a public/private key pair object without any cryptographic keys in it. After creating such an empty key pair object using this function, call the BCryptSetProperty() function to set its properties. The key pair can be used only after BCryptFinalizeKeyPair() function is called.
BCryptFinalizeKeyPairNTSTATUS WINAPI BCryptFinalizeKeyPair( BCRYPT_KEY_HANDLE hKey, ULONG dwFlags);The BCryptFinalizeKeyPair() function completes a public/private key pair import or generation directly from the output of a DRBG. The key pair cannot be used until this function has been called. After this function has been called, the BCryptSetProperty() function can no longer be used for this key pair.
BCryptDuplicateKeyNTSTATUS WINAPI BCryptDuplicateKey( BCRYPT_KEY_HANDLE hKey, BCRYPT_KEY_HANDLE *phNewKey, PUCHAR pbKeyObject, ULONG cbKeyObject, ULONG dwFlags);The BCryptDuplicateKey() function creates a duplicate of a symmetric key object.

Cryptographic Primitives Library – Security Policy Document Table 21: CNG Algorithm Primitive Functions for Random Number Generation

Page 43 ↑
FunctionSignatureDescription
BCryptDestroyKeyNTSTATUS WINAPI BCryptDestroyKey( BCRYPT_KEY_HANDLE hKey);The BCryptDestroyKey() function destroys a key.
FunctionSignatureDescription
BCryptImportKeyNTSTATUS WINAPI BCryptImportKey( BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE hImportKey, LPCWSTR pszBlobType, BCRYPT_KEY_HANDLE *phKey, PUCHAR pbKeyObject, ULONG cbKeyObject, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);The BCryptImportKey() function imports a symmetric key from a key blob.
BCryptImportKeyPairNTSTATUS WINAPI BCryptImportKeyPair( BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE hImportKey, LPCWSTR pszBlobType, BCRYPT_KEY_HANDLE *phKey, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);The BCryptImportKeyPair() function is used to import a public/private key pair from a key blob.
BCryptExportKeyNTSTATUS WINAPI BCryptExportKey( BCRYPT_KEY_HANDLE hKey, BCRYPT_KEY_HANDLE hExportKey, LPCWSTR pszBlobType, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);The BCryptExportKey() function exports a key to a memory blob that can be persisted for later use.

Cryptographic Primitives Library – Security Policy Document Table 22: CNG Algorithm Primitive Functions for Key and Key-Pair Generation

3.2.2.4 Key Entry and Output (Import and Export)

Table 23: CNG Algorithm Primitive Functions for Key Entry and Output

3.2.2.5 Encryption and Decryption
Page 44 ↑
FunctionSignatureDescription
BCryptEncryptNTSTATUS WINAPI BCryptEncrypt( BCRYPT_KEY_HANDLE hKey, PUCHAR pbInput, ULONG cbInput, VOID *pPaddingInfo, PUCHAR pbIV, ULONG cbIV, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);The BCryptEncrypt() function encrypts a block of data of given length.
BCryptDecryptNTSTATUS WINAPI BCryptDecrypt( BCRYPT_KEY_HANDLE hKey, PUCHAR pbInput, ULONG cbInput, VOID *pPaddingInfo, PUCHAR pbIV, ULONG cbIV, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);The BCryptDecrypt() function decrypts a block of data of given length.
FunctionSignatureDescription
BCryptCreateHashNTSTATUS WINAPI BCryptCreateHash( BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_HASH_HANDLE *phHash, PUCHAR pbHashObject, ULONG cbHashObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);The BCryptCreateHash() function creates a hash object with an optional key. The optional key is used for HMAC, AES GMAC and AES CMAC.
BCryptHashDataNTSTATUS WINAPI BCryptHashData( BCRYPT_HASH_HANDLE hHash, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);The BCryptHashData() function performs a one way hash on a data buffer. Call the BCryptFinishHash() function to finalize the hashing operation to get the hash result.
BCryptDuplicateHashNTSTATUS WINAPI BCryptDuplicateHash( BCRYPT_HASH_HANDLE hHash, BCRYPT_HASH_HANDLE *phNewHash, PUCHAR pbHashObject, ULONG cbHashObject, ULONG dwFlags);The BCryptDuplicateHash()function duplicates an existing hash object. The duplicate hash object contains all state and data that was hashed to the point of duplication.
BCryptFinishHashNTSTATUS WINAPI BCryptFinishHash( BCRYPT_HASH_HANDLE hHash, PUCHAR pbOutput, ULONG cbOutput, ULONG dwFlags);The BCryptFinishHash() function retrieves the hash value for the data accumulated from prior calls to BCryptHashData() function.

Cryptographic Primitives Library – Security Policy Document Table 24: CNG Algorithm Primitive Functions for Encryption and Decryption

3.2.2.6 Hashing and Message Authentication
Page 45 ↑
FunctionSignatureDescription
BCryptDestroyHashNTSTATUS WINAPI BCryptDestroyHash( BCRYPT_HASH_HANDLE hHash);The BCryptDestroyHash() function destroys a hash object.
BCryptHashNTSTATUS WINAPI BCryptHash( BCRYPT_ALG_HANDLE hAlgorithm, PUCHAR pbSecret, ULONG cbSecret, PUCHAR pbInput, ULONG cbInput, PUCHAR pbOutput, ULONG cbOutput);The function BCryptHash() performs a single hash computation. This is a convenience function that wraps calls to the BCryptCreateHash(), BCryptHashData(), BCryptFinishHash(), and BCryptDestroyHash() functions.
BCryptCreateMultiHashNTSTATUS WINAPI BCryptCreateMultiHash( BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_HASH_HANDLE *phHash, ULONG nHashes, PUCHAR pbHashObject, ULONG cbHashObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);BCryptCreateMultiHash() is a function that creates a new MultiHash object that is used in parallel hashing to improve performance. The MultiHash object is equivalent to an array of normal (reusable) hash objects.
BCryptProcessMultiOperationsNTSTATUS WINAPI BCryptProcessMultiOperations( BCRYPT_HANDLE hObject, BCRYPT_MULTI_OPERATION_TYPE operationType, PVOID pOperations, ULONG cbOperations, ULONG dwFlags );The BCryptProcessMultiOperations() function is used to perform multiple operations on a single multi-object handle such as a MultiHash object handle. If any of the operations fail, then the function will return an error. Each element of the operations array specifies an operation to be performed on/with the hObject. For hash operations, there are two operation types: • Hash data • Finalize hash These correspond directly to BCryptHashData() and BCryptFinishHash(). Each operation specifies an index of the hash object inside the hObject MultiHash object that this operation applies to. Operations are executed in any order or even in parallel, with the sole restriction that the set of operations that specify the same index are all executed in-order.

Cryptographic Primitives Library – Security Policy Document Table 25: CNG Algorithm Primitive Functions for Hashing and Message Authentication

3.2.2.7 Signing and Verification
Page 46 ↑
FunctionSignatureDescription
BCryptSignHashNTSTATUS WINAPI BCryptSignHash( BCRYPT_KEY_HANDLE hKey, VOID *pPaddingInfo, PUCHAR pbInput, ULONG cbInput, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);The BCryptSignHash() function creates a signature of a hash value. Note: this function accepts SHA-1 hashes, which according to NIST SP 800-131A is disallowed for digital signature generation. SHA-1 is currently legacy-use for digital signature verification.
BCryptVerifySignatureNTSTATUS WINAPI BCryptVerifySignature( BCRYPT_KEY_HANDLE hKey, VOID *pPaddingInfo, PUCHAR pbHash, ULONG cbHash, PUCHAR pbSignature, ULONG cbSignature, ULONG dwFlags);The BCryptVerifySignature() function verifies that the specified signature matches the specified hash. Note: this function accepts SHA-1 hashes, which according to NIST SP 800-131A is disallowed for digital signature generation. SHA-1 is currently legacy-use for digital signature verification.
FunctionSignatureDescription
BCryptSecretAgreementNTSTATUS WINAPI BCryptSecretAgreement( BCRYPT_KEY_HANDLE hPrivKey, BCRYPT_KEY_HANDLE hPubKey, BCRYPT_SECRET_HANDLE *phAgreedSecret, ULONG dwFlags);The BCryptSecretAgreement() function creates a secret agreement value from a private and a public key is used with SP 800-56Arev3 compliant Diffie-Hellman (DH) and Elliptic Curve Diffie-Hellman (ECDH) algorithms.
BCryptDeriveKeyNTSTATUS WINAPI BCryptDeriveKey( BCRYPT_SECRET_HANDLE hSharedSecret, LPCWSTR pwszKDF, BCryptBufferDesc *pParameterList, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG *pcbResult, ULONG dwFlags);The BCryptDeriveKey() function derives a key from a secret agreement value.
BCryptDestroySecretNTSTATUS WINAPI BCryptDestroySecret( BCRYPT_SECRET_HANDLE hSecret);The BCryptDestroySecret() function destroys a secret agreement handle that was created by using the BCryptSecretAgreement() function.

Cryptographic Primitives Library – Security Policy Document Table 26: CNG Algorithm Primitive Functions for Signing and Verification

Page 47 ↑
FunctionSignatureDescription
BCryptKeyDerivationNTSTATUS WINAPI BCryptKeyDerivation( BCRYPT_KEY_HANDLE hKey, BCryptBufferDesc *pParameterList, (cbDerivedKey, *pcbResult) PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG *pcbResult, ULONG dwFlags);The BCryptKeyDerivation() function executes a Key Derivation Function (KDF) on a key generated with BCryptGenerateSymmetricKey() function. It differs from the BCryptDeriveKey() function in that it does not require a secret agreement step to create a shared secret.
BCryptDeriveKeyPBKDF2NTSTATUS WINAPI BCryptDeriveKeyPBKDF2( BCRYPT_ALG_HANDLE hPrf, PUCHAR pbPassword, ULONG cbPassword, PUCHAR pbSalt, ULONG cbSalt, ULONGLONG cIterations, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG dwFlags);The BCryptDeriveKeyPBKDF2() function derives a key from a hash value by using the password based key derivation function as defined by NIST SP 800-132 PBKDF and IETF RFC 2898 (specified as PBKDF2).
Function NameDescription
BCryptEnumAlgorithmsEnumerates the algorithms for a given set of operations.
BCryptEnumProvidersReturns a list of CNG providers for a given algorithm.
BCryptRegisterConfigChangeNotifyDeprecated interface.
BCryptResolveProvidersResolves queries against the set of providers currently registered on the local system and the configuration information specified in the machine and domain configuration tables, returning an ordered list of references to one or more providers matching the specified criteria.
BCryptAddContextFunctionProviderAdds a cryptographic function provider to the list of providers that are supported by an existing CNG context.
BCryptRegisterProviderRegisters a CNG provider.
BCryptUnregisterProviderUnregisters a CNG provider.
BCryptUnregisterConfigChangeNotifyRemoves a CNG configuration change event handler.
BCryptGetFipsAlgorithmModeDetermines whether the module is operating in FIPS mode. Some applications use the value returned by this API to alter their own behavior, such as blocking the use of some SSL versions.
BCryptQueryProviderRegistrationRetrieves information about a CNG provider.
BCryptEnumRegisteredProvidersRetrieves information about the registered providers.
BCryptCreateContextCreates a new CNG configuration context.
BCryptDeleteContextDeletes an existing CNG configuration context.
BCryptEnumContextsObtains the identifiers of the contexts in the specified configuration table.
BCryptConfigureContextSets the configuration information for an existing CNG context.
BCryptQueryContextConfigurationRetrieves the current configuration for the specified CNG context.

Cryptographic Primitives Library – Security Policy Document

3.2.2.9 Non-Security Configuration Interfaces

The following non-cryptographic functions are used to configure cryptographic providers on the system. See also the BCrypt API documentation at https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/ for more information on these functions.

Page 48 ↑
Function NameDescription
BCryptAddContextFunctionAdds a cryptographic function to the list of functions that are supported by an existing CNG context.
BCryptRemoveContextFunctionRemoves a cryptographic function from the list of functions that are supported by an existing CNG context.
BCryptEnumContextFunctionsObtains the cryptographic functions for a context in the specified configuration table.
BCryptConfigureContextFunctionSets the configuration information for the cryptographic function of an existing CNG context.
BCryptQueryContextFunctionConfigurationObtains the cryptographic function configuration information for an existing CNG context.
BCryptEnumContextFunctionProvidersObtains the providers for the cryptographic functions for a context in the specified configuration table.
BCryptSetContextFunctionPropertySets the value of a named property or a cryptographic function in an existing CNG context.
BCryptQueryContextFunctionPropertyObtains the value of a named property for a cryptographic function in an existing CNG context.
BCryptSetAuditingInterfaceSets the auditing interface.
NameTypeOperator TypeAuthentication Methods
Cryptographic Officer (CO)RoleCONone

Cryptographic Primitives Library – Security Policy Document Table 28: Non-Security Relevant Configuration Interfaces

4 Roles, Services, and Authentication
4.2 Roles

The module claims a single role, Cryptographic Officer (CO). All services are accessible by this role. Table 29: Roles

Page 49 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Algorithm Providers and PropertiesLoads and initializes algorithm providers, gets / sets algorithm object properties, and frees buffer taken by algorithm operations."Algorithm Providers and Properties" output from the BCryptGetPropert y function for the service indicator function.Invoked when appropriate input parameters are provided to the functions: BCryptOpenAlgorithmProvide r BCryptCloseAlgorithmProvide r BCryptSetProperty BCryptGetProperty BCryptFreeBufferThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.NoneCryptographic Officer (CO)
Encryption and DecryptionEncrypts and decrypts a block of data.The "Encryption and Decryption" output from the BCryptGetPropert y function is the service indicator function for the approved methods.Invoked when appropriate input parameters are provided to the functions: BcryptEncrypt BcryptDecryptThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.BC1 BC2 RSADP1Cryptographic Officer (CO) - AES-GCM IV: G,W,E - Asymmetric RSA Private Keys: W,E - Asymmetric RSA Public Keys: W,E - Symmetric AES Keys: W,E

Cryptographic Primitives Library – Security Policy Document

4.3 Approved Services

The following table lists the approved services of the module. The indicator for each service is the successful completion of the service. The table below provides additional indicator details to enable the operator to verify each service’s successful completion.

Page 50 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Hashing and Message Authenticatio nGenerates hashes and authenticates messages.The "Hashing and Message Authentication" output from the BCryptGetPropert y function is the service indicator function for the approved methods.Invoked when appropriate input parameters are provided to the functions: BcryptCreateHash BcryptHashData BcryptDuplicateHash BcryptFinishHash BcryptDestroyHash BcryptHash BcryptCreateMultiHash BcryptProcessMultiOperation sThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.MAC1 SHS1Cryptographic Officer (CO) - HMAC Keys: W,E - Symmetric AES Keys: W,E
Key and Key- Pair GenerationGenerates symmetric keys and public / private key pairs."Key and Key-Pair Generation" output from the BCryptGetPropert y function for the service indicator function for the approved key and key pair generation methods.Invoked when appropriate input parameters are provided to the functions: BcryptGenerateSymmetricKe y BcryptGenerateKeyPair BcryptFinalizeKeyPair BcryptDuplicateKey BcryptDestroyKeyThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.AsymKeyPair 1 AsymKeyPair 2 AsymKeyPair 3 CKG1Cryptographic Officer (CO) - AES-CTR DRBG Entropy Input: E - AES-CTR DRBG key: E - AES-CTR DRBG Seed: E - AES-CTR DRBG V: E - Asymmetric ECDSA Private Keys: G - Asymmetric ECDSA Public Keys: G - Asymmetric RSA Private Keys: G - Asymmetric RSA Public Keys: G - DH Private Values: G - DH Public Values: G - ECDH Private Values: G - ECDH Public Values: G - HMAC Keys: G - Symmetric AES Keys: G

Cryptographic Primitives Library – Security Policy Document

Page 51 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Key DerivationProvides key derivation.The "Key Derivation" output from the BCryptGetPropert y function for the service indicator function.Invoked when appropriate input parameters are provided to the functions: BcryptDeriveKey BcryptKeyDerivation BCryptDeriveKeyPBKDF2The cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.KAS-135KDF- IKE KAS-135KDF- TLS KBKDF1 PBKDF1 KDA1Cryptographic Officer (CO) - Derived Key: G,R - Key Derivation Key: R,W - PBKDF Password: E - Z - Shared Secret Input for IKE KDFs: R,W - Z - Shared Secret Input for KBKDF: R,W - Z - Shared Secret Input for KDA-HKDF: R,W
Key Entry and OutputImports and exports symmetric keys and public / private key pairs.The "Key Entry and Output" output from the BCryptGetPropert y function is the service indicator function for approved key entry and output methods.Invoked when appropriate input parameters are provided to the functions: BcryptImportKey BcryptImportKeyPair BcryptExportKeyThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.KTS1Cryptographic Officer (CO) - Asymmetric ECDSA Private Keys: R,W - Asymmetric ECDSA Public Keys: R,W - Asymmetric RSA Private Keys: R,W - Asymmetric RSA Public Keys: R,W - HMAC Keys: R,W - Symmetric AES Keys: R,W

Cryptographic Primitives Library – Security Policy Document R,W

Page 52 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Perform Cryptographi c Algorithm Self-TestsThe module provides a power-up cryptographic algorithm self- test service that automatically executes when the module is loaded into memory.Self-test success is indicated by module and algorithm availability; failure is indicated by an error.Conditional self-tests are automatically executed when services are called. See section 10 Self-Tests for details.Success is implicit in module availability. If any self-test fails, the module returns an error code. See section 10 Self-Tests for details.AsymKeyPair 1 AsymKeyPair 2 AsymKeyPair 3 BC1 BC2 CKG1 DigSig- Legacy DigSig1 DigSig2 DRBG1 ENT1 KAS-ECC1 KAS-FFC1 KAS-ECC- SSC1 KAS-FFC- SSC1 KAS-135KDF- IKE KAS-135KDF- TLS KBKDF1 KDA1 RSADP1 MAC1 PBKDF1 SHS1Cryptographic Officer (CO)

Cryptographic Primitives Library – Security Policy Document

Page 53 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Perform Pre- Operational Software Integrity Test [EVM]The pre- operational self-test is executed by the [EVM] Secure Kernel Code Integrity module (IG 1.A Documentatio n Requirements 5).Integrity test success is indicated by the Cryptographic Primitives Library module being loaded into memory.This service is fully automatic and executed before the module is loaded into memory.The Kernel Mode Cryptographi c Primitives Library module is loaded into memory.DigSig3 SHS2Cryptographic Officer (CO)
Page 54 ↑

Perform Zeroization

Zeroizes cryptographic material.

SSPs are zeroized. See Section 9.3 SSP Zeroization Methods for more information.

Invoked when appropriate input parameters are provided to the functions: BcryptDestroyKey BcryptDestroySecret Executed automatically as part of module shutdown.

Keys are zeroized when the key objects are deleted, which is required prior to unloading the module from memory.

None

Cryptographic Officer (CO) - AES-CTR DRBG Entropy Input: Z - AES-CTR DRBG key: Z - AES-CTR DRBG Seed: Z - AES-CTR DRBG V: Z - AES-GCM IV: Z - Asymmetric ECDSA Private Keys: Z - Asymmetric ECDSA Public Keys: Z - Asymmetric RSA Private Keys: Z - Asymmetric RSA Public Keys: Z - Derived Key: Z - DH Private Values: Z - DH Public Values: Z - ECDH Private Values: Z - ECDH Public Values: Z - Embedded X.509 Certificate for BCRYPTPRIMITIVES.DL L (This is not an SSP): Z - Hash Value for BCRYPTPRIMITIVES.DL L (This is not an SSP): Z - HMAC Keys: Z - Key Derivation Key: Z - PBKDF Password: Z - Symmetric AES Keys: Z - TLS Pre-Master Secret: Z - Z - Shared Secret Input for IKE KDFs: Z - Z - Shared Secret Input

Cryptographic Primitives Library – Security Policy Document Z

Page 55 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access for KBKDF: Z - Z - Shared Secret Input for KDA-HKDF: Z - Z - Shared Secret Output for KAS-ECC: Z - Z - Shared Secret Output for KAS-FFC: Z
Random Number GenerationFills a buffer with random bytes using the AES-256 CTR mode DRBG"Random Number Generation" output from the BCryptGetPropert y function for the service indicator function.Invoked when appropriate input parameters are provided to the function: BCryptGenRandomThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.DRBG1Cryptographic Officer (CO) - AES-CTR DRBG Entropy Input: W,E - AES-CTR DRBG key: W,E - AES-CTR DRBG Seed: W,E - AES-CTR DRBG V: W,E
Secret AgreementProvides key agreement.The "Secret Agreement" output from the BCryptGetPropert y function for the service indicator function for approved methods.Invoked when appropriate input parameters are provided to the functions: BcryptSecretAgreement BcryptDestroySecretThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.KAS-ECC1 KAS-FFC1 KAS-ECC- SSC1 KAS-FFC- SSC1Cryptographic Officer (CO) - Derived Key: G,R - DH Private Values: E - DH Public Values: E - ECDH Private Values: E - ECDH Public Values: E - Z - Shared Secret Output for KAS-ECC: R,W - Z - Shared Secret Output for KAS-FFC: R,W

Cryptographic Primitives Library – Security Policy Document

Page 56 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Show StatusProvides the module status response.Provided via NTSTATUS by all functions.This service is fully automatic and occurs when any function is called.Status is output across the module's Status Output logical interface, to the computer monitor or to log files.NoneCryptographic Officer (CO)
Show VersionProvides the module version number.Version information is provided in the Portable Executable (PE) header of each module binary. The PE header contains Windows-specific fields such as the major and minor version, which equate to the module version. See the public documentation for the PE Format for more information.Module binary file.Version information is embedded in the PE header of the binary.NoneCryptographic Officer (CO)

Cryptographic Primitives Library – Security Policy Document

Page 57 ↑
NameDescriptionIndicatorInputsOutputsSecurity FunctionsSSP Access
Signing and VerificationGenerates and verifies digital signatures.The "Signing and Verification" output from the BCryptGetPropert y function for the service indicator function for the approved signing and verification functions.Invoked when appropriate input parameters are provided to the functions: BcryptSignHash BcryptVerifySignatureThe cryptographic operation is executed, with output per the interfaces defined in section 3 Cryptographi c Module Interfaces.DigSig- Legacy DigSig1 DigSig2Cryptographic Officer (CO) - Asymmetric RSA Private Keys: E - Asymmetric RSA Public Keys: E
NameDescriptionAlgorithmsRole
Non-Approved Encryption and DecryptionEncryption and decryption using the non-approved algorithms listed to the right.DES RC2 RC4 RSA Triple-DES.CO
Non-Approved Hashing and Message AuthenticationHashing and message authentication using the non-approved algorithms listed to the right.HMAC-SHA-1 MD2 MD4 MD5CO
Non-Approved Key and Key-Pair GenerationKey and key-pair generation using the non-approved algorithms listed to the right.DSA key and PQG generation ECDSA with non-approved, non-allowed curvesCO

Cryptographic Primitives Library – Security Policy Document Table 30: Approved Services The following table identifies the non-approved security services of the module. For additional details on the algorithms accessed by the non-

Page 58 ↑
NameDescriptionAlgorithmsRole
Non-Approved Key Entry and OutputKey entry and output using one of the non-approved algorithms listed to the right.ECDSA with non-approved, non-allowed curvesCO
Non-Approved Secret Agreement and Key DerivationKey derivation using one of the non-approved algorithms listed to the right. For HKDF, the service derives a key from a hash value when the exported function BCryptDeriveKeyCapi is called.ANSI X9.42 ANSI X9.63 DSA key and PQG generation DSA signature and PQG generation ECDSA with non-approved, non-allowed curves KDF TLS (non-compliant without extended master secret) Legacy CAPI KDF (proprietary) NIST SP 800-56Ar2 key establishment Non-compliant HKDFCO
Non-Approved Signing and VerificationSigning and verification using the non-approved algorithms listed to the right.ECDSA with non-approved, non-allowed curves RSA SHA-1 DSA signature and PQG generationCO

Cryptographic Primitives Library – Security Policy Document Table 31: Non-Approved Services

Page 59 ↑
EVM NameCMVP CertificateVersion Details
Code Integrity (Windows 11 v 22H2 and Windows Server 2022)#5406Windows 11 version 22H2, build 10.0.22621.1 Windows Server 2022, build 10.0.20348.1668
Secure Kernel Code Integrity (Windows 11 v 22H2 and Windows Server 2022)#5407Windows 11 version 22H2, build 10.0.22621.1 Windows Server 2022, build 10.0.20348.1668

Cryptographic Primitives Library – Security Policy Document

4.5 External Software/Firmware Loaded

The module does not load external software or firmware.

5 Software/Firmware Security

The secure installation, generation, and startup procedures of this module are part of the secure installation, configuration, and startup procedures of the Windows operating systems named in section 2.2 Tested and Vendor Affirmed Module Version and Identification. Windows dynamic link libraries, which include BCRYPTPRIMITIVES.DLL, are loaded into a user-mode process to expose the services offered by that DLL. The operating system environment enforces process isolation including access to memory (where keys and intermediate key data are stored) and access to the CPU.

5.1 Integrity Techniques

Windows uses several mechanisms to provide integrity verification depending on the stage in the boot sequence, hardware, and configuration. The algorithms used for integrity verification are included in section 2.5 Algorithms, Table 11. The integrity of the Cryptographic Primitives Library is checked before it is loaded into process memory by the Code Integrity module or the Secure Kernel Code Integrity module (EVMs, IG 1.A Documentation Requirements 5). See the table below for more information on the Code Integrity and Secure Kernel Code Integrity modules. To perform the module integrity test on demand, the user may restart the computer. Windows binaries include a SHA2-256 hash of the binary signed with the 2048-bit Microsoft RSA code-signing key (i.e., the key associated with the Microsoft code-signing certificate). The integrity check uses the public key component of the Microsoft code signing certificate to verify the signed hash of the binary. Table 32: EVM Details The figure below shows the Integrity Chain of trust for the Windows builds and modules in scope for this validation.

Page 60 ↑

Cryptographic Primitives Library – Security Policy Document Figure 3: Integrity Chain of Trust

5.2 Initiate on Demand

To initiate the integrity test on demand, the operator may restart the computer.

Page 61 ↑
Storage Area NameDescriptionPersistence Type
Hard DiskPre-loaded keys for integrity verification are stored on the operating system volume (see: Hard Disk in the block diagram).Static
RAMVolatile SSPs used by the module as part of service execution are temporarily stored in the computer's memory (see: RAM in the block diagram).Dynamic

Cryptographic Primitives Library – Security Policy Document

6 Operational Environment
6.1 Operational Environment Type and Requirements

Type of Operational Environment: Modifiable How Requirements are Satisfied: The modifiable operational environment for the module is the Windows operating system running on a supported hardware platform, as listed in section 2.2 Tested and Vendor Affirmed Module Version and Identification. The Cryptographic Primitives Library is loaded into process memory for a single application.

7 Physical Security
7.1 Mechanisms and Actions Required

The Cryptographic Primitives Library is a multi-chip standalone software-hybrid module whose host platforms meet the Level 1 physical security requirements. The host platform consists of production-grade physical security components that include standard passivation techniques and is entirely contained within a metal or hard plastic production-grade enclosure that may include doors or removable covers. Tables identifying the voltage and temperature boundaries that trigger zeroization or shutdown are not included in this Security Policy as they are N/A for a Level 1 validation of a hybrid module.

8 Non-Invasive Security
9 Sensitive Security Parameters Management
9.1 Storage Areas

The module stores SSPs in the following manner. The module does not directly persist cryptographic keys. The operator may choose to export a cryptographic key, but management of the secure archival of that key is the responsibility of the user. Table 33: Storage Areas

Page 62 ↑
NameFromToFormat TypeDistribution TypeEntry TypeSFI or Algorithm
Input from non- encrypted volatile storageOutside cryptographic boundaryRAMPlaintextManualElectronic
Output to non- encrypted volatile storageRAMOutside cryptographic boundaryPlaintextManualElectronic
Zeroization MethodDescriptionRationaleOperator Initiation
Perform zeroization serviceDynamic keys may be zeroized using one of the zeroization functions described in 3.2 Additional Information. All keys are destroyed and their memory location zeroized (replaced with zeroes) when the operator calls BCryptDestroyKey() or BCryptDestroySecret() on that key handle.The module does not persist SSPs. The SSPs are not retrievable or reusable after being overwritten with zeroes.The operator calls zeroization functions on an SSP.
Procedural zeroizationOperators may zeroize SSPs in volatile storage by powering off the host General Purpose Computer (GPC).The module does not persist SSPs. The SSPs are not retrievable or reusable after being overwritten with zeroes.Operators may power off or reboot the host GPC to zeroize SSPs stored in volatile RAM.

Cryptographic Primitives Library – Security Policy Document Whenever a user application dynamically links with the Cryptographic Primitives Library, the DLL is instantiated and no keys exist within it. The application is responsible for inputting keys into the Cryptographic Primitives the recipient’s asymmetric public key via the BCryptSecretAgreement() and BCryptDeriveKey() functions. For more information on these functions and how they are accessed, see section 3.2 Additional Information. Table 34: SSP Input-Output Methods Table 35: SSP Zeroization Methods

Page 63 ↑
NameDescriptionSize - StrengthType - CategoryGenerated ByEstablished ByUsed By
AES-CTR DRBG Entropy InputEntropy material for AES_CTR DRBG.Size: 256-bit - Strength: 256 bitsEntropy Material - CSPESVDRBG1
AES-CTR DRBG keyEntropy material for AES_CTR DRBG.Size: 256-bit - Strength: 256 bitsEntropy Material - CSPDRBG1DRBG1
AES-CTR DRBG SeedSeed material for AES_CTR DRBG output.Size: 384-bit - Strength: 384 bitsEntropy Material - CSPDRBG1DRBG1
AES-CTR DRBG VEntropy material for AES_CTR DRBG.Size: 128-bit - Strength: 128 bitsEntropy Material - CSPDRBG1DRBG1
AES-GCM IVInitialization vector for AES- GCMSize: 96 bits - Strength: 96 bitsInitialization Vector - CSPBC2 May be imported to the module depending on user application needs.BC2
Asymmetric ECDSA Private KeysUsed for digital signature generation.Size: P-256, P- 384, or P-521 - Strength: 128, 192, or 256 bitsAsymmetric Private Key - CSPAsymKeyPair1 May be imported to the module depending on user application needs.DigSig-Legacy DigSig1 DigSig2 AsymKeyPair1 AsymKeyPair2

Cryptographic Primitives Library – Security Policy Document

9.4 SSPs

The tables below list the keys and SSPs used by the module. Per the CMVP, public keys and file hashes used for the module integrity check are not considered SSPs and, as such, have no input method assigned and are categorized as neither PSP nor CSP. Blank cells are either not applicable or optional according to the CMVP.

Page 64 ↑
NameDescriptionSize - StrengthType - CategoryGenerated ByEstablished ByUsed By
Asymmetric ECDSA Public KeysUsed for digital signature verification.Size: P-256, P- 384, or P-521 - Strength: 128, 192, or 256 bitsAsymmetric Public Key - PSPAsymKeyPair1 May be imported to the module depending on user application needs.DigSig-Legacy DigSig1 DigSig2 AsymKeyPair1 AsymKeyPair2
Asymmetric RSA Private KeysUsed for digital signature generation, key transport.Size: 2048, 3072, or 4096 bits - Strength: 112, 128, or 150 bitsAsymmetric Private Key - CSPAsymKeyPair1 May be imported to the module depending on user application needs.AsymKeyPair1 DigSig1 DigSig2 DigSig3 RSADP1
Asymmetric RSA Public KeysUsed for digital signature verification, key transport.Size: 2048, 3072, or 4096 bits - Strength: 112, 128, or 150 bitsAsymmetric Public Key - PSPAsymKeyPair1 May be imported to the module depending on user application needs.AsymKeyPair1 DigSig-Legacy DigSig1 DigSig2 RSADP1
Derived KeySymmetric key output of KDFsSize: 128 or 256 bits, depending on protocol derivation function. - Strength: 128 or 256 bitsSymmetric Key - CSPKAS-135KDF- IKE KAS-135KDF- TLS KBKDF1 KDA1 PBKDF1KAS-135KDF- IKE KAS-135KDF- TLS KBKDF1 KDA1 PBKDF1
DH Private ValuesUsed for DH key establishment.Size: 2048 or 4096 bits - Strength: 112 or 152 bitsPrivate Key Pair - CSPAsymKeyPair1 May be imported to the module depending on user application needs.KAS-FFC1 KAS-FFC- SSC1

Cryptographic Primitives Library – Security Policy Document

Page 65 ↑
NameDescriptionSize - StrengthType - CategoryGenerated ByEstablished ByUsed By
DH Public ValuesUsed for DH key establishment.Size: 2048 or 4096 bits - Strength: 112 or 152 bitsPublic Key Pair - PSPAsymKeyPair1 May be imported to the module depending on user application needs.KAS-FFC1 KAS-FFC- SSC1
ECDH Private ValuesUsed for ECDH key establishment.Size: P-256, P- 384, or P-521 - Strength: 128, 192, or 256 bitsPrivate Key Pair - CSPAsymKeyPair1 May be imported to the module depending on user application needs.KAS-ECC1 KAS-ECC- SSC1
ECDH Public ValuesUsed for ECDH key establishment.Size: P-256, P- 384, or P-521 - Strength: 128, 192, or 256 bitsPublic Key Pair - PSPAsymKeyPair1 May be imported to the module depending on user application needs.KAS-ECC1 KAS-ECC- SSC1
Embedded X.509 Certificate for BCRYPTPRIMITIVES.DLL (This is not an SSP)Public key used for RSA PKCS #1 (v1.5) integrity verification of BCRYPTPRIMITIVES.DLL.Size: 2048-bit - Strength: 112 bitsAsymmetric Public Key (RSA) - NeitherGenerated external to the module by the Microsoft Windows build process.DigSig3
Hash Value for BCRYPTPRIMITIVES.DLL (This is not an SSP)File hash used to verify the integrity of BCRYPTPRIMITIVES.DLL.Size: 256 bits - Strength: 128 bitsFile Hash - NeitherGenerated external to the module by the Microsoft Windows build process.SHS2

Cryptographic Primitives Library – Security Policy Document

Page 66 ↑
NameDescriptionSize - StrengthType - CategoryGenerated ByEstablished ByUsed By
HMAC KeysUsed for, hashing and message authentication and key derivation.Size: 160 (SHA1), 256 (SHA2-256), 384 (SHA2- 384), or 512 (SHA2-512) bits - Strength: 160 (SHA-1), 256 (SHA2-256), 384 (SHA2- 384), and 512 (SHA2-512) bitsSymmetric Key (HMAC) - CSPCKG1 May be imported to the module depending on user application needs.MAC1
Key Derivation KeyInternal key for two-step KDFs.Size: 256 bits - Strength: 256 bitsSecret Key - CSPKDA1KAS-135KDF- IKE KAS-135KDF- TLS KBKDF1
PBKDF PasswordPBKDF PasswordSize: 8 to 1024 bits - Strength: N/APassword - CSPPBKDF1
Symmetric AES KeysSymmetric keys used for AES encryption / decryption.Size: 128, 192, or 256 bits - Strength: 128, 192, or 256 bitsSymmetric Key (AES) - CSPCKG1 May be imported to the module depending on user application needs.BC1 BC2 CKG1 MAC1 KAS-135KDF- IKE KAS-135KDF- TLS
TLS Pre-Master SecretUsed for key derivation for TLS.Size: 384-bit - Strength: 384 bitsSecret Key - CSPGenerated externally and imported into the module.KAS-135KDF- TLS

Cryptographic Primitives Library – Security Policy Document N/A

Page 67 ↑
NameDescriptionSize - StrengthType - CategoryGenerated ByEstablished ByUsed By
Z - Shared Secret Input for IKE KDFsShared secret input for IKEv1 and IKEv2 KDFsSize: 256-2048 bits (KDF-IKEv1 and KDF- IKEv2) - Strength: Between 112 to 256 bitsSecret Key - CSPShared secret input is generated externally and input into the moduleKAS-135KDF- IKE
Z - Shared Secret Input for KBKDFShared secret input for KBKDFSize: 160-256 bits - Strength 160-256 bitsSecret Key - CSPShared secret input is generated externally and input into the moduleKBKDF1
Z - Shared Secret Input for KDA-HKDFShared secret input for KDA- HKDFSize: 224-8192 bits - Strength: Between 112 to 256 bitsSecret Key - CSPShared secret input is generated externally and input into the moduleKDA1
Z - Shared Secret Output for KAS-ECCShared secret calculation output for KAS-ECC SP 800- 56Ar3 key agreementSize: P-256, P- 384, or P-521 - Strength: 128, 192, or 256 bitsSecret Key - CSPKAS-ECC-SSC1 KAS-ECC1KAS-ECC1
Z - Shared Secret Output for KAS-FFCShared secret calculation output for KAS-FFC SP 800- 56Ar3 key agreementSize: 2048, 3072, or 4096 bits - Strength: 112, 128, or 150 bitsSecret Key - CSPKAS-FFC-SSC1 KAS-FFC1KAS-FFC1

Cryptographic Primitives Library – Security Policy Document Table 36: SSP Table 1

Page 68 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
AES-CTR DRBG Entropy InputInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceAES-CTR DRBG Seed:Used With AES-CTR DRBG V:Used With AES-CTR DRBG key:Used With
AES-CTR DRBG keyRAM:PlaintextTemporary during service execution.Perform zeroization serviceAES-CTR DRBG Entropy Input:Used With AES-CTR DRBG Seed:Used With AES-CTR DRBG V:Used With
AES-CTR DRBG SeedInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceAES-CTR DRBG Entropy Input:Used With AES-CTR DRBG V:Used With AES-CTR DRBG key:Used With
AES-CTR DRBG VRAM:PlaintextTemporary during service execution.Perform zeroization serviceAES-CTR DRBG Entropy Input:Used With AES-CTR DRBG Seed:Used With AES-CTR DRBG key:Used With
AES-GCM IVInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service

Cryptographic Primitives Library – Security Policy Document

Page 69 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
Asymmetric ECDSA Private KeysInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceAsymmetric ECDSA Public Keys:Paired With
Asymmetric ECDSA Public KeysInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceAsymmetric ECDSA Private Keys:Paired With
Asymmetric RSA Private KeysInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceAsymmetric RSA Public Keys:Paired With
Asymmetric RSA Public KeysInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceAsymmetric RSA Private Keys:Paired With
Derived KeyOutput to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
DH Private ValuesInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceDH Public Values:Paired With

Cryptographic Primitives Library – Security Policy Document

Page 70 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
DH Public ValuesInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceDH Private Values:Paired With
ECDH Private ValuesInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceECDH Public Values:Paired With
ECDH Public ValuesInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization serviceECDH Private Values:Paired With
Embedded X.509 Certificate for BCRYPTPRIMITIVES.DLL (This is not an SSP)Hard Disk:PlaintextProcedural zeroization
Hash Value for BCRYPTPRIMITIVES.DLL (This is not an SSP)Hard Disk:PlaintextProcedural zeroization
HMAC KeysInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
Key Derivation KeyRAM:PlaintextTemporary during service execution.Perform zeroization service
PBKDF PasswordInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service

Cryptographic Primitives Library – Security Policy Document

Page 71 ↑
NameInput - OutputStorageStorage DurationZeroizationRelated SSPs
Symmetric AES KeysInput from non- encrypted volatile storage Output to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
TLS Pre-Master SecretRAM:PlaintextTemporary during service execution.Perform zeroization service
Z - Shared Secret Input for IKE KDFsInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
Z - Shared Secret Input for KBKDFInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
Z - Shared Secret Input for KDA-HKDFInput from non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
Z - Shared Secret Output for KAS-ECCOutput to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service
Z - Shared Secret Output for KAS-FFCOutput to non- encrypted volatile storageRAM:PlaintextTemporary during service execution.Perform zeroization service

Cryptographic Primitives Library – Security Policy Document Table 37: SSP Table 2

Page 72 ↑
Algorithm or TestTest PropertiesTest MethodTest TypeIndicatorDetails
RSA SigVer (FIPS186-4) (A4008)RSA 2048-bit key with SHA2-256 (Windows 11 version 22H2)Software IntegritySW/FW IntegrityThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] Signature verification.
RSA SigVer (FIPS186-4) (A4009)RSA 2048-bit key with SHA2-256 (Windows Server 2022).Software IntegritySW/FW IntegrityThe Perform Cryptographic Algorithm Self-Tests service runs.[EVM] Signature verification.

Cryptographic Primitives Library – Security Policy Document

9.5 Transitions

The following transition timelines apply to the approved algorithms named in the bullets below:

10.1 Pre-Operational Self-Tests

As described in the sections above, the Code Integrity module (EVM) or Secure Kernel Code Integrity module (EVM) checks the integrity of BCRYPTPRIMITIVES.DLL before it is loaded. The algorithms used for the preoperational integrity check pass their own algorithm self-tests before integrity verification is performed. See section 5.1 Integrity Techniques for details on the EVMs and how the module’s integrity is checked. Table 38: Pre-Operational Self-Tests

10.2 Conditional Self-Tests

The module performs the conditional cryptographic algorithm self-tests (CASTs) for all approved algorithms each time the module is loaded into a process via the default DLL entry point, DllMain, after the pre-operational software integrity tests described above have completed. If any self-test fails, the module does not load and

Page 73 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
[EVM] Counter DRBG (A4008)256-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.[EVM] DRBG Known Answer Test (KAT) with instantiate, generate, and reseed testsRun at every module initialization after the module integrity is verified.
[EVM] Counter DRBG (A4009)256-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.[EVM] DRBG Known Answer Test (KAT) with instantiate, generate, and reseed testsRun at every module initialization after the module integrity is verified.
[EVM] RSA SigVer (A4008)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows 11 22H2)KATCAS TThe Perform Cryptographi c Algorithm Self-Tests service runs.[EVM] Signature VerificationThe self-tests are run prior to pre-operational integrity test during module initialization.
[EVM] RSA SigVer (A4009)RSA PKCS#1v1.5 with 2048-bit key and SHA2-256 (Windows Server 2022)KATCAS TThe Perform Cryptographi c Algorithm Self-Tests service runs.[EVM] Signature VerificationThe self-tests are run prior to pre-operational integrity test during module initialization.
[EVM] SHA2- 256 (A4008)256 bits (Windows 11 version 22H2)KATCAS TThe Perform Cryptographi c Algorithm Self-Tests service runs.[EVM] Secure hashThe self-tests are run prior to pre-operational integrity test during module initialization.
[EVM] SHA2- 256 (A4009)256 bits (Windows Server 2022)KATCAS TThe Perform Cryptographi c Algorithm Self-Tests service runs.[EVM] Secure hashThe self-tests are run prior to pre-operational integrity test during module initialization.
AES- CBC (A4008) - Decrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document the Cryptographic Primitives Library DllMain returns an error code. The caller may attempt to reload the

Page 74 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
AES- CBC (A4008) - Encrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES- CBC (A4009) - Decrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES- CBC (A4009) - Encrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES- CCM (A4008) - Decrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES- CCM (A4008) - Encrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES- CCM (A4009) - Decrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES- CCM (A4009) - Encrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES- CMAC (A4008)128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.AES-CMAC known answer test.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 75 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
AES- CMAC (A4009)128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.AES-CMAC known answer test.Run when module is loaded via the default entry point.
AES-ECB (A4008) - Decrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES-ECB (A4008) - Encrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES-ECB (A4009) - Decrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES-ECB (A4009) - Encrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES- GCM (A4008) - Decrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES- GCM (A4008) - Encrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES- GCM (A4009) - Decrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 76 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
AES- GCM (A4009) - Encrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES-XTS Testing Revision 2.0 (A4008)128-bit AES key (Windows 11 22H2)Fault Detectio nCAS TCrypto functions execute and status is returned via interface.Key equivalence test in compliance with FIPS 140-3 IG C.I.When BCRYPT_ENABLE_ INCOMPATIBLE_FIPS_ CHECKS flag (required by policy) is used with BCryptGenerateSymmetricK ey.
AES-XTS Testing Revision 2.0 (A4008) - Decrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES-XTS Testing Revision 2.0 (A4008) - Encrypt128-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.
AES-XTS Testing Revision 2.0 (A4009)128-bit AES key (Windows Server 2022)Fault Detectio nCAS TCrypto functions execute and status is returned via interface.Key equivalence test in compliance with FIPS 140-3 IG C.I.When BCRYPT_ENABLE_ INCOMPATIBLE_FIPS_ CHECKS flag (required by policy) is used with BCryptGenerateSymmetricK ey.
AES-XTS Testing Revision 2.0 (A4009) - Decrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Decrypt KAT.Run when module is loaded via the default entry point.
AES-XTS Testing Revision 2.0 (A4009) - Encrypt128-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Encrypt KAT.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 77 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
Counter DRBG (A4008)256-bit AES key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.DRBG Known Answer Test (KAT) with instantiate, generate, and reseed testsRun at every module initialization after the module integrity is verified.
Counter DRBG (A4009)256-bit AES key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.DRBG Known Answer Test (KAT) with instantiate, generate, and reseed testsRun at every module initialization after the module integrity is verified.
DSA KeyGen (FIPS186 -4) (A4008)2048-bit (Windows 11 22H2)PCTPCTCrypto functions execute and status is returned via interface.KeyGen pairwise consistency test.Run at each invocation of DSA KeyGen.
DSA KeyGen (FIPS186 -4) (A4009)2048-bit (Windows Server 2022)PCTPCTCrypto functions execute and status is returned via interface.KeyGen pairwise consistency test.Run at each invocation of DSA KeyGen.
ECDSA KeyGen (FIPS186 -4) (A4008)P-256 Curve (Windows 11 22H2)PCTPCTCrypto functions execute and status is returned via interface.KeyGen pairwise consistency test.Run at each invocation of ECDSA KeyGen (on key generation and key import).
ECDSA KeyGen (FIPS186 -4) (A4009)P-256 Curve (Windows Server 2022)PCTPCTCrypto functions execute and status is returned via interface.KeyGen pairwise consistency test.Run at each invocation of ECDSA KeyGen (on key generation and key import).
ECDSA KeyVer (FIPS186 -4) (A4008)P-256 Curve (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KeyVer known answer test.Run before the first ECDSA key verification.

Cryptographic Primitives Library – Security Policy Document

Page 78 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
ECDSA KeyVer (FIPS186 -4) (A4009)P-256 Curve (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KeyVer known answer test.Run before the first ECDSA key verification.
ECDSA SigGen (FIPS186 -4) (A4008)P-256 curve (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Sign known answer test.Run before the first ECDSA signature generation
ECDSA SigGen (FIPS186 -4) (A4009)P-256 curve (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Sign known answer test.Run before the first ECDSA signature generation
ECDSA SigVer (FIPS 186-4) (A4008)P-256 curve (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Verify known answer test.Run before the first ECDSA signature verification
ECDSA SigVer (FIPS 186-4) (A4009)P-256 curve (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Verify known answer test.Run before the first ECDSA signature verification
HMAC- SHA-1 (A4008)112-bit HMAC key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Message authenticatio n.Run when module is loaded via the default entry point.
HMAC- SHA-1 (A4009)112-bit HMAC key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Message authenticatio n.Run when module is loaded via the default entry point.
HMAC- SHA2- 256 (A4008)256-bit HMAC key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Message authenticatio n.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 79 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
HMAC- SHA2- 256 (A4009)256-bit HMAC key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Message authenticatio n.Run when module is loaded via the default entry point.
HMAC- SHA2- 512 (A4008)512-bit HMAC key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Message authenticatio n.Run when module is loaded via the default entry point.
HMAC- SHA2- 512 (A4009)512-bit HMAC key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Message authenticatio n.Run when module is loaded via the default entry point.
Intel- based Entropy Source (E189)256-bit entropy input (Windows Server 2022)Fault detectio nCAS TThe entropy source is instantiated and a status is returned via the interface.Start-up and continuous noise source health tests and start-up logic integrity self-test.Run at start-up and continuously.
Intel- based Entropy Source (E216)256-bit entropy input (Windows 11 22H2)Fault detectio nCAS TThe entropy source is instantiated and a status is returned via the interface.Start-up and continuous noise source health tests and start-up logic integrity self-test.Run at start-up and continuously.
KAS- ECC SP800- 56Ar3 (A4008)P-256 curve (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Secret agreement known answer test.Run when module is loaded via the default entry point.
KAS- ECC SP800- 56Ar3 (A4008) - PCTP-256 curve (Windows 11 22H2)PCTPCTCrypto functions execute and status is returned via interface.Perform ECDH assurances (including pairwise consistency tests) according to NIST SP 800-56Arev3.Run at each invocation of KAS-ECC.

Cryptographic Primitives Library – Security Policy Document

Page 80 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
KAS- ECC SP800- 56Ar3 (A4009)P-256 curve (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Secret agreement known answer test.Run when module is loaded via the default entry point.
KAS- ECC SP800- 56Ar3 (A4009) - PCTP-256 curve (Windows Server 2022)PCTPCTCrypto functions execute and status is returned via interface.Perform ECDH assurances (including pairwise consistency tests) according to NIST SP 800-56Arev3.Run at each invocation of KAS-ECC.
KAS-FFC SP800- 56Ar3 (A4008)2048-bit key (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Secret agreement known answer test.Run when module is loaded via the default entry point.
KAS-FFC SP800- 56Ar3 (A4008) - PCT2048-bit key (Windows 11 22H2)PCTPCTCrypto functions execute and status is returned via interface.Perform DH assurances (including pairwise consistency tests) according to NIST SP 800-56Arev3.Run when module is loaded via the default entry point.
KAS-FFC SP800- 56Ar3 (A4009)2048-bit key (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Secret agreement known answer test.Run when module is loaded via the default entry point.
KAS-FFC SP800- 56Ar3 (A4009) - PCT2048-bit key (Windows Server 2022)PCTPCTCrypto functions execute and status is returned via interface.Perform DH assurances (including pairwise consistency tests) according to NIST SP 800-56Arev3.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 81 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
KDA HKDF SP800- 56Cr2 (A4008)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDA HKDF SP800- 56Cr2 (A4009)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF SP 800-108 (A3763)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF SP 800-108 (A3764)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF TLS (A4008)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF TLS (A4009)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF- IKEv1 (A4008)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF- IKEv1 (A4009)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 82 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
KDF- IKEv2 (A4008)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
KDF- IKEv2 (A4009)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
NIST SP 800-132 PBKDF (A4008)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
NIST SP 800-132 PBKDF (A4009)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
RSA KeyGen (FIPS 186-4) (A4008)N/A (Windows 11 22H2)PCTPCTCrypto functions execute and status is returned via interface.KeyGen pairwise consistency test.Run at each invocation of RSA KeyGen (on key generation and key import).
RSA KeyGen (FIPS 186-4) (A4009)N/A (Windows Server 2022)PCTPCTCrypto functions execute and status is returned via interface.KeyGen pairwise consistency test.Run at each invocation of RSA KeyGen (on key generation and key import).
RSA SigGen (FIPS 186-4) (A4008)RSA_SHA256 _ PKCS1 signature (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Sign known answer test.Run before first RSA signature generation.
RSA SigGen (FIPS 186-4) (A4009)RSA_SHA256 _ PKCS1 signature (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Sign known answer test.Run before first RSA signature generation.

Cryptographic Primitives Library – Security Policy Document

Page 83 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
RSA SigVer (FIPS 186-4) (A4008)RSA_SHA256 _ PKCS1 signature (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Verify known answer test.Run before first RSA signature verification.
RSA SigVer (FIPS 186-4) (A4009)RSA_SHA256 _ PKCS1 signature (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Verify known answer test.Run before first RSA signature verification.
SHA-1 (A4008)SHA-1 (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
SHA-1 (A4009)SHA-1 (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
SHA2- 256 (A4008)SHA2-256 (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
SHA2- 256 (A4009)SHA2-256 (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
SHA2- 384 (A4008)SHA2-384 (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
SHA2- 384 (A4009)SHA2-384 (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.

Cryptographic Primitives Library – Security Policy Document

Page 84 ↑
Algorith m or TestTest PropertiesTest MethodTest TypeIndicatorDetailsConditions
SHA2- 512 (A4008)SHA2-512 (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
SHA2- 512 (A4009)SHA2-512 (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.Secure hash.Run when module is loaded via the default entry point.
TLS v1.2 KDF RFC7627 (A4008)Derived key material (Windows 11 22H2)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
TLS v1.2 KDF RFC7627 (A4009)Derived key material (Windows Server 2022)KATCAS TCrypto functions execute and status is returned via interface.KAT with derived key material.Run when module is loaded via the default entry point.
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
RSA SigVer (FIPS186-4) (A4008)Software IntegritySW/FW IntegrityPre-operational integrity test is run at every module initialization before the CASTs (Windows 11 version 22H2).Manual on-demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document Table 39: Conditional Self-Tests

10.3 Periodic Self-Test Information

The tables below present the periodic self-test information for the module. The set of self-tests presented in tables 25 and 26 below is identical to the set of self-tests presented in tables 23 and 24 above. The Code Integrity module (EVM) or Secure Kernel code integrity module (EVM) checks the integrity of BCRYPTPRIMITIVES.DLL before it is loaded. See section 5.1 Integrity Techniques for details on the EVMs

Page 85 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
RSA SigVer (FIPS186-4) (A4009)Software IntegritySW/FW IntegrityPre-operational integrity test is run at every module initialization before the CASTs (Windows Server 2022).Manual on-demand (operator initiated by rebooting the computer).
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
[EVM] Counter DRBG (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer)
[EVM] Counter DRBG (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer)
[EVM] RSA SigVer (A4008)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer)
[EVM] RSA SigVer (A4009)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer)
[EVM] SHA2- 256 (A4008)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer)
[EVM] SHA2- 256 (A4009)KATCASTConditional CAST is run at every module initialization prior to module's integrity check (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer)

Cryptographic Primitives Library – Security Policy Document Table 40: Pre-Operational Periodic Information

Page 86 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
AES-CBC (A4008) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-CBC (A4008) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-CBC (A4009) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-CBC (A4009) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-CCM (A4008) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-CCM (A4008) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-CCM (A4009) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-CCM (A4009) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 87 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
AES-CMAC (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-CMAC (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-ECB (A4008) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-ECB (A4008) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-ECB (A4009) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-ECB (A4009) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-GCM (A4008) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-GCM (A4008) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 88 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
AES-GCM (A4009) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-GCM (A4009) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-XTS Testing Revision 2.0 (A4008)Fault DetectionCASTWhen BCRYPT_ENABLE_ INCOMPATIBLE_FIPS_ CHECKS flag (required by policy) is used with BCryptGenerateSymmetricKey (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-XTS Testing Revision 2.0 (A4008) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-XTS Testing Revision 2.0 (A4008) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
AES-XTS Testing Revision 2.0 (A4009)Fault DetectionCASTWhen BCRYPT_ENABLE_ INCOMPATIBLE_FIPS_ CHECKS flag (required by policy) is used with BCryptGenerateSymmetricKey (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
AES-XTS Testing Revision 2.0 (A4009) - DecryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
AES-XTS Testing Revision 2.0 (A4009) - EncryptKATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 89 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
Counter DRBG (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
Counter DRBG (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
DSA KeyGen (FIPS186-4) (A4008)PCTPCTRun at each invocation of DSA KeyGen (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
DSA KeyGen (FIPS186-4) (A4009)PCTPCTRun at each invocation of DSA KeyGen (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
ECDSA KeyGen (FIPS186-4) (A4008)PCTPCTRun at each invocation of ECDSA KeyGen (on key generation and key import; Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
ECDSA KeyGen (FIPS186-4) (A4009)PCTPCTRun at each invocation of ECDSA KeyGen (on key generation and key import; Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
ECDSA KeyVer (FIPS186-4) (A4008)KATCASTRun before the first ECDSA key verification. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
ECDSA KeyVer (FIPS186-4) (A4009)KATCASTRun before the first ECDSA key verification.(Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 90 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
ECDSA SigGen (FIPS186-4) (A4008)KATCASTRun before the first ECDSA signature generation (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
ECDSA SigGen (FIPS186-4) (A4009)KATCASTRun before the first ECDSA signature generation (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
ECDSA SigVer (FIPS 186-4) (A4008)KATCASTRun before the first ECDSA signature verification (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
ECDSA SigVer (FIPS 186-4) (A4009)KATCASTRun before the first ECDSA signature verification (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
HMAC-SHA-1 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
HMAC-SHA-1 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
HMAC-SHA2- 256 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
HMAC-SHA2- 256 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 91 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
HMAC-SHA2- 512 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
HMAC-SHA2- 512 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
Intel-based Entropy Source (E189)Fault detectionCASTContinuously checks the health of entropy output (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
Intel-based Entropy Source (E216)Fault detectionCASTContinuously checks the health of entropy output (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KAS-ECC SP800-56Ar3 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KAS-ECC SP800-56Ar3 (A4008) - PCTPCTPCTRun at each invocation of KAS-ECC (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KAS-ECC SP800-56Ar3 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
KAS-ECC SP800-56Ar3 (A4009) - PCTPCTPCTRun at each invocation of KAS-ECC (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 92 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
KAS-FFC SP800-56Ar3 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KAS-FFC SP800-56Ar3 (A4008) - PCTPCTPCTRun at each invocation of KAS-ECC (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KAS-FFC SP800-56Ar3 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
KAS-FFC SP800-56Ar3 (A4009) - PCTPCTPCTRun at each invocation of KAS-ECC (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
KDA HKDF SP800-56Cr2 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
KDA HKDF SP800-56Cr2 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
KDF SP 800-108 (A3763)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KDF SP 800-108 (A3764)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 93 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
KDF TLS (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KDF TLS (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
KDF-IKEv1 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KDF-IKEv1 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
KDF-IKEv2 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows 11 22H2).Manual on- demand (operator initiated by rebooting the computer).
KDF-IKEv2 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified (Windows Server 2022).Manual on- demand (operator initiated by rebooting the computer).
NIST SP 800- 132 PBKDF (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
NIST SP 800- 132 PBKDF (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 94 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
RSA KeyGen (FIPS 186-4) (A4008)PCTPCTRun at each invocation of RSA KeyGen (on key generation and key import). (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
RSA KeyGen (FIPS 186-4) (A4009)PCTPCTRun at each invocation of RSA KeyGen (on key generation and key import). (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
RSA SigGen (FIPS 186-4) (A4008)KATCASTRun before first RSA signature generation. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
RSA SigGen (FIPS 186-4) (A4009)KATCASTRun before first RSA signature generation. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
RSA SigVer (FIPS 186-4) (A4008)KATCASTRun before first RSA signature verification. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
RSA SigVer (FIPS 186-4) (A4009)KATCASTRun before first RSA signature verification. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
SHA-1 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
SHA-1 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document

Page 95 ↑
Algorithm or TestTest MethodTest TypePeriodPeriodic Method
SHA2-256 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
SHA2-256 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
SHA2-384 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
SHA2-384 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
SHA2-512 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
SHA2-512 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).
TLS v1.2 KDF RFC7627 (A4008)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows 11 22H2)Manual on- demand (operator initiated by rebooting the computer).
TLS v1.2 KDF RFC7627 (A4009)KATCASTRun when module is loaded via the default entry point, after the module integrity is verified. (Windows Server 2022)Manual on- demand (operator initiated by rebooting the computer).

Cryptographic Primitives Library – Security Policy Document Table 41: Conditional Periodic Information

Page 96 ↑
NameDescriptionConditionsRecovery MethodIndicator
Boot FailureBoot failure.Occurs if the module integrity test fails or if one of the conditional self-tests fails.Restart the computer.Boot failure blue screen error message.

Cryptographic Primitives Library – Security Policy Document

10.4 Error States
10.5 Operator Initiation of Self-Tests

To perform the module self-tests on demand, which includes running the approved services Perform Preoperational Software Integrity Test [EVM] and Perform Cryptographic Algorithm Self-Tests, the user may

11 Life-Cycle Assurance
11.1 Installation, Initialization, and Startup Procedures

The Windows operating system must be pre-installed on a computer by an OEM, installed by the end-user, by an organization’s IT administrator, or updated from a previous Windows version downloaded from Windows Update. An inspection of authenticity can be made by following the guidance at this Microsoft web site: https://www.microsoft.com/en-us/howtotell/default.aspx. For Windows Updates, the client only accepts binaries signed by Microsoft certificates. The Windows Update client only accepts content whose SHA2 hash matches the SHA2 hash specified in the metadata. All metadata communication is done over a Transport Layer Security (TLS) port. Using TLS ensures that the client is communicating with the real server and so prevents a malicious TLS server from communicating to the TLS client. The version and digital signature of any new cryptographic module must be verified to match the version that was validated. See section 11.2 Administrator Guidance for details on how to do this. Module initialization occurs automatically as part of the Windows boot process. The finite state model diagram below visualizes the initialization process along with other module states. Every state of the module can transition to the power-off state through power-cycle/rebooting the host machine.

Page 97 ↑

Cryptographic Primitives Library – Security Policy Document Power On Code Integrity or Secure Kernel Code Integrity Starts BCRYPTPRIMITIVES.DLL (BCrypt) CI or SKCI Performs BCrypt Fail Module Integrity Check Pass BCrypt Algorithm Loading In Fail Yes Self-Tests LSASS.EXE? Pass No Wait for Commands Cryptographic Operation Request Input Parameters Perform Cryptographic Operation Application Load OS Shut Down Boot Fail Failure Figure 4: Finite State Model

11.2 Administrator Guidance

The installed version of Windows must be checked to match the version that was validated. See section 11.2.1 Verifying the Installed Windows Version below for details on how to do this. To sanitize the module, the operator should reformat the hard drive or wipe the device as part of unenrollment for Azure Entra ID (formerly Active Directory.

Page 98 ↑

Cryptographic Primitives Library – Security Policy Document

11.2.1 Verifying the Installed Windows Version

The following methods may be used to check the installed version of Windows against the version number listed in 2.2 Tested and Vendor Affirmed Module Version and Identification. Using the Windows command prompt or Windows PowerShell (local or remote):

11.2.2 Verifying the Cryptographic Module Version and its Signature

To confirm the version number or digital signature of the module, locate the module binary or binaries named in 2.2 Tested and Vendor Affirmed Module Version and Identification in their default installation location. The list below identifies the default install locations for the Windows cryptographic module binaries for a system where Windows has been installed on the C: drive.

Page 99 ↑

Cryptographic Primitives Library

Page 100 ↑
AlgorithmProtected AgainstMitigationConstraints / Guidance
SHA1Timing Analysis AttackConstant time implementation.None
Cache AttackMemory access pattern is independent of any confidential data.None
SHA2Timing Analysis AttackConstant time implementation.None
Cache AttackMemory access pattern is independent of any confidential data.None
AESTiming Analysis AttackConstant time implementation.None
Cache AttackMemory access pattern is independent of any confidential data.None
Module prevents observation of memory for AES rounds.Effective only for computers that use the AES-NI instruction set.

Cryptographic Primitives Library

11.3 Non-Administrator Guidance

The module implements a single role only, Cryptographic Officer. See the Administrator Guidance above.

11.4 Design and Rules

The module is a multi-chip standalone software-hybrid module that operates in its approved mode during normal operation of the computer and Windows operating system and provides cryptographic services within the Operational Environments listed in section 2.2 Tested and Vendor Affirmed Module Version and Identification. The other sections of this Security Policy provide additional details on the design of the module and its rules of operation.

12 Mitigation of Other Attacks
12.1 Attack List

The following table lists the mitigations of other attacks for this cryptographic module. Table 43: Mitigation of Other Attacks

13 Standards References
Page 101 ↑

Cryptographic Primitives Library