Skip to content

Commit

Permalink
mention behavior when RC4 is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Oct 13, 2023
1 parent c6a8e27 commit e4f3713
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eng/doc/fips/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,11 @@ func rc4.NewCipher() rc4.Cipher

NewCipher creates and returns a new Cipher. The key argument should be the RC4 key, at least 1 byte and at most 256 bytes.

**Requirements**

Some OpenSSL distributions don't implement RC4, e.g., OpenSSL 1.x compiled with `-DOPENSSL_NO_RC4` and OpenSSL 3.x that can't load the legacy provider.
In those cases, `rc4.NewCipher()` will fall back to standard Go crypto.

**Implementation**

<details><summary>OpenSSL (click for details)</summary>
Expand Down

0 comments on commit e4f3713

Please sign in to comment.