cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Macros | Functions | Variables
pgp_rw.h File Reference
#include <time.h>
#include "enc_dec/misc_rw.h"
#include "io/stream.h"
#include "misc/pgp.h"

Go to the source code of this file.

Macros

#define pgpSizeofLength(length)
 

Functions

CHECK_RETVAL STDC_NONNULL_ARG ((1, 2)) int pgpReadShortLength(INOUT STREAM *stream
 
RETVAL STDC_NONNULL_ARG ((1)) int pgpWriteLength(INOUT STREAM *stream
 
RETVAL IN_ENUM (PGP_PACKET) const PGP_PACKET_TYPE packetType
 

Variables

CHECK_RETVAL OUT_LENGTH int * length
 
CHECK_RETVAL OUT_LENGTH int
IN_BYTE const int 
ctb
 
CHECK_RETVAL OUT_OPT_BYTE int
OUT_OPT_LENGTH_Z long
IN_LENGTH_SHORT const int 
minLength
 

Macro Definition Documentation

#define pgpSizeofLength (   length)
Value:
( ( length < 0 ) ? length : \
( length <= 191 ) ? 1 : \
( length <= 8383 ) ? 2 : 4 )

Definition at line 31 of file pgp_rw.h.

Function Documentation

RETVAL IN_ENUM ( PGP_PACKET  ) const
CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2)  )
RETVAL STDC_NONNULL_ARG ( (1)  )

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

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

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

Definition at line 26 of file ctx_attr.c.

Variable Documentation

Definition at line 36 of file pgp_rw.h.

RETVAL IN_LENGTH const long length

Definition at line 36 of file pgp_rw.h.

Definition at line 51 of file pgp_rw.h.