algorithm 488 Source/bindings/v8/SerializedScriptValue.cpp switch (key.algorithm().paramsType()) { algorithm 688 Source/bindings/v8/SerializedScriptValue.cpp ASSERT(key.algorithm().paramsType() == blink::WebCryptoKeyAlgorithmParamsTypeHmac); algorithm 691 Source/bindings/v8/SerializedScriptValue.cpp ASSERT(!(key.algorithm().hmacParams()->lengthBits() % 8)); algorithm 692 Source/bindings/v8/SerializedScriptValue.cpp doWriteUint32(key.algorithm().hmacParams()->lengthBits() / 8); algorithm 693 Source/bindings/v8/SerializedScriptValue.cpp doWriteAlgorithmId(key.algorithm().hmacParams()->hash().id()); algorithm 698 Source/bindings/v8/SerializedScriptValue.cpp ASSERT(key.algorithm().paramsType() == blink::WebCryptoKeyAlgorithmParamsTypeAes); algorithm 701 Source/bindings/v8/SerializedScriptValue.cpp doWriteAlgorithmId(key.algorithm().id()); algorithm 704 Source/bindings/v8/SerializedScriptValue.cpp ASSERT(!(key.algorithm().aesParams()->lengthBits() % 8)); algorithm 705 Source/bindings/v8/SerializedScriptValue.cpp doWriteUint32(key.algorithm().aesParams()->lengthBits() / 8); algorithm 710 Source/bindings/v8/SerializedScriptValue.cpp if (key.algorithm().rsaHashedParams()) algorithm 715 Source/bindings/v8/SerializedScriptValue.cpp doWriteAlgorithmId(key.algorithm().id()); algorithm 728 Source/bindings/v8/SerializedScriptValue.cpp const blink::WebCryptoRsaKeyAlgorithmParams* params = key.algorithm().rsaParams(); algorithm 733 Source/bindings/v8/SerializedScriptValue.cpp if (key.algorithm().rsaHashedParams()) algorithm 734 Source/bindings/v8/SerializedScriptValue.cpp doWriteAlgorithmId(key.algorithm().rsaHashedParams()->hash().id()); algorithm 2134 Source/bindings/v8/SerializedScriptValue.cpp blink::WebCryptoKeyAlgorithm algorithm; algorithm 2139 Source/bindings/v8/SerializedScriptValue.cpp if (!doReadAesKey(algorithm, type)) algorithm 2143 Source/bindings/v8/SerializedScriptValue.cpp if (!doReadHmacKey(algorithm, type)) algorithm 2147 Source/bindings/v8/SerializedScriptValue.cpp if (!doReadRsaKey(false, algorithm, type)) algorithm 2151 Source/bindings/v8/SerializedScriptValue.cpp if (!doReadRsaKey(true, algorithm, type)) algorithm 2175 Source/bindings/v8/SerializedScriptValue.cpp algorithm, type, extractable, usages, keyData, keyDataLength, key)) { algorithm 2273 Source/bindings/v8/SerializedScriptValue.cpp bool doReadHmacKey(blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType& type) algorithm 2281 Source/bindings/v8/SerializedScriptValue.cpp algorithm = blink::WebCryptoKeyAlgorithm::createHmac(hash, lengthBytes * 8); algorithm 2283 Source/bindings/v8/SerializedScriptValue.cpp return !algorithm.isNull(); algorithm 2286 Source/bindings/v8/SerializedScriptValue.cpp bool doReadAesKey(blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType& type) algorithm 2294 Source/bindings/v8/SerializedScriptValue.cpp algorithm = blink::WebCryptoKeyAlgorithm::createAes(id, lengthBytes * 8); algorithm 2296 Source/bindings/v8/SerializedScriptValue.cpp return !algorithm.isNull(); algorithm 2299 Source/bindings/v8/SerializedScriptValue.cpp bool doReadRsaKey(bool hasHash, blink::WebCryptoKeyAlgorithm& algorithm, blink::WebCryptoKeyType& type) algorithm 2338 Source/bindings/v8/SerializedScriptValue.cpp algorithm = blink::WebCryptoKeyAlgorithm::createRsaHashed(id, modulusLengthBits, publicExponent, publicExponentSize, hash); algorithm 2340 Source/bindings/v8/SerializedScriptValue.cpp algorithm = blink::WebCryptoKeyAlgorithm::createRsa(id, modulusLengthBits, publicExponent, publicExponentSize); algorithm 2343 Source/bindings/v8/SerializedScriptValue.cpp return !algorithm.isNull(); algorithm 200 Source/core/frame/csp/CSPSourceList.cpp ContentSecurityPolicyHashAlgorithm algorithm = ContentSecurityPolicyHashAlgorithmNone; algorithm 201 Source/core/frame/csp/CSPSourceList.cpp if (!parseHash(begin, end, hash, algorithm)) algorithm 205 Source/core/frame/csp/CSPSourceList.cpp addSourceHash(algorithm, hash); algorithm 316 Source/core/frame/csp/CSPSourceList.cpp ContentSecurityPolicyHashAlgorithm algorithm; algorithm 336 Source/core/frame/csp/CSPSourceList.cpp hashAlgorithm = kSupportedPrefixes[i].algorithm; algorithm 507 Source/core/frame/csp/CSPSourceList.cpp void CSPSourceList::addSourceHash(const ContentSecurityPolicyHashAlgorithm& algorithm, const DigestValue& hash) algorithm 509 Source/core/frame/csp/CSPSourceList.cpp m_hashes.add(CSPHashValue(algorithm, hash)); algorithm 510 Source/core/frame/csp/CSPSourceList.cpp m_hashAlgorithmsUsed |= algorithm; algorithm 39 Source/modules/crypto/AesKeyAlgorithm.cpp PassRefPtrWillBeRawPtr<AesKeyAlgorithm> AesKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 41 Source/modules/crypto/AesKeyAlgorithm.cpp return adoptRefWillBeNoop(new AesKeyAlgorithm(algorithm)); algorithm 54 Source/modules/crypto/AesKeyAlgorithm.cpp AesKeyAlgorithm::AesKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 55 Source/modules/crypto/AesKeyAlgorithm.cpp : KeyAlgorithm(algorithm) algorithm 39 Source/modules/crypto/HmacKeyAlgorithm.cpp PassRefPtrWillBeRawPtr<HmacKeyAlgorithm> HmacKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 41 Source/modules/crypto/HmacKeyAlgorithm.cpp return adoptRefWillBeNoop(new HmacKeyAlgorithm(algorithm)); algorithm 62 Source/modules/crypto/HmacKeyAlgorithm.cpp HmacKeyAlgorithm::HmacKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 63 Source/modules/crypto/HmacKeyAlgorithm.cpp : KeyAlgorithm(algorithm) algorithm 149 Source/modules/crypto/Key.cpp m_algorithm = KeyAlgorithm::create(m_key.algorithm()); algorithm 168 Source/modules/crypto/Key.cpp bool Key::canBeUsedForAlgorithm(const blink::WebCryptoAlgorithm& algorithm, AlgorithmOperation op, CryptoResult* result) const algorithm 175 Source/modules/crypto/Key.cpp if (m_key.algorithm().id() != algorithm.id()) { algorithm 59 Source/modules/crypto/Key.h KeyAlgorithm* algorithm(); algorithm 47 Source/modules/crypto/KeyAlgorithm.cpp PassRefPtrWillBeRawPtr<KeyAlgorithm> KeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 49 Source/modules/crypto/KeyAlgorithm.cpp switch (algorithm.paramsType()) { algorithm 51 Source/modules/crypto/KeyAlgorithm.cpp return adoptRefWillBeNoop(new KeyAlgorithm(algorithm)); algorithm 53 Source/modules/crypto/KeyAlgorithm.cpp return AesKeyAlgorithm::create(algorithm); algorithm 55 Source/modules/crypto/KeyAlgorithm.cpp return HmacKeyAlgorithm::create(algorithm); algorithm 57 Source/modules/crypto/KeyAlgorithm.cpp return RsaKeyAlgorithm::create(algorithm); algorithm 59 Source/modules/crypto/KeyAlgorithm.cpp return RsaHashedKeyAlgorithm::create(algorithm); algorithm 72 Source/modules/crypto/KeyAlgorithm.cpp KeyAlgorithm::KeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 73 Source/modules/crypto/KeyAlgorithm.cpp : m_algorithm(algorithm) algorithm 725 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAlgorithm(const Dictionary& raw, AlgorithmOperation op, blink::WebCryptoAlgorithm& algorithm, ErrorContext context, String& errorDetails) algorithm 758 Source/modules/crypto/NormalizeAlgorithm.cpp algorithm = blink::WebCryptoAlgorithm(algorithmId, params.release()); algorithm 764 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAlgorithm(const Dictionary& raw, AlgorithmOperation op, blink::WebCryptoAlgorithm& algorithm, CryptoResult* result) algorithm 767 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseAlgorithm(raw, op, algorithm, ErrorContext(), errorDetails)) { algorithm 39 Source/modules/crypto/RsaHashedKeyAlgorithm.cpp PassRefPtrWillBeRawPtr<RsaHashedKeyAlgorithm> RsaHashedKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 41 Source/modules/crypto/RsaHashedKeyAlgorithm.cpp return adoptRefWillBeNoop(new RsaHashedKeyAlgorithm(algorithm)); algorithm 57 Source/modules/crypto/RsaHashedKeyAlgorithm.cpp RsaHashedKeyAlgorithm::RsaHashedKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 58 Source/modules/crypto/RsaHashedKeyAlgorithm.cpp : RsaKeyAlgorithm(algorithm) algorithm 45 Source/modules/crypto/RsaKeyAlgorithm.cpp PassRefPtrWillBeRawPtr<RsaKeyAlgorithm> RsaKeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 47 Source/modules/crypto/RsaKeyAlgorithm.cpp return adoptRefWillBeNoop(new RsaKeyAlgorithm(algorithm)); algorithm 69 Source/modules/crypto/RsaKeyAlgorithm.cpp RsaKeyAlgorithm::RsaKeyAlgorithm(const blink::WebCryptoKeyAlgorithm& algorithm) algorithm 70 Source/modules/crypto/RsaKeyAlgorithm.cpp : KeyAlgorithm(algorithm) algorithm 72 Source/modules/crypto/RsaKeyAlgorithm.cpp ASSERT(algorithm.rsaParams()); algorithm 48 Source/modules/crypto/SubtleCrypto.cpp bool parseAlgorithm(const Dictionary& rawAlgorithm, AlgorithmOperation operationType, blink::WebCryptoAlgorithm &algorithm, ExceptionState& exceptionState, CryptoResult* result) algorithm 54 Source/modules/crypto/SubtleCrypto.cpp return parseAlgorithm(rawAlgorithm, operationType, algorithm, result); algorithm 79 Source/modules/crypto/SubtleCrypto.cpp blink::WebCryptoAlgorithm algorithm; algorithm 80 Source/modules/crypto/SubtleCrypto.cpp if (!parseAlgorithm(rawAlgorithm, operationType, algorithm, exceptionState, result.get())) algorithm 83 Source/modules/crypto/SubtleCrypto.cpp if (requiresKey && !key->canBeUsedForAlgorithm(algorithm, operationType, result.get())) algorithm 91 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->encrypt(algorithm, key->key(), data, dataSize, result->result()); algorithm 94 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->decrypt(algorithm, key->key(), data, dataSize, result->result()); algorithm 97 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->sign(algorithm, key->key(), data, dataSize, result->result()); algorithm 100 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->verifySignature(algorithm, key->key(), reinterpret_cast<const unsigned char*>(signature->baseAddress()), signature->byteLength(), data, dataSize, result->result()); algorithm 103 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->digest(algorithm, data, dataSize, result->result()); algorithm 154 Source/modules/crypto/SubtleCrypto.cpp blink::WebCryptoAlgorithm algorithm; algorithm 155 Source/modules/crypto/SubtleCrypto.cpp if (!parseAlgorithm(rawAlgorithm, GenerateKey, algorithm, exceptionState, result.get())) algorithm 158 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->generateKey(algorithm, extractable, keyUsages, result->result()); algorithm 180 Source/modules/crypto/SubtleCrypto.cpp blink::WebCryptoAlgorithm algorithm; algorithm 181 Source/modules/crypto/SubtleCrypto.cpp if (!parseAlgorithm(rawAlgorithm, ImportKey, algorithm, exceptionState, result.get())) algorithm 186 Source/modules/crypto/SubtleCrypto.cpp blink::Platform::current()->crypto()->importKey(format, keyDataBytes, keyData->byteLength(), algorithm, extractable, keyUsages, result->result()); algorithm 44 Source/platform/exported/WebCryptoKey.cpp WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) algorithm 48 Source/platform/exported/WebCryptoKey.cpp , algorithm(algorithm) algorithm 51 Source/platform/exported/WebCryptoKey.cpp ASSERT(!algorithm.isNull()); algorithm 57 Source/platform/exported/WebCryptoKey.cpp const WebCryptoKeyAlgorithm algorithm; algorithm 61 Source/platform/exported/WebCryptoKey.cpp WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) algorithm 64 Source/platform/exported/WebCryptoKey.cpp key.m_private = adoptRef(new WebCryptoKeyPrivate(adoptPtr(handle), type, extractable, algorithm, usages)); algorithm 94 Source/platform/exported/WebCryptoKey.cpp return m_private->algorithm; algorithm 115 public/platform/WebCryptoKey.h BLINK_PLATFORM_EXPORT const WebCryptoKeyAlgorithm& algorithm() const;