microsoft / go-crypto-winnative

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

[ms-go1.22-support] Merge pull request #58 from microsoft/cipret #59

Closed dagood closed 3 weeks ago

dagood commented 3 weeks ago

Update DES and 3DES to use ECB instead of CBC chaining mode

(cherry picked from commit fdc07bead0503fa26f0cb0b11f2611919a9f5d03)


Clean cherry-pick of https://github.com/microsoft/go-crypto-winnative/pull/58 onto a 1.22 support branch.

dagood commented 3 weeks ago

I created this PR/branch to make it so we can update 1.22 and 1.23 without including https://github.com/microsoft/go-crypto-winnative/pull/50. I'm sure it would be fine, but it's not hard to eliminate any uncertainty altogether so I figure it's worthwhile.