Home
last modified time | relevance | path

Searched refs:ciphertext (Results 1 – 1 of 1) sorted by relevance

/lk-master/external/lib/aes/test/
A Daes_test.c38 uint8_t ciphertext[AES_BLOCK_SIZE]; in aes_command() local
41 memset(ciphertext, 0, sizeof(ciphertext)); in aes_command()
44 AES_encrypt(plaintext, ciphertext, &aes_key); in aes_command()
50 int not_equal = memcmp(expected_ciphertext, ciphertext, AES_BLOCK_SIZE); in aes_command()
55 hexdump8(ciphertext, sizeof(ciphertext)); in aes_command()
68 uint8_t ciphertext[AES_BLOCK_SIZE]; in aes_bench() local
71 memset(ciphertext, 0, sizeof(ciphertext)); in aes_bench()
84 AES_encrypt(plaintext, ciphertext, &aes_key); in aes_bench()

Completed in 2 milliseconds