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

Unified Diff: content/child/webcrypto/nss/aes_key_nss.cc

Issue 404733005: Replace uses of uint8 with uint8_t. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/webcrypto/nss/aes_key_nss.h ('k') | content/child/webcrypto/nss/aes_kw_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/nss/aes_key_nss.cc
diff --git a/content/child/webcrypto/nss/aes_key_nss.cc b/content/child/webcrypto/nss/aes_key_nss.cc
index a5ee9338a02d4eb017b4c3bd886465baca61b71d..a4a742a1d2c0745ca8fb091c5b2336604f5be15c 100644
--- a/content/child/webcrypto/nss/aes_key_nss.cc
+++ b/content/child/webcrypto/nss/aes_key_nss.cc
@@ -102,7 +102,7 @@ Status AesAlgorithm::ImportKeyJwk(const CryptoData& key_data,
bool extractable,
blink::WebCryptoKeyUsageMask usage_mask,
blink::WebCryptoKey* key) const {
- std::vector<uint8> raw_data;
+ std::vector<uint8_t> raw_data;
Status status = ReadAesSecretKeyJwk(
key_data, jwk_suffix_, extractable, usage_mask, &raw_data);
if (status.IsError())
@@ -113,15 +113,15 @@ Status AesAlgorithm::ImportKeyJwk(const CryptoData& key_data,
}
Status AesAlgorithm::ExportKeyRaw(const blink::WebCryptoKey& key,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
*buffer = SymKeyNss::Cast(key)->raw_key_data();
return Status::Success();
}
Status AesAlgorithm::ExportKeyJwk(const blink::WebCryptoKey& key,
- std::vector<uint8>* buffer) const {
+ std::vector<uint8_t>* buffer) const {
SymKeyNss* sym_key = SymKeyNss::Cast(key);
- const std::vector<uint8>& raw_data = sym_key->raw_key_data();
+ const std::vector<uint8_t>& raw_data = sym_key->raw_key_data();
WriteSecretKeyJwk(CryptoData(raw_data),
MakeJwkAesAlgorithmName(jwk_suffix_, raw_data.size()),
« no previous file with comments | « content/child/webcrypto/nss/aes_key_nss.h ('k') | content/child/webcrypto/nss/aes_kw_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698