cryptlib  3.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
Functions
keyex.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)
 
CHECK_RETVAL STDC_NONNULL_ARG ((2))
 
C_RET cryptImportKeyEx (C_IN void C_PTR encryptedKey, C_IN int encryptedKeyLength, C_IN CRYPT_CONTEXT importKey, C_IN CRYPT_CONTEXT sessionKeyContext, C_OUT CRYPT_CONTEXT C_PTR returnedContext)
 
C_RET cryptImportKey (C_IN void C_PTR encryptedKey, C_IN int encryptedKeyLength, C_IN CRYPT_CONTEXT importKey, C_IN CRYPT_CONTEXT sessionKeyContext)
 
C_RET cryptExportKeyEx (C_OUT_OPT void C_PTR encryptedKey, C_IN int encryptedKeyMaxLength, C_OUT int C_PTR encryptedKeyLength, C_IN CRYPT_FORMAT_TYPE formatType, C_IN CRYPT_HANDLE exportKey, C_IN CRYPT_CONTEXT sessionKeyContext)
 
C_RET cryptExportKey (C_OUT_OPT void C_PTR encryptedKey, C_IN int encryptedKeyMaxLength, C_OUT int C_PTR encryptedKeyLength, C_IN CRYPT_HANDLE exportKey, C_IN CRYPT_CONTEXT sessionKeyContext)
 
CHECK_RETVAL STDC_NONNULL_ARG ((1))
 
CHECK_RETVAL STDC_NONNULL_ARG ((3))
 

Function Documentation

CHECK_RETVAL_ENUM ( CRYPT_FORMAT  )

Definition at line 32 of file keyex.c.

C_RET cryptExportKey ( C_OUT_OPT void C_PTR  encryptedKey,
C_IN int  encryptedKeyMaxLength,
C_OUT int C_PTR  encryptedKeyLength,
C_IN CRYPT_HANDLE  exportKey,
C_IN CRYPT_CONTEXT  sessionKeyContext 
)

Definition at line 533 of file keyex.c.

C_RET cryptExportKeyEx ( C_OUT_OPT void C_PTR  encryptedKey,
C_IN int  encryptedKeyMaxLength,
C_OUT int C_PTR  encryptedKeyLength,
C_IN CRYPT_FORMAT_TYPE  formatType,
C_IN CRYPT_HANDLE  exportKey,
C_IN CRYPT_CONTEXT  sessionKeyContext 
)

Definition at line 457 of file keyex.c.

C_RET cryptImportKey ( C_IN void C_PTR  encryptedKey,
C_IN int  encryptedKeyLength,
C_IN CRYPT_CONTEXT  importKey,
C_IN CRYPT_CONTEXT  sessionKeyContext 
)

Definition at line 440 of file keyex.c.

C_RET cryptImportKeyEx ( C_IN void C_PTR  encryptedKey,
C_IN int  encryptedKeyLength,
C_IN CRYPT_CONTEXT  importKey,
C_IN CRYPT_CONTEXT  sessionKeyContext,
C_OUT CRYPT_CONTEXT C_PTR  returnedContext 
)

Definition at line 291 of file keyex.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (2)  )

Definition at line 120 of file keyex.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (1)  )

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

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

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

Definition at line 559 of file keyex.c.

CHECK_RETVAL STDC_NONNULL_ARG ( (3)  )

Definition at line 611 of file keyex.c.