cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Classes | Macros | Enumerations | Functions
user.c File Reference
#include <stdio.h>
#include "crypt.h"
#include "enc_dec/asn1.h"
#include "misc/user.h"

Go to the source code of this file.

Classes

struct  USER_INDEX_INFO
 

Macros

#define MAX_USER_OBJECTS   32
 
#define USERDATA_BUFFERSIZE   1024
 
#define MAX_USERINDEX_SIZE
 
#define PRIMARYSO_PASSWORD   "zeroised"
 
#define PRIMARYSO_ALTPASSWORD   "zeroized"
 
#define PRIMARYSO_PASSWORD_LENGTH   8
 

Enumerations

enum  USERID_TYPE {
  USERID_NONE, USERID_USERID, USERID_CREATORID, USERID_NAME,
  USERID_LAST
}
 

Functions

CHECK_RETVAL STDC_NONNULL_ARG ((1, 2))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1))
 
CHECK_RETVAL STDC_NONNULL_ARG ((3, 5))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 4))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 3))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2, 4))
 
CHECK_RETVAL STDC_NONNULL_ARG ((2))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 3, 4))
 
CHECK_RETVAL STDC_NONNULL_ARG ((2, 3))
 
const USER_FILE_INFOgetPrimarySoUserInfo (void)
 

Macro Definition Documentation

#define MAX_USER_OBJECTS   32

Definition at line 38 of file user.c.

#define MAX_USERINDEX_SIZE
Value:
( ( 16 + ( KEYID_SIZE * 2 ) + \

Definition at line 48 of file user.c.

#define PRIMARYSO_ALTPASSWORD   "zeroized"

Definition at line 64 of file user.c.

#define PRIMARYSO_PASSWORD   "zeroised"

Definition at line 63 of file user.c.

#define PRIMARYSO_PASSWORD_LENGTH   8

Definition at line 65 of file user.c.

#define USERDATA_BUFFERSIZE   1024

Definition at line 44 of file user.c.

Enumeration Type Documentation

Enumerator:
USERID_NONE 
USERID_USERID 
USERID_CREATORID 
USERID_NAME 
USERID_LAST 

Definition at line 21 of file user.c.

Function Documentation

const USER_FILE_INFO* getPrimarySoUserInfo ( void  )

!!!!!!!!!!!!!! Needs a serious overhaul !!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!! Needs a serious overhaul !!!!!!!!!!!!!!!!!!!!!

Definition at line 817 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2)  )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!! Dummy references to keep the compiler happy !!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 82 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Definition at line 124 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (3, 5)  )

Definition at line 155 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 4)  )

Definition at line 204 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3)  )

Definition at line 262 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2, 4)  )

Definition at line 338 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (2)  )

Definition at line 439 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 3, 4)  )

Definition at line 589 of file user.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (2, 3)  )

Definition at line 633 of file user.c.