Document of c-modernization-kit (porter) 1.0.0
Loading...
Searching...
No Matches
crypto_windows.c File Reference

Windows 向け暗号化・復号モジュール (CNG AES-256-GCM)。 More...

Go to the source code of this file.

Detailed Description

Windows 向け暗号化・復号モジュール (CNG AES-256-GCM)。

Author
c-modernization-kit sample team
Date
2026/03/12
Version
1.0.0

Windows CNG (Cryptography Next Generation) の BCrypt API を使用して AES-256-GCM 暗号化・復号を実装します。
Linux 実装 (OpenSSL) と同一の wire フォーマット ([暗号文][GCM タグ 16B]) を使用するため、 クロスプラットフォーム通信に対応します。
本ファイルは Windows ビルドでのみコンパイルされます (_WIN32 定義時)。

Definition in file crypto_windows.c.