Lines Matching refs:cipher_driver_info

411 static struct driver_info_st cipher_driver_info[OSSL_NELEM(cipher_data)];  variable
416 return (cipher_driver_info[cipher_data_index].status == DEVCRYPTO_STATUS_USABLE in devcrypto_test_cipher()
418 && (cipher_driver_info[cipher_data_index].accelerated in devcrypto_test_cipher()
421 || (cipher_driver_info[cipher_data_index].accelerated in devcrypto_test_cipher()
438 memset(&cipher_driver_info, 0, sizeof(cipher_driver_info)); in prepare_cipher_methods()
464 cipher_driver_info[i].status = DEVCRYPTO_STATUS_NO_CIOCGSESSION; in prepare_cipher_methods()
471 cipher_driver_info[i].status = DEVCRYPTO_STATUS_NO_CIOCGSESSION; in prepare_cipher_methods()
500 cipher_driver_info[i].status = DEVCRYPTO_STATUS_FAILURE; in prepare_cipher_methods()
504 cipher_driver_info[i].status = DEVCRYPTO_STATUS_USABLE; in prepare_cipher_methods()
506 cipher_driver_info[i].accelerated = accelerated; in prepare_cipher_methods()
509 cipher_driver_info[i].driver_name = in prepare_cipher_methods()
515 cipher_driver_info[i].accelerated = DEVCRYPTO_ACCELERATION_UNKNOWN; in prepare_cipher_methods()
517 cipher_driver_info[i].driver_name = in prepare_cipher_methods()
521 cipher_driver_info[i].accelerated = DEVCRYPTO_NOT_ACCELERATED; in prepare_cipher_methods()
523 cipher_driver_info[i].accelerated = DEVCRYPTO_ACCELERATED; in prepare_cipher_methods()
576 OPENSSL_free(cipher_driver_info[i].driver_name); in destroy_all_cipher_methods()
577 cipher_driver_info[i].driver_name = NULL; in destroy_all_cipher_methods()
637 if (cipher_driver_info[i].status == DEVCRYPTO_STATUS_NO_CIOCGSESSION) { in dump_cipher_info()
641 fprintf (stderr, "driver=%s ", cipher_driver_info[i].driver_name ? in dump_cipher_info()
642 cipher_driver_info[i].driver_name : "unknown"); in dump_cipher_info()
643 if (cipher_driver_info[i].accelerated == DEVCRYPTO_ACCELERATED) in dump_cipher_info()
645 else if (cipher_driver_info[i].accelerated == DEVCRYPTO_NOT_ACCELERATED) in dump_cipher_info()
649 if (cipher_driver_info[i].status == DEVCRYPTO_STATUS_FAILURE) in dump_cipher_info()
1079 if (cipher_driver_info[i].status == DEVCRYPTO_STATUS_FAILURE) in dump_digest_info()