|
|
@@ -782,10 +782,10 @@ TEST_CASE("mbedtls OFB, chained DMA descriptors", "[aes]")
|
|
|
|
|
|
|
|
|
const uint8_t expected_cipher_ctr_end[] = {
|
|
|
- 0x7e, 0xdf, 0x13, 0xf3, 0x56, 0xef, 0x67, 0x01,
|
|
|
- 0xfc, 0x08, 0x49, 0x62, 0xfa, 0xfe, 0x0c, 0x8b,
|
|
|
- 0x99, 0x39, 0x09, 0x51, 0x2c, 0x9a, 0xd5, 0x48,
|
|
|
- 0x4f, 0x76, 0xa2, 0x19, 0x2c, 0x08, 0x9d, 0x6a,
|
|
|
+ 0x93, 0xca, 0xe0, 0x44, 0x96, 0x6d, 0xcb, 0xb2,
|
|
|
+ 0xcf, 0x8a, 0x8d, 0x73, 0x8c, 0x6b, 0xfa, 0x4d,
|
|
|
+ 0xd6, 0xc4, 0x18, 0x49, 0xdd, 0xc6, 0xbf, 0xc2,
|
|
|
+ 0xb9, 0xf0, 0x09, 0x69, 0x45, 0x42, 0xc6, 0x05,
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -795,8 +795,8 @@ void aes_ctr_alignment_test(uint32_t input_buf_caps, uint32_t output_buf_caps)
|
|
|
uint8_t nonce[16];
|
|
|
uint8_t key[16];
|
|
|
uint8_t stream_block[16];
|
|
|
- size_t SZ = 6000;
|
|
|
- size_t ALIGNMENT_SIZE_BYTES = 16;
|
|
|
+ size_t SZ = 32*200;
|
|
|
+ size_t ALIGNMENT_SIZE_BYTES = 64;
|
|
|
memset(nonce, 0x2F, 16);
|
|
|
memset(key, 0x1E, 16);
|
|
|
|
|
|
@@ -854,8 +854,8 @@ void aes_psram_one_buf_ctr_test(void)
|
|
|
uint8_t nonce[16];
|
|
|
uint8_t key[16];
|
|
|
uint8_t stream_block[16];
|
|
|
- size_t SZ = 6000;
|
|
|
- size_t ALIGNMENT_SIZE_BYTES = 16;
|
|
|
+ size_t SZ = 32*200;
|
|
|
+ size_t ALIGNMENT_SIZE_BYTES = 32;
|
|
|
memset(nonce, 0x2F, 16);
|
|
|
memset(key, 0x1E, 16);
|
|
|
|