Lines Matching refs:setting

658 static char *BF_crypt(const char *key, const char *setting,  in BF_crypt()  argument
684 if (setting[0] != '$' || in BF_crypt()
685 setting[1] != '2' || in BF_crypt()
686 setting[2] < 'a' || setting[2] > 'z' || in BF_crypt()
687 !flags_by_subtype[(unsigned int)(unsigned char)setting[2] - 'a'] || in BF_crypt()
688 setting[3] != '$' || in BF_crypt()
689 setting[4] < '0' || setting[4] > '3' || in BF_crypt()
690 setting[5] < '0' || setting[5] > '9' || in BF_crypt()
691 (setting[4] == '3' && setting[5] > '1') || in BF_crypt()
692 setting[6] != '$') { in BF_crypt()
697 count = (BF_word)1 << ((setting[4] - '0') * 10 + (setting[5] - '0')); in BF_crypt()
698 if (count < min || BF_decode(data.binary.salt, &setting[7], 16)) { in BF_crypt()
705 flags_by_subtype[(unsigned int)(unsigned char)setting[2] - 'a']); in BF_crypt()
777 memcpy(output, setting, 7 + 22 - 1); in BF_crypt()
779 BF_atoi64[(int)setting[7 + 22 - 1] - 0x20] & 0x30]; in BF_crypt()
790 static int _crypt_output_magic(const char *setting, char *output, int size) in _crypt_output_magic() argument
799 if (setting[0] == '*' && setting[1] == '0') in _crypt_output_magic()
825 char *php_crypt_blowfish_rn(const char *key, const char *setting, in php_crypt_blowfish_rn() argument
843 _crypt_output_magic(setting, output, size); in php_crypt_blowfish_rn()
844 retval = BF_crypt(key, setting, output, size, 16); in php_crypt_blowfish_rn()
857 (unsigned int)(unsigned char)setting[2] - 'a']; in php_crypt_blowfish_rn()
859 buf.s[2] = setting[2]; in php_crypt_blowfish_rn()
885 _crypt_output_magic(setting, output, size); in php_crypt_blowfish_rn()