Botan  1.10.9
Functions
std Namespace Reference

Functions

template<typename T >
void swap (Botan::MemoryRegion< T > &x, Botan::MemoryRegion< T > &y)
 
template<>
void swap (Botan::BigInt &x, Botan::BigInt &y)
 
template<>
void swap< Botan::CurveGFp > (Botan::CurveGFp &curve1, Botan::CurveGFp &curve2)
 
template<>
void swap< Botan::PointGFp > (Botan::PointGFp &x, Botan::PointGFp &y)
 

Function Documentation

template<typename T >
void std::swap ( Botan::MemoryRegion< T > &  x,
Botan::MemoryRegion< T > &  y 
)
inline
template<>
void std::swap ( Botan::BigInt x,
Botan::BigInt y 
)
inline

Definition at line 547 of file bigint.h.

References Botan::BigInt::swap().

548  {
549  x.swap(y);
550  }
void swap(BigInt &other)
Definition: bigint.cpp:106
template<>
void std::swap< Botan::CurveGFp > ( Botan::CurveGFp curve1,
Botan::CurveGFp curve2 
)
inline

Definition at line 152 of file curve_gfp.h.

154  {
155  curve1.swap(curve2);
156  }
void swap(CurveGFp &other)
Definition: curve_gfp.h:95
template<>
void std::swap< Botan::PointGFp > ( Botan::PointGFp x,
Botan::PointGFp y 
)
inline

Definition at line 269 of file point_gfp.h.

270  { x.swap(y); }
void swap(PointGFp &other)
Definition: point_gfp.cpp:459