mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:07:34 +00:00
Everywhere: Use nested namespace qualifiers
This commit is contained in:
parent
a2f33fdcef
commit
66e210e406
27 changed files with 30 additions and 91 deletions
|
@ -14,8 +14,7 @@
|
|||
# include <AK/DeprecatedString.h>
|
||||
#endif
|
||||
|
||||
namespace Crypto {
|
||||
namespace Cipher {
|
||||
namespace Crypto::Cipher {
|
||||
|
||||
template<typename T>
|
||||
class CBC : public Mode<T> {
|
||||
|
@ -126,5 +125,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
# include <AK/DeprecatedString.h>
|
||||
#endif
|
||||
|
||||
namespace Crypto {
|
||||
namespace Cipher {
|
||||
namespace Crypto::Cipher {
|
||||
|
||||
/*
|
||||
* Heads up: CTR is a *family* of modes, because the "counter" function is
|
||||
|
@ -194,4 +193,3 @@ protected:
|
|||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
# include <AK/DeprecatedString.h>
|
||||
#endif
|
||||
|
||||
namespace Crypto {
|
||||
namespace Cipher {
|
||||
namespace Crypto::Cipher {
|
||||
|
||||
using IncrementFunction = IncrementInplace;
|
||||
|
||||
|
@ -148,5 +147,3 @@ private:
|
|||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
#include <AK/Span.h>
|
||||
#include <LibCrypto/Cipher/Cipher.h>
|
||||
|
||||
namespace Crypto {
|
||||
namespace Cipher {
|
||||
namespace Crypto::Cipher {
|
||||
|
||||
template<typename T>
|
||||
class Mode {
|
||||
|
@ -99,5 +98,3 @@ private:
|
|||
T m_cipher;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue