Searched refs:sha1 (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/hash/
H A Dhash.c52 {"SHA1", "sha1", 2},
1001 php_hash_register_algo("sha1", &php_hash_sha1_ops);
1244 PHP_NAMED_FE(sha1, php_if_sha1, arginfo_hash_sha1)
H A Dhash_sha.c87 /* {{{ proto string sha1(string str [, bool raw_output])
88 Calculate the sha1 hash of a string */
89 PHP_FUNCTION(sha1)
118 Calculate the sha1 hash of given filename */
H A Dphp_hash_sha.h26 the ext/standard/sha1.c file can be removed
27 and the ext/standard/sha1.h file can be reduced to:
30 Don't forget to remove sha1() and sha1_file() from basic_functions.c
32 #include "ext/standard/sha1.h"
48 PHP_FUNCTION(sha1); variable
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_auth.c313 #include "ext/standard/sha1.h"
331 zend_uchar sha1[SHA1_MAX_LENGTH]; local
337 PHP_SHA1Final(sha1, &context);
339 /* Phase 2: hash sha1 */
341 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH);
351 php_mysqlnd_crypt(buffer, (const zend_uchar *)buffer, (const zend_uchar *)sha1, SHA1_MAX_LENGTH);
/PHP_TRUNK/ext/standard/
H A Dsha1.h38 PHP_FUNCTION(sha1); variable
H A Dsha1.c25 #include "sha1.h"
33 /* {{{ proto string sha1(string str [, bool raw_output])
34 Calculate the sha1 hash of a string */
35 PHP_FUNCTION(sha1)
64 Calculate the sha1 hash of given filename */
H A Dbasic_functions.c1904 /* {{{ sha1.c */
2683 PHP_FE(sha1, arginfo_sha1)

Completed in 15 milliseconds