|
using | Ecdsa256 = CryptoPP::ECDSA< CryptoPP::ECP, CryptoPP::SHA256 > |
|
using | Ecdsa384 = CryptoPP::ECDSA< CryptoPP::ECP, CryptoPP::SHA384 > |
|
Definition at line 15 of file backend_cryptopp.hpp.
◆ Ecdsa256
using vanetza::security::BackendCryptoPP::Ecdsa256 = CryptoPP::ECDSA<CryptoPP::ECP, CryptoPP::SHA256> |
◆ Ecdsa384
using vanetza::security::BackendCryptoPP::Ecdsa384 = CryptoPP::ECDSA<CryptoPP::ECP, CryptoPP::SHA384> |
◆ BackendCryptoPP()
vanetza::security::BackendCryptoPP::BackendCryptoPP |
( |
| ) |
|
◆ calculate_hash()
ByteBuffer vanetza::security::BackendCryptoPP::calculate_hash |
( |
KeyType |
key, |
|
|
const ByteBuffer & |
buffer |
|
) |
| |
|
overridevirtual |
◆ decompress_point()
boost::optional< Uncompressed > vanetza::security::BackendCryptoPP::decompress_point |
( |
const EccPoint & |
ecc_point | ) |
|
|
overridevirtual |
◆ generate_key_pair()
generate a private key and the corresponding public key
- Returns
- generated key pair
Definition at line 280 of file backend_cryptopp.cpp.
◆ generate_private_key()
BackendCryptoPP::Ecdsa256::PrivateKey vanetza::security::BackendCryptoPP::generate_private_key |
( |
| ) |
|
|
private |
◆ generate_public_key()
BackendCryptoPP::Ecdsa256::PublicKey vanetza::security::BackendCryptoPP::generate_public_key |
( |
const Ecdsa256::PrivateKey & |
private_key | ) |
|
|
private |
◆ internal_private_key()
BackendCryptoPP::Ecdsa256::PrivateKey vanetza::security::BackendCryptoPP::internal_private_key |
( |
const ecdsa256::PrivateKey & |
generic | ) |
|
|
private |
◆ internal_public_key()
BackendCryptoPP::Ecdsa256::PublicKey vanetza::security::BackendCryptoPP::internal_public_key |
( |
const ecdsa256::PublicKey & |
generic | ) |
|
|
private |
◆ sign_data() [1/2]
EcdsaSignature vanetza::security::BackendCryptoPP::sign_data |
( |
const Ecdsa256::PrivateKey & |
key, |
|
|
const ByteBuffer & |
data |
|
) |
| |
|
private |
◆ sign_data() [2/2]
◆ verify_data() [1/2]
bool vanetza::security::BackendCryptoPP::verify_data |
( |
const Ecdsa256::PublicKey & |
key, |
|
|
const ByteBuffer & |
data, |
|
|
const ByteBuffer & |
sig |
|
) |
| |
|
private |
◆ verify_data() [2/2]
◆ verify_digest()
bool vanetza::security::BackendCryptoPP::verify_digest |
( |
const PublicKey & |
public_key, |
|
|
const ByteBuffer & |
digest, |
|
|
const Signature & |
sig |
|
) |
| |
|
overridevirtual |
◆ backend_name
constexpr auto vanetza::security::BackendCryptoPP::backend_name = "CryptoPP" |
|
staticconstexpr |
◆ m_private_cache
◆ m_prng
CryptoPP::AutoSeededRandomPool vanetza::security::BackendCryptoPP::m_prng |
|
private |
◆ m_public_cache
The documentation for this class was generated from the following files: