Subversion Repositories Kolibri OS

Rev

Rev 3532 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3532 Rev 6461
Line 1... Line 1...
1
;    libcrash -- cryptographic hash functions
1
;    libcrash -- cryptographic hash functions
2
;
2
;
3
;    Copyright (C) 2012-2013 Ivan Baravy (dunkaist)
3
;    Copyright (C) 2012-2014,2016 Ivan Baravy (dunkaist)
4
;
4
;
5
;    This program is free software: you can redistribute it and/or modify
5
;    This program is free software: you can redistribute it and/or modify
6
;    it under the terms of the GNU General Public License as published by
6
;    it under the terms of the GNU General Public License as published by
7
;    the Free Software Foundation, either version 3 of the License, or
7
;    the Free Software Foundation, either version 3 of the License, or
8
;    (at your option) any later version.
8
;    (at your option) any later version.
Line 13... Line 13...
13
;    GNU General Public License for more details.
13
;    GNU General Public License for more details.
14
;
14
;
15
;    You should have received a copy of the GNU General Public License
15
;    You should have received a copy of the GNU General Public License
16
;    along with this program.  If not, see .
16
;    along with this program.  If not, see .
Line -... Line 17...
-
 
17
 
-
 
18
 
17
 
19
LIBCRASH_CRC32          = 0
18
LIBCRASH_MD4		= 0
20
LIBCRASH_MD4            = 1
19
LIBCRASH_MD5		= 1
21
LIBCRASH_MD5            = 2
20
LIBCRASH_SHA1		= 2
22
LIBCRASH_SHA1           = 3
21
LIBCRASH_SHA224		= 3
23
LIBCRASH_SHA224         = 4
22
LIBCRASH_SHA256		= 4
24
LIBCRASH_SHA256         = 5
23
LIBCRASH_SHA384		= 5
25
LIBCRASH_SHA384         = 6
24
LIBCRASH_SHA512		= 6
26
LIBCRASH_SHA512         = 7
25
LIBCRASH_SHA3_224	= 7
27
LIBCRASH_SHA3_224       = 8
26
LIBCRASH_SHA3_256	= 8
28
LIBCRASH_SHA3_256       = 9
27
LIBCRASH_SHA3_384	= 9
29
LIBCRASH_SHA3_384       = 10
-
 
30
LIBCRASH_SHA3_512       = 11
-
 
31
LIBCRASH_LAST           = 11
Line 28... Line 32...
28
LIBCRASH_SHA3_512	= 10
32
 
29
 
33
 
30
struct crash_item
34
struct crash_item
31
	function	dd ?
35
        init    dd ?
32
	init_val	dd ?
-
 
33
	finalproc	dd ?
-
 
34
	postproc	dd ?
36
        update  dd ?
35
	len_in		dd ?
-
 
36
	len_out		dd ?
-
 
37
	len_blk		dd ?
37
        final   dd ?
-
 
38
        len_out dd ?