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

Side by Side Diff: components/webcrypto/algorithms/aes.cc

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « components/webcrypto/algorithms/aes.h ('k') | components/webcrypto/algorithms/aes_cbc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/webcrypto/algorithms/aes.h" 5 #include "components/webcrypto/algorithms/aes.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "components/webcrypto/algorithms/secret_key_util.h" 10 #include "components/webcrypto/algorithms/secret_key_util.h"
9 #include "components/webcrypto/blink_key_handle.h" 11 #include "components/webcrypto/blink_key_handle.h"
10 #include "components/webcrypto/crypto_data.h" 12 #include "components/webcrypto/crypto_data.h"
11 #include "components/webcrypto/jwk.h" 13 #include "components/webcrypto/jwk.h"
12 #include "components/webcrypto/status.h" 14 #include "components/webcrypto/status.h"
13 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h" 15 #include "third_party/WebKit/public/platform/WebCryptoAlgorithmParams.h"
14 #include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h" 16 #include "third_party/WebKit/public/platform/WebCryptoKeyAlgorithm.h"
15 17
16 namespace webcrypto { 18 namespace webcrypto {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 return Status::Success(); 188 return Status::Success();
187 189
188 // 192-bit AES is intentionally unsupported (http://crbug.com/533699). 190 // 192-bit AES is intentionally unsupported (http://crbug.com/533699).
189 if (*length_bits == 192) 191 if (*length_bits == 192)
190 return Status::ErrorAes192BitUnsupported(); 192 return Status::ErrorAes192BitUnsupported();
191 193
192 return Status::ErrorGetAesKeyLength(); 194 return Status::ErrorGetAesKeyLength();
193 } 195 }
194 196
195 } // namespace webcrypto 197 } // namespace webcrypto
OLDNEW
« no previous file with comments | « components/webcrypto/algorithms/aes.h ('k') | components/webcrypto/algorithms/aes_cbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698