Botan 2.19.2
Crypto and TLS for C&
Functions
std Namespace Reference

Functions

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

Function Documentation

◆ swap< Botan::BigInt >()

template<>
void std::swap< Botan::BigInt > ( Botan::BigInt x,
Botan::BigInt y 
)
inline

Definition at line 1146 of file bigint.h.

1147 {
1148 x.swap(y);
1149 }
void swap(BigInt &other)
Definition: bigint.h:161

References Botan::BigInt::swap().

◆ swap< Botan::CurveGFp >()

template<>
void std::swap< Botan::CurveGFp > ( Botan::CurveGFp curve1,
Botan::CurveGFp curve2 
)
inlinenoexcept

Definition at line 257 of file curve_gfp.h.

259 {
260 curve1.swap(curve2);
261 }
void swap(CurveGFp &other)
Definition: curve_gfp.h:220

◆ swap< Botan::PointGFp >()

template<>
void std::swap< Botan::PointGFp > ( Botan::PointGFp x,
Botan::PointGFp y 
)
inline

Definition at line 442 of file point_gfp.h.

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

References Botan::PointGFp::swap().