microsoft / go-crypto-winnative

Go crypto backend for Windows using CNG
MIT License
28 stars 3 forks source link

Implement AES ECB, CBC and GCM modes #5

Closed qmuntal closed 2 years ago

qmuntal commented 2 years ago

Please review #3 first.

This PR implements AES ECB, CBC and GCM modes. Each mode is implemented in its own commit.

CRT mode is not supported by CNG so it has not bee implemented, see #4.

The AES GCM TLS mode has been implemented in the same way as OpenSSL: https://github.com/microsoft/go-crypto-openssl/pull/21 as CNG does not have a specific TLS mode.