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

/PHP_5_3/ext/hash/
H A Dhash.c51 {"SHA1", "sha1", 2},
824 php_hash_register_algo("sha1", &php_hash_sha1_ops);
1051 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_5_3/ext/standard/
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)
65 Calculate the sha1 hash of given filename */
H A Dsha1.h38 PHP_FUNCTION(sha1); variable
H A Dbasic_functions.c1926 /* {{{ sha1.c */
2696 PHP_FE(sha1, arginfo_sha1)
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c27 #include "ext/standard/sha1.h"
423 zend_uchar sha1[SHA1_MAX_LENGTH]; local
430 PHP_SHA1Final(sha1, &context);
432 /* Phase 2: hash sha1 */
434 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH);
444 php_mysqlnd_crypt(buffer, (const zend_uchar *)buffer, (const zend_uchar *)sha1, SHA1_MAX_LENGTH);

Completed in 17 milliseconds