Removed some redundant \0 string terminators

dev/timer
Hauke Petersen 9 years ago
parent 6140caf055
commit e866640646

@ -44,7 +44,7 @@
* @brief Interface to the 3DES cipher
*/
block_cipher_interface_t tripledes_interface = {
"3DES\0",
"3DES",
tripledes_init,
tripledes_encrypt,
tripledes_decrypt,

@ -40,7 +40,7 @@
* Interface to the aes cipher
*/
block_cipher_interface_t aes_interface = {
"AES\0",
"AES",
aes_init,
aes_encrypt,
aes_decrypt,

@ -37,7 +37,7 @@
* @brief Interface to the rc5 cipher
*/
block_cipher_interface_t rc5_interface = {
"RC5\0",
"RC5",
rc5_init,
rc5_encrypt,
rc5_decrypt,

@ -53,7 +53,7 @@
* @brief Interface to the skipjack cipher
*/
block_cipher_interface_t skipjack_interface = {
"SkipJack\0",
"SkipJack",
skipjack_init,
skipjack_encrypt,
skipjack_decrypt,

@ -35,7 +35,7 @@ static int twofish_set_key(twofish_context_t *ctx, uint8_t *key, uint8_t keylen)
// twofish interface
block_cipher_interface_t twofish_interface = {
"TWOFISH\0",
"TWOFISH",
twofish_init,
twofish_encrypt,
twofish_decrypt,

Loading…
Cancel
Save