Home
last modified time | relevance | path

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

/Zephyr-latest/samples/psa/persistent_key/src/
Dmain.c11 #define SAMPLE_ALG PSA_ALG_CTR macro
25 psa_set_key_algorithm(&key_attributes, SAMPLE_ALG); in generate_persistent_key()
55 static uint8_t ciphertext[PSA_CIPHER_ENCRYPT_OUTPUT_SIZE(SAMPLE_KEY_TYPE, SAMPLE_ALG, in use_persistent_key()
59 ret = psa_cipher_encrypt(SAMPLE_KEY_ID, SAMPLE_ALG, plaintext, sizeof(plaintext), in use_persistent_key()
66 ret = psa_cipher_decrypt(SAMPLE_KEY_ID, SAMPLE_ALG, ciphertext, ciphertext_len, in use_persistent_key()