Subversion Repositories Kolibri OS

Rev

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

Rev 6461 Rev 6465
Line 14... Line 14...
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 17... Line -...
17
 
-
 
18
 
-
 
19
SHA1_BLOCK_SIZE = 64
-
 
20
SHA1_HASH_SIZE  = 20
-
 
21
SHA1_ALIGN      = 4
-
 
22
SHA1_ALIGN_MASK = SHA1_ALIGN - 1
-
 
23
 
-
 
24
struct ctx_sha1
-
 
25
        hash            rb SHA1_HASH_SIZE
-
 
26
        block           rb SHA1_BLOCK_SIZE
-
 
27
        index           rd 1
-
 
28
        msglen_0        rd 1
-
 
29
        msglen_1        rd 1
-
 
30
ends
-
 
31
 
17
 
32
 
18
 
33
proc sha1._.f
19
proc sha1._.f
34
        push    ebx ecx edx
20
        push    ebx ecx edx
35
        xor     ecx, edx
21
        xor     ecx, edx