Add tests vectors for (3)DES via cipher layer

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-13 15:02:45 +02:00
parent 255fe4b10e
commit 6deaac0e62

View File

@ -549,3 +549,43 @@ enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:17:6:
DES3 Encrypt and decrypt 32 bytes in multiple parts 1
depends_on:POLARSSL_DES_C:POLARSSL_CIPHER_MODE_CBC:POLARSSL_CIPHER_PADDING_PKCS7
enc_dec_buf_multipart:POLARSSL_CIPHER_DES_EDE3_CBC:192:16:16:
DES ECB Encrypt test vector (OpenSSL) #1
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_ECB:POLARSSL_ENCRYPT:"0000000000000000":"0000000000000000":"8CA64DE9C1B123A7":0
DES ECB Encrypt test vector (OpenSSL) #2
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_ECB:POLARSSL_ENCRYPT:"FFFFFFFFFFFFFFFF":"FFFFFFFFFFFFFFFF":"7359B2163E4EDC58":0
DES ECB Encrypt test vector (OpenSSL) #3
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_ECB:POLARSSL_ENCRYPT:"FEDCBA9876543210":"0123456789ABCDEF":"ED39D950FA74BCC4":0
DES ECB Decrypt test vector (OpenSSL) #1
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_ECB:POLARSSL_DECRYPT:"0000000000000000":"8CA64DE9C1B123A7":"0000000000000000":0
DES ECB Decrypt test vector (OpenSSL) #2
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_ECB:POLARSSL_DECRYPT:"FFFFFFFFFFFFFFFF":"7359B2163E4EDC58":"FFFFFFFFFFFFFFFF":0
DES ECB Decrypt test vector (OpenSSL) #3
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_ECB:POLARSSL_DECRYPT:"43297FAD38E373FE":"EA676B2CB7DB2B7A":"762514B829BF486A":0
DES3-EDE ECB Encrypt test vector (OpenSSL) #1
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_EDE_ECB:POLARSSL_ENCRYPT:"0000000000000000FFFFFFFFFFFFFFFF":"0000000000000000":"9295B59BB384736E":0
DES3-EDE ECB Encrypt test vector (OpenSSL) #2
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_EDE_ECB:POLARSSL_ENCRYPT:"FFFFFFFFFFFFFFFF3000000000000000":"FFFFFFFFFFFFFFFF":"199E9D6DF39AA816":0
DES3-EDE ECB Decrypt test vector (OpenSSL) #1
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_EDE_ECB:POLARSSL_DECRYPT:"0000000000000000FFFFFFFFFFFFFFFF":"9295B59BB384736E":"0000000000000000":0
DES3-EDE ECB Decrypt test vector (OpenSSL) #2
depends_on:POLARSSL_DES_C
test_vec_ecb:POLARSSL_CIPHER_DES_EDE_ECB:POLARSSL_DECRYPT:"FFFFFFFFFFFFFFFF3000000000000000":"199E9D6DF39AA816":"FFFFFFFFFFFFFFFF":0