/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pkcs11slot.c | 82 get_key_type(krb5_enctype etype, CK_KEY_TYPE *keyType) argument 89 *keyType = CKK_DES; 93 *keyType = CKK_DES3; 97 *keyType = CKK_AES; 101 *keyType = CKK_RC4;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt.c | 116 CK_KEY_TYPE keyType; local 132 if ((rv = get_key_type(key->enctype, &keyType)) != CKR_OK) { 142 template[1].pValue = &keyType; 143 template[1].ulValueLen = sizeof (keyType);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | arcfour_provider.c | 30 CK_KEY_TYPE keyType = CKK_RC4; local 44 template[1].pValue = &keyType; 45 template[1].ulValueLen = sizeof (keyType);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softSSL.c | 437 CK_KEY_TYPE keyType = CKK_GENERIC_SECRET; local 539 new_tmpl[1].pValue = &keyType; 540 new_tmpl[1].ulValueLen = sizeof (keyType); 632 CK_KEY_TYPE keyType = CKK_GENERIC_SECRET; local 777 obj_tmpl[1].pValue = &keyType; /* CKK_GENERIC_SECRET */ 778 obj_tmpl[1].ulValueLen = sizeof (keyType); 829 * The keyType comes from the application's template, and depends 835 new_tmpl[n].pValue = &keyType; /* CKK_GENERIC_SECRET */ 836 new_tmpl[n].ulValueLen = sizeof (keyType);
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_mac.c | 390 uint32_t keyIx, enum ath9k_key_type keyType, uint32_t flags) 414 ads->ds_ctl6 = SM(keyType, AR_EncrType); 388 ath9k_hw_set11n_txdesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pktLen, enum ath9k_pkt_type type, uint32_t txPower, uint32_t keyIx, enum ath9k_key_type keyType, uint32_t flags) argument
|
H A D | arn_hw.c | 2622 uint32_t keyType; local 2631 keyType = REG_READ(ah, AR_KEYTABLE_TYPE(entry)); 2642 if (keyType == AR_KEYTABLE_TYPE_TKIP && 2694 uint32_t keyType; local 2708 keyType = AR_KEYTABLE_TYPE_AES; 2718 keyType = AR_KEYTABLE_TYPE_CCM; 2721 keyType = AR_KEYTABLE_TYPE_TKIP; 2738 keyType = AR_KEYTABLE_TYPE_40; 2740 keyType = AR_KEYTABLE_TYPE_104; 2742 keyType [all...] |
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 1468 if (pubnode->key->keyType == rsaKey) 1470 else if (pubnode->key->keyType == dsaKey) 1472 else if (pubnode->key->keyType == ecKey) 1502 if (prinode->key->keyType == rsaKey) 1504 else if (prinode->key->keyType == dsaKey) 1506 else if (prinode->key->keyType == ecKey) 1908 CK_MECHANISM_TYPE keyType; local 1946 keyType = CKM_AES_KEY_GEN; 1952 keyType = CKM_RC4_KEY_GEN; 1958 keyType [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsiAuthClient.c | 646 int keyType, const char *keyValue) 651 if (keyBlock->key[keyType].valueSet) { 656 keyBlock->key[keyType].valueSet = TRUE; 683 keyBlock->key[keyType].string = string; 684 keyBlock->key[keyType].present = TRUE; 689 iscsiAuthClientGetKeyValue(IscsiAuthKeyBlock * keyBlock, int keyType) argument 691 keyBlock->key[keyType].processed = TRUE; 693 if (!keyBlock->key[keyType].present) { 697 return (keyBlock->key[keyType].string); 703 int keyType, 645 iscsiAuthClientSetKeyValue(IscsiAuthKeyBlock * keyBlock, int keyType, const char *keyValue) argument 702 iscsiAuthClientCheckKey(IscsiAuthClient * client, int keyType, int *negotiatedOption, unsigned int optionCount, int *optionList, const char *(*valueToText) (IscsiAuthClient *, int)) argument 748 iscsiAuthClientSetKey(IscsiAuthClient * client, int keyType, unsigned int optionCount, int *optionList, const char *(*valueToText) (IscsiAuthClient *, int)) argument 1394 int keyType; local 1745 iscsiAuthClientGetKeyName(int keyType) argument 1757 int keyType = *pKeyType; local 1778 int keyType = iscsiAuthKeyTypeNone; local 1798 iscsiAuthClientRecvKeyValue(IscsiAuthClient * client, int keyType, const char *userKeyValue) argument 1836 iscsiAuthClientSendKeyValue(IscsiAuthClient * client, int keyType, int *keyPresent, char *userKeyValue, unsigned int maxLength) argument [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 1251 CK_KEY_TYPE keyType, 1266 {CKA_KEY_TYPE, NULL, sizeof (keyType)}, 1271 template[1].pValue = &keyType; 1273 if (keyType == CKK_DES || keyType == CKK_DES3) { 1275 if (keyType == CKK_DES3) { 1346 if (keyType == CKK_DES || keyType == CKK_DES3) { 1348 if (keyType == CKK_DES3) { 1250 init_uef(context_t *text, CK_KEY_TYPE keyType, CK_MECHANISM_TYPE mech_type, CK_SLOT_ID slot_id, char enckey[16], char deckey[16]) argument
|