X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..07691282a056c4efea71e1e505527601e8cc166b:/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h diff --git a/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h b/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h index 37757a98..68290610 100644 --- a/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h +++ b/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h @@ -33,15 +33,13 @@ extern "C" { /*! @function SecMaskGenerationFunctionTransformCreate @abstract Creates a MGF computation object. - @param maskGenerationFunctionType The MGF algorigh to use, currently only kSecMaskGenerationFunctionMGF1 - @param digestType The type of digest to compute the MGF with. You may pass NULL + @param hashType The type of digest to compute the MGF with. You may pass NULL for this parameter, in which case an appropriate algorithm will be chosen for you (SHA1 for MGF1). - @param digestLength The desired digest length. Note that certain + @param length The desired digest length. Note that certain algorithms may only support certain sizes. You may pass 0 for this parameter, in which case an appropriate length will be chosen for you. - @param maskLength The desired mask length. @param error A pointer to a CFErrorRef. This pointer will be set if an error occurred. This value may be NULL if you do not want an error returned.