mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
IOS/KD: Implement NWC24_CHECK_MAIL_NOW
This commit is contained in:
parent
f2b8baa82c
commit
2154941c2c
16 changed files with 569 additions and 18 deletions
14
Source/Core/Common/Crypto/HMAC.h
Normal file
14
Source/Core/Common/Crypto/HMAC.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Copyright 2023 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#include <span>
|
||||
|
||||
namespace Common::HMAC
|
||||
{
|
||||
// HMAC with the SHA1 message digest. Excepted output length is 20 bytes.
|
||||
bool HMACWithSHA1(std::span<const u8> key, std::span<const u8> msg, u8* out);
|
||||
} // namespace Common::HMAC
|
Loading…
Add table
Add a link
Reference in a new issue