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.c50 size_t ciphertext_len; in use_persistent_key() local
60 ciphertext, sizeof(ciphertext), &ciphertext_len); in use_persistent_key()
66 ret = psa_cipher_decrypt(SAMPLE_KEY_ID, SAMPLE_ALG, ciphertext, ciphertext_len, in use_persistent_key()
77 LOG_HEXDUMP_INF(ciphertext, ciphertext_len, "Ciphertext:"); in use_persistent_key()
/Zephyr-latest/subsys/secure_storage/src/its/transform/
Daead.c90 size_t ciphertext_len; in secure_storage_its_transform_to_store() local
101 &stored_entry->ciphertext, &ciphertext_len); in secure_storage_its_transform_to_store()
103 *stored_data_len = STORED_ENTRY_LEN(ciphertext_len); in secure_storage_its_transform_to_store()
122 const size_t ciphertext_len = stored_data_len - STORED_ENTRY_LEN(0); in secure_storage_its_transform_from_store() local
125 &add_data, ciphertext_len, stored_entry->ciphertext, data_size, data, in secure_storage_its_transform_from_store()