Browse Source

DECAF_SER_BYTES -> DECAF_SCALAR_BYTES in scalar codec

master
Michael Hamburg 10 years ago
parent
commit
acf4443c48
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Makefile
  2. +2
    -2
      include/decaf.h

+ 1
- 1
Makefile View File

@@ -125,7 +125,7 @@ doc/timestamp:
mkdir -p doc mkdir -p doc
touch $@ touch $@


doc: Doxyfile doc/timestamp src/*.c src/include/*.h src/$(ARCH)/*.c src/$(ARCH)/*.h
doc: Doxyfile doc/timestamp include/*.h src/*.c src/include/*.h src/$(FIELD)/$(ARCH)/*.c src/$(FIELD)/$(ARCH)/*.h
doxygen doxygen


bat: $(BATNAME) bat: $(BATNAME)


+ 2
- 2
include/decaf.h View File

@@ -104,7 +104,7 @@ extern "C" {
*/ */
decaf_bool_t decaf_scalar_decode ( decaf_bool_t decaf_scalar_decode (
decaf_scalar_t s, decaf_scalar_t s,
const unsigned char ser[DECAF_SER_BYTES]
const unsigned char ser[DECAF_SCALAR_BYTES]
) API_VIS NONNULL2; ) API_VIS NONNULL2;
/** /**
@@ -114,7 +114,7 @@ decaf_bool_t decaf_scalar_decode (
* @param [in] s Deserialized scalar. * @param [in] s Deserialized scalar.
*/ */
void decaf_scalar_encode ( void decaf_scalar_encode (
unsigned char ser[DECAF_SER_BYTES],
unsigned char ser[DECAF_SCALAR_BYTES],
const decaf_scalar_t s const decaf_scalar_t s
) API_VIS NONNULL2; ) API_VIS NONNULL2;


Loading…
Cancel
Save