Lines Matching refs:cipher_driver_info

410 static struct driver_info_st cipher_driver_info[OSSL_NELEM(cipher_data)];  variable
415 return (cipher_driver_info[cipher_data_index].status == DEVCRYPTO_STATUS_USABLE in devcrypto_test_cipher()
417 && (cipher_driver_info[cipher_data_index].accelerated in devcrypto_test_cipher()
420 || (cipher_driver_info[cipher_data_index].accelerated in devcrypto_test_cipher()
437 memset(&cipher_driver_info, 0, sizeof(cipher_driver_info)); in prepare_cipher_methods()
463 cipher_driver_info[i].status = DEVCRYPTO_STATUS_NO_CIOCGSESSION; in prepare_cipher_methods()
470 cipher_driver_info[i].status = DEVCRYPTO_STATUS_NO_CIOCGSESSION; in prepare_cipher_methods()
499 cipher_driver_info[i].status = DEVCRYPTO_STATUS_FAILURE; in prepare_cipher_methods()
503 cipher_driver_info[i].status = DEVCRYPTO_STATUS_USABLE; in prepare_cipher_methods()
505 cipher_driver_info[i].accelerated = accelerated; in prepare_cipher_methods()
508 cipher_driver_info[i].driver_name = in prepare_cipher_methods()
514 cipher_driver_info[i].accelerated = DEVCRYPTO_ACCELERATION_UNKNOWN; in prepare_cipher_methods()
516 cipher_driver_info[i].driver_name = in prepare_cipher_methods()
520 cipher_driver_info[i].accelerated = DEVCRYPTO_NOT_ACCELERATED; in prepare_cipher_methods()
522 cipher_driver_info[i].accelerated = DEVCRYPTO_ACCELERATED; in prepare_cipher_methods()
575 OPENSSL_free(cipher_driver_info[i].driver_name); in destroy_all_cipher_methods()
576 cipher_driver_info[i].driver_name = NULL; in destroy_all_cipher_methods()
636 if (cipher_driver_info[i].status == DEVCRYPTO_STATUS_NO_CIOCGSESSION ) { in dump_cipher_info()
640 fprintf (stderr, "driver=%s ", cipher_driver_info[i].driver_name ? in dump_cipher_info()
641 cipher_driver_info[i].driver_name : "unknown"); in dump_cipher_info()
642 if (cipher_driver_info[i].accelerated == DEVCRYPTO_ACCELERATED) in dump_cipher_info()
644 else if (cipher_driver_info[i].accelerated == DEVCRYPTO_NOT_ACCELERATED) in dump_cipher_info()
648 if (cipher_driver_info[i].status == DEVCRYPTO_STATUS_FAILURE) in dump_cipher_info()
1078 if (cipher_driver_info[i].status == DEVCRYPTO_STATUS_FAILURE) in dump_digest_info()