cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Macros | Functions
asn1_algid.c File Reference
#include "enc_dec/asn1.h"
#include "enc_dec/asn1_ext.h"
#include "enc_dec/asn1_oids.h"

Go to the source code of this file.

Macros

#define ALGOTOOID_REQUIRE_VALID   TRUE
 
#define ALGOTOOID_CHECK_VALID   FALSE
 
#define RC2_KEYSIZE_MAGIC   58
 

Functions

CHECK_RETVAL STDC_NONNULL_ARG ((1, 4, 5, 6))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2, 3))
 
CHECK_RETVAL_LENGTH int sizeofCryptContextAlgoID (IN_HANDLE const CRYPT_CONTEXT iCryptContext)
 
RETVAL STDC_NONNULL_ARG ((1))
 
CHECK_RETVAL_BOOL BOOLEAN checkAlgoID (IN_ALGO const CRYPT_ALGO_TYPE cryptAlgo, IN_MODE const CRYPT_MODE_TYPE cryptMode)
 
CHECK_RETVAL_LENGTH int sizeofAlgoIDex (IN_ALGO const CRYPT_ALGO_TYPE cryptAlgo, IN_RANGE(0, 999) const int parameter, IN_LENGTH_SHORT_Z const int extraLength)
 
CHECK_RETVAL_LENGTH int sizeofAlgoID (IN_ALGO const CRYPT_ALGO_TYPE cryptAlgo)
 
CHECK_RETVAL STDC_NONNULL_ARG ((1, 2, 3, 4))
 
CHECK_RETVAL_LENGTH int sizeofContextAlgoID (IN_HANDLE const CRYPT_CONTEXT iCryptContext, IN_RANGE(0, 999) const int parameter)
 

Macro Definition Documentation

#define ALGOTOOID_CHECK_VALID   FALSE

Definition at line 95 of file asn1_algid.c.

#define ALGOTOOID_REQUIRE_VALID   TRUE

Definition at line 94 of file asn1_algid.c.

#define RC2_KEYSIZE_MAGIC   58

Definition at line 309 of file asn1_algid.c.

Function Documentation

CHECK_RETVAL_BOOL BOOLEAN checkAlgoID ( IN_ALGO const CRYPT_ALGO_TYPE  cryptAlgo,
IN_MODE const CRYPT_MODE_TYPE  cryptMode 
)

Definition at line 755 of file asn1_algid.c.

CHECK_RETVAL_LENGTH int sizeofAlgoID ( IN_ALGO const CRYPT_ALGO_TYPE  cryptAlgo)

Definition at line 789 of file asn1_algid.c.

CHECK_RETVAL_LENGTH int sizeofAlgoIDex ( IN_ALGO const CRYPT_ALGO_TYPE  cryptAlgo,
IN_RANGE(0, 999) const int  parameter,
IN_LENGTH_SHORT_Z const int  extraLength 
)

Definition at line 771 of file asn1_algid.c.

CHECK_RETVAL_LENGTH int sizeofContextAlgoID ( IN_HANDLE const CRYPT_CONTEXT  iCryptContext,
IN_RANGE(0, 999) const int  parameter 
)

Definition at line 934 of file asn1_algid.c.

CHECK_RETVAL_LENGTH int sizeofCryptContextAlgoID ( IN_HANDLE const CRYPT_CONTEXT  iCryptContext)

Definition at line 552 of file asn1_algid.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 4, 5, 6)  )

Definition at line 32 of file asn1_algid.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2)  )

Definition at line 165 of file asn1_algid.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2, 3)  )

Definition at line 313 of file asn1_algid.c.

RETVAL STDC_NONNULL_ARG ( (1)  )

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

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

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

Definition at line 572 of file asn1_algid.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1, 2, 3, 4)  )

Definition at line 886 of file asn1_algid.c.