diff options
| author | krishna <none@none> | 2007-04-19 17:02:25 -0700 |
|---|---|---|
| committer | krishna <none@none> | 2007-04-19 17:02:25 -0700 |
| commit | ba5f469c0173c4d47f377c20b530f5be165d49dc (patch) | |
| tree | c64999c1ff4727d3a78f80e7bc2f265ddc672d44 /usr/src/uts/common/sys/crypto/impl.h | |
| parent | 14e7cc63ee66eb6a6349f73882884e71d5771237 (diff) | |
| download | illumos-gate-ba5f469c0173c4d47f377c20b530f5be165d49dc.tar.gz | |
PSARC/2007/213 Support KCF Providers with Limited Digest Capability
6473274 pkcs11_kernel should support multipart ops even for hardware that has only single part
6534615 For extra credit, dprov could make HMAC mechanisms work for PKCS #11 clients
6541772 usr/src/cmd/mdb/common/modules/crypto/sched_impl.c should not include stdlib.h
6542759 HMAC mechanisms broken in sha2 kernel module
Diffstat (limited to 'usr/src/uts/common/sys/crypto/impl.h')
| -rw-r--r-- | usr/src/uts/common/sys/crypto/impl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/crypto/impl.h b/usr/src/uts/common/sys/crypto/impl.h index c362502c5d..107e7652fc 100644 --- a/usr/src/uts/common/sys/crypto/impl.h +++ b/usr/src/uts/common/sys/crypto/impl.h @@ -189,8 +189,10 @@ typedef enum { * pd_mctlp: Pointer to modctl structure for this provider * pd_remove_cv: cv to wait on while the provider queue drains * pd_description: Provider description string - * pd_flags Could be CRYPTO_HIDE_PROVIDER from pi_flags - * or KCF_LPROV_MEMBER, KCF_PROV_RESTRICTED set internally. + * pd_flags bitwise OR of pi_flags from crypto_provider_info_t + * and other internal flags defined above. + * pd_hash_limit Maximum data size that hash mechanisms of this provider + * can support. * pd_kcf_prov_handle: KCF-private handle assigned by KCF * pd_prov_id: Identification # assigned by KCF to provider * pd_kstat: kstat associated with the provider @@ -219,6 +221,7 @@ typedef struct kcf_provider_desc { kcondvar_t pd_remove_cv; char *pd_description; uint_t pd_flags; + uint_t pd_hash_limit; crypto_kcf_provider_handle_t pd_kcf_prov_handle; crypto_provider_id_t pd_prov_id; kstat_t *pd_kstat; |
