Searched refs:CKA_VALUE_LEN (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c94 tmpl[attrs].type = CKA_VALUE_LEN;
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c666 attr->type == CKA_VALUE_LEN) &&
748 a1->type == CKA_VALUE_LEN) &&
766 a1->type == CKA_VALUE_LEN) &&
924 attr->type == CKA_VALUE_LEN) &&
H A Dkey.c1537 found = template_attribute_find(tmpl, CKA_VALUE_LEN, &attr);
1580 value_len_attr->type = CKA_VALUE_LEN;
1610 case CKA_VALUE_LEN:
1686 rc = template_attribute_find(tmpl, CKA_VALUE_LEN, &attr);
1706 rc = build_attribute(CKA_VALUE_LEN, (CK_BYTE *)&data_len,
H A Dutility.c310 case CKA_VALUE_LEN:
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelAttributeUtil.c153 CKA_VALUE_LEN,
278 case CKA_VALUE_LEN:
1985 case CKA_VALUE_LEN:
2814 case CKA_VALUE_LEN:
3196 case CKA_VALUE_LEN:
3846 case CKA_VALUE_LEN:
H A DkernelKeys.c139 * length from the CKA_VALUE_LEN attribute.
172 if (pTemplate[i].type == CKA_VALUE_LEN) {
178 /* CKA_VALUE_LEN must be present */
208 if (fixed_len_key && attribute_in_template(CKA_VALUE_LEN,
333 * CKA_VALUE_LEN is not stored with the secret key object,
336 (void) remove_one_attribute(newTemplate, CKA_VALUE_LEN,
2295 removed = remove_one_attribute(newTemplate, CKA_VALUE_LEN,
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SUNWExtensions.c80 * These key types do not allow CKA_VALUE_LEN for key generation.
411 * cannot have CKA_VALUE_LEN set for the key length attribute.
472 template[i].type = CKA_VALUE_LEN;
H A DmetaAttrMasters.h780 { { CKA_VALUE_LEN, NULL, sizeof (CK_ULONG) },
/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dcommon.h322 #define CKA_VALUE_LEN 0x00000161 macro
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAttributeUtil.c157 CKA_VALUE_LEN,
284 case CKA_VALUE_LEN:
2671 case CKA_VALUE_LEN:
2860 * is OKey to pass a CKA_VALUE_LEN attribute, as
2881 * CKA_VALUE_LEN must be specified by C_GenerateKey
2936 /* CKA_VALUE_LEN attribute does not apply to DES<n> */
2952 * CKA_VALUE_LEN can be be specified; however v2.20 has this
2964 * CKA_VALUE_LEN is optional
2968 * CKA_VALUE_LEN is required
2972 * since mech is not known at this point, CKA_VALUE_LEN i
[all...]
H A DsoftKeysUtil.c231 if (pTemplate[i].type == CKA_VALUE_LEN &&
1565 * determine if CKA_VALUE_LEN should or should not be specified.
1566 * PKCS#11 v2.11 restricts CKA_VALUE_LEN from being specified
1573 * mechanisms. Hence for unwrapping with these mechs, CKA_VALUE_LEN
1575 * *_CBC_PAD, the CKA_VALUE_LEN is not needed.
1578 /* Find out if template has CKA_VALUE_LEN. */
1580 if (pTemplate[i].type == CKA_VALUE_LEN &&
1597 * CKA_VALUE_LEN must be specified
1620 /* CKA_VALUE_LEN must not be specified */
1748 * it will exist for variable length keys since CKA_VALUE_LEN
[all...]
H A DsoftKeystore.c2027 tmpl[attrs].type = CKA_VALUE_LEN;
2152 tmpl[attrs].type = CKA_VALUE_LEN;
/illumos-gate/usr/src/uts/common/crypto/io/
H A Decc.c1222 CKA_VALUE_LEN, &key_len)) != CRYPTO_SUCCESS) {
H A Ddprov.c8456 * attributes like CKA_VALUE_LEN.
8815 * the value of the key, and CKA_VALUE_LEN to retrieve its length in bytes.
9791 if (in[i].oa_type == CKA_VALUE_LEN ||
/illumos-gate/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h527 #define CKA_VALUE_LEN 0x00000161 macro
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c3574 * Only set CKA_VALUE_LEN if the key data was not given and
3579 SETATTR(templ, i, CKA_VALUE_LEN, &secKeyLen,

Completed in 118 milliseconds