Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey.c382 mode == MODE_KEYGEN || mode == MODE_UNWRAP) in key_object_validate_attribute()
750 if (mode == MODE_CREATE || mode == MODE_KEYGEN) in priv_key_validate_attribute()
765 if ((mode != MODE_CREATE && mode != MODE_KEYGEN) && in priv_key_validate_attribute()
1045 mode != MODE_KEYGEN) && (value != TRUE)) { in secret_key_validate_attribute()
1057 mode != MODE_KEYGEN) && (value != FALSE)) { in secret_key_validate_attribute()
1115 if (mode == MODE_KEYGEN) { in rsa_publ_check_required_attributes()
1122 if (mode == MODE_CREATE || mode == MODE_KEYGEN) { in rsa_publ_check_required_attributes()
1190 if (mode == MODE_KEYGEN) { in rsa_publ_validate_attribute()
1215 if (mode == MODE_CREATE || mode == MODE_KEYGEN) in rsa_publ_validate_attribute()
1611 if (mode == MODE_KEYGEN || mode == MODE_DERIVE) in generic_secret_validate_attribute()
H A Dtemplate.c1202 MODE_KEYGEN | MODE_UNWRAP)) != 0) in template_validate_base_attribute()
1208 MODE_DERIVE | MODE_KEYGEN | MODE_UNWRAP)) != 0) in template_validate_base_attribute()
1214 MODE_DERIVE | MODE_KEYGEN | MODE_UNWRAP)) != 0) in template_validate_base_attribute()
1222 MODE_DERIVE | MODE_KEYGEN | MODE_UNWRAP)) != 0) in template_validate_base_attribute()
H A Dkey_mgr.c131 publ_tmpl, publ_count, MODE_KEYGEN, in key_mgr_generate_key_pair()
138 priv_tmpl, priv_count, MODE_KEYGEN, in key_mgr_generate_key_pair()
H A Dtpmtok_int.h68 #define MODE_KEYGEN (1 << 2) macro