Lines Matching refs:status
122 err_status_t status;
183 status = cipher_type_alloc(&null_cipher, &c, 0);
184 check_status(status);
186 status = cipher_init(c, NULL, direction_encrypt);
187 check_status(status);
192 status = cipher_driver_test_buffering(c);
193 check_status(status);
195 status = cipher_dealloc(c);
196 check_status(status);
200 status = cipher_type_alloc(&aes_icm, &c, 30);
201 if (status) {
203 exit(status);
206 status = cipher_init(c, test_key, direction_encrypt);
207 check_status(status);
213 status = cipher_driver_test_buffering(c);
214 check_status(status);
217 status = cipher_dealloc(c);
218 check_status(status);
240 err_status_t status;
243 status = cipher_type_self_test(ct);
244 if (status) {
245 printf("failed with error code %d\n", status);
246 exit(status);
268 err_status_t status;
280 status = cipher_set_iv(c, idx);
281 if (status)
282 return status;
285 status = cipher_encrypt(c, buffer0, &buflen);
286 if (status)
287 return status;
290 status = cipher_set_iv(c, idx);
291 if (status)
292 return status;
306 status = cipher_encrypt(c, current, &len);
307 if (status)
308 return status;
348 err_status_t status;
371 status = cipher_type_alloc(ctype, cipher_array, klen);
372 if (status)
373 return status;
378 status = cipher_init(*cipher_array, key, direction_encrypt);
379 if (status)
380 return status;
477 err_status_t status;
479 status = cipher_array_alloc_init(&ca, num_cipher, ct, klen);
480 if (status) {
482 status);
483 return status;