Botan 3.1.1
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 1033 of file bigint.h.

1033 {
1034 x.swap(y);
1035}
void swap(BigInt &other)
Definition: bigint.h:168

References Botan::BigInt::swap().

◆ swap< Botan::CurveGFp >()

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

Definition at line 209 of file curve_gfp.h.

209 {
210 curve1.swap(curve2);
211}
void swap(CurveGFp &other)
Definition: curve_gfp.h:180

◆ swap< Botan::EC_Point >()

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

Definition at line 405 of file ec_point.h.

405 {
406 x.swap(y);
407}
void swap(EC_Point &other)
Definition: ec_point.cpp:547

References Botan::EC_Point::swap().