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

Side by Side Diff: public/platform/WebCryptoAlgorithm.h

Issue 111603004: [webcrypto] Add AES-KW to the list of registered algorithms. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/modules/crypto/NormalizeAlgorithm.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 WebCryptoAlgorithmIdRsaSsaPkcs1v1_5, 46 WebCryptoAlgorithmIdRsaSsaPkcs1v1_5,
47 WebCryptoAlgorithmIdRsaEsPkcs1v1_5, 47 WebCryptoAlgorithmIdRsaEsPkcs1v1_5,
48 WebCryptoAlgorithmIdSha1, 48 WebCryptoAlgorithmIdSha1,
49 WebCryptoAlgorithmIdSha224, 49 WebCryptoAlgorithmIdSha224,
50 WebCryptoAlgorithmIdSha256, 50 WebCryptoAlgorithmIdSha256,
51 WebCryptoAlgorithmIdSha384, 51 WebCryptoAlgorithmIdSha384,
52 WebCryptoAlgorithmIdSha512, 52 WebCryptoAlgorithmIdSha512,
53 WebCryptoAlgorithmIdAesGcm, 53 WebCryptoAlgorithmIdAesGcm,
54 WebCryptoAlgorithmIdRsaOaep, 54 WebCryptoAlgorithmIdRsaOaep,
55 WebCryptoAlgorithmIdAesCtr, 55 WebCryptoAlgorithmIdAesCtr,
56 WebCryptoAlgorithmIdAesKw,
56 #if INSIDE_BLINK 57 #if INSIDE_BLINK
57 NumberOfWebCryptoAlgorithmId, 58 NumberOfWebCryptoAlgorithmId,
58 #endif 59 #endif
59 }; 60 };
60 61
61 enum WebCryptoAlgorithmParamsType { 62 enum WebCryptoAlgorithmParamsType {
62 WebCryptoAlgorithmParamsTypeNone, 63 WebCryptoAlgorithmParamsTypeNone,
63 WebCryptoAlgorithmParamsTypeAesCbcParams, 64 WebCryptoAlgorithmParamsTypeAesCbcParams,
64 WebCryptoAlgorithmParamsTypeAesKeyGenParams, 65 WebCryptoAlgorithmParamsTypeAesKeyGenParams,
65 WebCryptoAlgorithmParamsTypeHmacParams, 66 WebCryptoAlgorithmParamsTypeHmacParams,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 private: 132 private:
132 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other); 133 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other);
133 BLINK_PLATFORM_EXPORT void reset(); 134 BLINK_PLATFORM_EXPORT void reset();
134 135
135 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private; 136 WebPrivatePtr<WebCryptoAlgorithmPrivate> m_private;
136 }; 137 };
137 138
138 } // namespace blink 139 } // namespace blink
139 140
140 #endif 141 #endif
OLDNEW
« no previous file with comments | « Source/modules/crypto/NormalizeAlgorithm.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698