-1
$\begingroup$

Does the chosen algorithm affects the needed processor performance directly?

Is a drive encrypted with Serpent as fast as one encrypted with AES-Twofish-Serpent?

Does this apply to the hash algorithm, too?

Do machines with a processor with AES-NI decrypt Serpent-HDD as fast as an AES-HDD?

$\endgroup$
  • 4
    $\begingroup$ I'm voting to close this question as off-topic because this is better suited for superuser $\endgroup$ – Maarten Bodewes Jun 20 '17 at 12:10
  • $\begingroup$ As for the ontopicness: the hash algorithm probably only plays a role during key derivation, so no / not much and Serpent by definition will be faster than Serpent + whatever. $\endgroup$ – Maarten Bodewes Jun 20 '17 at 12:11
  • $\begingroup$ I mean it will at least add some latency and additional CPU cycles. Serpent or Serpent + whatever will be as fast wrt throughput if you encrypt a floppy disk, if you catch my meaning. $\endgroup$ – Maarten Bodewes Jun 20 '17 at 14:59
  • $\begingroup$ TrueCrypt has a benchmark that everyone can use to measure performance for their computer. It was made exactly to answer this question. $\endgroup$ – axapaxa Jun 20 '17 at 15:44
4
$\begingroup$

This all depends one the processor model used. Some processors have built-in acceleration for certain cryptographic primitives; AES-NI is one you mentioned that exists in Intel processors.

Even then, whether the HDD would be faster than the processor depends on the CPU and the HDD, and the CPU usage at that time.


And does this apply to the hash algorithm?

The hash algorithm is used to derive the symmetric key, so it will only make a difference at the time you unlock the volume. Afterwards, the key is stored in memory, and the hash isn't used anymore.


Or is a drive encrypted with Serpent as fast as one encrypted with AES-Twofish-Serpent?

No; as the last mode is actually a chained system, it will have to decrypt or encrypt the data sequentially. Whether you will actually notice the overhead is a different question though. It might or might not matter for you.

Could machines with a processor with AES-NI decrypt my serpent-HDD as fast as an AES-HDD ?

AES-NI only accelerates AES, not serpent. Whether the one will outperform the other can only be benchmarked; you might want to try a program such as cryptsetup benchmark.

| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.