This commit is contained in:
J Harper
2016-10-10 21:59:05 +01:00
parent aa4ef719cc
commit b8dcfd8759
97 changed files with 6724 additions and 3137 deletions

View File

@@ -55,6 +55,15 @@
#if defined(USE_AES_GCM)
#define USE_MATRIX_AES_GCM
#endif
#if defined(USE_AES_CMAC)
#define USE_MATRIX_AES_CMAC
#endif
#if defined(USE_AES_WRAP)
#define USE_MATRIX_AES_WRAP
#endif
#if defined(USE_AES_CTR)
#define USE_MATRIX_AES_CTR
#endif
#ifdef USE_CHACHA20_POLY1305
#ifndef USE_LIBSODIUM_CRYPTO

View File

@@ -1,5 +1,5 @@
/**
* @file matrixcrypto.c
* @file matrix.c
* @version $Format:%h%d$
*
* Matrix Crypto Initialization and utility layer.
@@ -63,6 +63,9 @@ int32_t psCryptoOpen(const char *config)
psError("pscore open failure\n");
return PS_FAILURE;
}
#ifdef USE_FLPS_BINDING
flps_binding();
#endif /* USE_FLPS_BINDING */
psOpenPrng();
#ifdef USE_CRL
psCrlOpen();