2
$\begingroup$

Where can I find the test vectors for the present block cipher with a 128-bit key?

$\endgroup$
  • 1
    $\begingroup$ Possible duplicate of Test vectors for PRESENT algorithm? $\endgroup$ – hardyrama May 29 at 18:12
  • $\begingroup$ The possible duplicate does not appear to actually answer this question, despite the title making it look like it obviously should. None of the links on that page appear to supply test vectors for the 128-bit version of present. $\endgroup$ – Ella Rose May 29 at 20:50
1
$\begingroup$

The test vectors for present cipher 128 bit key size are :

$$ \begin{array}{c|c} K & P & C \\ \hline \scriptsize0x00000000000000000000000000000000 & \scriptsize0x0000000000000000 & \scriptsize0x96db702a2e6900af \\ \scriptsize0xffffffffffffffffffffffffffffffff & \scriptsize0x0000000000000000 & \scriptsize0x13238c710272a5d8 \\ \scriptsize0x00000000000000000000000000000000 & \scriptsize0xffffffffffffffff & \scriptsize0x3c6019e5e5edd563 \\ \scriptsize0xffffffffffffffffffffffffffffffff & \scriptsize0xffffffffffffffff & \scriptsize0x628d9fbd4218e5b4 \\ \end{array} $$

the intermediate values of "0xffffffffffffffffffffffffffffffff" key scheduling are

$$ 0:ffffffffffffffff \\ 1:22ffffffffffffff \\ 2:2dffffffffffffff \\ 3:148bffffffffffff \\ 4:19b7fffffffffffe \\ 5:74522ffffffffffe \\ 6:7966dffffffffffe \\ 7:47d148bffffffffe \\ 8:40e59b7ffffffffd \\ 9:871f4522fffffffd \\ 10:8003966dfffffffd \\ 11:f11c7d148bfffffd \\ 12:fa000e59b7fffffc \\ 13:e2c471f4522ffffc \\ 14:ede8003966dffffc \\ 15:328b11c7d148bffc \\ 16:3db7a000e59b7ffb \\ 17:d4ca2c471f4522fb \\ 18:d9f6de8003966dfb \\ 19:a25328b11c7d148f \\ 20:1d67db7a000e59b2 \\ 21:01894ca2c471f457 \\ 22:14759f6de8003963 \\ 23:a30625328b11c7d4 \\ 24:ec51d67db7a000e3 \\ 25:d68c1894ca2c4719 \\ 26:6bb14759f6de8005 \\ 27:fb5a30625328b11a \\ 28:00aec51d67db7a07 \\ 29:1bed68c1894ca2c3 \\ 30:a902bb14759f6def \\ 31:2c6fb5a30625328c \\ $$

$\endgroup$
  • $\begingroup$ Thank you very much for your timely respose $\endgroup$ – Madhu Ghattamaneni May 31 at 3:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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