Lines Matching refs:authinfo

291 				    struct dvd_authinfo *authinfo);
293 struct dvd_authinfo *authinfo);
2807 struct dvd_authinfo *authinfo;
2809 authinfo = (struct dvd_authinfo *)addr;
2812 error = cdreportkey(periph, authinfo);
2814 error = cdsendkey(periph, authinfo);
3884 cdreportkey(struct cam_periph *periph, struct dvd_authinfo *authinfo)
3896 switch (authinfo->format) {
3909 lba = authinfo->lba;
3937 /* agid */ authinfo->agid,
3938 /* key_format */ authinfo->format,
3955 switch(authinfo->format) {
3961 authinfo->agid = (agid_data->agid & RKD_AGID_MASK) >>
3970 bcopy(chal_data->challenge_key, authinfo->keychal,
3972 sizeof(authinfo->keychal)));
3980 bcopy(key1_data->key1, authinfo->keychal,
3981 min(sizeof(key1_data->key1), sizeof(authinfo->keychal)));
3989 authinfo->cpm = (title_data->byte0 & RKD_TITLE_CPM) >>
3991 authinfo->cp_sec = (title_data->byte0 & RKD_TITLE_CP_SEC) >>
3993 authinfo->cgms = (title_data->byte0 & RKD_TITLE_CMGS_MASK) >>
3995 bcopy(title_data->title_key, authinfo->keychal,
3997 sizeof(authinfo->keychal)));
4005 authinfo->asf = asf_data->success & RKD_ASF_SUCCESS;
4013 authinfo->reg_type = (rpc_data->byte4 & RKD_RPC_TYPE_MASK) >>
4015 authinfo->vend_rsts =
4018 authinfo->user_rsts = rpc_data->byte4 & RKD_RPC_USER_RESET_MASK;
4019 authinfo->region = rpc_data->region_mask;
4020 authinfo->rpc_scheme = rpc_data->rpc_scheme1;
4043 cdsendkey(struct cam_periph *periph, struct dvd_authinfo *authinfo)
4053 switch(authinfo->format) {
4066 bcopy(authinfo->keychal, challenge_data->challenge_key,
4067 min(sizeof(authinfo->keychal),
4083 bcopy(authinfo->keychal, key2_data->key1,
4084 min(sizeof(authinfo->keychal), sizeof(key2_data->key1)));
4100 rpc_data->region_code = authinfo->region;
4114 /* agid */ authinfo->agid,
4115 /* key_format */ authinfo->format,