File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 66 # The config file overrides the UI settings:
77 # https://github.com/pyca/cryptography/issues/5863#issuecomment-817828152
88 builder : dirhtml
9+ configuration : docs/conf.py
910
1011build :
1112 os : " ubuntu-20.04"
Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ def crypto_aead_chacha20poly1305_encrypt(
307307 _aad = ffi .NULL
308308 aalen = 0
309309
310- mlen = len (message )
311310 mxout = mlen + crypto_aead_chacha20poly1305_ietf_ABYTES
312311
313312 clen = ffi .new ("unsigned long long *" )
@@ -466,7 +465,6 @@ def crypto_aead_xchacha20poly1305_ietf_encrypt(
466465 _aad = ffi .NULL
467466 aalen = 0
468467
469- mlen = len (message )
470468 mxout = mlen + crypto_aead_xchacha20poly1305_ietf_ABYTES
471469
472470 clen = ffi .new ("unsigned long long *" )
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ def test_sha256_hex(inp: bytes, expected: bytes):
4040 (
4141 b"The quick brown fox jumps over the lazy dog." ,
4242 (
43- b"\xEF S \x7F % \xC8 \x95 \xBF \xA7 \x82 Re)\xA9 \xB6 =\x97 \xAA c \x15 d\xD5 \xD7 "
44- b"\x89 \xC2 \xB7 eD \x8C \x86 5\xFB l "
43+ b"\xef S \x7f % \xc8 \x95 \xbf \xa7 \x82 Re)\xa9 \xb6 =\x97 \xaa c \x15 d\xd5 \xd7 "
44+ b"\x89 \xc2 \xb7 eD \x8c \x86 5\xfb l "
4545 ),
4646 ),
4747 (
@@ -86,18 +86,18 @@ def test_sha512_hex(inp: bytes, expected: bytes):
8686 (
8787 b"The quick brown fox jumps over the lazy dog." ,
8888 (
89- b"\x91 \xEA \x12 E\xF2 \r F\xAE \x9A \x03 z\x98 \x9F T \xF1 \xF7 \x90 \xF0 \xA4 v \a "
90- b"\xEE \xB8 \xA1 M \x12 \x89 \f \xEA w \xA1 \xBB \xC6 \xC7 \xED \x9C \xF2 \x05 \xE6 {"
91- b"\x7F + \x8F \xD4 \xC7 \xDF \xD3 \xA7 \xA8 a ~E\xF3 \xC4 c \xD4 \x81 \xC7 \xE5 \x86 "
92- b"\xC3 \x9A \xC1 \xED "
89+ b"\x91 \xea \x12 E\xf2 \r F\xae \x9a \x03 z\x98 \x9f T \xf1 \xf7 \x90 \xf0 \xa4 v \a "
90+ b"\xee \xb8 \xa1 M \x12 \x89 \f \xea w \xa1 \xbb \xc6 \xc7 \xed \x9c \xf2 \x05 \xe6 {"
91+ b"\x7f + \x8f \xd4 \xc7 \xdf \xd3 \xa7 \xa8 a ~E\xf3 \xc4 c \xd4 \x81 \xc7 \xe5 \x86 "
92+ b"\xc3 \x9a \xc1 \xed "
9393 ),
9494 ),
9595 (
9696 b"" ,
9797 (
98- b"\xCF \x83 \xE1 5~ \xEF \xB8 \xBD \xF1 T (P\xD6 m \x80 \a \xD6 \xE4 \x05 \v W\x15 "
99- b"\xDC \x83 \xF4 \xA9 ! \xD3 l \xE9 \xCE G \xD0 \xD1 <]\x85 \xF2 \xB0 \xFF \x83 \x18 "
100- b"\xD2 \x87 ~\xEC /c\xB9 1 \xBD GAz \x81 \xA5 82z \xF9 ' \xDA >"
98+ b"\xcf \x83 \xe1 5~ \xef \xb8 \xbd \xf1 T (P\xd6 m \x80 \a \xd6 \xe4 \x05 \v W\x15 "
99+ b"\xdc \x83 \xf4 \xa9 ! \xd3 l \xe9 \xce G \xd0 \xd1 <]\x85 \xf2 \xb0 \xff \x83 \x18 "
100+ b"\xd2 \x87 ~\xec /c\xb9 1 \xbd GAz \x81 \xa5 82z \xf9 ' \xda >"
101101 ),
102102 ),
103103 ],
You can’t perform that action at this time.
0 commit comments