m2mb API docs  25.30.004.0
m2mb API sets documentation
m2mb_crypto_asym.h
Go to the documentation of this file.
1 /* $version: 252203 */
2 #ifndef M2MB_ASYM_H_
3 #define M2MB_ASYM_H_
4 /*===============================================================================================*/
5 /* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
25 /* Include files ================================================================================*/
26 
27 /* Local defines ================================================================================*/
28 /*** RSA ***/
29 
30 #define RSA1024_CYPHERTEXT_SIZE 128
31 #define M2MB_PKCS1_OAEP_PADDING_OVERHEAD 42
32 #define M2MB_PKCS1_V15_PADDING_OVERHEAD 11
33 
34 /*** ECC ***/
35 
36 
37 
38 #define M2MB_BIGLEN 9
39 
40 #ifndef _BOOLEAN_DEFINED
41 typedef unsigned char boolean; /* Boolean value type. */
42 #define _BOOLEAN_DEFINED
43 #endif
44 
45 #ifndef _UINT32_DEFINED
46 typedef unsigned long int uint32; /* Unsigned 32 bit value */
47 #define _UINT32_DEFINED
48 #endif
49 
50 /* Local typedefs ===============================================================================*/
51 
52 
53 /* Local statics ================================================================================*/
54 /* Local function prototypes ====================================================================*/
55 /* Static functions =============================================================================*/
56 /* Global functions =============================================================================*/
57 
58 #endif