summaryrefslogtreecommitdiff
path: root/usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h')
-rw-r--r--usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h b/usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h
index 1e1db2bc22..ea0f83a962 100644
--- a/usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h
+++ b/usr/src/lib/pkcs11/pkcs11_softtoken/common/softDH.h
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,29 +18,25 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _SOFTDH_H
#define _SOFTDH_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/types.h>
#include <security/pkcs11t.h>
+#include <dh_impl.h>
#include "softObject.h"
#include "softSession.h"
-#define MIN_DH_KEYLENGTH 64
-#define MAX_DH_KEYLENGTH 4096
-
/*
* Function Prototypes.
*/