|
[refactor] More post-NSS WebCrypto cleanups (utility functions).
Started gutting webcrypto_util.{cc,h} and util_openssl.{cc,h}. (I want to eventually kill both of these files, or at least make them rational)
The main reason for webcrypto_util.cc was to share functionality between OpenSSL and NSS versions of algorithms.
With NSS gone, many of these functions can be moved to the single file that uses them.
util_openssl.cc is also a poorly scoped file, and the "openssl" distinction is no longer helpful. I started by splitting out the symmetric key specific stuff, and will find homes for the rest in follow-ups.
Committed: https://crrev.com/d72073d80760cd7cfc41075d3b18ac59b30757d3
Cr-Commit-Position: refs/heads/master@{#349834}
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+309 lines, -320 lines) |
Patch |
 |
M |
components/webcrypto/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/aes.cc
|
View
|
1
|
5 chunks |
+30 lines, -11 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/aes_gcm.cc
|
View
|
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/hkdf.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/hmac.cc
|
View
|
1
2
|
5 chunks |
+75 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/pbkdf2.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
components/webcrypto/algorithms/secret_key_util.h
|
View
|
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/webcrypto/algorithms/secret_key_util.cc
|
View
|
1
2
|
1 chunk |
+84 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/test_helpers.h
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/test_helpers.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/util_openssl.h
|
View
|
|
2 chunks |
+1 line, -20 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/algorithms/util_openssl.cc
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/jwk.h
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/jwk.cc
|
View
|
|
1 chunk |
+0 lines, -29 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/webcrypto.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/webcrypto_util.h
|
View
|
|
4 chunks |
+4 lines, -37 lines |
0 comments
|
Download
|
 |
M |
components/webcrypto/webcrypto_util.cc
|
View
|
1
2
|
5 chunks |
+0 lines, -156 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 9 (3 generated)
|