Subversion Repositories Kolibri OS

Rev

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

Rev 7698 Rev 9216
Line 18... Line 18...
18
 
18
 
19
; Main concept:
19
; Main concept:
20
; To compute HMAC over the data `text' we perform
20
; To compute HMAC over the data `text' we perform
Line -... Line 21...
-
 
21
; H(K XOR opad, H(K XOR ipad, text))
-
 
22
 
21
; H(K XOR opad, H(K XOR ipad, text))
23
SHA1_BLOCK_SIZE = 64
22
 
24
 
23
struct hmac_sha1_context
25
struct hmac_sha1_context
24
        hash            rb SHA1_HASH_SIZE
26
        hash            rb SHA1_LEN
25
        ipad_ctx        crash_ctx
27
        ipad_ctx        rb LIBCRASH_CTX_LEN
Line 26... Line 28...
26
        opad_ctx        crash_ctx
28
        opad_ctx        rb LIBCRASH_CTX_LEN
27
ends
29
ends