mbed TLS Build
tests/suites/test_suite_cmac.data@0:cdf462088d13, 2017-01-05 (annotated)
- Committer:
- markrad
- Date:
- Thu Jan 05 00:18:44 2017 +0000
- Revision:
- 0:cdf462088d13
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
markrad | 0:cdf462088d13 | 1 | CMAC self test |
markrad | 0:cdf462088d13 | 2 | mbedtls_cmac_self_test: |
markrad | 0:cdf462088d13 | 3 | |
markrad | 0:cdf462088d13 | 4 | CMAC null arguments |
markrad | 0:cdf462088d13 | 5 | mbedtls_cmac_null_args: |
markrad | 0:cdf462088d13 | 6 | |
markrad | 0:cdf462088d13 | 7 | CMAC init #1 AES-128: OK |
markrad | 0:cdf462088d13 | 8 | depends_on:MBEDTLS_AES_C |
markrad | 0:cdf462088d13 | 9 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_AES_128_ECB:128:0 |
markrad | 0:cdf462088d13 | 10 | |
markrad | 0:cdf462088d13 | 11 | CMAC init #2 AES-192: OK |
markrad | 0:cdf462088d13 | 12 | depends_on:MBEDTLS_AES_C |
markrad | 0:cdf462088d13 | 13 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_AES_192_ECB:192:0 |
markrad | 0:cdf462088d13 | 14 | |
markrad | 0:cdf462088d13 | 15 | CMAC init #3 AES-256: OK |
markrad | 0:cdf462088d13 | 16 | depends_on:MBEDTLS_AES_C |
markrad | 0:cdf462088d13 | 17 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_AES_256_ECB:256:0 |
markrad | 0:cdf462088d13 | 18 | |
markrad | 0:cdf462088d13 | 19 | CMAC init #4 3DES : OK |
markrad | 0:cdf462088d13 | 20 | depends_on:MBEDTLS_DES_C |
markrad | 0:cdf462088d13 | 21 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_DES_EDE3_ECB:192:0 |
markrad | 0:cdf462088d13 | 22 | |
markrad | 0:cdf462088d13 | 23 | CMAC init #5 AES-224: bad key size |
markrad | 0:cdf462088d13 | 24 | depends_on:MBEDTLS_AES_C |
markrad | 0:cdf462088d13 | 25 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_ID_AES:224:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA |
markrad | 0:cdf462088d13 | 26 | |
markrad | 0:cdf462088d13 | 27 | CMAC init #6 AES-0: bad key size |
markrad | 0:cdf462088d13 | 28 | depends_on:MBEDTLS_AES_C |
markrad | 0:cdf462088d13 | 29 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_ID_AES:0:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA |
markrad | 0:cdf462088d13 | 30 | |
markrad | 0:cdf462088d13 | 31 | CMAC init #7 Camellia: wrong cipher |
markrad | 0:cdf462088d13 | 32 | depends_on:MBEDTLS_CAMELLIA_C |
markrad | 0:cdf462088d13 | 33 | mbedtls_cmac_setkey:MBEDTLS_CIPHER_ID_CAMELLIA:128:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA |
markrad | 0:cdf462088d13 | 34 | |
markrad | 0:cdf462088d13 | 35 | CMAC Single Blocks #1 - Empty block, no updates |
markrad | 0:cdf462088d13 | 36 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"":-1:"":-1:"":-1:"":-1:"bb1d6929e95937287fa37d129b756746" |
markrad | 0:cdf462088d13 | 37 | |
markrad | 0:cdf462088d13 | 38 | CMAC Single Blocks #2 - Single 16 byte block |
markrad | 0:cdf462088d13 | 39 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"6bc1bee22e409f96e93d7e117393172a":16:"":-1:"":-1:"":-1:"070a16b46b4d4144f79bdd9dd04a287c" |
markrad | 0:cdf462088d13 | 40 | |
markrad | 0:cdf462088d13 | 41 | CMAC Single Blocks #3 - Single 64 byte block |
markrad | 0:cdf462088d13 | 42 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710":64:"":-1:"":-1:"":-1:"51f0bebf7e3b9d92fc49741779363cfe" |
markrad | 0:cdf462088d13 | 43 | |
markrad | 0:cdf462088d13 | 44 | CMAC Multiple Blocks #1 - Multiple 8 byte blocks |
markrad | 0:cdf462088d13 | 45 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"6bc1bee22e409f96":8:"e93d7e117393172a":8:"":-1:"":-1:"070a16b46b4d4144f79bdd9dd04a287c" |
markrad | 0:cdf462088d13 | 46 | |
markrad | 0:cdf462088d13 | 47 | CMAC Multiple Blocks #2 - Multiple 16 byte blocks |
markrad | 0:cdf462088d13 | 48 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"6bc1bee22e409f96e93d7e117393172a":16:"ae2d8a571e03ac9c9eb76fac45af8e51":16:"30c81c46a35ce411e5fbc1191a0a52ef":16:"f69f2445df4f9b17ad2b417be66c3710":16:"51f0bebf7e3b9d92fc49741779363cfe" |
markrad | 0:cdf462088d13 | 49 | |
markrad | 0:cdf462088d13 | 50 | CMAC Multiple Blocks #3 - Multiple variable sized blocks |
markrad | 0:cdf462088d13 | 51 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"6bc1bee22e409f96":8:"e93d7e117393172aae2d8a571e03ac9c":16:"9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52ef":24:"f69f2445df4f9b17ad2b417be66c3710":16:"51f0bebf7e3b9d92fc49741779363cfe" |
markrad | 0:cdf462088d13 | 52 | |
markrad | 0:cdf462088d13 | 53 | CMAC Multiple Blocks #4 - Multiple 8 byte blocks with gaps |
markrad | 0:cdf462088d13 | 54 | mbedtls_cmac_multiple_blocks:MBEDTLS_CIPHER_AES_128_ECB:"2b7e151628aed2a6abf7158809cf4f3c":128:16:"":0:"6bc1bee22e409f96":8:"":0:"e93d7e117393172a":8:"070a16b46b4d4144f79bdd9dd04a287c" |
markrad | 0:cdf462088d13 | 55 | |
markrad | 0:cdf462088d13 | 56 | CMAC Multiple Operations, same key #1 - Empty, empty |
markrad | 0:cdf462088d13 | 57 | mbedtls_cmac_multiple_operations_same_key:MBEDTLS_CIPHER_AES_192_ECB:"8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b":192:16:"":-1:"":-1:"":-1:"d17ddf46adaacde531cac483de7a9367":"":-1:"":-1:"":-1:"d17ddf46adaacde531cac483de7a9367" |
markrad | 0:cdf462088d13 | 58 | |
markrad | 0:cdf462088d13 | 59 | CMAC Multiple Operations, same key #2 - Empty, 64 byte block |
markrad | 0:cdf462088d13 | 60 | mbedtls_cmac_multiple_operations_same_key:MBEDTLS_CIPHER_AES_192_ECB:"8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b":192:16:"":-1:"":-1:"":-1:"d17ddf46adaacde531cac483de7a9367":"6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5130c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710":64:"":-1:"":-1:"a1d5df0eed790f794d77589659f39a11" |
markrad | 0:cdf462088d13 | 61 | |
markrad | 0:cdf462088d13 | 62 | CMAC Multiple Operations, same key #3 - variable byte blocks |
markrad | 0:cdf462088d13 | 63 | mbedtls_cmac_multiple_operations_same_key:MBEDTLS_CIPHER_AES_192_ECB:"8e73b0f7da0e6452c810f32b809079e562f8ead2522c6b7b":192:16:"6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51":32:"30c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710":32:"":-1:"a1d5df0eed790f794d77589659f39a11":"6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e51":32:"30c81c46a35ce411e5fbc1191a0a52eff69f2445df4f9b17ad2b417be66c3710":32:"":-1:"a1d5df0eed790f794d77589659f39a11" |
markrad | 0:cdf462088d13 | 64 |