cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Functions
sign.c File Reference
#include "crypt.h"
#include "enc_dec/asn1.h"
#include "enc_dec/asn1_ext.h"
#include "enc_dec/misc_rw.h"
#include "enc_dec/pgp_rw.h"
#include "mechs/mech.h"

Go to the source code of this file.

Functions

 CHECK_RETVAL_ENUM (CRYPT_FORMAT)
 
C_RET cryptCreateSignatureEx (C_OUT_OPT void C_PTR signature, C_IN int signatureMaxLength, C_OUT int C_PTR signatureLength, C_IN CRYPT_FORMAT_TYPE formatType, C_IN CRYPT_CONTEXT signContext, C_IN CRYPT_CONTEXT hashContext, C_IN CRYPT_HANDLE extraData)
 
C_RET cryptCreateSignature (C_OUT_OPT void C_PTR signature, C_IN int signatureMaxLength, C_OUT int C_PTR signatureLength, C_IN CRYPT_CONTEXT signContext, C_IN CRYPT_CONTEXT hashContext)
 
C_RET cryptCheckSignatureEx (C_IN void C_PTR signature, C_IN int signatureLength, C_IN CRYPT_HANDLE sigCheckKey, C_IN CRYPT_CONTEXT hashContext, C_OUT_OPT CRYPT_HANDLE C_PTR extraData)
 
C_RET cryptCheckSignature (C_IN void C_PTR signature, C_IN int signatureLength, C_IN CRYPT_HANDLE sigCheckKey, C_IN CRYPT_CONTEXT hashContext)
 
CHECK_RETVAL STDC_NONNULL_ARG ((3))
 
CHECK_RETVAL STDC_NONNULL_ARG ((1))
 

Function Documentation

CHECK_RETVAL_ENUM ( CRYPT_FORMAT  )

Definition at line 32 of file sign.c.

C_RET cryptCheckSignature ( C_IN void C_PTR  signature,
C_IN int  signatureLength,
C_IN CRYPT_HANDLE  sigCheckKey,
C_IN CRYPT_CONTEXT  hashContext 
)

Definition at line 399 of file sign.c.

C_RET cryptCheckSignatureEx ( C_IN void C_PTR  signature,
C_IN int  signatureLength,
C_IN CRYPT_HANDLE  sigCheckKey,
C_IN CRYPT_CONTEXT  hashContext,
C_OUT_OPT CRYPT_HANDLE C_PTR  extraData 
)

Definition at line 280 of file sign.c.

C_RET cryptCreateSignature ( C_OUT_OPT void C_PTR  signature,
C_IN int  signatureMaxLength,
C_OUT int C_PTR  signatureLength,
C_IN CRYPT_CONTEXT  signContext,
C_IN CRYPT_CONTEXT  hashContext 
)

Definition at line 249 of file sign.c.

C_RET cryptCreateSignatureEx ( C_OUT_OPT void C_PTR  signature,
C_IN int  signatureMaxLength,
C_OUT int C_PTR  signatureLength,
C_IN CRYPT_FORMAT_TYPE  formatType,
C_IN CRYPT_CONTEXT  signContext,
C_IN CRYPT_CONTEXT  hashContext,
C_IN CRYPT_HANDLE  extraData 
)

Definition at line 114 of file sign.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (3)  )

Definition at line 419 of file sign.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

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

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

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

Definition at line 608 of file sign.c.