btrfs-progs: move sha256 from tests to crypto/
The SHA256 is going to be used in the future, so this makes it a second user and we also have the appropriate directory now. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
bc2fff4675
commit
3a73bc1b37
2
Makefile
2
Makefile
|
@ -642,7 +642,7 @@ library-test.static: library-test.c $(libs_static)
|
|||
@echo " [TEST CLEAN] $@"
|
||||
$(Q)$(RM) -rf -- $(TMPD)
|
||||
|
||||
fssum: tests/fssum.c tests/sha224-256.c
|
||||
fssum: tests/fssum.c crypto/sha224-256.c
|
||||
@echo " [LD] $@"
|
||||
$(Q)$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <assert.h>
|
||||
#include <time.h>
|
||||
#include <stdint.h>
|
||||
#include "tests/sha.h"
|
||||
#include "crypto/sha.h"
|
||||
|
||||
#define CS_SIZE 32
|
||||
#define CHUNKS 128
|
||||
|
|
Loading…
Reference in New Issue