Botan
3.8.1
Crypto and TLS for C&
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
c
d
f
i
m
n
r
s
t
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
h
i
m
n
o
p
r
s
t
u
v
w
Enumerations
b
c
d
e
k
m
n
o
p
s
t
x
Enumerator
_
a
b
c
d
e
f
g
h
k
l
m
n
p
q
r
s
t
u
v
w
x
Related Symbols
b
c
d
e
f
k
o
p
s
t
x
Files
File List
File Members
All
_
a
b
c
d
e
f
k
m
n
p
t
w
Functions
b
c
Typedefs
b
c
e
p
t
Enumerations
Enumerator
b
c
d
e
k
n
Macros
_
a
b
c
f
m
n
t
w
src
lib
mac
blake2mac
blake2bmac.cpp
Go to the documentation of this file.
1
/*
2
* BLAKE2b MAC
3
* (C) 1999-2007,2014 Jack Lloyd
4
* (C) 2020 Tom Crowley
5
*
6
* Botan is released under the Simplified BSD License (see license.txt)
7
*/
8
9
#include <botan/internal/blake2bmac.h>
10
11
namespace
Botan
{
12
13
/*
14
* Clear memory of sensitive data
15
*/
16
void
BLAKE2bMAC::clear
() {
17
m_blake.clear();
18
}
16
void
BLAKE2bMAC::clear
() {
…
}
19
20
/*
21
* Return a new_object of this object
22
*/
23
std::unique_ptr<MessageAuthenticationCode>
BLAKE2bMAC::new_object
()
const
{
24
return
std::make_unique<BLAKE2bMAC>(m_blake.output_length() * 8);
25
}
23
std::unique_ptr<MessageAuthenticationCode>
BLAKE2bMAC::new_object
()
const
{
…
}
26
27
/*
28
* BLAKE2bMAC Constructor
29
*/
30
BLAKE2bMAC::BLAKE2bMAC
(
size_t
output_bits) : m_blake(output_bits) {}
31
32
}
// namespace Botan
Botan::BLAKE2bMAC::clear
void clear() override
Definition
blake2bmac.cpp:16
Botan::BLAKE2bMAC::new_object
std::unique_ptr< MessageAuthenticationCode > new_object() const override
Definition
blake2bmac.cpp:23
Botan::BLAKE2bMAC::BLAKE2bMAC
BLAKE2bMAC(size_t output_bits=512)
Definition
blake2bmac.cpp:30
Botan
Definition
alg_id.cpp:13
Generated by
1.13.2