/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebCryptoAlgorithm.cpp | 52 WebCryptoAlgorithm::WebCryptoAlgorithm(WebCryptoAlgorithmId id, PassOwnPtr<WebCryptoAlgorithmParams… in WebCryptoAlgorithm() function in blink::WebCryptoAlgorithm 57 WebCryptoAlgorithm WebCryptoAlgorithm::createNull() in createNull() 59 return WebCryptoAlgorithm(); in createNull() 62 WebCryptoAlgorithm WebCryptoAlgorithm::adoptParamsAndCreate(WebCryptoAlgorithmId id, WebCryptoAlgor… in adoptParamsAndCreate() 64 return WebCryptoAlgorithm(id, adoptPtr(params)); in adoptParamsAndCreate() 67 bool WebCryptoAlgorithm::isNull() const in isNull() 72 WebCryptoAlgorithmId WebCryptoAlgorithm::id() const in id() 78 WebCryptoAlgorithmParamsType WebCryptoAlgorithm::paramsType() const in paramsType() 86 const WebCryptoAesCbcParams* WebCryptoAlgorithm::aesCbcParams() const in aesCbcParams() 94 const WebCryptoAesCtrParams* WebCryptoAlgorithm::aesCtrParams() const in aesCtrParams() [all …]
|
D | WebCryptoKey.cpp | 42 …oKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, … in WebCryptoKeyPrivate() 55 const WebCryptoAlgorithm algorithm; 59 …oKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoAlgorithm& algorithm, … in create() 89 const WebCryptoAlgorithm& WebCryptoKey::algorithm() const in algorithm()
|
/external/chromium_org/content/renderer/webcrypto/ |
D | webcrypto_util.cc | 18 blink::WebCryptoAlgorithm CreateAesKeyGenAlgorithm( in CreateAesKeyGenAlgorithm() 21 return blink::WebCryptoAlgorithm::adoptParamsAndCreate( in CreateAesKeyGenAlgorithm() 74 blink::WebCryptoAlgorithm GetInnerHashAlgorithm( in GetInnerHashAlgorithm() 75 const blink::WebCryptoAlgorithm& algorithm) { in GetInnerHashAlgorithm() 84 return blink::WebCryptoAlgorithm::createNull(); in GetInnerHashAlgorithm() 87 blink::WebCryptoAlgorithm CreateAlgorithm(blink::WebCryptoAlgorithmId id) { in CreateAlgorithm() 88 return blink::WebCryptoAlgorithm::adoptParamsAndCreate(id, NULL); in CreateAlgorithm() 91 blink::WebCryptoAlgorithm CreateHmacAlgorithmByHashOutputLen( in CreateHmacAlgorithmByHashOutputLen() 112 return blink::WebCryptoAlgorithm::createNull(); in CreateHmacAlgorithmByHashOutputLen() 114 return blink::WebCryptoAlgorithm::adoptParamsAndCreate( in CreateHmacAlgorithmByHashOutputLen() [all …]
|
D | webcrypto_util.h | 40 blink::WebCryptoAlgorithm GetInnerHashAlgorithm( 41 const blink::WebCryptoAlgorithm& algorithm); 44 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateAlgorithm( 50 blink::WebCryptoAlgorithm CreateHmacAlgorithmByHashOutputLen( 56 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacAlgorithmByHashId( 62 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateHmacKeyGenAlgorithm( 68 blink::WebCryptoAlgorithm CreateRsaSsaAlgorithm( 73 blink::WebCryptoAlgorithm CreateRsaOaepAlgorithm( 78 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateRsaKeyGenAlgorithm( 84 CONTENT_EXPORT blink::WebCryptoAlgorithm CreateAesCbcAlgorithm( [all …]
|
D | webcrypto_impl.h | 21 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 27 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 33 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 38 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 46 const blink::WebCryptoAlgorithm& algorithm_or_null, in NON_EXPORTED_BASE() 55 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 61 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 76 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 82 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() 88 const blink::WebCryptoAlgorithm& algorithm, in NON_EXPORTED_BASE() [all …]
|
D | webcrypto_impl.cc | 25 bool IsAlgorithmAsymmetric(const blink::WebCryptoAlgorithm& algorithm) { in IsAlgorithmAsymmetric() 34 typedef blink::WebCryptoAlgorithm (*AlgFactoryFuncWithOneShortArg)( 37 blink::WebCryptoAlgorithm BindAlgFactoryWithKeyLen() { in BindAlgFactoryWithKeyLen() 42 typedef blink::WebCryptoAlgorithm (*AlgFactoryFuncWithWebCryptoAlgIdArg)( 46 blink::WebCryptoAlgorithm BindAlgFactoryAlgorithmId() { in BindAlgFactoryAlgorithmId() 52 typedef blink::WebCryptoAlgorithm (*AlgFactoryFuncNoArgs)(); 83 map_["A128KW"] = &blink::WebCryptoAlgorithm::createNull; in JwkAlgorithmFactoryMap() 85 map_["A256KW"] = &blink::WebCryptoAlgorithm::createNull; in JwkAlgorithmFactoryMap() 103 blink::WebCryptoAlgorithm CreateAlgorithmFromName(const std::string& alg_id) in CreateAlgorithmFromName() 107 return blink::WebCryptoAlgorithm::createNull(); in CreateAlgorithmFromName() [all …]
|
D | webcrypto_impl_nss.cc | 65 const blink::WebCryptoAlgorithm& algorithm) { in WebCryptoAlgorithmToNSSHashType() 84 const blink::WebCryptoAlgorithm& algorithm) { in WebCryptoAlgorithmToHMACMechanism() 98 const blink::WebCryptoAlgorithm& algorithm, in AesCbcEncryptDecrypt() 179 const blink::WebCryptoAlgorithm& algorithm) { in HmacAlgorithmToGenMechanism() 194 const blink::WebCryptoAlgorithm& algorithm) { in WebCryptoAlgorithmToGenMechanism() 206 const blink::WebCryptoAlgorithm& algorithm) { in WebCryptoHmacAlgorithmToBlockSize() 242 bool IsAlgorithmRsa(const blink::WebCryptoAlgorithm& algorithm) { in IsAlgorithmRsa() 251 const blink::WebCryptoAlgorithm& algorithm, in ImportKeyInternalRaw() 361 blink::WebCryptoAlgorithm ResolveNssKeyTypeWithInputAlgorithm( in ResolveNssKeyTypeWithInputAlgorithm() 363 const blink::WebCryptoAlgorithm& algorithm_or_null) { in ResolveNssKeyTypeWithInputAlgorithm() [all …]
|
D | webcrypto_impl_openssl.cc | 80 const blink::WebCryptoAlgorithm& algorithm, in AesCbcEncryptDecrypt() 182 bool WebCryptoImpl::EncryptInternal(const blink::WebCryptoAlgorithm& algorithm, in EncryptInternal() 195 bool WebCryptoImpl::DecryptInternal(const blink::WebCryptoAlgorithm& algorithm, in DecryptInternal() 208 bool WebCryptoImpl::DigestInternal(const blink::WebCryptoAlgorithm& algorithm, in DigestInternal() 269 const blink::WebCryptoAlgorithm& algorithm, in GenerateKeyInternal() 322 const blink::WebCryptoAlgorithm& algorithm, in GenerateKeyPairInternal() 336 const blink::WebCryptoAlgorithm& algorithm_or_null, in ImportKeyInternal() 344 const blink::WebCryptoAlgorithm& algorithm = algorithm_or_null; in ImportKeyInternal() 407 const blink::WebCryptoAlgorithm& algorithm, in SignInternal() 495 const blink::WebCryptoAlgorithm& algorithm, in VerifySignatureInternal() [all …]
|
D | webcrypto_impl_unittest.cc | 80 blink::WebCryptoAlgorithm CreateRsaKeyGenAlgorithm( in CreateRsaKeyGenAlgorithm() 87 return blink::WebCryptoAlgorithm::adoptParamsAndCreate( in CreateRsaKeyGenAlgorithm() 122 const blink::WebCryptoAlgorithm& algorithm, in ImportSecretKeyFromRawHexString() 146 const blink::WebCryptoAlgorithm& algorithm, in DigestInternal() 154 const blink::WebCryptoAlgorithm& algorithm, in GenerateKeyInternal() 162 const blink::WebCryptoAlgorithm& algorithm, in GenerateKeyPairInternal() 174 const blink::WebCryptoAlgorithm& algorithm, in ImportKeyInternal() 195 const blink::WebCryptoAlgorithm& algorithm, in SignInternal() 204 const blink::WebCryptoAlgorithm& algorithm, in VerifySignatureInternal() 220 const blink::WebCryptoAlgorithm& algorithm, in EncryptInternal() [all …]
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebCryptoAlgorithm.h | 95 class WebCryptoAlgorithm { 98 WebCryptoAlgorithm() { } in WebCryptoAlgorithm() function 99 …BLINK_PLATFORM_EXPORT WebCryptoAlgorithm(WebCryptoAlgorithmId, PassOwnPtr<WebCryptoAlgorithmParams… 102 BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm createNull(); 103 …BLINK_PLATFORM_EXPORT static WebCryptoAlgorithm adoptParamsAndCreate(WebCryptoAlgorithmId, WebCryp… 105 ~WebCryptoAlgorithm() { reset(); } in ~WebCryptoAlgorithm() 107 WebCryptoAlgorithm(const WebCryptoAlgorithm& other) { assign(other); } in WebCryptoAlgorithm() function 108 WebCryptoAlgorithm& operator=(const WebCryptoAlgorithm& other) 133 BLINK_PLATFORM_EXPORT void assign(const WebCryptoAlgorithm& other);
|
D | WebCrypto.h | 98 …virtual void encrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, un… in encrypt() argument 99 …virtual void decrypt(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, un… in decrypt() argument 100 …virtual void sign(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* data, unsig… in sign() argument 101 …virtual void verifySignature(const WebCryptoAlgorithm&, const WebCryptoKey&, const unsigned char* … in verifySignature() argument 102 …virtual void digest(const WebCryptoAlgorithm&, const unsigned char* data, unsigned dataSize, WebCr… in digest() argument 103 …virtual void generateKey(const WebCryptoAlgorithm&, bool extractable, WebCryptoKeyUsageMask, WebCr… in generateKey() argument 106 …yFormat, const unsigned char* keyData, unsigned keyDataSize, const WebCryptoAlgorithm&, bool extra… in importKey() argument 109 …t, const WebCryptoKey& key, const WebCryptoKey& wrappingKey, const WebCryptoAlgorithm&, WebCryptoR… in wrapKey() argument 113 …ed wrappedKeySize, const WebCryptoKey&, const WebCryptoAlgorithm& unwrapAlgorithm, const WebCrypto… in unwrapKey()
|
D | WebCryptoAlgorithmParams.h | 117 explicit WebCryptoHmacParams(const WebCryptoAlgorithm& hash) in WebCryptoHmacParams() 124 const WebCryptoAlgorithm& hash() const { return m_hash; } in hash() 127 const WebCryptoAlgorithm m_hash; 132 … WebCryptoHmacKeyParams(const WebCryptoAlgorithm& hash, bool hasLengthBytes, unsigned lengthBytes) in WebCryptoHmacKeyParams() 142 const WebCryptoAlgorithm& hash() const { return m_hash; } in hash() 158 const WebCryptoAlgorithm m_hash; 165 explicit WebCryptoRsaSsaParams(const WebCryptoAlgorithm& hash) in WebCryptoRsaSsaParams() 172 const WebCryptoAlgorithm& hash() const { return m_hash; } in hash() 175 const WebCryptoAlgorithm m_hash; 230 …WebCryptoRsaOaepParams(const WebCryptoAlgorithm& hash, bool hasLabel, const unsigned char* label, … in WebCryptoRsaOaepParams() [all …]
|
D | WebCryptoKey.h | 68 class WebCryptoAlgorithm; variable 109 …ate(WebCryptoKeyHandle*, WebCryptoKeyType, bool extractable, const WebCryptoAlgorithm&, WebCryptoK… 120 BLINK_PLATFORM_EXPORT const WebCryptoAlgorithm& algorithm() const;
|
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
D | Algorithm.h | 44 static PassRefPtr<Algorithm> create(const blink::WebCryptoAlgorithm&); 51 explicit Algorithm(const blink::WebCryptoAlgorithm&); 53 const blink::WebCryptoAlgorithm m_algorithm;
|
D | AesKeyGenParams.h | 41 …static PassRefPtr<AesKeyGenParams> create(const blink::WebCryptoAlgorithm& algorithm) { return ado… in create() 46 explicit AesKeyGenParams(const blink::WebCryptoAlgorithm&);
|
D | RsaSsaParams.h | 41 …static PassRefPtr<RsaSsaParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptR… in create() 46 explicit RsaSsaParams(const blink::WebCryptoAlgorithm&);
|
D | HmacParams.h | 41 …static PassRefPtr<HmacParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptRef… in create() 46 explicit HmacParams(const blink::WebCryptoAlgorithm&);
|
D | AesCbcParams.h | 41 …static PassRefPtr<AesCbcParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptR… in create() 46 explicit AesCbcParams(const blink::WebCryptoAlgorithm&);
|
D | RsaKeyGenParams.h | 42 …static PassRefPtr<RsaKeyGenParams> create(const blink::WebCryptoAlgorithm& algorithm) { return ado… in create() 48 explicit RsaKeyGenParams(const blink::WebCryptoAlgorithm&);
|
D | AesCtrParams.h | 41 …static PassRefPtr<AesCtrParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adoptR… in create() 47 explicit AesCtrParams(const blink::WebCryptoAlgorithm&);
|
D | HmacKeyParams.h | 41 …static PassRefPtr<HmacKeyParams> create(const blink::WebCryptoAlgorithm& algorithm) { return adopt… in create() 48 explicit HmacKeyParams(const blink::WebCryptoAlgorithm&);
|
D | NormalizeAlgorithm.h | 37 namespace blink { class WebCryptoAlgorithm; } variable 61 bool normalizeAlgorithm(const Dictionary&, AlgorithmOperation, blink::WebCryptoAlgorithm&, Exceptio…
|
D | SubtleCrypto.cpp | 71 blink::WebCryptoAlgorithm algorithm; in startCryptoOperation() 146 blink::WebCryptoAlgorithm algorithm; in generateKey() 172 blink::WebCryptoAlgorithm algorithm; in importKey() 222 blink::WebCryptoAlgorithm wrapAlgorithm; in wrapKey() 256 blink::WebCryptoAlgorithm unwrapAlgorithm; in unwrapKey() 261 blink::WebCryptoAlgorithm unwrappedKeyAlgorithm; in unwrapKey()
|
D | Algorithm.cpp | 47 PassRefPtr<Algorithm> Algorithm::create(const blink::WebCryptoAlgorithm& algorithm) in create() 76 Algorithm::Algorithm(const blink::WebCryptoAlgorithm& algorithm) in Algorithm()
|
D | NormalizeAlgorithm.cpp | 386 bool normalizeAlgorithm(const Dictionary&, AlgorithmOperation, blink::WebCryptoAlgorithm&, Exceptio… 388 bool parseHash(const Dictionary& raw, blink::WebCryptoAlgorithm& hash, ExceptionContext context, Ex… in parseHash() 402 blink::WebCryptoAlgorithm hash; in parseHmacParams() 412 blink::WebCryptoAlgorithm hash; in parseHmacKeyParams() 427 blink::WebCryptoAlgorithm hash; in parseRsaSsaParams() 523 bool normalizeAlgorithm(const Dictionary& raw, AlgorithmOperation op, blink::WebCryptoAlgorithm& al… in normalizeAlgorithm() 543 algorithm = blink::WebCryptoAlgorithm(info->algorithmId, params.release()); in normalizeAlgorithm() 549 bool normalizeAlgorithm(const Dictionary& raw, AlgorithmOperation op, blink::WebCryptoAlgorithm& al… in normalizeAlgorithm()
|