Age | Commit message (Collapse) | Author |
|
Bug: 189946434
Change-Id: I6cdcc935cc593304c3f8e02c123e68499ccc331e
|
|
ours am: 871d5caa01 -s ours am: 0b49fd62b4 -s ours
am skip reason: Change-Id Id3d0f32fd0438f758a360d6fd633483bace49191 with SHA-1 928a6145d2 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I24b94887f0a501ed25a1fc25d010b2e7c03b8c4e
|
|
ours am: 871d5caa01 -s ours am: 0b49fd62b4 -s ours
am skip reason: Change-Id Id3d0f32fd0438f758a360d6fd633483bace49191 with SHA-1 928a6145d2 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I02b0b3b256ff2642000a09aeb1467c19ffb0b59b
|
|
46feb0cc4a am: 6ad342cdd0 am: 080dcb7391
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1588605
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib5a6cf5068c234546d47741a8bd1f7671bbcca74
|
|
46feb0cc4a am: 6ad342cdd0 am: 080dcb7391
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1588605
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8f63fa861aa3fbdaf204f5aa67967167a1f13d80
|
|
ours am: 871d5caa01 -s ours
am skip reason: Change-Id Id3d0f32fd0438f758a360d6fd633483bace49191 with SHA-1 928a6145d2 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I52433025d610e0c80b105fa938f83d3589f82312
|
|
46feb0cc4a am: 6ad342cdd0
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1588605
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I4f5b06dbbce482f44780e15d5b3809b913f378f3
|
|
am skip reason: Change-Id Id3d0f32fd0438f758a360d6fd633483bace49191 with SHA-1 928a6145d2 is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I2c0fb307b0d623f8fabb7d08137bbc3e17e5274b
|
|
Bug: 180401296
Merged-In: Id3d0f32fd0438f758a360d6fd633483bace49191
Change-Id: I7c45854e2a3c17ca8f58fad233ebdb32c81ed3cb
|
|
46feb0cc4a
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1588605
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5382b916abb3d748ff2c4460fb3c3a118e11eaab
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1588605
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I545eaa9aa0e47f03a4f04a6f385198273da67dea
|
|
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
rsa/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I5392dff0e4993e0c7e7197f4e898e3cf40a7f9cc
|
|
b3a9fbc118 am: 298647b5de
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1550098
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I31d0efdcecdb4fa6d0a657a560de9a0e3fcc9375
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1550098
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic071314656b6f3f1f5a91e532826d29995b6db19
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1550098
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6858f1181a41dea6b7e8cf3e8f50c1531e0e2828
|
|
|
|
Not needed anymore.
Exempt-From-Owner-Approval:clean up mapping files
Test: presubmit
Bug: 175408655
Change-Id: I56e73734b7e84375b5ce94800862d13f60b0d601
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1546899
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1b6ee393453bb70b91e046dd769ce5b477efe7e0
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1546899
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic2b832ba5104e62b5b03acf0aecb766365413c20
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1546899
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5a50d248e934af230eed54d603a6671c37bd2d56
|
|
Test: make
Change-Id: I8d6cc19574e2653f9e47ae302efef1672f6bf1a5
|
|
|
|
|
|
Strings need to be encoded into bytes before the RSA module can operate
on them.
|
|
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/13112860
Change-Id: Ieed2c8decec2d4d4455a0af1c5455f6df49574a4
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/13112860
Change-Id: Id3d0f32fd0438f758a360d6fd633483bace49191
|
|
Bug: 172690556
Change-Id: I7f87ae7793df568bb328bf85d78e0647fd2c4274
|
|
Store blinding factor + its inverse, so that they can be reused & updated
on every blinding operation. This avoids expensive computations.
The reuse of the previous blinding factor is done via squaring (mod n), as
per section 9 of 'A Timing Attack against RSA with the Chinese Remainder
Theorem' by Werner Schindler, https://tls.mbed.org/public/WSchindler-RSA_Timing_Attack.pdf
|
|
Crypto length and blocksize are public info, so don't need side-channel
free comparison.
|
|
Use `bytes.find()` instead of `bytes.index()`, as the former doesn't raise
an exception when the to-be-found byte doesn't exist.
|
|
|
|
According to PKCS#1 v1.5, the padding should be at least 8 bytes long.
See https://tools.ietf.org/html/rfc8017#section-7.2.2 step 3 for more info.
|
|
Use as many constant-time comparisons as practical in the
`rsa.pkcs1.decrypt` function.
`cleartext.index(b'\x00', 2)` will still be non-constant-time. The
alternative would be to iterate over all the data byte by byte in
Python, which is several orders of magnitude slower. Given that a
perfect constant-time implementation is very hard or even impossible to
do in Python [1], I chose the more performant option here.
[1]: https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/
|
|
|
|
|
|
a2ea42dc09 -s ours am: 7bba8a8d99 -s ours
am skip reason: Change-Id I6522491932422daded7776509d355156a82e3b92 with SHA-1 b8eae8a9ee is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12796233
Change-Id: I12d16820f196824193a6a211198ccb54a6381b4b
|
|
a2ea42dc09 -s ours
am skip reason: Change-Id I6522491932422daded7776509d355156a82e3b92 with SHA-1 b8eae8a9ee is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12796233
Change-Id: Ic94715c8d6935c381187977831767befa630d1a8
|
|
am skip reason: Change-Id I6522491932422daded7776509d355156a82e3b92 with SHA-1 b8eae8a9ee is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12796233
Change-Id: I0039f122a09db68374822248475ae371f3424d87
|
|
Merged-In: I6522491932422daded7776509d355156a82e3b92
Change-Id: I9598edec8eacec674db0148c370f8d53bb33b997
|
|
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: acd9d0e545 -s ours am: 5361053330 -s ours am: af06ca4cb7 -s ours am: 5e9def0b04 -s ours
am skip reason: Change-Id I0e5a24f47a0f804150c4d7250a07bd1ca58d6f61 with SHA-1 f9c65dc097 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12469933
Change-Id: I3641352b20e9a553cdf6146c7ff5b08e0c91f7f7
|
|
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: acd9d0e545 -s ours am: 5361053330 -s ours am: af06ca4cb7 -s ours
am skip reason: Change-Id I0e5a24f47a0f804150c4d7250a07bd1ca58d6f61 with SHA-1 f9c65dc097 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12469933
Change-Id: If26df6beb19588e7df4efff7fa6e25195df9d8c0
|
|
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: acd9d0e545 -s ours am: 5361053330 -s ours
am skip reason: Change-Id I0e5a24f47a0f804150c4d7250a07bd1ca58d6f61 with SHA-1 f9c65dc097 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12469933
Change-Id: Ia6e9b13abc5ef879e4f0bff831933e2419eb4294
|
|
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: acd9d0e545 -s ours
am skip reason: Change-Id I0e5a24f47a0f804150c4d7250a07bd1ca58d6f61 with SHA-1 f9c65dc097 is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/python/rsa/+/12469933
Change-Id: I08d7062b00b3863c36669d9e464a0cb0006c474c
|
|
Bug: 166295507
Merged-In: I0e5a24f47a0f804150c4d7250a07bd1ca58d6f61
Change-Id: Id34b4ecbf4a5ae356a41d100a963c380b056f7f2
|
|
24f0088831 am: b8eae8a9ee am: 933b43f37a
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1361102
Change-Id: Iccbf1dfd0ed742986e1d66a257d2d3b3da32acf3
|
|
24f0088831 am: b8eae8a9ee
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1361102
Change-Id: Id67d2c3d00bcdc9a9862f7e8a887a19ad62b18d1
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1361102
Change-Id: I6522491932422daded7776509d355156a82e3b92
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1361102
Change-Id: Ib8232e4a1abe822b3204ea2933cfb06ce506f77f
|
|
Original change: https://android-review.googlesource.com/c/platform/external/python/rsa/+/1361102
Change-Id: I8d5472cffe99a2d2f438b6d9e71a0b539eb61681
|