Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cryptography
/
b60b8dd64513411f945da5af5f4f6eaa4330827b
/
tests
/
utils.py
b60b8dd
remove some more branching in the vector loaders
by Paul Kehrer
· 9 years ago
50ebb48
fixed tests
by Alex Gaynor
· 9 years ago
be28a24
Improved coverage for tests, handle multiple pytest.mark.supported decorators on one function
by Alex Gaynor
· 9 years ago
0fe7db6
fix
by Alex Gaynor
· 9 years ago
ece3872
Simplified code in the test loaders and improved branch coverage in the x509 tests
by Alex Gaynor
· 9 years ago
83e563e
Modify ECDH Test vector loader for KDF vectors
by Simo Sorce
· 10 years ago
18bba84
Merge pull request #1876 from simo5/ECDH
by Paul Kehrer
· 10 years ago
f6a1cf6
Support loading of SECP256K1 vectors
by Alex Stapleton
· 10 years ago
917addb
Add loader for ECDH test vectors
by Simo Sorce
· 10 years ago
e0a879f
Fixed new flake8 warnings from teh latest version
by Alex Gaynor
· 10 years ago
aa7daca
add encode_rfc6979_signature and refactor tests to use it
by Paul Kehrer
· 10 years ago
fdae070
alter vector file loader to support passing read mode
by Paul Kehrer
· 10 years ago
5951f46
Update the license header for every source file, as well as the documentation.
by Alex Gaynor
· 10 years ago
902d8cf
move skip_if_empty to separate function for test coverage
by Paul Kehrer
· 10 years ago
f93d824
filter backends during initial generation to elide tests entirely
by Paul Kehrer
· 10 years ago
7aab8b4
Change how we represented that a test requires a backend.
by Alex Gaynor
· 10 years ago
839c09d
KASVS vector loader
by Alex Stapleton
· 10 years ago
a409ae1
we should use der rather than ber
by Paul Kehrer
· 11 years ago
14951f4
rename dss_sig_value -> der_encode_dsa_signature
by Paul Kehrer
· 11 years ago
d0dc6a3
make DSSSigValue class private
by Paul Kehrer
· 11 years ago
d3e3df9
use pyasn1 for creating the dss-sig-value structure
by Paul Kehrer
· 11 years ago
3fc686e
dss_sig_value: Pure python conversion of (r, s) to byte stream
by Paul Kehrer
· 11 years ago
7ef2f8f
fix a coverage miss in the dsa sig vector loader
by Paul Kehrer
· 11 years ago
3c9e158
Modify DSA SigVer loader to be able to load SigGen vectors
by Mohammed Attia
· 11 years ago
0fb5d85
Add DSA SigVer vectors loader
by Mohammed Attia
· 11 years ago
707b008
Fix pep8 errors for latest import linter
by Alex Stapleton
· 11 years ago
99eff9f
Merge pull request #939 from public/ecdsa-sigver-rsp
by Paul Kehrer
· 11 years ago
44fe82d
This one curve is still named wrong
by Alex Stapleton
· 11 years ago
6f72949
SigVer.rsp loading
by Alex Stapleton
· 11 years ago
39e300f
Fix bad NIST <-> SECG curve name map
by Alex Stapleton
· 11 years ago
c387cf7
ECDSA SigGen.{txt,rsp} vector loader
by Alex Stapleton
· 11 years ago
cf04860
ECDSA vector loader
by Alex Stapleton
· 11 years ago
07c4dcc
Some cleanups to imports
by Alex Gaynor
· 11 years ago
3fe9150
expand pkcs1 loader to support OAEP as well
by Paul Kehrer
· 11 years ago
85a791f
Pain the bikeshed a different colour
by Alex Stapleton
· 11 years ago
5e4c8c3
Fixes to @alex's comments
by Alex Stapleton
· 11 years ago
112963e
Address most of my own comments
by Alex Stapleton
· 11 years ago
7a489db
Fixed #809 -- switch back to always using UnsupportedAlgorithm
by Alex Gaynor
· 11 years ago
a39a319
Move cryptography.vectors to cryptography_vectors
by Alex Stapleton
· 11 years ago
68e77c7
Load vectors from cryptography.vectors
by Matthew Iversen
· 11 years ago
90450f3
a few small fixes
by Paul Kehrer
· 11 years ago
afc1ccd
import order fixes for future automated checking
by Paul Kehrer
· 11 years ago
e66f69a
py3 fix
by Paul Kehrer
· 11 years ago
afc2518
another file permutation for rsa nist tested.
by Paul Kehrer
· 11 years ago
62707f1
expand RSA NIST vector loader to support verification vectors as well
by Paul Kehrer
· 11 years ago
dde5933
change rsa nist loader to use strings for algorithm name
by Paul Kehrer
· 11 years ago
49b9259
Change flag to a bool
by Mohammed Attia
· 11 years ago
22ccb87
Remove some of the vectors in the loader test
by Mohammed Attia
· 11 years ago
987cc70
Add loader and loader test for FIPS DSA KeyPair vectors
by Mohammed Attia
· 11 years ago
2f2a206
add FIPS RSA test loader + tests
by Paul Kehrer
· 11 years ago
c37feed
Added future imports and licenses that are missing
by Alex Gaynor
· 11 years ago
2681180
these examples should be bytes to be consistent with other loaders
by Paul Kehrer
· 11 years ago
7d9c306
rename msg -> message in pkcs1 loader
by Paul Kehrer
· 11 years ago
7774a03
fix pep8
by Paul Kehrer
· 11 years ago
efca280
expand pkcs1 loader to load PKCS1 v1.5 and PSS signature examples
by Paul Kehrer
· 11 years ago
d5c9f5a
remove openssl vector loader that is no longer in use
by Paul Kehrer
· 11 years ago
09328bb
add crt coefficients to RSAPrivateKey constructor and update tests
by Paul Kehrer
· 11 years ago
58f27ac
PKCS #1 RSA test vector loader
by Alex Stapleton
· 11 years ago
1050ddf
PBKDF2 support for OpenSSL backend
by Paul Kehrer
· 11 years ago
36e651c
Represent the hash vectors more cleanly
by Alex Gaynor
· 11 years ago
aed9e17
revert fixture decorator for now, switch to append. no more globals
by Paul Kehrer
· 11 years ago
c421e63
modify backend selection to allow multiple backends via comma delimiter
by Paul Kehrer
· 11 years ago
34c075e
support --backend as a pytest flag to limit to one backend for testing
by Paul Kehrer
· 11 years ago
f03334e
backend support check now lists which backend caused the skip
by Paul Kehrer
· 11 years ago
ec49550
change typeerror to valueerror
by Paul Kehrer
· 11 years ago
60fc8da
rename the method to be less horribly named
by Paul Kehrer
· 11 years ago
5a8fdf8
add mark that allows us to do skip tests on backends via decorators
by Paul Kehrer
· 11 years ago
2b3f942
Move stuff around and coverage
by Alex Gaynor
· 11 years ago
749ac5b
simplify nist loader to completely ignore sections
by Paul Kehrer
· 11 years ago
c985dbb
modify nist loader to support multi-line GCM sections
by Paul Kehrer
· 11 years ago
a43b669
GCM loader support
by Paul Kehrer
· 11 years ago
f7f6a9f
Remove separate file loaders and replace with one
by Paul Kehrer
· 11 years ago
d3ce703
Ignore the sections of the NIST files
by Alex Gaynor
· 11 years ago
521c42d
Simplify the code by doing the filtering earlier, rather than later
by Alex Gaynor
· 11 years ago
2b75867
restructure vectors into ciphers/hashes/hmac
by Paul Kehrer
· 11 years ago
1bb8b71
clean up loader and make docs default to hmac sha256
by Paul Kehrer
· 11 years ago
00dd509
address initial review comments
by Paul Kehrer
· 11 years ago
0317b04
HMAC support
by Paul Kehrer
· 11 years ago
f04317a
Move primtives into a hazmat package
by Donald Stufft
· 11 years ago
3359d7e
Test what happens when an invalid line is in the cryptrec vectors
by Donald Stufft
· 11 years ago
87cd0db
update loader and test to handle lines with brackets
by Paul Kehrer
· 11 years ago
69e0652
hash vector loader and tests
by Paul Kehrer
· 11 years ago
016eed1
Ported openssl vector tests
by Alex Gaynor
· 11 years ago
1fe70b1
Start of the great refactoring
by Alex Gaynor
· 11 years ago
e580598
simplify cryptrec loader, improve comments
by Paul Kehrer
· 11 years ago
6b99a1b
remove distinction between encrypt/decrypt in the openssl loader
by Paul Kehrer
· 11 years ago
057b500
simplify and annotate loaders based on review feedback
by Paul Kehrer
· 11 years ago
e58f83e
sort the cryptrec loader dict's items to test reliably
by Paul Kehrer
· 11 years ago
1951bf6
add cryptrec and openssl test vector loaders + tests
by Paul Kehrer
· 11 years ago
f312a5c
Made the load NIST vectors test utility use bytes correctly
by Alex Gaynor
· 11 years ago
9e1a48b
Add a test utility functions to read & process NIST vector files
by Donald Stufft
· 11 years ago