Botan 3.0.0
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::EC_Point > (Botan::EC_Point &x, Botan::EC_Point &y)
 

Function Documentation

◆ swap< Botan::BigInt >()

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

Definition at line 1095 of file bigint.h.

1096 {
1097 x.swap(y);
1098 }
static SIMD_4x64 y
void swap(BigInt &other)
Definition: bigint.h:174

References Botan::BigInt::swap(), and y.

◆ 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::EC_Point >()

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

Definition at line 418 of file ec_point.h.

419 { x.swap(y); }
void swap(EC_Point &other)
Definition: ec_point.cpp:578

References Botan::EC_Point::swap(), and y.