Skip to content

Commit

Permalink
removes targets 1.7.0 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Jun 16, 2024
1 parent 5349047 commit 20b340d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: secretbase
Type: Package
Title: Cryptographic Hash, Extendable-Output and Base64 Functions
Version: 1.0.0
Version: 1.0.0.9000
Description: Fast and memory-efficient streaming hash functions and base64
encoding and decoding. Performs direct hashing of strings and raw vectors.
Stream hashes files potentially larger than memory, as well as in-memory
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# secretbase 1.0.0.9000 (development)

# secretbase 1.0.0

* Adds base64 encoding and decoding.
Expand Down
2 changes: 0 additions & 2 deletions src/secret.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,6 @@ static SEXP secretbase_sha3_impl(const SEXP x, const SEXP bits, const SEXP conve
id = MBEDTLS_SHA3_224 + offset; break;
case 384:
id = MBEDTLS_SHA3_384 + offset; break;
case 32: // for targets 1.7.0 compat
id = MBEDTLS_SHA3_SHAKE256; break;
default:
id = MBEDTLS_SHA3_SHAKE256;
Rf_error("'bits' must be 224, 256, 384 or 512");
Expand Down

0 comments on commit 20b340d

Please sign in to comment.