Questions tagged [serpent]
A symmetric block cipher algorithm with a 128 bit block size, and key sizes up to 256 bits.
40 questions
4
votes
1
answer
126
views
What was the motivation for the Serpent linear function?
The design of the Serpent cipher (state of 4 32bit words) is odd in some ways and the AES submission document doesn't shed light on the oddities.
Firstly, it almost tries an ARX approach except that ...
3
votes
2
answers
281
views
AES vs Serpent - which is more side-channel resistent?
I learned that some AES implementations are vulnerable to side-channel attacks due to how the SBOX structure is implemented. The output have to be nonlinear, therefore having low bit inputs results in ...
0
votes
1
answer
184
views
Encrypting two messages with the same content with different keys/IVs still secure if attacker knows they are the same?
I want to store two ciphertexts inside the same file.
The data stored in each ciphertext is the same (except for padding), but the data was encrypted with different keys and IVs. Both ciphertexts were ...
0
votes
1
answer
1k
views
Security of ChaCha compared to AES and Serpent
I'm trying to understand how secure XChaCha20 is in comparison with other ciphers. From what I know, ChaCha is more secure than AES, but less secure than Serpent. My question is how much more "...
1
vote
1
answer
2k
views
OpenSSL supports AES, Camellia, ChaCha. How about Twofish, Threefish, Serpent?
If I understood correctly, some symmetric ciphers such as AES, Camellia, ChaCha are implemented in OpenSSL (along with several older ones) but some other commonly used and proven ciphers such as ...
1
vote
1
answer
398
views
Are the Serpent Test Vectors incorrect?
I have recently written an implementation of Serpent and was testing it against known vectors to no avail. Using 256-bit key, I compared my encryption to the test vectors located here:
http://www.cs....
2
votes
0
answers
72
views
Security of bit shift in Serpent
As far I know, the Serpent cipher is the only cipher that uses legit bit shifts (<<) along with circular left shift (...
2
votes
1
answer
2k
views
Serpent vs AES,, theoretical security
In the lets-choose-the-next-aes contest in 1998, they chose Rijndael because of speed. Now, not taking speed into account, is Serpent more secure or not? Since it has 32 rounds (of course that's not ...
3
votes
2
answers
805
views
Is it possible to identify a Serpent encryption key in memory?
It has been shown that AES keys that are in use can be identified in memory. This identification relies on discovering expected round keys in memory that are contained within the key schedule.
My ...
1
vote
0
answers
67
views
Are there any publicly available Serpent s-boxes of a non-linear order 3, optimized for x86_64?
The original serpent paper claims that the s-boxes provided are of non-linear order 3, the maximum. However, this has turned out to be false, as some of them are of order 2.
Are there any s-boxes ...
2
votes
1
answer
78
views
Serpent intermediate rounds differs from example code, but result is still correct, is it a problem?
Through great pain and suffering, I've been able to successfully implement Serpent. For example, when using the key 00112233445566778899aabbccddeeff, and encrypting ...
3
votes
1
answer
2k
views
How do the Serpent S-boxes work?
Warning: The link in the answer explain the S-Box well, but there is an error in the pseudocode.
$K_i = K_{i-8} \oplus K_{i-5} \oplus K_{i-3} \oplus K_{i-1} \oplus 0x9e3779b9 \oplus i$;
Instead, it ...
3
votes
2
answers
3k
views
Is there a real purpose to use Twofish, Serpent or Threefish instead of AES?
I am wondering if other ciphers like Serpent or Twofish or even Threefish have really an use in real life, because AES seems to be very efficient in most situations.
But for example TrueCrypt or ...
-5
votes
1
answer
261
views
At rest encryption question from someone who knows nothing
this forum is way above me and the members here are far, far smarter than I am, so this probaby isn't the place to ask such a simple question, but whatever.
All I wanted to ask is for at rest ...
4
votes
2
answers
827
views
Why should symmetric block cyphers be efficient?
If I remember well, AES (then named Rijndael) won the competition because it was slightly faster to implement as one of its competitors, Serpent, which erred on the side of caution, using 32 rounds as ...