mirror of
https://github.com/vgough/encfs.git
synced 2025-02-16 09:49:46 +01:00
format
This commit is contained in:
parent
217f646ea1
commit
d820f708ad
@ -168,7 +168,8 @@ static Interface CAMELLIAInterface("ssl/camellia",3, 0, 2);
|
||||
static Range CAMELLIAKeyRange(128, 256, 64);
|
||||
static Range CAMELLIABlockRange(64, 4096, 16);
|
||||
|
||||
static std::shared_ptr<Cipher> NewCAMELLIACipher(const Interface &iface, int keyLen) {
|
||||
static std::shared_ptr<Cipher> NewCAMELLIACipher(const Interface &iface,
|
||||
int keyLen) {
|
||||
if (keyLen <= 0) keyLen = 192;
|
||||
|
||||
keyLen = CAMELLIAKeyRange.closest(keyLen);
|
||||
@ -197,12 +198,11 @@ static std::shared_ptr<Cipher> NewCAMELLIACipher(const Interface &iface, int key
|
||||
}
|
||||
|
||||
static bool CAMELLIA_Cipher_registered =
|
||||
Cipher::Register("CAMELLIA","16 byte block cipher", CAMELLIAInterface, CAMELLIAKeyRange,
|
||||
CAMELLIABlockRange, NewCAMELLIACipher );
|
||||
Cipher::Register("CAMELLIA", "16 byte block cipher", CAMELLIAInterface,
|
||||
CAMELLIAKeyRange, CAMELLIABlockRange, NewCAMELLIACipher);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef OPENSSL_NO_BF
|
||||
|
||||
static Range BFKeyRange(128, 256, 32);
|
||||
|
Loading…
Reference in New Issue
Block a user