Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9236)
s390x_klmd(ctx->buf, ctx->bufsz, NULL, 0, ctx->pad, ctx->A);
memcpy(md, ctx->A, ctx->md_size);
+ return 1;
}
static int s390x_shake_final(unsigned char *md, void *vctx)
if (ctx == NULL) \
return NULL; \
sha3_init(ctx, pad, bitlen); \
- SHA3_SET_MD(name, typ) \
+ SHA3_SET_MD(uname, typ) \
return ctx; \
}