<commit_before><required>
aes
serpent
threefish
chacha

sha2_32
sha2_64
blake2
skein
keccak
sha3

gcm
ocb
chacha20poly1305
shake_cipher

kdf2
hkdf
cmac
hmac
poly1305
siphash

pbkdf2
bcrypt
compression

# required for private key encryption
pbes2

curve25519
ecdh
ecdsa
rsa
rfc6979

eme_oaep
emsa_pssr
emsa1

auto_rng
hmac_drbg

ffi
</required>

<if_available>
tls
prf_tls

clmul
locking_allocator

aes_ni
aes_ssse3
serpent_simd
threefish_avx2

simd

rdrand_rng
system_rng

# entropy sources
beos_stats
cryptoapi_rng
darwin_secrandom
dev_random
proc_walk
rdrand
rdseed
win32_stats
</if_available>

<prohibited>
cast
des
gost_28147
idea
idea_sse2
kasumi
lion
misty1
rc4
seed
xtea

cbc_mac
x919_mac<commit_msg>Update modern policy: Add NewHope, SQL, ChaCha20 SSE2. Prohibit TLS-CBC<commit_after><required>
aes
serpent
threefish
chacha

sha2_32
sha2_64
blake2
skein
keccak
sha3

gcm
ocb
chacha20poly1305

kdf2
hkdf
cmac
hmac
poly1305
siphash

pbkdf2
bcrypt
compression

# required for private key encryption
pbes2

curve25519
ecdh
ecdsa
rsa
rfc6979

eme_oaep
emsa_pssr
emsa1

auto_rng
hmac_drbg

ffi
</required>

<if_available>
tls
prf_tls
newhope

clmul
locking_allocator

aes_ni
aes_ssse3
serpent_simd
threefish_avx2
chacha_sse2

simd

sessions_sql
certstor_sql

rdrand_rng
system_rng

# entropy sources
beos_stats
cryptoapi_rng
darwin_secrandom
dev_random
proc_walk
rdrand
rdseed
win32_stats
</if_available>

<prohibited>
# Just say no to TLS 1.0
tls_cbc

cast
des
gost_28147
idea
idea_sse2
kasumi
lion
misty1
rc4
seed
xtea

cbc_mac
x919_mac
{'fraction_non_alphanumeric': 0.026623376623376622, 'fraction_numerical': 0.06363636363636363, 'mean_word_length': 5.879464285714286, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4311109', 'n_tokens_mistral': 789, 'n_tokens_neox': 721, 'n_words': 176}