> > Well, they are static, no? > > Static to a given site. The issue is that the labels themselves are > classified information for some customers - usually only the compartment > bits - and as such it would be better if we could encrypt them so that > the handling of disks that contain labels could be reduced.
That's why the internal format (aka hex label) is what is stored. By official government ruling (at least from us DoD) it is unclassified and may be view by anyone. Indeed the compartment names are generally classified at the level of their name and must not be visible below that level. label_to_str takes into account these restrictions as well as produces the unclass version of an m_label for storage where it doesn't need protection. Gary..