1
Fork 0
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:
Nico Weber 2023-07-11 13:49:08 -04:00 committed by Ali Mohammad Pur
parent a2f33fdcef
commit 66e210e406
27 changed files with 30 additions and 91 deletions

View file

@ -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:
};
}
}

View file

@ -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:
};
}
}

View file

@ -18,8 +18,7 @@
# include <AK/DeprecatedString.h>
#endif
namespace Crypto {
namespace Cipher {
namespace Crypto::Cipher {
using IncrementFunction = IncrementInplace;
@ -148,5 +147,3 @@ private:
};
}
}

View file

@ -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;
};
}
}