Closed
Conversation
This commit adds a checkIsArrayBufferView function to avoid some code duplication in sig.js
Contributor
Author
bnoordhuis
approved these changes
Apr 24, 2018
Member
bnoordhuis
left a comment
There was a problem hiding this comment.
I was just looking at that today; you can extend it to pbkdf2.js as well.
One suggestion: I'd pass the name as the first argument, that's more consistent with other validators (I think.)
joyeecheung
approved these changes
Apr 24, 2018
tniessen
approved these changes
Apr 24, 2018
cjihrig
approved these changes
Apr 24, 2018
trivikr
approved these changes
Apr 24, 2018
jasnell
approved these changes
Apr 24, 2018
TimothyGu
approved these changes
Apr 24, 2018
RatoX
approved these changes
Apr 24, 2018
RodolfoSilva
approved these changes
Apr 24, 2018
Contributor
Author
Ah great, I'll take a look at
Sounds good, I'll update that. Thanks |
This commit moves checkIsArrayBufferView to crypto/util to allow it to be used by other modules in crypto.
This commit updates pbkdf2 to use checkIsArrayBufferView from internal/crypto/util.
Contributor
Author
bnoordhuis
approved these changes
Apr 25, 2018
Contributor
Author
danbev
added a commit
that referenced
this pull request
Apr 26, 2018
This commit adds a checkIsArrayBufferView function to avoid some code duplication in sig.js PR-URL: #20251 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
danbev
added a commit
that referenced
this pull request
Apr 26, 2018
This commit updates pbkdf2 to use checkIsArrayBufferView from internal/crypto/util. PR-URL: #20251 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
May 4, 2018
This commit adds a checkIsArrayBufferView function to avoid some code duplication in sig.js PR-URL: #20251 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
MylesBorins
pushed a commit
that referenced
this pull request
May 4, 2018
This commit updates pbkdf2 to use checkIsArrayBufferView from internal/crypto/util. PR-URL: #20251 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds a checkIsArrayBufferView function to avoid some code
duplication in sig.js
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes