Add header guard for serpentp.h

This commit is contained in:
Jeffrey Walton 2019-06-03 06:17:58 -04:00
parent 342cdb9589
commit 54d48ac1f4
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 6 additions and 1 deletions

View File

@ -54,4 +54,4 @@ typedef Serpent::Decryption SerpentDecryption;
NAMESPACE_END
#endif
#endif // CRYPTOPP_SERPENT_H

View File

@ -1,5 +1,8 @@
// private header for Serpent and Sosemanuk
#ifndef CRYPTOPP_SERPENTP_H
#define CRYPTOPP_SERPENTP_H
NAMESPACE_BEGIN(CryptoPP)
// linear transformation
@ -432,3 +435,5 @@ NAMESPACE_BEGIN(CryptoPP)
void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, size_t keylen);
NAMESPACE_END
#endif // CRYPTOPP_SERPENTP_H