mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Merge pull request #824 from LudwigOrtmann/3des_includes
sys/crypto: remove assert.h include
This commit is contained in:
commit
80135e6655
@ -961,7 +961,6 @@ int aes_encrypt(cipher_context_t *context, uint8_t *plainBlock,
|
||||
int r;
|
||||
#endif /* ?FULL_UNROLL */
|
||||
|
||||
//assert(plainBlock && cipherBlock && key); is this really needed?
|
||||
rk = key->rd_key;
|
||||
|
||||
/*
|
||||
@ -1222,7 +1221,6 @@ int aes_decrypt(cipher_context_t *context, uint8_t *cipherBlock,
|
||||
int r;
|
||||
#endif /* ?FULL_UNROLL */
|
||||
|
||||
// assert(cipherBlock && plainBlock && key); // nedded? see above
|
||||
rk = key->rd_key;
|
||||
|
||||
/*
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include "assert.h"
|
||||
|
||||
#include "crypto/ciphers.h"
|
||||
|
||||
#ifndef THREEDES_H_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user