UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
tagged_hash.hpp File Reference
#include "secp256k1/sha256.hpp"
#include <array>
#include <cstddef>
#include <cstdint>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  secp256k1
 
namespace  secp256k1::detail
 

Functions

SHA256 secp256k1::detail::make_tag_midstate (std::string_view tag)
 
std::array< uint8_t, 32 > secp256k1::detail::cached_tagged_hash (const SHA256 &midstate, const void *data, std::size_t len)
 

Variables

const SHA256 secp256k1::detail::g_aux_midstate = make_tag_midstate("BIP0340/aux")
 
const SHA256 secp256k1::detail::g_nonce_midstate = make_tag_midstate("BIP0340/nonce")
 
const SHA256 secp256k1::detail::g_challenge_midstate = make_tag_midstate("BIP0340/challenge")