Variant HHVM_FUNCTION(mcrypt_decrypt, const String& cipher, const String& key, const String& data, const String& mode, const Variant& viv /* = null_string */) { String iv = viv.toString(); return php_mcrypt_do_crypt(cipher, key, data, mode, iv, true, "mcrypt_decrypt"); }
Variant HHVM_FUNCTION(mcrypt_ofb, const String& cipher, const String& key, const String& data, const Variant& mode, const Variant& viv /* = null_string */) { raise_deprecated("Function mcrypt_ofb() is deprecated"); String iv = viv.toString(); return php_mcrypt_do_crypt(cipher, key, data, "ofb", iv, mode.toInt32(), "mcrypt_ofb"); }
Variant f_mcrypt_ofb(CStrRef cipher, CStrRef key, CStrRef data, int mode, CStrRef iv /* = null_string */) { return php_mcrypt_do_crypt(cipher, key, data, "ofb", iv, mode); }
Variant f_mcrypt_decrypt(CStrRef cipher, CStrRef key, CStrRef data, CStrRef mode, CStrRef iv /* = null_string */) { return php_mcrypt_do_crypt(cipher, key, data, mode, iv, true); }
Variant f_mcrypt_ofb(const String& cipher, const String& key, const String& data, int mode, const String& iv /* = null_string */) { return php_mcrypt_do_crypt(cipher, key, data, "ofb", iv, mode); }
Variant f_mcrypt_decrypt(const String& cipher, const String& key, const String& data, const String& mode, const String& iv /* = null_string */) { return php_mcrypt_do_crypt(cipher, key, data, mode, iv, true); }