Searched refs:pubTemplate (Results 1 – 1 of 1) sorted by relevance
517 CK_ATTRIBUTE_PTR pubTemplate = NULL; in key_gen_rsa_by_value() local578 pubTemplate = grow_template(pPublicKeyTemplate, in key_gen_rsa_by_value()580 if (pubTemplate == NULL) { in key_gen_rsa_by_value()587 pubTemplate[n].type = CKA_CLASS; in key_gen_rsa_by_value()588 pubTemplate[n].pValue = (caddr_t)&pub_class; in key_gen_rsa_by_value()589 pubTemplate[n].ulValueLen = sizeof (pub_class); in key_gen_rsa_by_value()593 pubTemplate[n].type = CKA_KEY_TYPE; in key_gen_rsa_by_value()595 pubTemplate[n].pValue = (caddr_t)&key_type; in key_gen_rsa_by_value()596 pubTemplate[n].ulValueLen = sizeof (key_type); in key_gen_rsa_by_value()600 pubTemplate[n].type = CKA_PUBLIC_EXPONENT; in key_gen_rsa_by_value()[all …]