Changeset 31020 in project


Ignore:
Timestamp:
06/14/14 22:07:08 (6 years ago)
Author:
Kon Lovett
Message:

added block-length to prim

Location:
release/4/tiger-hash
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/tiger-hash/tags/3.1.0/tiger-hash.meta

    r26398 r31020  
    77 (doc-from-wiki)
    88 (synopsis "Tiger/192 Message Digest")
    9  (depends (message-digest "3.0.0"))
     9 (depends (message-digest "3.1.0"))
    1010 (test-depends test)
    1111 (files "tiger-hash.release-info" "tiger-hash.meta" "tiger-hash.setup" "tiger-hash.scm" "tests/test-vectors-nessie-format.dat" "tests/run.scm") )
  • release/4/tiger-hash/tags/3.1.0/tiger-hash.scm

    r26414 r31020  
    684684#endif
    685685
     686#define BLOCK_SIZE 64
     687
    686688typedef struct {
    687689  uint64_t state[3];
     
    817819
    818820(define-foreign-variable context-size192 int "TGRctxsiz")
     821(define-foreign-variable digest-length192 int "TGRhshlen")
     822(define-foreign-variable block-length192 int "BLOCK_SIZE")
    819823
    820824(define init192 (foreign-lambda void "tiger_init" c-pointer))
    821825(define update192 (foreign-lambda void "tiger_update" c-pointer scheme-pointer int))
    822826(define final192 (foreign-lambda void "tiger_final" c-pointer scheme-pointer))
    823 
    824 (define-foreign-variable digest-length192 int "TGRhshlen")
    825827
    826828;;
     
    833835              (make-message-digest-primitive context-size192 digest-length192
    834836                                             init192 update192 final192
    835                                              'tiger192-primitive)) )
     837                                             block-length192 'tiger192-primitive)) )
    836838      the-tiger192-primitive ) ) )
    837839
  • release/4/tiger-hash/tags/3.1.0/tiger-hash.setup

    r26398 r31020  
    77  'tiger-hash
    88  '("tiger-hash.so" "tiger-hash.import.so")
    9   '((version "3.0.0")))
     9  '((version "3.1.0")))
  • release/4/tiger-hash/trunk/tiger-hash.meta

    r26398 r31020  
    77 (doc-from-wiki)
    88 (synopsis "Tiger/192 Message Digest")
    9  (depends (message-digest "3.0.0"))
     9 (depends (message-digest "3.1.0"))
    1010 (test-depends test)
    1111 (files "tiger-hash.release-info" "tiger-hash.meta" "tiger-hash.setup" "tiger-hash.scm" "tests/test-vectors-nessie-format.dat" "tests/run.scm") )
  • release/4/tiger-hash/trunk/tiger-hash.scm

    r26414 r31020  
    684684#endif
    685685
     686#define BLOCK_SIZE 64
     687
    686688typedef struct {
    687689  uint64_t state[3];
     
    817819
    818820(define-foreign-variable context-size192 int "TGRctxsiz")
     821(define-foreign-variable digest-length192 int "TGRhshlen")
     822(define-foreign-variable block-length192 int "BLOCK_SIZE")
    819823
    820824(define init192 (foreign-lambda void "tiger_init" c-pointer))
    821825(define update192 (foreign-lambda void "tiger_update" c-pointer scheme-pointer int))
    822826(define final192 (foreign-lambda void "tiger_final" c-pointer scheme-pointer))
    823 
    824 (define-foreign-variable digest-length192 int "TGRhshlen")
    825827
    826828;;
     
    833835              (make-message-digest-primitive context-size192 digest-length192
    834836                                             init192 update192 final192
    835                                              'tiger192-primitive)) )
     837                                             block-length192 'tiger192-primitive)) )
    836838      the-tiger192-primitive ) ) )
    837839
  • release/4/tiger-hash/trunk/tiger-hash.setup

    r26398 r31020  
    77  'tiger-hash
    88  '("tiger-hash.so" "tiger-hash.import.so")
    9   '((version "3.0.0")))
     9  '((version "3.1.0")))
Note: See TracChangeset for help on using the changeset viewer.