Searched refs:modulus_bits_attr (Results 1 – 1 of 1) sorted by relevance
1135 CK_ATTRIBUTE *modulus_bits_attr = NULL; in rsa_publ_set_default_attributes() local1144 modulus_bits_attr = (CK_ATTRIBUTE *)malloc(sizeof (CK_ATTRIBUTE) + in rsa_publ_set_default_attributes()1149 ! modulus_bits_attr || ! public_exp_attr) { in rsa_publ_set_default_attributes()1152 if (modulus_bits_attr) free(modulus_bits_attr); in rsa_publ_set_default_attributes()1168 modulus_bits_attr->type = CKA_MODULUS_BITS; in rsa_publ_set_default_attributes()1169 modulus_bits_attr->ulValueLen = sizeof (CK_ULONG); in rsa_publ_set_default_attributes()1170 modulus_bits_attr->pValue = (CK_BYTE *)modulus_bits_attr + in rsa_publ_set_default_attributes()1172 *(CK_ULONG *)modulus_bits_attr->pValue = bits; in rsa_publ_set_default_attributes()1180 (void) template_update_attribute(tmpl, modulus_bits_attr); in rsa_publ_set_default_attributes()