Skip to content

fix filename clash #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sha256/SHA256.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#pragma once

#include "sha256.h"
#include "sha2.h"

class SHA256 {

Expand Down
2 changes: 1 addition & 1 deletion src/sha256/sha256.c → src/sha256/sha2.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define UNROLL_LOOPS /* Enable loops unrolling */
#endif

#include "sha256.h"
#include "sha2.h"

#define SHFR(x, n) (x >> n)
#define ROTR(x, n) ((x >> n) | (x << ((sizeof (x) << 3) - n)))
Expand Down
1 change: 1 addition & 0 deletions src/sha256/sha256.h → src/sha256/sha2.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#include <stdint.h>
#include <stddef.h>
#include <string.h>

#define SHA256_DIGEST_SIZE ( 256 / 8)
#define SHA256_BLOCK_SIZE ( 512 / 8)
Expand Down
Loading