Lines Matching refs:alg

98                                     psa_algorithm_t alg,  in cipher_encrypt()  argument
113 status = psa_cipher_encrypt_setup( &operation, key, alg ); in cipher_encrypt()
129 psa_algorithm_t alg, in cipher_decrypt() argument
143 status = psa_cipher_decrypt_setup( &operation, key, alg ); in cipher_decrypt()
166 const psa_algorithm_t alg = PSA_ALG_CBC_NO_PADDING; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
182 psa_set_key_algorithm( &attributes, alg ); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
189 status = cipher_encrypt( key, alg, iv, sizeof( iv ), in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
194 status = cipher_decrypt( key, alg, iv, sizeof( iv ), in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
216 const psa_algorithm_t alg = PSA_ALG_CBC_PKCS7; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
230 psa_set_key_algorithm( &attributes, alg ); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
237 status = cipher_encrypt( key, alg, iv, sizeof( iv ), in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
242 status = cipher_decrypt( key, alg, iv, sizeof( iv ), in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
263 const psa_algorithm_t alg = PSA_ALG_CTR; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
277 psa_set_key_algorithm( &attributes, alg ); in cipher_example_encrypt_decrypt_aes_ctr_multi()
284 status = cipher_encrypt( key, alg, iv, sizeof( iv ), in cipher_example_encrypt_decrypt_aes_ctr_multi()
289 status = cipher_decrypt( key, alg, iv, sizeof( iv ), in cipher_example_encrypt_decrypt_aes_ctr_multi()