Home
last modified time | relevance | path

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

/Zephyr-latest/samples/psa/persistent_key/src/
Dmain.c51 size_t ciphertext_len; in use_persistent_key() local
61 ciphertext, sizeof(ciphertext), &ciphertext_len); in use_persistent_key()
67 ret = psa_cipher_decrypt(SAMPLE_KEY_ID, SAMPLE_ALG, ciphertext, ciphertext_len, in use_persistent_key()
78 LOG_HEXDUMP_INF(ciphertext, ciphertext_len, "Ciphertext:"); in use_persistent_key()
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead.c91 size_t ciphertext_len; in secure_storage_its_transform_to_store() local
102 &stored_entry->ciphertext, &ciphertext_len); in secure_storage_its_transform_to_store()
104 *stored_data_len = STORED_ENTRY_LEN(ciphertext_len); in secure_storage_its_transform_to_store()
123 const size_t ciphertext_len = stored_data_len - STORED_ENTRY_LEN(0); in secure_storage_its_transform_from_store() local
126 &add_data, ciphertext_len, stored_entry->ciphertext, data_size, data, in secure_storage_its_transform_from_store()