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:
parent
bf027e736a
commit
05d0e51bb1
2 changed files with 28 additions and 28 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue