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>
master
David Sterba 2019-06-06 11:56:13 +02:00
parent bc2fff4675
commit 3a73bc1b37
5 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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