Searched refs:keydata (Results 1 - 13 of 13) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkey.c233 hexstrlen = 2 * rkey->keydata.len + 1;
240 tohexstr(rkey->keydata.val, rkey->keydata.len, hexstr,
339 hexstrlen = 2 * rkey->keydata.len + 1;
345 tohexstr(rkey->keydata.val, rkey->keydata.len, hexstr,
H A Dimport.c709 KMF_DATA keydata = {NULL, 0}; local
712 rv = kmf_read_input_file(kmfhandle, filename, &keydata);
757 KMF_KEY_DATA_ATTR, keydata.Data, keydata.Length);
761 keylen = keydata.Length * 8;
763 KMF_KEYLENGTH_ATTR, &keylen, sizeof (keydata.Length));
H A Dexport.c536 n = write(fd, rkey.keydata.val + total,
537 rkey.keydata.len - total);
547 } while (total < rkey.keydata.len);
551 kmf_free_bigint(&rkey.keydata);
H A Dlist.c182 rkey.keydata.len * 8);
183 kmf_free_bigint(&rkey.keydata);
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c968 krb5_data keydata, contdata; local
994 retval = krb5_encode_princ_dbkey(context, &keydata, searchfor);
997 key.data = keydata.data;
998 key.size = keydata.length;
1003 krb5_free_data_contents(context, &keydata);
1058 krb5_data contdata, keydata; local
1133 retval = krb5_encode_princ_dbkey(context, &keydata, entries->princ);
1139 key.data = keydata.data;
1140 key.size = keydata.length;
1143 krb5_free_data_contents(context, &keydata);
1190 krb5_data keydata, contdata; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/libkmf/plugins/kmf_openssl/common/
H A Dopenssl_spi.c1364 KMF_DATA *keydata)
1370 if (key == NULL || keydata == NULL ||
1377 if (!(n = i2d_RSA_PUBKEY(pubkey, &keydata->Data))) {
1385 if (!(n = i2d_DSA_PUBKEY(pubkey, &keydata->Data))) {
1393 keydata->Length = n;
1397 if (keydata->Data)
1398 free(keydata->Data);
1399 keydata->Data = NULL;
1400 keydata->Length = 0;
2864 rkey->keydata
1363 OpenSSL_EncodePubKeyData(KMF_HANDLE_T handle, KMF_KEY_HANDLE *key, KMF_DATA *keydata) argument
[all...]
/opensolaris-onvv-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2751 rawsym->keydata.val = NULL;
2752 rawsym->keydata.len = 0;
2776 rawsym->keydata.val = sym_attr[0].pValue;
2777 rawsym->keydata.len = sym_attr[0].ulValueLen;
3472 CK_BYTE *keydata = NULL; local
3532 keydata = kmf_get_attr_ptr(KMF_KEY_DATA_ATTR, attrlist,
3535 keydata = NULL;
3539 if (keydata != NULL) {
3555 * If keydata was not given, key length must be
3577 if (keydata
[all...]
/opensolaris-onvv-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c2046 rawkey->rawdata.sym.keydata.val == NULL ||
2047 rawkey->rawdata.sym.keydata.len == 0)
2050 rkey->keydata.len = rawkey->rawdata.sym.keydata.len;
2051 if ((rkey->keydata.val = malloc(rkey->keydata.len)) == NULL)
2053 (void) memcpy(rkey->keydata.val,
2054 rawkey->rawdata.sym.keydata.val, rkey->keydata.len);
2079 rkey->keydata
[all...]
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey_mgr.c33 CK_BYTE *keydata,
42 rc = ber_decode_PrivateKeyInfo(keydata, keylen, &alg,
32 key_mgr_get_private_key_type( CK_BYTE *keydata, CK_ULONG keylen, CK_KEY_TYPE *keytype) argument
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeysUtil.c1337 CK_BYTE *keydata = NULL; local
1403 keydata = (CK_BYTE *)OBJ_SEC_VALUE(secret_key);
1426 salt, params->ulSaltSourceDataLen + 4, keydata,
1429 keydata += hLen;
/opensolaris-onvv-gate/usr/src/uts/common/des/
H A Ddes_crypt.c1141 uint8_t keydata[DES3_MAX_KEY_LEN]; local
1167 bcopy(key->ck_data, keydata, CRYPTO_BITS2BYTES(expectedkeylen));
1169 if (des_keycheck(keydata, strength, key->ck_data) == B_FALSE)
/opensolaris-onvv-gate/usr/src/lib/libkmf/include/
H A Dkmftypes.h201 KMF_BIGINT keydata; member in struct:__anon3654
/opensolaris-onvv-gate/usr/src/lib/libkmf/libkmf/common/
H A Dgeneralop.c1364 kmf_free_bigint(&key->keydata);
1399 kmf_free_bigint(&key->keydata);

Completed in 206 milliseconds