-/* $OpenBSD: t_pkey.c,v 1.16 2014/07/11 08:44:47 jsing Exp $ */
+/* $OpenBSD: t_pkey.c,v 1.17 2021/12/04 16:08:32 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
#include <openssl/buffer.h>
#include <openssl/objects.h>
+#include "bn_lcl.h"
+
int
ASN1_bn_print(BIO *bp, const char *number, const BIGNUM *num,
unsigned char *buf, int off)
-/* $OpenBSD: dh_depr.c,v 1.6 2014/07/11 08:44:48 jsing Exp $ */
+/* $OpenBSD: dh_depr.c,v 1.7 2021/12/04 16:08:32 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
#include <openssl/bn.h>
#include <openssl/dh.h>
+#include "bn_lcl.h"
+
#ifndef OPENSSL_NO_DEPRECATED
DH *
DH_generate_parameters(int prime_len, int generator,
-/* $OpenBSD: dh_pmeth.c,v 1.10 2017/01/29 17:49:22 beck Exp $ */
+/* $OpenBSD: dh_pmeth.c,v 1.11 2021/12/04 16:08:32 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
#include <openssl/evp.h>
#include <openssl/x509.h>
+#include "bn_lcl.h"
#include "evp_locl.h"
/* DH pkey context structure */
-/* $OpenBSD: dsa_depr.c,v 1.7 2014/10/18 17:20:40 jsing Exp $ */
+/* $OpenBSD: dsa_depr.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
#include <openssl/evp.h>
#include <openssl/sha.h>
+#include "bn_lcl.h"
+
#ifndef OPENSSL_NO_DEPRECATED
DSA *
DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len,
-/* $OpenBSD: dsa_pmeth.c,v 1.12 2019/09/09 18:06:25 jsing Exp $ */
+/* $OpenBSD: dsa_pmeth.c,v 1.13 2021/12/04 16:08:32 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
#include <openssl/evp.h>
#include <openssl/x509.h>
+#include "bn_lcl.h"
#include "dsa_locl.h"
#include "evp_locl.h"
-/* $OpenBSD: ec_kmeth.c,v 1.5 2019/05/10 19:15:06 bcook Exp $ */
+/* $OpenBSD: ec_kmeth.c,v 1.6 2021/12/04 16:08:32 tb Exp $ */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project.
#endif
#include <openssl/err.h>
+#include "bn_lcl.h"
#include "ec_lcl.h"
#include "ecs_locl.h"
-/* $OpenBSD: ec_lcl.h,v 1.18 2021/09/08 17:29:21 tb Exp $ */
+/* $OpenBSD: ec_lcl.h,v 1.19 2021/12/04 16:08:32 tb Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
#include <openssl/ecdsa.h>
#include <openssl/bn.h>
+#include "bn_lcl.h"
+
__BEGIN_HIDDEN_DECLS
#if defined(__SUNPRO_C)
-/* $OpenBSD: ec_pmeth.c,v 1.12 2019/09/09 18:06:25 jsing Exp $ */
+/* $OpenBSD: ec_pmeth.c,v 1.13 2021/12/04 16:08:32 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
#include <openssl/evp.h>
#include <openssl/x509.h>
+#include "bn_lcl.h"
#include "ec_lcl.h"
#include "ech_locl.h"
#include "evp_locl.h"
-/* $OpenBSD: ech_key.c,v 1.11 2021/04/20 17:23:37 tb Exp $ */
+/* $OpenBSD: ech_key.c,v 1.12 2021/12/04 16:08:32 tb Exp $ */
/* ====================================================================
* Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
*
#include <openssl/obj_mac.h>
#include <openssl/sha.h>
+#include "bn_lcl.h"
#include "ech_locl.h"
#include "ec_lcl.h"
-/* $OpenBSD: ecs_sign.c,v 1.7 2019/01/19 01:07:00 tb Exp $ */
+/* $OpenBSD: ecs_sign.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
#include <openssl/engine.h>
#endif
+#include "bn_lcl.h"
#include "ecs_locl.h"
#include "ec_lcl.h"
-/* $OpenBSD: ecs_vrf.c,v 1.7 2019/01/19 01:12:48 tb Exp $ */
+/* $OpenBSD: ecs_vrf.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */
/*
* Written by Nils Larsch for the OpenSSL project
*/
#include <openssl/opensslconf.h>
+#include "bn_lcl.h"
#include "ecs_locl.h"
#include "ec_lcl.h"
+
#ifndef OPENSSL_NO_ENGINE
#include <openssl/engine.h>
#endif
-/* $OpenBSD: pmeth_gn.c,v 1.7 2021/11/18 18:05:27 tb Exp $ */
+/* $OpenBSD: pmeth_gn.c,v 1.8 2021/12/04 16:08:32 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
#include <openssl/evp.h>
#include <openssl/objects.h>
+#include "bn_lcl.h"
#include "evp_locl.h"
int
-/* $OpenBSD: rsa_depr.c,v 1.8 2014/07/11 08:44:49 jsing Exp $ */
+/* $OpenBSD: rsa_depr.c,v 1.9 2021/12/04 16:08:32 tb Exp $ */
/* ====================================================================
* Copyright (c) 1998-2002 The OpenSSL Project. All rights reserved.
*
#include <openssl/bn.h>
#include <openssl/rsa.h>
+#include "bn_lcl.h"
+
#ifndef OPENSSL_NO_DEPRECATED
RSA *
-/* $OpenBSD: rsa_pmeth.c,v 1.32 2019/10/31 14:05:30 jsing Exp $ */
+/* $OpenBSD: rsa_pmeth.c,v 1.33 2021/12/04 16:08:32 tb Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2006.
*/
#include <openssl/x509.h>
#include <openssl/x509v3.h>
+#include "bn_lcl.h"
#include "evp_locl.h"
#include "rsa_locl.h"
-/* $OpenBSD: ts_lib.c,v 1.11 2021/11/01 20:53:08 tb Exp $ */
+/* $OpenBSD: ts_lib.c,v 1.12 2021/12/04 16:08:32 tb Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2002.
*/
#include <openssl/ts.h>
#include <openssl/x509v3.h>
+#include "bn_lcl.h"
#include "x509_lcl.h"
/* Local function declarations. */