Searched refs:mechanism (Results 76 - 100 of 180) sorted by relevance

12345678

/opensolaris-onvv-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaUtil.c91 session->init.pMech->mechanism =
92 pMechanism->mechanism;
166 * If the specified mechanism is used in this session last time,
170 if (((session->mech_support_info).mech != pMechanism->mechanism) ||
172 (session->mech_support_info).mech = pMechanism->mechanism;
474 meta_GetThreshold(CK_MECHANISM_TYPE mechanism) argument
480 if (mechanism == meta_mechs_threshold[i].mech_type)
484 /* no matching mechanism */
536 session->init.pMech->mechanism);
848 * Gets the list of slots that supports the specified mechanism
[all...]
H A DmetaKeys.c241 * object handles in some mechanism parameters. It probably needs to be
276 switch (pMech->mechanism) {
313 * mechanism and parameters. This is done because the application
318 switch (pMech->mechanism) {
329 /* Duplicate the mechanism and paramaters */
350 /* Duplicate the mechanism and paramaters */
370 /* Duplicate the mechanism and paramaters */
419 /* phKey isn't used (is NULL) for mechanism CKM_TLS_PRF. */
/opensolaris-onvv-gate/usr/src/uts/common/crypto/io/
H A Ddprov.c1922 dprov_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, argument
1934 /* check mechanism */
1935 if (mechanism->cm_type != MD4_MECH_INFO_TYPE &&
1936 mechanism->cm_type != MD5_MECH_INFO_TYPE &&
1937 mechanism->cm_type != SHA1_MECH_INFO_TYPE &&
1938 mechanism->cm_type != SHA256_MECH_INFO_TYPE &&
1939 mechanism->cm_type != SHA384_MECH_INFO_TYPE &&
1940 mechanism->cm_type != SHA512_MECH_INFO_TYPE) {
1942 "0x%llx\n", (unsigned long long)mechanism->cm_type);
1948 mechanism, NUL
2053 dprov_digest_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_data_t *data, crypto_data_t *digest, crypto_req_handle_t req) argument
2117 dprov_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2219 dprov_mac_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2253 dprov_mac_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2337 dprov_encrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2443 dprov_encrypt_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2478 dprov_decrypt_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2585 dprov_decrypt_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2651 dprov_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2754 dprov_sign_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2788 dprov_sign_recover_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2839 dprov_sign_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2871 dprov_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
2974 dprov_verify_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
3009 dprov_verify_recover_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
3061 dprov_verify_recover_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *signature, crypto_data_t *data, crypto_spi_ctx_template_t ctx_template, crypto_req_handle_t req) argument
3974 dprov_key_generate(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_id_t *object, crypto_req_handle_t req) argument
4000 dprov_key_generate_pair(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_object_attribute_t *public_key_template, uint_t public_key_attribute_count, crypto_object_attribute_t *private_key_template, uint_t private_key_attribute_count, crypto_object_id_t *public_key, crypto_object_id_t *private_key, crypto_req_handle_t req) argument
4032 dprov_key_wrap(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *wrapping_key, crypto_object_id_t *key, uchar_t *wrapped_key, size_t *wrapped_key_len_ptr, crypto_req_handle_t req) argument
4059 dprov_key_unwrap(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *unwrapping_key, uchar_t *wrapped_key, size_t *wrapped_key_len_ptr, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_id_t *key, crypto_req_handle_t req) argument
4087 dprov_key_derive(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *base_key, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_id_t *key, crypto_req_handle_t req) argument
4908 dprov_nostore_key_generate(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_attribute_t *out_template, uint_t out_attribute_count, crypto_req_handle_t req) argument
4936 dprov_nostore_key_generate_pair(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_object_attribute_t *public_key_template, uint_t public_key_attribute_count, crypto_object_attribute_t *private_key_template, uint_t private_key_attribute_count, crypto_object_attribute_t *out_public_key_template, uint_t out_public_key_attribute_count, crypto_object_attribute_t *out_private_key_template, uint_t out_private_key_attribute_count, crypto_req_handle_t req) argument
4972 dprov_nostore_key_derive(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *base_key, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_attribute_t *out_template, uint_t out_attribute_count, crypto_req_handle_t req) argument
5041 dprov_digest_submit_req(dprov_req_type_t req_type, dprov_state_t *softc, crypto_req_handle_t req, crypto_mechanism_t *mechanism, crypto_data_t *data, crypto_key_t *key, crypto_data_t *digest, crypto_ctx_t *ctx, int kmflag) argument
5066 dprov_mac_submit_req(dprov_req_type_t req_type, dprov_state_t *softc, crypto_req_handle_t req, crypto_mechanism_t *mechanism, crypto_data_t *data, crypto_key_t *key, crypto_data_t *mac, crypto_ctx_t *ctx, crypto_session_id_t sid, int kmflag) argument
5092 dprov_sign_submit_req(dprov_req_type_t req_type, dprov_state_t *softc, crypto_req_handle_t req, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_ctx_t *ctx, crypto_session_id_t sid, int kmflag) argument
5119 dprov_verify_submit_req(dprov_req_type_t req_type, dprov_state_t *softc, crypto_req_handle_t req, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature, crypto_ctx_t *ctx, crypto_session_id_t sid, int kmflag) argument
5202 dprov_cipher_submit_req(dprov_req_type_t req_type, dprov_state_t *softc, crypto_req_handle_t req, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext, crypto_ctx_t *ctx, crypto_session_id_t sid, int kmflag) argument
5315 dprov_key_submit_req(dprov_req_type_t req_type, dprov_state_t *softc, crypto_req_handle_t req, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_object_attribute_t *template, uint_t attribute_count, crypto_object_id_t *object_id_ptr, crypto_object_attribute_t *private_key_template, uint_t private_key_attribute_count, crypto_object_id_t *private_key_object_id_ptr, crypto_key_t *key, uchar_t *wrapped_key, size_t *wrapped_key_len_ptr, crypto_object_attribute_t *out_template1, uint_t out_attribute_count1, crypto_object_attribute_t *out_template2, uint_t out_attribute_count2) argument
[all...]
H A Dmd4_mod.c78 * Context for MD4 mechanism.
211 md4_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, argument
214 if (mechanism->cm_type != MD4_MECH_INFO_TYPE)
688 crypto_session_id_t session_id, crypto_mechanism_t *mechanism,
695 if (mechanism->cm_type != MD4_MECH_INFO_TYPE)
687 md4_digest_atomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_data_t *data, crypto_data_t *digest, crypto_req_handle_t req) argument
H A Ddca_dsa.c52 int dca_dsainit(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism,
382 dca_dsainit(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, argument
403 reqp->dr_ctx.ctx_cm_type = mechanism->cm_type;
543 crypto_session_id_t session_id, crypto_mechanism_t *mechanism,
553 rv = dca_dsainit(&ctx, mechanism, key, kmflag, mode);
542 dca_dsaatomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data, crypto_data_t *sig, int kmflag, crypto_req_handle_t req, int mode) argument
H A Darcfour.c200 rc4_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, argument
209 if ((mechanism)->cm_type != RC4_MECH_INFO_TYPE)
506 crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input,
514 ret = rc4_common_init(&ctx, mechanism, key, template, req);
505 rc4_crypt_atomic(crypto_provider_handle_t handle, crypto_session_id_t session, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, crypto_spi_ctx_template_t template, crypto_req_handle_t req) argument
H A Ddca_rsa.c391 dca_rsainit(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, argument
429 reqp->dr_ctx.ctx_cm_type = mechanism->cm_type;
631 crypto_session_id_t session_id, crypto_mechanism_t *mechanism,
641 rv = dca_rsainit(&ctx, mechanism, key, kmflag);
630 dca_rsaatomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, int kmflag, crypto_req_handle_t req, int mode) argument
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftEC.c346 if (pMechanism->mechanism == CKM_ECDSA_SHA1) {
347 digest_mech.mechanism = CKM_SHA_1;
406 session_p->sign.mech.mechanism = pMechanism->mechanism;
409 session_p->verify.mech.mechanism = pMechanism->mechanism;
H A DsoftKeystore.h49 uint64_t mechanism; member in struct:ks_obj_hdr
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DMkbootstrap.pm95 placing it in C<$bscode>. This is a handy 'escape' mechanism that may
/opensolaris-onvv-gate/usr/src/common/crypto/fips/
H A Dfips_aes_util.c184 aes_mech_type_t mechanism, boolean_t is_encrypt_init)
187 CK_MECHANISM_TYPE mechanism)
225 switch (mechanism) {
343 * mechanism: CKM_AES_ECB or CKM_AES_CBC
347 * routine based on the mechanism.
354 ulong_t *pulEncryptedLen, aes_mech_type_t mechanism)
359 CK_ULONG_PTR pulEncryptedLen, CK_MECHANISM_TYPE mechanism)
382 switch (mechanism) {
612 * mechanism: CKM_AES_ECB or CKM_AES_CBC
616 * function based on the mechanism
183 fips_aes_build_context(uint8_t *key, int key_len, uint8_t *iv, aes_mech_type_t mechanism, boolean_t is_encrypt_init) argument
352 fips_aes_encrypt(soft_aes_ctx_t *soft_aes_ctx, uchar_t *in_buf, ulong_t ulDataLen, uchar_t *out_buf, ulong_t *pulEncryptedLen, aes_mech_type_t mechanism) argument
621 fips_aes_decrypt(soft_aes_ctx_t *soft_aes_ctx, uchar_t *in_buf, ulong_t ulEncryptedLen, uchar_t *out_buf, ulong_t *pulDataLen, aes_mech_type_t mechanism) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/initpkg/init.d/
H A DREADME.rc231 For a general discussion of the mechanism used to invoke these scripts
H A DREADME.rc331 For a general discussion of the mechanism used to invoke these scripts
H A DREADME.rcS31 For a general discussion of the mechanism used to invoke these scripts
/opensolaris-onvv-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c36 * For RSA, the verify can be done using a single mechanism,
515 ckMechanism.mechanism = mechtype;
612 ckMechanism.mechanism = mechtype;
799 CK_MECHANISM mechanism; local
805 mechanism.mechanism = mechtype;
806 mechanism.pParameter = NULL;
807 mechanism.ulParameterLen = 0;
809 ckrv = C_DigestInit(hSession, &mechanism);
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c304 * a mechanism name is specified.
432 "nfs_create_ah: need mechanism information\n");
830 if (gdata->mechanism.elements)
831 free(gdata->mechanism.elements);
938 "nfs_clnt_secdata: need mechanism information\n");
957 gdata->mechanism.length =
959 if (!(gdata->mechanism.elements =
965 (void) memcpy(gdata->mechanism.elements,
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DAutoLoader.pm224 future calls to the subroutine will bypass the AUTOLOAD mechanism.
240 Because of this mechanism it is important that B<AutoLoader> is always
317 should be faster, but requires a mechanism like B<AutoSplit> be used to
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelDigest.c53 * Get the kernel's internal mechanism number.
55 rv = kernel_mech(pMechanism->mechanism, &k_mech_type);
79 session_p->digest.mech.mechanism = pMechanism->mechanism;
H A DkernelDecrypt.c54 /* Get the kernel's internal mechanism number. */
55 rv = kernel_mech(pMechanism->mechanism, &k_mech_type);
102 if (INPLACE_MECHANISM(session_p->decrypt.mech.mechanism)) {
H A DkernelEncrypt.c56 /* Get the kernel's internal mechanism number. */
57 rv = kernel_mech(pMechanism->mechanism, &k_mech_type);
121 if (INPLACE_MECHANISM(session_p->encrypt.mech.mechanism)) {
/opensolaris-onvv-gate/usr/src/cmd/ldap/common/
H A Dldaptool.h181 int ldaptool_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism,
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dencrypt.c114 CK_MECHANISM mechanism; local
/opensolaris-onvv-gate/usr/src/uts/common/rpc/
H A Drpcsec_defs.h141 rpc_gss_OID mechanism, uid_t uid,
/opensolaris-onvv-gate/usr/src/lib/passwdutil/
H A DREADME.SunOS-aging48 the comma are used by the password aging mechanism.
/opensolaris-onvv-gate/usr/src/lib/rpcsec_gss/
H A Dsvc_rpcsec_gss.c489 svcauth->raw_cred.mechanism, gss_parms->qop_rcvd);
500 (*rcred)->mechanism, &oid)) {
799 if ((client_data->raw_cred.mechanism
978 client_data->raw_cred.mechanism,
1459 gss_OID mechanism; local
1466 if (!__rpc_gss_mech_to_oid(mech, &mechanism)) {
1483 mechanism, GSS_C_ACCEPT,
1520 oid_set_desc.elements = mechanism;

Completed in 306 milliseconds

12345678