diff options
author | krishna <none@none> | 2007-02-23 11:55:36 -0800 |
---|---|---|
committer | krishna <none@none> | 2007-02-23 11:55:36 -0800 |
commit | 6a1073f89079df9576bccd94a24df8c011db8169 (patch) | |
tree | f50230e0b68cf71b64a04d6a689a3df1542d3139 /usr/src/uts/common/sys/crypto/ops_impl.h | |
parent | f284ee4cee09f53b09b31f33b1e2ebb38ab4b2cc (diff) | |
download | illumos-joyent-6a1073f89079df9576bccd94a24df8c011db8169.tar.gz |
PSARC/2007/093 Crypto Context sharing between providers
6494834 support check for threshold when using hardware providers even for multi-part requests
Diffstat (limited to 'usr/src/uts/common/sys/crypto/ops_impl.h')
-rw-r--r-- | usr/src/uts/common/sys/crypto/ops_impl.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 } |