Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 2190123002: Fixup crypto key generation. (Closed)

Created:
4 years, 4 months ago by dsinclair
Modified:
4 years, 4 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fixup crypto key generation. This CL fixes up the crypto key copying code to better handle big endian machines. BUG=pdfium:147 Committed: https://pdfium.googlesource.com/pdfium/+/0690c35fec9c320bdc69b4a8678677fe143cee54

Patch Set 1 #

Total comments: 2

Patch Set 2 : Key helper #

Total comments: 2

Patch Set 3 : Out param last #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -11 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp View 1 2 4 chunks +16 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
dsinclair
PTAL. I went back through the history, but the weird merge has been in there ...
4 years, 4 months ago (2016-07-28 20:40:25 UTC) #4
Tom Sepez
https://codereview.chromium.org/2190123002/diff/1/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp File core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp (right): https://codereview.chromium.org/2190123002/diff/1/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp#newcode30 core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp:30: uint8_t key1[32]; can we pull this into a helper ...
4 years, 4 months ago (2016-07-28 20:46:22 UTC) #5
dsinclair
https://codereview.chromium.org/2190123002/diff/1/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp File core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp (right): https://codereview.chromium.org/2190123002/diff/1/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp#newcode30 core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp:30: uint8_t key1[32]; On 2016/07/28 20:46:22, Tom Sepez wrote: > ...
4 years, 4 months ago (2016-07-28 20:55:23 UTC) #6
Tom Sepez
lgtm https://codereview.chromium.org/2190123002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h File core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h (right): https://codereview.chromium.org/2190123002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h#newcode67 core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h:67: void PopulateKey(uint8_t* key, uint32_t objnum, uint32_t gennum); super-nit: ...
4 years, 4 months ago (2016-07-28 20:56:59 UTC) #7
dsinclair
https://codereview.chromium.org/2190123002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h File core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h (right): https://codereview.chromium.org/2190123002/diff/20001/core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h#newcode67 core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h:67: void PopulateKey(uint8_t* key, uint32_t objnum, uint32_t gennum); On 2016/07/28 ...
4 years, 4 months ago (2016-08-02 17:34:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2190123002/40001
4 years, 4 months ago (2016-08-02 17:34:39 UTC) #11
commit-bot: I haz the power
4 years, 4 months ago (2016-08-02 17:48:34 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/0690c35fec9c320bdc69b4a8678677fe143c...

Powered by Google App Engine
This is Rietveld 408576698