![]()  | 
  
    Bitcoin Core 30.99.0
    
   P2P Digital Currency 
   | 
 
C++ wrapper with std::byte span interface around poly1305_donna code. More...
#include <poly1305.h>
Public Member Functions | |
| Poly1305 (std::span< const std::byte > key) noexcept | |
| Construct a Poly1305 object with a given 32-byte key.  More... | |
| Poly1305 & | Update (std::span< const std::byte > msg) noexcept | 
| Process message bytes.  More... | |
| void | Finalize (std::span< std::byte > out) noexcept | 
| Write authentication tag to 16-byte out.  More... | |
Static Public Attributes | |
| static constexpr unsigned | TAGLEN {16} | 
| Length of the output produced by Finalize().  More... | |
| static constexpr unsigned | KEYLEN {32} | 
| Length of the keys expected by the constructor.  More... | |
Private Attributes | |
| poly1305_donna::poly1305_context | m_ctx | 
C++ wrapper with std::byte span interface around poly1305_donna code.
Definition at line 38 of file poly1305.h.
      
  | 
  inlinenoexcept | 
Construct a Poly1305 object with a given 32-byte key.
Definition at line 50 of file poly1305.h.
      
  | 
  inlinenoexcept | 
Write authentication tag to 16-byte out.
Definition at line 64 of file poly1305.h.
      
  | 
  inlinenoexcept | 
Process message bytes.
Definition at line 57 of file poly1305.h.
      
  | 
  staticconstexpr | 
Length of the keys expected by the constructor.
Definition at line 47 of file poly1305.h.
      
  | 
  private | 
Definition at line 40 of file poly1305.h.
      
  | 
  staticconstexpr | 
Length of the output produced by Finalize().
Definition at line 44 of file poly1305.h.