Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c1134 CK_ATTRIBUTE *modulus_attr = NULL; in rsa_publ_set_default_attributes() local
1143 modulus_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in rsa_publ_set_default_attributes()
1148 if (! type_attr || ! modulus_attr || in rsa_publ_set_default_attributes()
1151 if (modulus_attr) free(modulus_attr); in rsa_publ_set_default_attributes()
1164 modulus_attr->type = CKA_MODULUS; in rsa_publ_set_default_attributes()
1165 modulus_attr->ulValueLen = 0; in rsa_publ_set_default_attributes()
1166 modulus_attr->pValue = NULL; in rsa_publ_set_default_attributes()
1179 (void) template_update_attribute(tmpl, modulus_attr); in rsa_publ_set_default_attributes()
1311 CK_ATTRIBUTE *modulus_attr = NULL; in rsa_priv_set_default_attributes() local
1320 modulus_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE)); in rsa_priv_set_default_attributes()
[all …]