mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-26 07:35:45 +00:00
Remove unneeded #includes.
This commit is contained in:
parent
b9cf4fb835
commit
43587fe51a
12 changed files with 6 additions and 20 deletions
|
@ -32,7 +32,6 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cryb/endian.h>
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cryb/aes.h>
|
||||
|
||||
|
|
|
@ -31,9 +31,8 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* test our own code, not the compiler's */
|
||||
#undef HAVE___BUILTIN_BSWAP16
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cryb/endian.h>
|
||||
#include <cryb/hash.h>
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cryb/rc4.h>
|
||||
|
|
|
@ -33,10 +33,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <cryb/rfc3986.h>
|
||||
|
||||
|
|
|
@ -34,10 +34,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <cryb/rfc4648.h>
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ t_sha224_short_updates(char **desc CRYB_UNUSED, void *arg)
|
|||
sha224_update(&ctx, vector->msg + i, 5);
|
||||
sha224_update(&ctx, vector->msg + i, len - i);
|
||||
sha224_final(&ctx, digest);
|
||||
return (memcmp(digest, vector->digest, SHA224_DIGEST_LEN) == 0);
|
||||
return (t_compare_mem(digest, vector->digest, SHA224_DIGEST_LEN));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ t_sha384_short_updates(char **desc CRYB_UNUSED, void *arg)
|
|||
sha384_update(&ctx, vector->msg + i, 5);
|
||||
sha384_update(&ctx, vector->msg + i, len - i);
|
||||
sha384_final(&ctx, digest);
|
||||
return (memcmp(digest, vector->digest, SHA384_DIGEST_LEN) == 0);
|
||||
return (t_compare_mem(digest, vector->digest, SHA384_DIGEST_LEN));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -31,9 +31,8 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <cryb/string.h>
|
||||
|
||||
|
|
|
@ -31,9 +31,8 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#undef HAVE_STRLCMP
|
||||
#include <cryb/strlcmp.h>
|
||||
|
|
|
@ -31,9 +31,8 @@
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <wchar.h>
|
||||
|
||||
#include <cryb/wstring.h>
|
||||
|
|
Loading…
Reference in a new issue