Home
last modified time | relevance | path

Searched refs:build_attribute (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dasn1.c1163 rc = build_attribute(CKA_MODULUS, tmp, len, &n_attr); in ber_decode_RSAPrivateKey()
1174 rc = build_attribute(CKA_PUBLIC_EXPONENT, tmp, len, &e_attr); in ber_decode_RSAPrivateKey()
1185 rc = build_attribute(CKA_PRIVATE_EXPONENT, tmp, len, &d_attr); in ber_decode_RSAPrivateKey()
1196 rc = build_attribute(CKA_PRIME_1, tmp, len, &p_attr); in ber_decode_RSAPrivateKey()
1207 rc = build_attribute(CKA_PRIME_2, tmp, len, &q_attr); in ber_decode_RSAPrivateKey()
1218 rc = build_attribute(CKA_EXPONENT_1, tmp, len, &e1_attr); in ber_decode_RSAPrivateKey()
1229 rc = build_attribute(CKA_EXPONENT_2, tmp, len, &e2_attr); in ber_decode_RSAPrivateKey()
1240 rc = build_attribute(CKA_COEFFICIENT, tmp, len, &coeff_attr); in ber_decode_RSAPrivateKey()
H A Dkey.c687 rc = build_attribute(CKA_LOCAL, &false, 1, &local); in priv_key_unwrap()
691 rc = build_attribute(CKA_ALWAYS_SENSITIVE, &false, 1, &always_sens); in priv_key_unwrap()
695 rc = build_attribute(CKA_SENSITIVE, &false, 1, &sensitive); in priv_key_unwrap()
699 rc = build_attribute(CKA_EXTRACTABLE, &true, 1, &extractable); in priv_key_unwrap()
703 rc = build_attribute(CKA_NEVER_EXTRACTABLE, &false, 1, &never_extract); in priv_key_unwrap()
981 rc = build_attribute(CKA_LOCAL, &false, 1, &local); in secret_key_unwrap()
985 rc = build_attribute(CKA_ALWAYS_SENSITIVE, &false, 1, &always_sens); in secret_key_unwrap()
989 rc = build_attribute(CKA_SENSITIVE, &false, 1, &sensitive); in secret_key_unwrap()
993 rc = build_attribute(CKA_EXTRACTABLE, &true, 1, &extractable); in secret_key_unwrap()
997 rc = build_attribute(CKA_NEVER_EXTRACTABLE, &false, 1, &never_extract); in secret_key_unwrap()
[all …]
H A Dkey_mgr.c172 rc = build_attribute(CKA_ALWAYS_SENSITIVE, &flag, in key_mgr_generate_key_pair()
191 rc = build_attribute(CKA_NEVER_EXTRACTABLE, &true, in key_mgr_generate_key_pair()
H A Dobject.c377 rc = build_attribute(CKA_ALWAYS_SENSITIVE, &flag, in object_create()
393 rc = build_attribute(CKA_NEVER_EXTRACTABLE, &flag, in object_create()
H A Dtpm_specific.c906 if ((rc = build_attribute(CKA_IBM_OPAQUE, rgbBlob, ulBlobLen, in token_wrap_key_object()
2059 if ((rc = build_attribute(CKA_ENC_AUTHDATA, blob, blob_size, in token_wrap_auth_data()
2065 if ((rc = build_attribute(CKA_ENC_AUTHDATA, blob, in token_wrap_auth_data()
2203 if ((rc = build_attribute(CKA_IBM_OPAQUE, rgbBlob, in token_specific_rsa_generate_keypair()
2209 if ((rc = build_attribute(CKA_IBM_OPAQUE, rgbBlob, in token_specific_rsa_generate_keypair()
2227 if ((rc = build_attribute(CKA_MODULUS, rgbBlob, ulBlobLen, &attr))) { in token_specific_rsa_generate_keypair()
2234 if ((rc = build_attribute(CKA_MODULUS, rgbBlob, ulBlobLen, &attr))) { in token_specific_rsa_generate_keypair()
H A Dutility.c499 build_attribute(CK_ATTRIBUTE_TYPE type, in build_attribute() function
H A Dtpmtok_int.h622 CK_RV build_attribute(CK_ATTRIBUTE_TYPE,