Minor modifications for alt support in des and ecp

1. Add 3des context to be allowed for alternative defintion
2. Move some ecp structs, to disallow alternative definition of them,
as other modules rely on them
This commit is contained in:
Ron Eldor 2018-04-16 17:40:04 +03:00
parent bf027e736a
commit 05d0e51bb1
2 changed files with 28 additions and 28 deletions

View file

@ -67,10 +67,6 @@ typedef struct
}
mbedtls_des_context;
#else /* MBEDTLS_DES_ALT */
#include "des_alt.h"
#endif /* MBEDTLS_DES_ALT */
/**
* \brief Triple-DES context structure
*/
@ -80,6 +76,10 @@ typedef struct
}
mbedtls_des3_context;
#else /* MBEDTLS_DES_ALT */
#include "des_alt.h"
#endif /* MBEDTLS_DES_ALT */
/**
* \brief Initialize DES context
*