LCOV - code coverage report
Current view: top level - core/crypto - SPCrypto.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 424 491 86.4 %
Date: 2024-05-12 00:16:13 Functions: 77 77 100.0 %

Function Name Sort by function name Hit count Sort by hit count
stappler::crypto::BackendCtx::get(stappler::crypto::Backend) 8625
stappler::crypto::PrivateKey::import(stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::CoderSource const&) 1475
stappler::crypto::PrivateKey::decrypt(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&) 150
stappler::crypto::PrivateKey::encrypt(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&) 275
stappler::crypto::PrivateKey::generate(stappler::crypto::KeyBits, stappler::crypto::KeyType) 725
stappler::crypto::PrivateKey::generate(stappler::crypto::KeyType) 200
stappler::crypto::PrivateKey::PrivateKey(stappler::crypto::Backend) 2425
stappler::crypto::PrivateKey::PrivateKey(stappler::crypto::Backend, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::CoderSource const&) 1200
stappler::crypto::PrivateKey::PrivateKey(stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::CoderSource const&) 200
stappler::crypto::PrivateKey::PrivateKey(stappler::crypto::PrivateKey&&) 50
stappler::crypto::PrivateKey::~PrivateKey() 2450
stappler::crypto::PrivateKey::operator=(stappler::crypto::PrivateKey&&) 50
stappler::crypto::decryptBlock(stappler::crypto::Backend, stappler::crypto::BlockKey256 const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&) 400
stappler::crypto::decryptBlock(stappler::crypto::BlockKey256 const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&) 125
stappler::crypto::encryptBlock(stappler::crypto::Backend, stappler::crypto::BlockKey256 const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&) 175
stappler::crypto::encryptBlock(stappler::crypto::BlockKey256 const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&) 275
stappler::crypto::getBlockInfo(stappler::BytesViewTemplate<(stappler::Endian)1>) 650
stappler::crypto::listBackends(stappler::memory::callback<void (stappler::crypto::Backend, stappler::StringViewBase<char>, stappler::crypto::BackendFlags)> const&) 25
stappler::crypto::makeBlockKey(stappler::crypto::Backend, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::BlockCipher, unsigned int) 225
stappler::crypto::makeBlockKey(stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::BlockCipher, unsigned int) 225
stappler::crypto::makeBlockKey(stappler::crypto::PrivateKey const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::BlockCipher, unsigned int) 1050
stappler::crypto::makeBlockKey(stappler::crypto::PrivateKey const&, stappler::BytesViewTemplate<(stappler::Endian)1>, unsigned int) 525
stappler::crypto::BackendCtxRef::BackendCtxRef(stappler::crypto::BackendCtx*) 75
stappler::crypto::BackendCtxRef::~BackendCtxRef() 75
stappler::crypto::hash256(stappler::crypto::Backend, stappler::CoderSource const&, stappler::crypto::HashFunction) 1150
stappler::crypto::hash256(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction) 1250
stappler::crypto::hash256(stappler::CoderSource const&, stappler::crypto::HashFunction) 100
stappler::crypto::hash256(stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction) 100
stappler::crypto::hash512(stappler::crypto::Backend, stappler::CoderSource const&, stappler::crypto::HashFunction) 500
stappler::crypto::hash512(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction) 900
stappler::crypto::hash512(stappler::CoderSource const&, stappler::crypto::HashFunction) 100
stappler::crypto::hash512(stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction) 400
stappler::crypto::isPemKey(stappler::BytesViewTemplate<(stappler::Endian)1>) 2475
stappler::crypto::PublicKey::importOpenSSH(stappler::StringViewBase<char>) 175
stappler::crypto::PublicKey::import(stappler::BytesViewTemplate<(stappler::Endian)1>) 1000
stappler::crypto::PublicKey::encrypt(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&) 375
stappler::crypto::PublicKey::PublicKey(stappler::crypto::Backend) 1275
stappler::crypto::PublicKey::PublicKey(stappler::crypto::Backend, stappler::BytesViewTemplate<(stappler::Endian)1>) 1000
stappler::crypto::PublicKey::PublicKey(stappler::BytesViewTemplate<(stappler::Endian)1>) 100
stappler::crypto::PublicKey::PublicKey(stappler::crypto::PublicKey&&) 75
stappler::crypto::PublicKey::PublicKey(stappler::crypto::PrivateKey const&) 475
stappler::crypto::PublicKey::~PublicKey() 1800
stappler::crypto::PublicKey::operator=(stappler::crypto::PublicKey&&) 75
stappler::crypto::writeRSAKey(unsigned char*, stappler::BytesViewTemplate<(stappler::Endian)0>, stappler::BytesViewTemplate<(stappler::Endian)0>) 100
stappler::crypto::findBackendForBlock(stappler::crypto::BlockCipher) 400
stappler::crypto::fillCryptoBlockHeader(unsigned char*, stappler::crypto::BlockKey256 const&, stappler::BytesViewTemplate<(stappler::Endian)1>) 525
stappler::crypto::getSignForBlockCipher(stappler::crypto::PrivateKey const&) 650
stappler::crypto::isBackendValidForBlock(stappler::crypto::BackendCtx*, stappler::crypto::BlockCipher) 400
stappler::crypto::PrivateKey::getBackend() const 650
stappler::crypto::PrivateKey::fingerprint(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&) const 575
stappler::crypto::PrivateKey::isSupported(stappler::crypto::KeyFormat) const 550
stappler::crypto::PrivateKey::exportPublic() const 300
stappler::crypto::PrivateKey::isGenerateSupported(stappler::crypto::KeyType) const 225
stappler::crypto::PrivateKey::sign(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&, stappler::crypto::SignAlgorithm) const 1175
stappler::crypto::PrivateKey::verify(stappler::CoderSource const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::SignAlgorithm) const 425
stappler::crypto::PrivateKey::exportDer(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::crypto::KeyFormat, stappler::CoderSource const&) const 900
stappler::crypto::PrivateKey::exportDer(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&) const 150
stappler::crypto::PrivateKey::exportPem(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::crypto::KeyFormat, stappler::CoderSource const&) const 850
stappler::crypto::PrivateKey::exportPem(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&, stappler::CoderSource const&) const 150
stappler::crypto::PublicKey::getBackend() const 75
stappler::crypto::PublicKey::verify(stappler::CoderSource const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::SignAlgorithm) const 625
stappler::crypto::PublicKey::exportDer(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&) const 650
stappler::crypto::PublicKey::exportPem(stappler::memory::callback<void (stappler::BytesViewTemplate<(stappler::Endian)1>)> const&) const 550
stappler::crypto::makeBlockKey(stappler::crypto::PrivateKey const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::BlockCipher, unsigned int)::{lambda(stappler::BytesViewTemplate<(stappler::Endian)1>)#2}::operator()(stappler::BytesViewTemplate<(stappler::Endian)1>) const 400
stappler::crypto::makeBlockKey(stappler::crypto::PrivateKey const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::BlockCipher, unsigned int)::{lambda(stappler::BytesViewTemplate<(stappler::Endian)1>)#3}::operator()(stappler::BytesViewTemplate<(stappler::Endian)1>) const 175
stappler::crypto::makeBlockKey(stappler::crypto::PrivateKey const&, stappler::BytesViewTemplate<(stappler::Endian)1>, stappler::crypto::BlockCipher, unsigned int)::{lambda(stappler::BytesViewTemplate<(stappler::Endian)1>)#1}::operator()(stappler::BytesViewTemplate<(stappler::Endian)1>) const 475
stappler::crypto::hash256(stappler::crypto::Backend, stappler::CoderSource const&, stappler::crypto::HashFunction)::{lambda(stappler::memory::callback<bool (stappler::CoderSource const&)> const&)#1}::operator()(stappler::memory::callback<bool (stappler::CoderSource const&)> const&) const 1150
stappler::crypto::hash256(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction)::{lambda()#1}::operator()() const 125
stappler::crypto::hash512(stappler::crypto::Backend, stappler::CoderSource const&, stappler::crypto::HashFunction)::{lambda(stappler::memory::callback<bool (stappler::CoderSource const&)> const&)#1}::operator()(stappler::memory::callback<bool (stappler::CoderSource const&)> const&) const 500
stappler::crypto::hash512(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction)::{lambda()#1}::operator()() const 125
stappler::crypto::writeRSAKey(unsigned char*, stappler::BytesViewTemplate<(stappler::Endian)0>, stappler::BytesViewTemplate<(stappler::Endian)0>)::{lambda(unsigned long)#2}::operator()(unsigned long) const 300
stappler::crypto::writeRSAKey(unsigned char*, stappler::BytesViewTemplate<(stappler::Endian)0>, stappler::BytesViewTemplate<(stappler::Endian)0>)::{lambda(unsigned long)#1}::operator()(unsigned long) const 200
stappler::crypto::findBackendForBlock(stappler::crypto::BlockCipher)::{lambda(stappler::crypto::BackendCtx*, bool)#1}::operator()(stappler::crypto::BackendCtx*, bool) const 400
stappler::crypto::hash256(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction)::{lambda()#1}::operator()() const::{lambda(stappler::CoderSource const&)#2}::operator()(stappler::CoderSource const&) const 100
stappler::crypto::hash256(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction)::{lambda()#1}::operator()() const::{lambda(stappler::CoderSource const&)#1}::operator()(stappler::CoderSource const&) const 25
stappler::crypto::hash512(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction)::{lambda()#1}::operator()() const::{lambda(stappler::CoderSource const&)#2}::operator()(stappler::CoderSource const&) const 100
stappler::crypto::hash512(stappler::crypto::Backend, stappler::memory::callback<void (stappler::memory::callback<bool (stappler::CoderSource const&)> const&)> const&, stappler::crypto::HashFunction)::{lambda()#1}::operator()() const::{lambda(stappler::CoderSource const&)#1}::operator()(stappler::CoderSource const&) const 25

Generated by: LCOV version 1.14