/* type: will just show that string before printing
 * hash: well, the hash! ;)
 */
int rsbac_show_hash(char *type, char *hash)
{     
        char *p;
        int x, len = 0;
        p = rsbac_kmalloc(100);
        for(x=0; x<RSBAC_UM_PASS_LEN;x++)
                len += sprintf(p+len, "0x%x", hash[x]);
        rsbac_printk(KERN_INFO "hash %s: %s\n", type, p);
        rsbac_kfree(p);
        return 0;
}