go-crypto-winnative

module
v0.0.0-...-9b8dc63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2025 License: MIT

README

go-crypto-winnative

Go Reference

The cng package implements Go crypto primitives on Windows using CNG. When configured correctly, CNG can be executed in FIPS mode.

The cng package is designed to be used as a drop-in replacement for the boring package in order to facilitate integrating cng inside a forked Go toolchain.

Visit the FIPS documentation in the microsoft/go repository for more information about FIPS, enabling FIPS mode, and writing a FIPS compliant Go application.

Disclaimer

A program directly or indirectly using this package in FIPS mode can claim it is using a FIPS-certified cryptographic module (CNG), but it can't claim the program as a whole is FIPS certified without passing the certification process, nor claim it is FIPS compliant without ensuring all crypto APIs and workflows are implemented in a FIPS-compliant manner.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Directories

Path Synopsis
cmd
cng
internal
bcrypt
Package bcrypt implements interop with bcrypt.dll, a component of Windows CNG.
Package bcrypt implements interop with bcrypt.dll, a component of Windows CNG.
subtle
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
sysdll
Package sysdll is a custom version of the standard library internal/syscall/windows/sysdll package.
Package sysdll is a custom version of the standard library internal/syscall/windows/sysdll package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL