Skip to content

Commit d91b8ab

Browse files
committed
prepare 2.1.4
Signed-off-by: Stephan Mueller <[email protected]>
1 parent ee2bcca commit d91b8ab

38 files changed

+2318
-479
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
v2.1.4
2+
- enhancement: add OpenSSL DH keygen
3+
- enhancement: add regression test support for GCM internal IV, keyGen, sigGen, pqgGen, KAS-ECC, KAS-FFC, SP800-108 KDF
4+
- enhancement: add TLS 1.2 RFC7627 support to OpenSSL
5+
- enhancement: use C11
6+
- enhancement: add regression tests for non-KAT tests (see REGRESSION_VECTOR_REPLACE in helper/exec_lib.sh for list of supported algorithms)
7+
- enhancement: add ANSI X9.63 parser
8+
- fix: update HKDF parser to match current specification
9+
110
v2.1.3
211
- fix: LDT
312
- enhancement: allow parser to be compiled as a library - patch provided by Daniel Ojalvo

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LIBDIR := lib
1111
PARSERDIR := parser
1212

1313
CC=gcc
14-
CFLAGS +=-Wextra -Wall -pedantic -fPIE -O2 -Wno-long-long -Werror -DACVP_PARSER_IUT=\"$(firstword $(MAKECMDGOALS))\" -g -std=gnu99
14+
CFLAGS +=-Wextra -Wall -pedantic -fPIE -O2 -Wno-long-long -Werror -DACVP_PARSER_IUT=\"$(firstword $(MAKECMDGOALS))\" -g -std=c11
1515

1616
ifeq (/etc/lsb-release,$(wildcard /etc/lsb-release))
1717
OS := $(shell cat /etc/lsb-release | grep DISTRIB_ID | grep -o Ubuntu)

backends/backend_common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
#include "parser_sha.h"
4848
#include "parser_sym.h"
4949
#include "parser_ifc.h"
50+
#include "parser_tls12.h"
5051
#include "parser_tls13.h"
5152
#include "parser_kmac.h"
5253

backends/backend_jent.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* DAMAGE.
1919
*/
2020

21+
#define _DEFAULT_SOURCE
2122
#include <stdlib.h>
2223
#include "backend_common.h"
2324

@@ -47,9 +48,9 @@ static int jent_sha_generate(struct sha_data *data, flags_t parsed_flags)
4748

4849
CKINT(alloc_buf(SHA3_256_SIZE_DIGEST, &data->mac));
4950

50-
sha3_256_init(ctx);
51-
sha3_update(ctx, data->msg.buf, data->msg.len);
52-
sha3_final(ctx, data->mac.buf);
51+
sha3_256_init(&ctx);
52+
sha3_update(&ctx, data->msg.buf, data->msg.len);
53+
sha3_final(&ctx, data->mac.buf);
5354

5455
out:
5556
return ret;

backends/backend_openssh.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
* DAMAGE.
1919
*/
2020

21+
#define _DEFAULT_SOURCE
2122
#include <ctype.h>
2223
#include <string.h>
2324
#include <sys/wait.h>

0 commit comments

Comments
 (0)