cryptlib
3.4.1
|
#include "io/stream.h"
Go to the source code of this file.
Typedefs | |
typedef CHECK_RETVAL_FNPTR | STDC_NONNULL_ARG ((1, 2)) int(*READSIG_FUNCTION)(INOUT STREAM *stream |
typedef CHECK_RETVAL_FNPTR OUT QUERY_INFO * | queryInfo |
typedef CHECK_RETVAL_FNPTR IN_HANDLE_OPT const CRYPT_CONTEXT | iSignContext |
typedef CHECK_RETVAL_FNPTR IN_HANDLE_OPT const CRYPT_CONTEXT | IN_ENUM_OPT (CRYPT_ALGO) const CRYPT_ALGO_TYPE hashAlgo |
typedef CHECK_RETVAL_FNPTR IN_HANDLE_OPT const CRYPT_CONTEXT IN_INT_SHORT_Z const int | hashParam |
typedef CHECK_RETVAL_FNPTR IN_HANDLE_OPT const CRYPT_CONTEXT IN_INT_SHORT_Z const int | IN_BUFFER (signatureLength) const BYTE *signature |
typedef CHECK_RETVAL_FNPTR IN_HANDLE_OPT const CRYPT_CONTEXT IN_INT_SHORT_Z const int | IN_LENGTH_SHORT_MIN (40) const int signatureLength) |
typedef CHECK_RETVAL_FNPTR IN_HANDLE const CRYPT_CONTEXT | iCryptContext |
typedef CHECK_RETVAL_FNPTR IN_HANDLE const CRYPT_CONTEXT | IN_BUFFER_OPT (auxInfoLength) const void *auxInfo |
typedef CHECK_RETVAL_FNPTR IN_HANDLE const CRYPT_CONTEXT IN_LENGTH_SHORT_Z const int | auxInfoLength |
Enumerations | |
enum | { KEYTRANS_VERSION, SIGNATURE_VERSION, KEYTRANS_EX_VERSION, SIGNATURE_EX_VERSION, KEK_VERSION, PWRI_VERSION = 0 } |
enum | { CTAG_RI_KEYAGREE = 1, CTAG_RI_KEKRI, CTAG_RI_PWRI, CTAG_RI_MAX = 9 } |
enum | KEYEX_TYPE { KEYEX_NONE, KEYEX_CMS, KEYEX_CRYPTLIB, KEYEX_PGP, KEYEX_LAST } |
enum | SIGNATURE_TYPE { SIGNATURE_NONE, SIGNATURE_RAW, SIGNATURE_X509, SIGNATURE_CMS, SIGNATURE_CRYPTLIB, SIGNATURE_PGP, SIGNATURE_SSH, SIGNATURE_SSL, SIGNATURE_TLS12, SIGNATURE_LAST } |
CHECK_RETVAL INOUT SSL_HANDSHAKE_INFO IN_BUFFER |
typedef CHECK_RETVAL_FNPTR IN_HANDLE const CRYPT_CONTEXT IN_BUFFER_OPT(encryptedKeyLength) const BYTE *encryptedKey |
CHECK_RETVAL_PTR IN GETATTRFUNCTION IN_ENUM_OPT | ( | CRYPT_ALGO | ) | const |
CHECK_RETVAL IN_LENGTH_SHORT_MIN |
typedef CHECK_RETVAL_FNPTR STDC_NONNULL_ARG((1)) int(*WRITEKEK_FUNCTION)(STREAM *stream |
anonymous enum |
anonymous enum |
enum KEYEX_TYPE |
enum SIGNATURE_TYPE |
CHECK_RETVAL_PTR READKEK_FUNCTION getReadKekFunction | ( | IN_ENUM(KEYEX) const KEYEX_TYPE | keyexType | ) |
Definition at line 1031 of file keyex_rw.c.
CHECK_RETVAL_PTR READKEYTRANS_FUNCTION getReadKeytransFunction | ( | IN_ENUM(KEYEX) const KEYEX_TYPE | keyexType | ) |
Definition at line 991 of file keyex_rw.c.
CHECK_RETVAL_PTR READSIG_FUNCTION getReadSigFunction | ( | IN_ENUM(SIGNATURE) const SIGNATURE_TYPE | sigType | ) |
CHECK_RETVAL_PTR WRITEKEK_FUNCTION getWriteKekFunction | ( | IN_ENUM(KEYEX) const KEYEX_TYPE | keyexType | ) |
Definition at line 1051 of file keyex_rw.c.
CHECK_RETVAL_PTR WRITEKEYTRANS_FUNCTION getWriteKeytransFunction | ( | IN_ENUM(KEYEX) const KEYEX_TYPE | keyexType | ) |
Definition at line 1011 of file keyex_rw.c.
CHECK_RETVAL_PTR WRITESIG_FUNCTION getWriteSigFunction | ( | IN_ENUM(SIGNATURE) const SIGNATURE_TYPE | sigType | ) |
CHECK_RETVAL * encryptedKeyLength void IN_LENGTH const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT IN_BUFFER_OPT | ( | auxInfoLength | ) | const |
CHECK_RETVAL * encryptedKeyLength void IN_LENGTH const int OUT_LENGTH_Z int IN_HANDLE_OPT const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT IN_ENUM | ( | KEYEX | ) | const |
CHECK_RETVAL * signatureLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT const BOOLEAN IN_HANDLE_OPT const CRYPT_CERTIFICATE IN_HANDLE_OPT const CRYPT_SESSION IN_ENUM | ( | CRYPT_FORMAT | ) | const |
CHECK_RETVAL * signatureLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT IN_HANDLE_OPT const CRYPT_CONTEXT IN_ENUM | ( | SIGNATURE | ) | const |
CHECK_RETVAL * signatureLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT IN_RANGE | ( | PGP_SIG_NONE | , |
PGP_SIG_LAST- | 1 | ||
) | const |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (3) | ) |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1) | ) | const |
CHECK_RETVAL STDC_NONNULL_ARG | ( | (1, 2) | ) |
CHECK_RETVAL *encryptedKeyLength void * encryptedKey |
CHECK_RETVAL IN_LENGTH_SHORT const int encryptedKeyLength |
CHECK_RETVAL * encryptedKeyLength void IN_LENGTH const int encryptedKeyMaxLength |
CHECK_RETVAL * signatureLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT const BOOLEAN IN_HANDLE_OPT const CRYPT_CERTIFICATE iAuthAttr |
CHECK_RETVAL *encryptedKeyLength void IN_LENGTH const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT iExportContext |
CHECK_RETVAL IN_LENGTH_SHORT const int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT iHashContext |
CHECK_RETVAL IN_LENGTH_SHORT const int IN_HANDLE_OPT const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT iImportContext |
CHECK_RETVAL IN_LENGTH_SHORT const int IN_HANDLE_OPT const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT OUT_OPT_HANDLE_OPT CRYPT_CONTEXT* iReturnedContext |
CHECK_RETVAL *encryptedKeyLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE_OPT const CRYPT_CONTEXT iSessionKeyContext |
CHECK_RETVAL IN_LENGTH_SHORT const int IN_HANDLE const CRYPT_CONTEXT iSigCheckContext |
CHECK_RETVAL IN_LENGTH_SHORT const int IN_HANDLE const CRYPT_CONTEXT sigCheckContext |
CHECK_RETVAL *signatureLength void IN_LENGTH_Z const int sigMaxLength |
CHECK_RETVAL *signatureLength void * signature |
CHECK_RETVAL IN_LENGTH_SHORT const int signatureLength |
CHECK_RETVAL * signatureLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT signContext |
CHECK_RETVAL * signatureLength void IN_LENGTH_Z const int OUT_LENGTH_Z int IN_HANDLE const CRYPT_CONTEXT IN_HANDLE const CRYPT_CONTEXT const BOOLEAN useDefaultAuthAttr |