Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
c2b4673f
Kaydet (Commit)
c2b4673f
authored
Haz 21, 2012
tarafından
doko@ubuntu.com
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
md5_{init,process,done}: make static
üst
1e5be8cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
md5module.c
Modules/md5module.c
+6
-4
No files found.
Modules/md5module.c
Dosyayı görüntüle @
c2b4673f
...
...
@@ -210,7 +210,8 @@ static void md5_compress(struct md5_state *md5, unsigned char *buf)
Initialize the hash state
@param sha1 The hash state you wish to initialize
*/
void
md5_init
(
struct
md5_state
*
md5
)
static
void
md5_init
(
struct
md5_state
*
md5
)
{
assert
(
md5
!=
NULL
);
md5
->
state
[
0
]
=
0x67452301UL
;
...
...
@@ -227,8 +228,8 @@ void md5_init(struct md5_state *md5)
@param in The data to hash
@param inlen The length of the data (octets)
*/
void
md5_process
(
struct
md5_state
*
md5
,
const
unsigned
char
*
in
,
Py_ssize_t
inlen
)
static
void
md5_process
(
struct
md5_state
*
md5
,
const
unsigned
char
*
in
,
Py_ssize_t
inlen
)
{
Py_ssize_t
n
;
...
...
@@ -262,7 +263,8 @@ void md5_process(struct md5_state *md5,
@param sha1 The hash state
@param out [out] The destination of the hash (16 bytes)
*/
void
md5_done
(
struct
md5_state
*
md5
,
unsigned
char
*
out
)
static
void
md5_done
(
struct
md5_state
*
md5
,
unsigned
char
*
out
)
{
int
i
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment