Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
debug.c File Reference
#include "ecryptfs_kernel.h"

Go to the source code of this file.

Functions

void ecryptfs_dump_auth_tok (struct ecryptfs_auth_tok *auth_tok)
 
void ecryptfs_dump_hex (char *data, int bytes)
 

Function Documentation

void ecryptfs_dump_auth_tok ( struct ecryptfs_auth_tok auth_tok)

eCryptfs: Linux filesystem encryption layer Functions only useful for debugging.

Copyright (C) 2006 International Business Machines Corp. Author(s): Michael A. Halcrow mahal.nosp@m.cro@.nosp@m.us.ib.nosp@m.m.co.nosp@m.m

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ecryptfs_dump_auth_tok - debug function to print auth toks

This function will print the contents of an ecryptfs authentication token.

Definition at line 32 of file debug.c.

void ecryptfs_dump_hex ( char data,
int  bytes 
)

ecryptfs_dump_hex - debug hex printer : string of bytes to be printed : number of bytes to print

Dump hexadecimal representation of char array

Definition at line 98 of file debug.c.