Lines Matching refs:function
29 static uint32_t pkcs11_func2ckfm(enum processing_func function) in pkcs11_func2ckfm() argument
31 switch (function) { in pkcs11_func2ckfm()
64 enum processing_func function, in check_mechanism_against_processing() argument
71 switch (function) { in check_mechanism_against_processing()
86 pkcs11_func2ckfm(function); in check_mechanism_against_processing()
118 assert(function == PKCS11_FUNCTION_DIGEST); in check_mechanism_against_processing()
146 function, step); in check_mechanism_against_processing()
735 enum processing_func function) in create_pub_key_attributes() argument
769 switch (function) { in create_pub_key_attributes()
781 EMSG("Unsupported function %#"PRIx32"/%s", function, in create_pub_key_attributes()
782 id2str_function(function)); in create_pub_key_attributes()
811 enum processing_func function) in create_pub_key_rsa_generated_attributes() argument
817 if (function != PKCS11_FUNCTION_IMPORT) in create_pub_key_rsa_generated_attributes()
837 enum processing_func function) in create_pub_key_generated_attributes() argument
844 function); in create_pub_key_generated_attributes()
926 enum processing_func function) in create_ec_priv_key_hidden_attributes() argument
945 if (function != PKCS11_FUNCTION_IMPORT) in create_ec_priv_key_hidden_attributes()
1093 enum processing_func function) in create_priv_key_hidden_attributes() argument
1099 rc = create_ec_priv_key_hidden_attributes(out, temp, function); in create_priv_key_hidden_attributes()
1111 enum processing_func function) in sanitize_symm_key_attributes() argument
1129 switch (function) { in sanitize_symm_key_attributes()
1181 enum processing_func function, in create_attributes_from_template() argument
1201 switch (function) { in create_attributes_from_template()
1221 if (function == PKCS11_FUNCTION_GENERATE) { in create_attributes_from_template()
1242 if (function == PKCS11_FUNCTION_GENERATE_PAIR) { in create_attributes_from_template()
1275 switch (function) { in create_attributes_from_template()
1282 if (function == PKCS11_FUNCTION_UNWRAP) in create_attributes_from_template()
1367 rc = sanitize_symm_key_attributes(&temp, function); in create_attributes_from_template()
1373 rc = create_pub_key_attributes(&attrs, temp, function); in create_attributes_from_template()
1377 function); in create_attributes_from_template()
1383 rc = create_priv_key_hidden_attributes(&attrs, temp, function); in create_attributes_from_template()
1407 switch (function) { in create_attributes_from_template()
1430 switch (function) { in create_attributes_from_template()
1930 enum processing_func function, in check_parent_attrs_against_processing() argument
1935 enum pkcs11_attr_id attr = func_to_attr(function); in check_parent_attrs_against_processing()
1958 if (function == PKCS11_FUNCTION_WRAP) in check_parent_attrs_against_processing()
1960 else if (function == PKCS11_FUNCTION_UNWRAP) in check_parent_attrs_against_processing()
2320 enum processing_func function) in attribute_is_modifiable() argument
2330 return function == PKCS11_FUNCTION_COPY; in attribute_is_modifiable()
2376 enum processing_func function) in check_attrs_against_modification() argument
2410 function)) in check_attrs_against_modification()
2418 if (function == PKCS11_FUNCTION_MODIFY) in check_attrs_against_modification()