Lines Matching refs:command_prot
42 static enum protection_level command_prot;
383 len = (*mech->encode)(app_data, buf, strlen(buf), command_prot, &enc);
396 if(command_prot == prot_safe)
398 else if(command_prot == prot_private)
400 else if(command_prot == prot_confidential)
403 if(command_prot == prot_safe)
405 else if(command_prot == prot_private)
407 else if(command_prot == prot_confidential)
535 command_prot = data_prot = prot_clear;
558 command_prot = level;
618 return command_prot;
628 printf("Using %s command channel.\n", level_to_name(command_prot));
681 enum protection_level old = command_prot;
682 if(level != command_prot && level == prot_clear) {
689 command_prot = level;
854 command_prot = prot_private;
857 command_prot = prot_safe;