Lines Matching refs:function

25 static uint32_t pkcs11_func2ckfm(enum processing_func function)  in pkcs11_func2ckfm()  argument
27 switch (function) { in pkcs11_func2ckfm()
60 enum processing_func function, in check_mechanism_against_processing() argument
67 switch (function) { in check_mechanism_against_processing()
82 pkcs11_func2ckfm(function); in check_mechanism_against_processing()
114 assert(function == PKCS11_FUNCTION_DIGEST); in check_mechanism_against_processing()
142 function, step); in check_mechanism_against_processing()
717 enum processing_func function) in create_pub_key_attributes() argument
751 switch (function) { in create_pub_key_attributes()
763 EMSG("Unsupported function %#"PRIx32"/%s", function, in create_pub_key_attributes()
764 id2str_function(function)); in create_pub_key_attributes()
848 enum processing_func function) in sanitize_symm_key_attributes() argument
866 switch (function) { in sanitize_symm_key_attributes()
918 enum processing_func function, in create_attributes_from_template() argument
938 switch (function) { in create_attributes_from_template()
958 if (function == PKCS11_FUNCTION_GENERATE) { in create_attributes_from_template()
979 if (function == PKCS11_FUNCTION_GENERATE_PAIR) { in create_attributes_from_template()
1008 switch (function) { in create_attributes_from_template()
1015 if (function == PKCS11_FUNCTION_UNWRAP) in create_attributes_from_template()
1092 rc = sanitize_symm_key_attributes(&temp, function); in create_attributes_from_template()
1098 rc = create_pub_key_attributes(&attrs, temp, function); in create_attributes_from_template()
1125 switch (function) { in create_attributes_from_template()
1148 switch (function) { in create_attributes_from_template()
1637 enum processing_func function, in check_parent_attrs_against_processing() argument
1642 enum pkcs11_attr_id attr = func_to_attr(function); in check_parent_attrs_against_processing()
1665 if (function == PKCS11_FUNCTION_WRAP) in check_parent_attrs_against_processing()
1667 else if (function == PKCS11_FUNCTION_UNWRAP) in check_parent_attrs_against_processing()
2004 enum processing_func function) in attribute_is_modifiable() argument
2014 return function == PKCS11_FUNCTION_COPY; in attribute_is_modifiable()
2060 enum processing_func function) in check_attrs_against_modification() argument
2090 function)) in check_attrs_against_modification()
2098 if (function == PKCS11_FUNCTION_MODIFY) in check_attrs_against_modification()