Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
JusicP 940d664def Add thirdparty libs 4 years ago
..
Readme.txt Add thirdparty libs 4 years ago
aead.txt Add thirdparty libs 4 years ago
aes.txt Add thirdparty libs 4 years ago
all.txt Add thirdparty libs 4 years ago
aria.txt Add thirdparty libs 4 years ago
blake2.txt Add thirdparty libs 4 years ago
blake2b.txt Add thirdparty libs 4 years ago
blake2s.txt Add thirdparty libs 4 years ago
camellia.txt Add thirdparty libs 4 years ago
ccm.txt Add thirdparty libs 4 years ago
chacha.txt Add thirdparty libs 4 years ago
chacha20poly1305.txt Add thirdparty libs 4 years ago
chacha_tls.txt Add thirdparty libs 4 years ago
cham.txt Add thirdparty libs 4 years ago
cmac.txt Add thirdparty libs 4 years ago
dlies.txt Add thirdparty libs 4 years ago
dsa.txt Add thirdparty libs 4 years ago
dsa_1363.txt Add thirdparty libs 4 years ago
dsa_rfc6979.txt Add thirdparty libs 4 years ago
eax.txt Add thirdparty libs 4 years ago
esign.txt Add thirdparty libs 4 years ago
gcm.txt Add thirdparty libs 4 years ago
hc128.txt Add thirdparty libs 4 years ago
hc256.txt Add thirdparty libs 4 years ago
hight.txt Add thirdparty libs 4 years ago
hkdf.txt Add thirdparty libs 4 years ago
hmac.txt Add thirdparty libs 4 years ago
kalyna.txt Add thirdparty libs 4 years ago
keccak.txt Add thirdparty libs 4 years ago
lea.txt Add thirdparty libs 4 years ago
mars.txt Add thirdparty libs 4 years ago
nr.txt Add thirdparty libs 4 years ago
ocb.txt Add thirdparty libs 4 years ago
panama.txt Add thirdparty libs 4 years ago
poly1305_tls.txt Add thirdparty libs 4 years ago
poly1305aes.txt Add thirdparty libs 4 years ago
rabbit.txt Add thirdparty libs 4 years ago
rsa_oaep.txt Add thirdparty libs 4 years ago
rsa_pkcs1_1_5.txt Add thirdparty libs 4 years ago
rsa_pss.txt Add thirdparty libs 4 years ago
rw.txt Add thirdparty libs 4 years ago
salsa.txt Add thirdparty libs 4 years ago
seal.txt Add thirdparty libs 4 years ago
seed.txt Add thirdparty libs 4 years ago
sha.txt Add thirdparty libs 4 years ago
sha1_160_fips_180.txt Add thirdparty libs 4 years ago
sha1_fips_180.txt Add thirdparty libs 4 years ago
sha2.txt Add thirdparty libs 4 years ago
sha2_224_fips_180.txt Add thirdparty libs 4 years ago
sha2_256_fips_180.txt Add thirdparty libs 4 years ago
sha2_384_fips_180.txt Add thirdparty libs 4 years ago
sha2_512_fips_180.txt Add thirdparty libs 4 years ago
sha2_fips_180.txt Add thirdparty libs 4 years ago
sha3.txt Add thirdparty libs 4 years ago
sha3_224_fips_202.txt Add thirdparty libs 4 years ago
sha3_256_fips_202.txt Add thirdparty libs 4 years ago
sha3_384_fips_202.txt Add thirdparty libs 4 years ago
sha3_512_fips_202.txt Add thirdparty libs 4 years ago
sha3_fips_202.txt Add thirdparty libs 4 years ago
shacal2.txt Add thirdparty libs 4 years ago
shake.txt Add thirdparty libs 4 years ago
simeck.txt Add thirdparty libs 4 years ago
simon.txt Add thirdparty libs 4 years ago
siphash.txt Add thirdparty libs 4 years ago
skipjack.txt Add thirdparty libs 4 years ago
sm3.txt Add thirdparty libs 4 years ago
sm4.txt Add thirdparty libs 4 years ago
sosemanuk.txt Add thirdparty libs 4 years ago
speck.txt Add thirdparty libs 4 years ago
tea.txt Add thirdparty libs 4 years ago
threefish.txt Add thirdparty libs 4 years ago
ttmac.txt Add thirdparty libs 4 years ago
vmac.txt Add thirdparty libs 4 years ago
wake.txt Add thirdparty libs 4 years ago
whrlpool.txt Add thirdparty libs 4 years ago
xchacha.txt Add thirdparty libs 4 years ago
xts.txt Add thirdparty libs 4 years ago

Readme.txt

Test Data Format

================

A test data file is an ASCII text file composed of sections separated by
blank lines. Each section is stand-alone and independent of other
sections that may be in the same file, and contains one or more tests.

A section is composed of a sequence of fields. Each field is one or more
lines composed of a field name, followed by a colon (":"), followed by a
field body. All but the last line of a field must end with a backslash
("\"). If any line contains a hash mark ("#"), the hash mark and
everything after it on the same line is not considered part of the field
body.

Each section must contain fields named AlgorithmType, Name, Source, and
Test. The presence and semantics of other fields depend on the algorithm
being tested and the tests to be run.

Each section may contain more than one test and therefore more than one
field named Test. In that case the order of the fields is significant. A
test should always use the last field with any given name that occurs
before the Test field.

Data Types
==========

signed int - small integer (less than 2^32) in decimal representation
unsigned long - large integer (less than 2^64) convertible by strtoul or strtoull
string - human readable string
encoded string - can be one of the following
- quoted string: "message" means "message" without the quotes
or terminating '\0'
- hex encoded string: 0x74657374 or 74657374 means "test"
- repeated string: r100 "message" to repeat "message" 100 times, or
r256 0x0011 to repeat 0x0011 256 times

Field Types
===========

AlgorithmType - string, for example "Signature", "AsymmetricCipher",
"SymmetricCipher", "MAC", "MessageDigest", or "KeyFactory"
Name - string, an algorithm name from SCAN
Test - string, identifies the test to run
Source - string, text explaining where the test data came from
Comment - string, other comments about the test data
KeyFormat - string, specifies the key format. "Component" here means
each component of the key or key pair is specified separately as a name,
value pair, with the names depending on the algorithm being tested.
Otherwise the value names "Key", or "PublicKey" and "PrivateKey" are
used.
Key - encoded string
PublicKey - encoded string
PrivateKey - encoded string
Modulus - the modulus when KeyFormat=Component
SubgroupOrder - the subgroup order when KeyFormat=Component
SubgroupGenerator - the subgroup generator when KeyFormat=Component
PublicElement - the public element when KeyFormat=Component
PrivateExponent - the private exponent when KeyFormat=Component
Message - encoded string, message to be signed or verified
Signature - encoded string, signature to be verified or compared with
BlockSize - encoded string, block size for vaiable block ciphers
Plaintext - encoded string
Ciphertext - encoded string
Header - encoded string
Footer - encoded string
Secret - encoded string, used by some key derivation functions
DerivedKey - encoded string
DerivedLength - encoded string
Digest - encoded string
TruncatedSize - int, size of truncated digest in bytes
Seek - int, seek location for random access ciphers
Seek64 - unsigned long, seek location for random access ciphers
(more to come here)

Possible Tests
==============

KeyPairValidAndConsistent - public and private keys are both valid and
consistent with each other
PublicKeyInvalid - public key validation should not pass
PrivateKeyInvalid - private key validation should not pass
Verify - signature/digest/MAC verification should pass
VerifyTruncated - truncated digest/MAC verification should pass
NotVerify - signature/digest/MAC verification should not pass
DeterministicSign - sign message using given seed, and the resulting
signature should equal the given signature
Encrypt - plaintext encrypts to ciphertext
DecryptMatch - ciphertext decrypts to plaintext
(more to come here)