Vanetza
Loading...
Searching...
No Matches
key_type.cpp
1
#include <vanetza/security/key_type.hpp>
2
3
namespace
vanetza
4
{
5
namespace
security
6
{
7
8
std::size_t key_length(KeyType key_type)
9
{
10
switch
(key_type)
11
{
12
case
KeyType::NistP256:
13
case
KeyType::BrainpoolP256r1:
14
return
32;
15
case
KeyType::BrainpoolP384r1:
16
return
48;
17
default
:
18
return
0;
19
}
20
}
21
22
}
// namespace security
23
}
// namespace vanetza
vanetza
security
key_type.cpp
Generated on
for Vanetza by
1.14.0