Go to the documentation of this file.
27 #ifndef POLARSSL_PADLOCK_H
28 #define POLARSSL_PADLOCK_H
32 #define POLARSSL_ERR_PADLOCK_DATA_MISALIGNED -0x0030
34 #if defined(POLARSSL_HAVE_ASM) && defined(__GNUC__) && defined(__i386__)
36 #ifndef POLARSSL_HAVE_X86
37 #define POLARSSL_HAVE_X86
42 typedef INT32 int32_t;
48 #define PADLOCK_RNG 0x000C
49 #define PADLOCK_ACE 0x00C0
50 #define PADLOCK_PHE 0x0C00
51 #define PADLOCK_PMM 0x3000
53 #define PADLOCK_ALIGN16(x) (uint32_t *) (16 + ((int32_t) x & ~15))
66 int padlock_supports(
int feature );
80 const unsigned char input[16],
81 unsigned char output[16] );
99 const unsigned char *input,
100 unsigned char *output );