/* * Copyright (C) 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. */ #pragma once #include "CryptoAlgorithm.h" #if ENABLE(WEB_CRYPTO) namespace WebCore { class CryptoAlgorithmSHA1 final : public CryptoAlgorithm { public: static constexpr ASCIILiteral s_name = "SHA-1"_s; static constexpr CryptoAlgorithmIdentifier s_identifier = CryptoAlgorithmIdentifier::SHA_1; static Ref create(); private: CryptoAlgorithmSHA1() = default; CryptoAlgorithmIdentifier identifier() const final; void digest(Vector&&, VectorCallback&&, ExceptionCallback&&, ScriptExecutionContext&, WorkQueue&) final; }; } // namespace WebCore #endif // ENABLE(WEB_CRYPTO) ster Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2023-08-29book: Fix broken linkGravatar Nils Fitinghoff 1-1/+1
2023-08-29Release rtic-monotonics 1.1.0, release rtic-sync 1.0.2Gravatar Emil Fresk 4-2/+8
2023-08-25rtic-monotonics: Add 64-bit SysTick monotonicGravatar Nils Fitinghoff 4-7/+36
2023-08-25ritc-sync: Fix make_channel forcing dependency into user crateGravatar Nils Fitinghoff 2-1/+5
2023-08-25Fix graph in preface.md exampleGravatar Xo Wang 1-1/+1
2023-08-20Bump embedded-hal-async in rtic-monotonicsGravatar Emil Fresk 2-4/+8
2023-08-17Fix RTIC HackMD linkGravatar cz 1-1/+1
2023-08-08Support RP2040 PAC v0.5 in `rtic-monotonics`Gravatar Emil Fresk 3-4/+5
2023-07-25Fixed new TAIT requirement and release v2.0.1 of RTICv2.0.1Gravatar Emil Fresk 8-17/+39
2023-07-01Examples: Update depsGravatar Henrik Tjäder 2-83/+115
2023-07-01Changelog: Monotonics: Add dateGravatar Henrik Tjäder 1-1/+1
2023-07-01Changelog: Common: Add dateGravatar Henrik Tjäder 1-1/+1
2023-07-01Changelog: Time: Add dateGravatar Henrik Tjäder 1-1/+1
2023-07-01Changelog: Sync: Add dates and yanked statusGravatar Henrik Tjäder 1-2/+4
2023-07-01Changelog: Add v2Gravatar Henrik Tjäder 1-42/+47
2023-07-01Changelog: Macros: Add v2Gravatar Henrik Tjäder 1-1/+3