aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [automerger skipped] DO NOT MERGE - ↵android-mainline-11.0.0_r9android-mainline-11.0.0_r8android-mainline-11.0.0_r7android-mainline-11.0.0_r6android-mainline-11.0.0_r5android-mainline-11.0.0_r44android-mainline-11.0.0_r43android-mainline-11.0.0_r42android-mainline-11.0.0_r41android-mainline-11.0.0_r40android-mainline-11.0.0_r4android-mainline-11.0.0_r39android-mainline-11.0.0_r38android-mainline-11.0.0_r37android-mainline-11.0.0_r36android-mainline-11.0.0_r35android-mainline-11.0.0_r34android-mainline-11.0.0_r33android-mainline-11.0.0_r32android-mainline-11.0.0_r31android-mainline-11.0.0_r30android-mainline-11.0.0_r3android-mainline-11.0.0_r29android-mainline-11.0.0_r28android-mainline-11.0.0_r27android-mainline-11.0.0_r26android-mainline-11.0.0_r25android-mainline-11.0.0_r24android-mainline-11.0.0_r23android-mainline-11.0.0_r22android-mainline-11.0.0_r21android-mainline-11.0.0_r20android-mainline-11.0.0_r2android-mainline-11.0.0_r19android-mainline-11.0.0_r18android-mainline-11.0.0_r17android-mainline-11.0.0_r16android-mainline-11.0.0_r15android-mainline-11.0.0_r14android-mainline-11.0.0_r13android-mainline-11.0.0_r12android-mainline-11.0.0_r10android-mainline-11.0.0_r1android-11.0.0_r9android-11.0.0_r8android-11.0.0_r7android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android-11.0.0_r16android-11.0.0_r15android-11.0.0_r14android-11.0.0_r13android-11.0.0_r12android-11.0.0_r11android-11.0.0_r10android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-mainline-tethering-releaseandroid11-mainline-sparse-2021-jan-releaseandroid11-mainline-sparse-2020-dec-releaseandroid11-mainline-releaseandroid11-mainline-permission-releaseandroid11-mainline-os-statsd-releaseandroid11-mainline-networkstack-releaseandroid11-mainline-media-swcodec-releaseandroid11-mainline-media-releaseandroid11-mainline-extservices-releaseandroid11-mainline-documentsui-releaseandroid11-mainline-conscrypt-releaseandroid11-mainline-cellbroadcast-releaseandroid11-mainline-captiveportallogin-releaseandroid11-devandroid11-d2-releaseandroid11-d1-s7-releaseandroid11-d1-s6-releaseandroid11-d1-s5-releaseandroid11-d1-s1-releaseandroid11-d1-releaseandroid11-d1-b-releaseXin Li2019-10-300-0/+0
|\ | | | | | | | | | | | | | | | | qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: 0a934061cf am: e892a62257 -s ours am skip reason: subject contains skip directive Change-Id: I67931cb64b93ee9af0fad6373cb39b4aa78afaa5
| * DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵android-r-preview-4android-r-preview-3android-r-preview-2Xin Li2019-10-300-0/+0
| |\ | | | | | | | | | | | | | | | | | | | | | stage-aosp-master am: 0a934061cf Change-Id: I53d5e1341a3df2970d6a448efef8c37ab3adb44e
| | * DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into ↵android-r-preview-1Xin Li2019-10-300-0/+0
| | |\ | | |/ | |/| | | | | | | | | | | | | stage-aosp-master Bug: 142003500 Change-Id: Ia41e72df732a1f779dd0c4eb0f39a419685e5193
* | | Add in TEST_MAPPING for acloud unittests. am: e9a9eff135 am: 1e870d094f am: ↵Kevin Cheng2019-07-241-0/+8
|\| | | | | | | | | | | | | | | | | | | | | | | 421e37f785 am: d34e731b1f am: 6aa5607fc9 Change-Id: I371d0a37b3179dab5b06c6b49c4bc3f6b0b20040
| * | Add in TEST_MAPPING for acloud unittests. am: e9a9eff135 am: 1e870d094f am: ↵Kevin Cheng2019-07-231-0/+8
| |\| | | | | | | | | | | | | | | | | | | | | | 421e37f785 am: d34e731b1f Change-Id: I051fc93216c4dcf0646d14374ba043239a227697
| | * Add in TEST_MAPPING for acloud unittests. am: e9a9eff135 am: 1e870d094fKevin Cheng2019-07-231-0/+8
| |/| | | | | | | | | | | | | | | | am: 421e37f785 Change-Id: I7a129e16f4f0723f38a4d8bbb8fc39f4236b3b9c
| | * Add in TEST_MAPPING for acloud unittests. am: e9a9eff135Kevin Cheng2019-07-231-0/+8
| |/| | | | | | | | | | | | | | | | am: 1e870d094f Change-Id: I9daf4bdee68553036cd2850c008e3d57b5b6dbc1
| | * Add in TEST_MAPPING for acloud unittests.ndk-sysroot-r21Kevin Cheng2019-07-231-0/+8
| |/| | | | | | | | | | | | | | | | am: e9a9eff135 Change-Id: I71869de7484adf0208b9088ba8aea713e11d601c
| | * Add in TEST_MAPPING for acloud unittests.Kevin Cheng2019-07-231-0/+8
| | | | | | | | | | | | | | | | | | | | | Bug: 124250384 Test: atest Change-Id: I173e66efd8a938d815598b9d844cc34dcff94520
* | | Merge commit '83aa36d' into import am: 4db398a410 am: 6a131d157fKevin Cheng2019-05-092554-0/+1009158
|\| | | | | | | | | | | | | | | | | am: 4db6738c5f Change-Id: If66eea495e7b7282485ad7ced53fecde36995550
| * | Merge commit '83aa36d' into import am: 4db398a410Kevin Cheng2019-05-092554-0/+1009158
|/| | | |/ | | | | | | | | am: 6a131d157f Change-Id: If21a24965fbb719a041ba4a349fc2255381947ca
| * Merge commit '83aa36d' into importKevin Cheng2019-05-092554-0/+1009158
|/| | | | | | | | | | | am: 4db398a410 Change-Id: I0ef0d7788c76a7b575ed25f58fbe9714fbe5038e
| * Merge commit '83aa36d' into importKevin Cheng2019-05-022554-0/+1009158
|/| | | | | | | | | | | | | | | Merged in version 2.5 and add in misc files. Bug: 122778810 Test: None Change-Id: I9c999773d30f4114ab1ce8aa44b27f3aa4ded80c
| * changelog and version bump for 2.5 (#4729)Paul Kehrer2019-01-223-6/+6
| |
| * allow asn1 times of 1950-01-01 and later. (#4728)Paul Kehrer2019-01-225-28/+57
| | | | | | | | | | | | | | | | * allow asn1 times of 1950-01-01 and later. * add a test * pretty up the test
| * allow 32-bit platforms to encode certs with dates > unix epoch (#4727)Paul Kehrer2019-01-212-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we used unix timestamps, but now we are switching to using ASN1_TIME_set_string and automatically formatting the string based on the year. The rule is as follows: Per RFC 5280 (section 4.1.2.5.), the valid input time strings should be encoded with the following rules: 1. UTC: YYMMDDHHMMSSZ, if YY < 50 (20YY) --> UTC: YYMMDDHHMMSSZ 2. UTC: YYMMDDHHMMSSZ, if YY >= 50 (19YY) --> UTC: YYMMDDHHMMSSZ 3. G'd: YYYYMMDDHHMMSSZ, if YYYY >= 2050 --> G'd: YYYYMMDDHHMMSSZ 4. G'd: YYYYMMDDHHMMSSZ, if YYYY < 2050 --> UTC: YYMMDDHHMMSSZ Notably, Dates < 1950 are not valid UTCTime. At the moment we still reject dates < Jan 1, 1970 in all cases but a followup PR can fix that.
| * bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test (#4726)Paul Kehrer2019-01-213-0/+22
| | | | | | | | | | | | | | | | | | | | | | * bind EVP_R_MEMORY_LIMIT_EXCEEDED and update a test This will allow OpenSSL 1.1.1 on 32-bit (including our Windows 32-bit builders) to fail as expected. Technically this isn't a malloc error, but rather failing because the allocation requested is larger than 32-bits, but raising a MemoryError still seems appropriate * what you want an endif too?
| * Updated link to PKCS#3 -- fixes #4671 (#4722)Alex Gaynor2019-01-211-1/+1
| |
| * update jenkinsfile to compile openssl 1.1.1 on windows (#4725)Paul Kehrer2019-01-211-1/+1
| |
| * See if urllib3 tests pass on xenial nowadays (#4724)Alex Gaynor2019-01-211-3/+0
| |
| * Apparently NIST crypto resources are essential to life and property (#4721)Alex Gaynor2019-01-201-2/+0
| |
| * deprecate encode_point and migrate all internal callers (#4720)Paul Kehrer2019-01-206-4/+28
| |
| * add support for encoding compressed points (#4638)Paul Kehrer2019-01-2010-33/+207
| | | | | | | | | | | | * add support for encoding compressed points * review feedback
| * shake128/256 support (#4611)Paul Kehrer2019-01-198-8/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * shake128/256 support * remove block_size * doc an exception * change how we detect XOF by adding _xof attribute * interface! * review feedback
| * expose the ed448 nid (#4717)Paul Kehrer2019-01-191-0/+1
| | | | | | | | we already did all the conditional binding, but forgot to actually expose it.
| * consistently linky RFC in the docs (#4716)Alex Gaynor2019-01-184-9/+8
| | | | | | | | | | | | * consistently linky RFC in the docs * oops
| * Fixed #4700 -- linkify method in changelog (#4715)Alex Gaynor2019-01-181-4/+6
| | | | | | | | | | | | | | | | | | | | * Fixed #4700 -- linkify method in changelog * fixed linkification * oxford comma * line length
| * Bump this way up and see if it helps (#4713)Alex Gaynor2019-01-171-1/+1
| |
| * changelog for byteslike (#4712)Paul Kehrer2019-01-171-0/+3
| | | | | | | | | | | | * changelog for byteslike * bertter prose
| * support byteslike in KBKDFHMAC (#4711)Paul Kehrer2019-01-173-2/+11
| |
| * support byteslike in ConcatKDF{HMAC,Hash}, Scrypt, and X963KDF (#4709)Paul Kehrer2019-01-178-7/+70
| | | | | | | | | | | | | | | | * byteslike concatkdf * byteslike scrypt * byteslike x963kdf
| * support byteslike for OTP (#4710)Paul Kehrer2019-01-173-6/+19
| |
| * normalize KBKDF tests (#4708)Paul Kehrer2019-01-171-38/+37
| |
| * Support byteslike in HKDF and PBKDF2HMAC (#4707)Paul Kehrer2019-01-176-6/+42
| | | | | | | | | | | | | | | | * support byteslike in HKDF * support byteslike in PBKDF2HMAC * add missing docs
| * support bytes-like for X25519PrivateKey.from_private_bytes (#4698)Paul Kehrer2019-01-172-6/+40
| | | | | | yuck.
| * x448 and x25519 should enforce key lengths in backend (#4703)Paul Kehrer2019-01-175-4/+42
| | | | | | | | | | | | | | | | | | | | | | * x448 and x25519 should enforce key lengths in from_private_bytes they should also check if the algorithm is supported like the public bytes class methods do * oops * move the checks
| * support byteslike in hmac update (#4705)Paul Kehrer2019-01-174-4/+6
| | | | | | needed for some KDF keying material
| * support byteslike in hash updates (#4702)Paul Kehrer2019-01-163-2/+17
| | | | | | This is needed to handle keying material in some of the KDFs
| * support bytes-like keys in CMAC and HMAC contexts (#4701)Paul Kehrer2019-01-165-3/+29
| |
| * add support for byteslike password/data to load_{pem,der}_private_key (#4693)Paul Kehrer2019-01-163-7/+58
| | | | | | | | | | | | * add support for byteslike password/data to load_{pem,der}_private_key * pypy 5.4 can't do memoryview from_buffer
| * turn off hypothesis deadlines, enforced by default in 4.0 (#4696)Paul Kehrer2019-01-162-2/+2
| | | | | | | | we don't care about exceeding a deadline in CI because our infra has wild variability and this can just randomly happen.
| * support byteslike in aead for key and nonce (#4695)Paul Kehrer2019-01-154-18/+73
| |
| * support byteslike in X448PrivateKey.from_private_bytes (#4694)Paul Kehrer2019-01-153-2/+16
| |
| * add support for byteslike on password and data for pkcs12 loading (#4690)Paul Kehrer2019-01-153-15/+54
| | | | | | | | | | | | | | | | | | | | | | | | * add support for byteslike on password and data for pkcs12 loading * use a contextmanager to yield a null terminated buffer we can zero * review feedback * updated text * one last change
| * Remove a dead assignment (#4692)Alex Gaynor2019-01-151-1/+0
| |
| * Serialization x25519 (#4688)Paul Kehrer2019-01-1410-21/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modify x25519 serialization to match x448 supports raw and pkcs8 encoding on private_bytes supports raw and subjectpublickeyinfo on public_bytes deprecates zero argument call to public_bytes * add docs * this is public now * don't need that * review feedback
| * Update wycheproof commit in docs (#4687)Alex Gaynor2019-01-131-1/+1
| |
| * add x25519 pkcs8/subjectpublickeyinfo vectors (#4685)Paul Kehrer2019-01-137-0/+19
| |
| * support x448 public/private serialization both raw and pkcs8 (#4653)Paul Kehrer2019-01-1312-21/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support x448 public/private serialization both raw and pkcs8 * add tests for all other asym key types to prevent Raw * more tests * better tests * fix a test * funny story, I'm actually illiterate. * pep8 * require PrivateFormat.Raw or PublicFormat.Raw with Encoding.Raw * missing docs * parametrize * docs fixes * remove dupe line * assert something
| * Fixes #4683 -- fixed linux kernel version that has getrandom (#4684)Alex Gaynor2019-01-123-3/+3
| |