Lines Matching defs:alg
97 psa_algorithm_t alg,
112 status = psa_cipher_encrypt_setup(&operation, key, alg);
128 psa_algorithm_t alg,
142 status = psa_cipher_decrypt_setup(&operation, key, alg);
165 const psa_algorithm_t alg = PSA_ALG_CBC_NO_PADDING;
181 psa_set_key_algorithm(&attributes, alg);
188 status = cipher_encrypt(key, alg, iv, sizeof(iv),
193 status = cipher_decrypt(key, alg, iv, sizeof(iv),
215 const psa_algorithm_t alg = PSA_ALG_CBC_PKCS7;
229 psa_set_key_algorithm(&attributes, alg);
236 status = cipher_encrypt(key, alg, iv, sizeof(iv),
241 status = cipher_decrypt(key, alg, iv, sizeof(iv),
262 const psa_algorithm_t alg = PSA_ALG_CTR;
276 psa_set_key_algorithm(&attributes, alg);
283 status = cipher_encrypt(key, alg, iv, sizeof(iv),
288 status = cipher_decrypt(key, alg, iv, sizeof(iv),