Lines Matching refs:hwbcc_ops
100 static const struct hwbcc_ops* hwbcc_ops; variable
102 static int hwbcc_check_ops(const struct hwbcc_ops* ops) { in hwbcc_check_ops()
115 assert(hwbcc_ops); in on_connect()
118 int rc = hwbcc_ops->init(&s, peer); in on_connect()
129 assert(hwbcc_ops); in on_channel_cleanup()
132 hwbcc_ops->close(s); in on_channel_cleanup()
144 assert(hwbcc_ops); in handle_sign_data()
146 rc = hwbcc_ops->sign_key(s, test_mode, args->algorithm, data_and_aad, in handle_sign_data()
176 assert(hwbcc_ops); in handle_get_bcc()
178 rc = hwbcc_ops->get_bcc(s, test_mode, resp.payload, sizeof(resp.payload), in handle_get_bcc()
206 assert(hwbcc_ops); in handle_get_dice_artifacts()
208 rc = hwbcc_ops->get_dice_artifacts(s, context, resp.payload, in handle_get_dice_artifacts()
235 assert(hwbcc_ops); in handle_ns_deprivilege()
237 rc = hwbcc_ops->ns_deprivilege(s); in handle_ns_deprivilege()
331 int add_hwbcc_service(struct tipc_hset* hset, const struct hwbcc_ops* ops) { in add_hwbcc_service()
336 hwbcc_ops = ops; in add_hwbcc_service()