31 #ifndef _SCC_CRYPTO_SECVEC_H
32 #define _SCC_CRYPTO_SECVEC_H
38 namespace scc::crypto {
60 SecVec(
typename std::vector<T>::size_type = 0);
61 SecVec(
typename std::vector<T>::size_type,
const typename std::vector<T>::value_type&);
62 template <
class InputIt>
63 SecVec(InputIt begin, InputIt end) : std::vector<T>(begin, end) {}
67 void clear() noexcept;
73 void resize(
typename std::vector<T>::size_type);
79 void resize(
typename std::vector<T>::size_type,
const typename std::vector<T>::value_type&);
void resize(typename std::vector< T >::size_type)
Resize the vector.
void clear() noexcept
Zero the original vector and clear it.
std::istream & operator>>(std::istream &, scc::crypto::SecVec< T > &)
Secure vector stream read helper.
std::ostream & operator<<(std::ostream &, const scc::crypto::SecVec< T > &)
Secure vector stream write helper.