aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives
Commit message (Collapse)AuthorAgeFilesLines
* Add the FIPS 186-3 DSA test vectorsAlex Stapleton2014-03-028-0/+16063
| | | | http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-3dsatestvectors.zip
* Add NIST FIPS 186-2 DSA test vectorsAlex Stapleton2014-03-028-0/+545
| | | | http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-2dsatestvectors.zip
* Plaintext DSA test keys from GnuTLSAlex Stapleton2014-03-023-0/+60
| | | | https://gitorious.org/gnutls/gnutls/commit/ad2061deafdd7db78fd405f9d143b0a7c579da7b
* Added vectors for scrypt from the draft RFCAlex Gaynor2014-03-011-0/+38
|
* address some review commentsPaul Kehrer2014-02-261-2/+6
|
* kwargs and class renames to bring verification up to datePaul Kehrer2014-02-251-15/+35
|
* more kwargsPaul Kehrer2014-02-251-1/+4
|
* add RSA verification supportPaul Kehrer2014-02-251-0/+88
|
* Merge pull request #673 from reaperhulk/rsa-pkcs1-signature-onlyAlex Gaynor2014-02-251-0/+80
|\ | | | | Add RSA PKCS1 signing (and structure for PSS + verification)
| * more kwargsPaul Kehrer2014-02-241-1/+5
| |
| * rename PKCS1->PKCS1v15 & UnsupportedAsymmetricPadding->UnsupportedPaddingPaul Kehrer2014-02-241-3/+3
| |
| * incorporate review feedback. kwarg!Paul Kehrer2014-02-231-1/+10
| |
| * keyword argsPaul Kehrer2014-02-231-1/+5
| |
| * fix pep8Paul Kehrer2014-02-231-1/+0
| |
| * some style fixesPaul Kehrer2014-02-231-3/+7
| |
| * add RSA PKCS1 signing (and structure for PSS + verification)Paul Kehrer2014-02-231-0/+60
| |
* | Do some nitpicking cleanup of the twofactor code and documentation.David Reid2014-02-252-2/+0
| |
* | Seperated the totp tests based on different hash typesAyrx2014-02-251-17/+80
| |
* | Fixed documentation based on alexs' comments.Ayrx2014-02-251-0/+8
| |
* | Added documentation for TOTP.Ayrx2014-02-251-0/+1
| |
* | Added TOTP implementation and tests.Ayrx2014-02-252-7/+72
|/
* Unencrypted PKCS8 ECC private keys from BotanAlex Stapleton2014-02-225-0/+40
| | | | https://github.com/randombit/botan/tree/4917f26a2b154e841cd27c1bcecdd41d2bdeb6ce/src/tests/data/ecc
* Private keys from GnuTLS tests/pkcs12_s2k_pem.cAlex Stapleton2014-02-2210-0/+170
| | | | | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs12_s2k_pem.c Part of a regression test in GnuTLS for a PKCS#12 parsing bug http://thread.gmane.org/gmane.network.gnutls.general/1663 Password is "123456" for all of them.
* Encrypted RSA private key from GnuTLS testsAlex Stapleton2014-02-221-0/+40
| | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs8-decode/enc2pkcs8.pem Password is "baz"
* Unencrypted RSA private key from GnuTLS testsAlex Stapleton2014-02-221-0/+79
| | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs8-decode/unencpkcs8.pem There is no password.
* Encrypted PKCS8 RSA key From the GnuTLS test suiteAlex Stapleton2014-02-221-0/+38
| | | | | | https://gitorious.org/gnutls/gnutls/source/f8d943b38bf74eaaa11d396112daf43cb8aa82ae:tests/pkcs8-decode/encpkcs8.pem Password is "foobar"
* Fixed HOTP test path, added changelog and myself to author list.Ayrx2014-02-211-1/+1
|
* Changed module name from otp to twofactor.Ayrx2014-02-212-1/+1
|
* Final changes to module namesAyrx2014-02-212-0/+83
|
* Add OpenSSL PEM vector docsAlex Stapleton2014-02-194-0/+0
|
* Add GnuTLS OpenSSL compatibility test keysAlex Stapleton2014-02-192-0/+24
| | | | | | | | key1.pem is encrypted with the password `123456` key2.pem is encrypted with the password `a123456` From commit GnuTLS commit f16ef39ef0303b02d7fa590a37820440c466ce8d
* Add testrsa.pem from the OpenSSL repoAlex Stapleton2014-02-192-0/+21
| | | | | | | | | | | Found in test/testrsa.pem. Has been around since the SSLeay fork. testrsa-encrypted.pem was encrypted with AES128 using OpenSSL 1.0.1e-3ubuntu1.1 under the password `password`. The command used was: openssl rsa -in testrsa.pem -out testrsa-encrypted.pem -aes128
* Explicitly pass the key parameters instead of using **kwargs. Now we don't ↵David Reid2014-02-191-3/+14
| | | | have to pop some stuff.
* Merge pull request #636 from reaperhulk/rsa-signature-loaderDavid Reid2014-02-191-0/+1
|\ | | | | Expand PKCS1 loader to load PKCS1 v1.5 and PSS signature examples
| * fix rsa key loader testPaul Kehrer2014-02-171-0/+1
| |
* | Fixed TOTP test vectors.Ayrx2014-02-182-12/+12
|/
* name things the right name for varietyPaul Kehrer2014-02-161-1/+1
|
* add CAST5 CTR support to commoncrypto + testsPaul Kehrer2014-02-161-0/+17
|
* Merge pull request #626 from reaperhulk/cast5-ctr-vectorsAlex Gaynor2014-02-161-0/+22
|\ | | | | CAST5 CTR vectors
| * add origin header to cast5-ctr test vectorsPaul Kehrer2014-02-161-1/+5
| |
| * add CAST5 CTR vectors (built from AES CTR vectors)Paul Kehrer2014-02-161-0/+18
| |
* | reformat camellia cfb, ofb, cbc vectors to NIST layoutPaul Kehrer2014-02-164-98/+241
|/ | | | + remove duplicate tests
* Reformat AES CTR vectors to use NIST loader & document their source properlyPaul Kehrer2014-02-154-16/+64
|
* switch to more compact modular multiplicative inversePaul Kehrer2014-02-141-27/+11
|
* python3 compatibility is goodPaul Kehrer2014-02-141-1/+1
|
* add egcd and modinv unit testsPaul Kehrer2014-02-141-0/+36
|
* Merge branch 'master' into add-crt-coefficientsPaul Kehrer2014-02-132-1/+106
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Also clean up this syntax Fixed a missing word in the RSA docs Fix comments in padding.py to be accurate add versionadded to cast5 A few style nits in the docs add CAST5 support to changelog Changed .... lines to ~~~~ and s/Gnu\/Linux/Linux/ Pypy is not a real word either apparently. Added Pypy note and fixed libffi's "spelling" Added Debian mention, extra missing packages Added a docs section on Linux installation remove some extra linebreaks add cast5 docs Syntax highlight the go code. Be mad Rob Pike. add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & cc re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417 Switch this to a warning block Be clear about HKDF's applicability for password storage Conflicts: docs/hazmat/primitives/rsa.rst
| * add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & ccPaul Kehrer2014-02-121-1/+52
| | | | | | | | fixes #393
| * re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417Paul Kehrer2014-02-122-1/+55
| |
* | expose dmp1, dmq1, iqmp getters on RSAPrivateKeyPaul Kehrer2014-02-131-3/+3
| |