X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..914fc88e61be54aed6b18205ff2775b48793a3b6:/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h?ds=inline diff --git a/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h b/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h index 37757a98..410b4e05 100644 --- a/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h +++ b/OSX/libsecurity_transform/lib/SecMaskGenerationFunctionTransform.h @@ -33,11 +33,10 @@ 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.