From 6a1073f89079df9576bccd94a24df8c011db8169 Mon Sep 17 00:00:00 2001 From: krishna Date: Fri, 23 Feb 2007 11:55:36 -0800 Subject: PSARC/2007/093 Crypto Context sharing between providers 6494834 support check for threshold when using hardware providers even for multi-part requests --- usr/src/uts/common/sys/crypto/ops_impl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr/src/uts/common/sys/crypto/ops_impl.h') diff --git a/usr/src/uts/common/sys/crypto/ops_impl.h b/usr/src/uts/common/sys/crypto/ops_impl.h index 3552f50c17..fcb9c583c0 100644 --- a/usr/src/uts/common/sys/crypto/ops_impl.h +++ b/usr/src/uts/common/sys/crypto/ops_impl.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -563,8 +563,7 @@ typedef struct kcf_req_params { #define KCF_SET_PROVIDER_MECHNUM(fmtype, pd, mechp) \ (mechp)->cm_type = \ - (pd)->pd_map_mechnums[KCF_MECH2CLASS(fmtype)] \ - [KCF_MECH2INDEX(fmtype)]; + KCF_TO_PROV_MECHNUM(pd, fmtype); #ifdef __cplusplus } -- cgit v1.2.3