This is the main PKCS#5 v2.0 key generation function, it parses the ASN1