Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/mbedtls/test/
Dtest_aes_gcm.c174 uint8_t *ciphertext = heap_caps_malloc(cfg->plaintext_length, cfg->output_caps); in aes_gcm_test() local
178 TEST_ASSERT_NOT_NULL(ciphertext); in aes_gcm_test()
182 memset(ciphertext, 0, cfg->plaintext_length); in aes_gcm_test()
191 …iv_buf, cfg->iv_length, cfg->add_buf, cfg->add_length, cfg->plaintext, ciphertext, cfg->tag_len, t… in aes_gcm_test()
194 … TEST_ASSERT(mbedtls_gcm_update( &ctx, cfg->plaintext_length, cfg->plaintext, ciphertext) == 0 ); in aes_gcm_test()
199 …TEST_ASSERT_EQUAL_HEX8_ARRAY(res->ciphertext_last_block, ciphertext + offset, MIN(16, cfg->plainte… in aes_gcm_test()
205 …_length, cfg->add_buf, cfg->add_length, res->expected_tag, cfg->tag_len, ciphertext, output) == 0); in aes_gcm_test()
208 TEST_ASSERT(mbedtls_gcm_update( &ctx, cfg->plaintext_length, ciphertext, output) == 0 ); in aes_gcm_test()
217 free(ciphertext); in aes_gcm_test()
/hal_espressif-2.7.6/docs/en/security/
Dsecure-boot-v1.rst224 - Reverse the byte order of the ciphertext output block. (^)
225 - Append to the overall ciphertext output.
226 5. Byte-swap each 4 byte word of the ciphertext (^)
227 6. Calculate SHA-512 of the ciphertext.
Dflash-encryption.rst486 …ions marked with the encryption flag are expected to contain encrypted ciphertext. Below are the t…