Changeset 26407 in project


Ignore:
Timestamp:
04/08/12 01:03:16 (9 years ago)
Author:
Kon Lovett
Message:

Rmv dep procs.

Location:
release/4/md5
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • release/4/md5/tags/3.0.0/md5.scm

    r26379 r26407  
    44;; All code in this egg is in the Public Domain
    55(module md5
    6   (md5-digest md5-binary-digest md5-primitive)
     6  (md5-primitive)
    77
    88(import chicken scheme foreign)
    9 (use message-digest-basic message-digest-old)
     9(use message-digest-primitive)
    1010
    1111#>#include "md5-base.c"<#
    12 '#>#include "md5-ssl.c"<#
     12;#>#include "md5-ssl.c"<# ;an alternative coding
    1313
    1414(define digest-length (foreign-value "MD5_DIGEST_SIZE" unsigned-int))
     
    1818(define update (foreign-lambda void MD5Update c-pointer scheme-pointer unsigned-int))
    1919(define final (foreign-lambda void MD5Final c-pointer scheme-pointer))
    20 
    21 (define (md5-binary-digest obj)
    22   (make-binary-message-digest
    23    obj context-size digest-length init update final 'md5-binary-digest))
    24 
    25 (define (md5-digest obj)
    26   (make-message-digest
    27    obj context-size digest-length init update final 'md5-digest))
    2820
    2921(define md5-primitive
  • release/4/md5/tags/3.0.0/md5.setup

    r26379 r26407  
    55  'md5
    66  '("md5.so" "md5.import.so")
    7   `((version 2.5.2)))
     7  `((version "3.0.0")))
  • release/4/md5/tags/3.0.0/tests/run.scm

    r20991 r26407  
    1 (use md5 test)
     1(use md5 message-digest test)
    22
    33(test-begin "MD5")
     
    55(test-group "MD5 Strings"
    66  (test-group "RFC1321 tests"
    7     (test "d41d8cd98f00b204e9800998ecf8427e" (md5-digest ""))
    8     (test "0cc175b9c0f1b6a831c399e269772661" (md5-digest "a"))
    9     (test "900150983cd24fb0d6963f7d28e17f72" (md5-digest "abc"))
    10     (test "f96b697d7cb7938d525a2f31aaf161d0" (md5-digest "message digest"))
    11     (test "c3fcd3d76192e4007dfb496cca67e13b" (md5-digest "abcdefghijklmnopqrstuvwxyz"))
    12     (test "d174ab98d277d9f5a5611c2c9f419d9f" (md5-digest "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"))
    13     (test "57edf4a22be3c955ac49da2e2107b67a" (md5-digest "12345678901234567890123456789012345678901234567890123456789012345678901234567890")))
     7    (test "d41d8cd98f00b204e9800998ecf8427e" (message-digest-string (md5-primitive) ""))
     8    (test "0cc175b9c0f1b6a831c399e269772661" (message-digest-string (md5-primitive) "a"))
     9    (test "900150983cd24fb0d6963f7d28e17f72" (message-digest-string (md5-primitive) "abc"))
     10    (test "f96b697d7cb7938d525a2f31aaf161d0" (message-digest-string (md5-primitive) "message digest"))
     11    (test "c3fcd3d76192e4007dfb496cca67e13b" (message-digest-string (md5-primitive) "abcdefghijklmnopqrstuvwxyz"))
     12    (test "d174ab98d277d9f5a5611c2c9f419d9f" (message-digest-string (md5-primitive) "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"))
     13    (test "57edf4a22be3c955ac49da2e2107b67a" (message-digest-string (md5-primitive) "12345678901234567890123456789012345678901234567890123456789012345678901234567890")))
    1414
    1515  ;; These tests from "a fast implementation of MD5" for CL:
     
    1717  (test-group "Padding tests"
    1818    ;; From padding bug report by Edi Weitz
    19     (test "d734945e5930bb28859ccd13c830358b" (md5-digest "1631901HERR BUCHHEISTERCITROEN NORD1043360796beckenbauer"))
     19    (test "d734945e5930bb28859ccd13c830358b" (message-digest-string (md5-primitive) "1631901HERR BUCHHEISTERCITROEN NORD1043360796beckenbauer"))
    2020    ;; Test padding for strings from 0 to 69*8 bits in size.
    21     (test "d41d8cd98f00b204e9800998ecf8427e" (md5-digest ""))
    22     (test "0cc175b9c0f1b6a831c399e269772661" (md5-digest "a"))
    23     (test "4124bc0a9335c27f086f24ba207a4912" (md5-digest "aa"))
    24     (test "47bce5c74f589f4867dbd57e9ca9f808" (md5-digest "aaa"))
    25     (test "74b87337454200d4d33f80c4663dc5e5" (md5-digest "aaaa"))
    26     (test "594f803b380a41396ed63dca39503542" (md5-digest "aaaaa"))
    27     (test "0b4e7a0e5fe84ad35fb5f95b9ceeac79" (md5-digest "aaaaaa"))
    28     (test "5d793fc5b00a2348c3fb9ab59e5ca98a" (md5-digest "aaaaaaa"))
    29     (test "3dbe00a167653a1aaee01d93e77e730e" (md5-digest "aaaaaaaa"))
    30     (test "552e6a97297c53e592208cf97fbb3b60" (md5-digest "aaaaaaaaa"))
    31     (test "e09c80c42fda55f9d992e59ca6b3307d" (md5-digest "aaaaaaaaaa"))
    32     (test "d57f21e6a273781dbf8b7657940f3b03" (md5-digest "aaaaaaaaaaa"))
    33     (test "45e4812014d83dde5666ebdf5a8ed1ed" (md5-digest "aaaaaaaaaaaa"))
    34     (test "c162de19c4c3731ca3428769d0cd593d" (md5-digest "aaaaaaaaaaaaa"))
    35     (test "451599a5f9afa91a0f2097040a796f3d" (md5-digest "aaaaaaaaaaaaaa"))
    36     (test "12f9cf6998d52dbe773b06f848bb3608" (md5-digest "aaaaaaaaaaaaaaa"))
    37     (test "23ca472302f49b3ea5592b146a312da0" (md5-digest "aaaaaaaaaaaaaaaa"))
    38     (test "88e42e96cc71151b6e1938a1699b0a27" (md5-digest "aaaaaaaaaaaaaaaaa"))
    39     (test "2c60c24e7087e18e45055a33f9a5be91" (md5-digest "aaaaaaaaaaaaaaaaaa"))
    40     (test "639d76897485360b3147e66e0a8a3d6c" (md5-digest "aaaaaaaaaaaaaaaaaaa"))
    41     (test "22d42eb002cefa81e9ad604ea57bc01d" (md5-digest "aaaaaaaaaaaaaaaaaaaa"))
    42     (test "bd049f221af82804c5a2826809337c9b" (md5-digest "aaaaaaaaaaaaaaaaaaaaa"))
    43     (test "ff49cfac3968dbce26ebe7d4823e58bd" (md5-digest "aaaaaaaaaaaaaaaaaaaaaa"))
    44     (test "d95dbfee231e34cccb8c04444412ed7d" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaa"))
    45     (test "40edae4bad0e5bf6d6c2dc5615a86afb" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaa"))
    46     (test "a5a8bfa3962f49330227955e24a2e67c" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaa"))
    47     (test "ae791f19bdf77357ff10bb6b0e97e121" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaa"))
    48     (test "aaab9c59a88bf0bdfcb170546c5459d6" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    49     (test "b0f0545856af1a340acdedce23c54b97" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    50     (test "f7ce3d7d44f3342107d884bfa90c966a" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    51     (test "59e794d45697b360e18ba972bada0123" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    52     (test "3b0845db57c200be6052466f87b2198a" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    53     (test "5eca9bd3eb07c006cd43ae48dfde7fd3" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    54     (test "b4f13cb081e412f44e99742cb128a1a5" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    55     (test "4c660346451b8cf91ef50f4634458d41" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    56     (test "11db24dc3f6c2145701db08625dd6d76" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    57     (test "80dad3aad8584778352c68ab06250327" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    58     (test "1227fe415e79db47285cb2689c93963f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    59     (test "8e084f489f1bdf08c39f98ff6447ce6d" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    60     (test "08b2f2b0864bac1ba1585043362cbec9" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    61     (test "4697843037d962f62a5a429e611e0f5f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    62     (test "10c4da18575c092b486f8ab96c01c02f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    63     (test "af205d729450b663f48b11d839a1c8df" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    64     (test "0d3f91798fac6ee279ec2485b25f1124" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    65     (test "4c3c7c067634daec9716a80ea886d123" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    66     (test "d1e358e6e3b707282cdd06e919f7e08c" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    67     (test "8c6ded4f0af86e0a7e301f8a716c4363" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    68     (test "4c2d8bcb02d982d7cb77f649c0a2dea8" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    69     (test "bdb662f765cd310f2a547cab1cfecef6" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    70     (test "08ff5f7301d30200ab89169f6afdb7af" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    71     (test "6eb6a030bcce166534b95bc2ab45d9cf" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    72     (test "1bb77918e5695c944be02c16ae29b25e" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    73     (test "b6fe77c19f0f0f4946c761d62585bfea" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    74     (test "e9e7e260dce84ffa6e0e7eb5fd9d37fc" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    75     (test "eced9e0b81ef2bba605cbc5e2e76a1d0" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    76     (test "ef1772b6dff9a122358552954ad0df65" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    77     (test "3b0c8ac703f828b04c6c197006d17218" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    78     (test "652b906d60af96844ebd21b674f35e93" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    79     (test "dc2f2f2462a0d72358b2f99389458606" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    80     (test "762fc2665994b217c52c3c2eb7d9f406" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    81     (test "cc7ed669cf88f201c3297c6a91e1d18d" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    82     (test "cced11f7bbbffea2f718903216643648" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    83     (test "24612f0ce2c9d2cf2b022ef1e027a54f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    84     (test "b06521f39153d618550606be297466d5" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    85     (test "014842d480b571495a4a0363793f7367" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    86     (test "c743a45e0d2e6a95cb859adae0248435" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    87     (test "def5d97e01e1219fb2fc8da6c4d6ba2f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    88     (test "92cb737f8687ccb93022fdb411a77cca" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    89     (test "a0d1395c7fb36247bfe2d49376d9d133" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    90     (test "ab75504250558b788f99d1ebd219abf2" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))))
     21    (test "d41d8cd98f00b204e9800998ecf8427e" (message-digest-string (md5-primitive) ""))
     22    (test "0cc175b9c0f1b6a831c399e269772661" (message-digest-string (md5-primitive) "a"))
     23    (test "4124bc0a9335c27f086f24ba207a4912" (message-digest-string (md5-primitive) "aa"))
     24    (test "47bce5c74f589f4867dbd57e9ca9f808" (message-digest-string (md5-primitive) "aaa"))
     25    (test "74b87337454200d4d33f80c4663dc5e5" (message-digest-string (md5-primitive) "aaaa"))
     26    (test "594f803b380a41396ed63dca39503542" (message-digest-string (md5-primitive) "aaaaa"))
     27    (test "0b4e7a0e5fe84ad35fb5f95b9ceeac79" (message-digest-string (md5-primitive) "aaaaaa"))
     28    (test "5d793fc5b00a2348c3fb9ab59e5ca98a" (message-digest-string (md5-primitive) "aaaaaaa"))
     29    (test "3dbe00a167653a1aaee01d93e77e730e" (message-digest-string (md5-primitive) "aaaaaaaa"))
     30    (test "552e6a97297c53e592208cf97fbb3b60" (message-digest-string (md5-primitive) "aaaaaaaaa"))
     31    (test "e09c80c42fda55f9d992e59ca6b3307d" (message-digest-string (md5-primitive) "aaaaaaaaaa"))
     32    (test "d57f21e6a273781dbf8b7657940f3b03" (message-digest-string (md5-primitive) "aaaaaaaaaaa"))
     33    (test "45e4812014d83dde5666ebdf5a8ed1ed" (message-digest-string (md5-primitive) "aaaaaaaaaaaa"))
     34    (test "c162de19c4c3731ca3428769d0cd593d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaa"))
     35    (test "451599a5f9afa91a0f2097040a796f3d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaa"))
     36    (test "12f9cf6998d52dbe773b06f848bb3608" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaa"))
     37    (test "23ca472302f49b3ea5592b146a312da0" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaa"))
     38    (test "88e42e96cc71151b6e1938a1699b0a27" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaa"))
     39    (test "2c60c24e7087e18e45055a33f9a5be91" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaa"))
     40    (test "639d76897485360b3147e66e0a8a3d6c" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaa"))
     41    (test "22d42eb002cefa81e9ad604ea57bc01d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaa"))
     42    (test "bd049f221af82804c5a2826809337c9b" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaa"))
     43    (test "ff49cfac3968dbce26ebe7d4823e58bd" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaa"))
     44    (test "d95dbfee231e34cccb8c04444412ed7d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaa"))
     45    (test "40edae4bad0e5bf6d6c2dc5615a86afb" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaa"))
     46    (test "a5a8bfa3962f49330227955e24a2e67c" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaa"))
     47    (test "ae791f19bdf77357ff10bb6b0e97e121" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaa"))
     48    (test "aaab9c59a88bf0bdfcb170546c5459d6" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     49    (test "b0f0545856af1a340acdedce23c54b97" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     50    (test "f7ce3d7d44f3342107d884bfa90c966a" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     51    (test "59e794d45697b360e18ba972bada0123" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     52    (test "3b0845db57c200be6052466f87b2198a" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     53    (test "5eca9bd3eb07c006cd43ae48dfde7fd3" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     54    (test "b4f13cb081e412f44e99742cb128a1a5" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     55    (test "4c660346451b8cf91ef50f4634458d41" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     56    (test "11db24dc3f6c2145701db08625dd6d76" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     57    (test "80dad3aad8584778352c68ab06250327" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     58    (test "1227fe415e79db47285cb2689c93963f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     59    (test "8e084f489f1bdf08c39f98ff6447ce6d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     60    (test "08b2f2b0864bac1ba1585043362cbec9" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     61    (test "4697843037d962f62a5a429e611e0f5f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     62    (test "10c4da18575c092b486f8ab96c01c02f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     63    (test "af205d729450b663f48b11d839a1c8df" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     64    (test "0d3f91798fac6ee279ec2485b25f1124" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     65    (test "4c3c7c067634daec9716a80ea886d123" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     66    (test "d1e358e6e3b707282cdd06e919f7e08c" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     67    (test "8c6ded4f0af86e0a7e301f8a716c4363" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     68    (test "4c2d8bcb02d982d7cb77f649c0a2dea8" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     69    (test "bdb662f765cd310f2a547cab1cfecef6" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     70    (test "08ff5f7301d30200ab89169f6afdb7af" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     71    (test "6eb6a030bcce166534b95bc2ab45d9cf" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     72    (test "1bb77918e5695c944be02c16ae29b25e" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     73    (test "b6fe77c19f0f0f4946c761d62585bfea" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     74    (test "e9e7e260dce84ffa6e0e7eb5fd9d37fc" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     75    (test "eced9e0b81ef2bba605cbc5e2e76a1d0" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     76    (test "ef1772b6dff9a122358552954ad0df65" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     77    (test "3b0c8ac703f828b04c6c197006d17218" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     78    (test "652b906d60af96844ebd21b674f35e93" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     79    (test "dc2f2f2462a0d72358b2f99389458606" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     80    (test "762fc2665994b217c52c3c2eb7d9f406" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     81    (test "cc7ed669cf88f201c3297c6a91e1d18d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     82    (test "cced11f7bbbffea2f718903216643648" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     83    (test "24612f0ce2c9d2cf2b022ef1e027a54f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     84    (test "b06521f39153d618550606be297466d5" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     85    (test "014842d480b571495a4a0363793f7367" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     86    (test "c743a45e0d2e6a95cb859adae0248435" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     87    (test "def5d97e01e1219fb2fc8da6c4d6ba2f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     88    (test "92cb737f8687ccb93022fdb411a77cca" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     89    (test "a0d1395c7fb36247bfe2d49376d9d133" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     90    (test "ab75504250558b788f99d1ebd219abf2" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))))
    9191
    9292(test-end)
    93 (unless (zero? (test-failure-count)) (exit 1))
     93
     94(test-exit)
  • release/4/md5/trunk/md5.scm

    r26379 r26407  
    44;; All code in this egg is in the Public Domain
    55(module md5
    6   (md5-digest md5-binary-digest md5-primitive)
     6  (md5-primitive)
    77
    88(import chicken scheme foreign)
    9 (use message-digest-basic message-digest-old)
     9(use message-digest-primitive)
    1010
    1111#>#include "md5-base.c"<#
    12 '#>#include "md5-ssl.c"<#
     12;#>#include "md5-ssl.c"<# ;an alternative coding
    1313
    1414(define digest-length (foreign-value "MD5_DIGEST_SIZE" unsigned-int))
     
    1818(define update (foreign-lambda void MD5Update c-pointer scheme-pointer unsigned-int))
    1919(define final (foreign-lambda void MD5Final c-pointer scheme-pointer))
    20 
    21 (define (md5-binary-digest obj)
    22   (make-binary-message-digest
    23    obj context-size digest-length init update final 'md5-binary-digest))
    24 
    25 (define (md5-digest obj)
    26   (make-message-digest
    27    obj context-size digest-length init update final 'md5-digest))
    2820
    2921(define md5-primitive
  • release/4/md5/trunk/md5.setup

    r26379 r26407  
    55  'md5
    66  '("md5.so" "md5.import.so")
    7   `((version 2.5.2)))
     7  `((version "3.0.0")))
  • release/4/md5/trunk/tests/run.scm

    r20991 r26407  
    1 (use md5 test)
     1(use md5 message-digest test)
    22
    33(test-begin "MD5")
     
    55(test-group "MD5 Strings"
    66  (test-group "RFC1321 tests"
    7     (test "d41d8cd98f00b204e9800998ecf8427e" (md5-digest ""))
    8     (test "0cc175b9c0f1b6a831c399e269772661" (md5-digest "a"))
    9     (test "900150983cd24fb0d6963f7d28e17f72" (md5-digest "abc"))
    10     (test "f96b697d7cb7938d525a2f31aaf161d0" (md5-digest "message digest"))
    11     (test "c3fcd3d76192e4007dfb496cca67e13b" (md5-digest "abcdefghijklmnopqrstuvwxyz"))
    12     (test "d174ab98d277d9f5a5611c2c9f419d9f" (md5-digest "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"))
    13     (test "57edf4a22be3c955ac49da2e2107b67a" (md5-digest "12345678901234567890123456789012345678901234567890123456789012345678901234567890")))
     7    (test "d41d8cd98f00b204e9800998ecf8427e" (message-digest-string (md5-primitive) ""))
     8    (test "0cc175b9c0f1b6a831c399e269772661" (message-digest-string (md5-primitive) "a"))
     9    (test "900150983cd24fb0d6963f7d28e17f72" (message-digest-string (md5-primitive) "abc"))
     10    (test "f96b697d7cb7938d525a2f31aaf161d0" (message-digest-string (md5-primitive) "message digest"))
     11    (test "c3fcd3d76192e4007dfb496cca67e13b" (message-digest-string (md5-primitive) "abcdefghijklmnopqrstuvwxyz"))
     12    (test "d174ab98d277d9f5a5611c2c9f419d9f" (message-digest-string (md5-primitive) "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"))
     13    (test "57edf4a22be3c955ac49da2e2107b67a" (message-digest-string (md5-primitive) "12345678901234567890123456789012345678901234567890123456789012345678901234567890")))
    1414
    1515  ;; These tests from "a fast implementation of MD5" for CL:
     
    1717  (test-group "Padding tests"
    1818    ;; From padding bug report by Edi Weitz
    19     (test "d734945e5930bb28859ccd13c830358b" (md5-digest "1631901HERR BUCHHEISTERCITROEN NORD1043360796beckenbauer"))
     19    (test "d734945e5930bb28859ccd13c830358b" (message-digest-string (md5-primitive) "1631901HERR BUCHHEISTERCITROEN NORD1043360796beckenbauer"))
    2020    ;; Test padding for strings from 0 to 69*8 bits in size.
    21     (test "d41d8cd98f00b204e9800998ecf8427e" (md5-digest ""))
    22     (test "0cc175b9c0f1b6a831c399e269772661" (md5-digest "a"))
    23     (test "4124bc0a9335c27f086f24ba207a4912" (md5-digest "aa"))
    24     (test "47bce5c74f589f4867dbd57e9ca9f808" (md5-digest "aaa"))
    25     (test "74b87337454200d4d33f80c4663dc5e5" (md5-digest "aaaa"))
    26     (test "594f803b380a41396ed63dca39503542" (md5-digest "aaaaa"))
    27     (test "0b4e7a0e5fe84ad35fb5f95b9ceeac79" (md5-digest "aaaaaa"))
    28     (test "5d793fc5b00a2348c3fb9ab59e5ca98a" (md5-digest "aaaaaaa"))
    29     (test "3dbe00a167653a1aaee01d93e77e730e" (md5-digest "aaaaaaaa"))
    30     (test "552e6a97297c53e592208cf97fbb3b60" (md5-digest "aaaaaaaaa"))
    31     (test "e09c80c42fda55f9d992e59ca6b3307d" (md5-digest "aaaaaaaaaa"))
    32     (test "d57f21e6a273781dbf8b7657940f3b03" (md5-digest "aaaaaaaaaaa"))
    33     (test "45e4812014d83dde5666ebdf5a8ed1ed" (md5-digest "aaaaaaaaaaaa"))
    34     (test "c162de19c4c3731ca3428769d0cd593d" (md5-digest "aaaaaaaaaaaaa"))
    35     (test "451599a5f9afa91a0f2097040a796f3d" (md5-digest "aaaaaaaaaaaaaa"))
    36     (test "12f9cf6998d52dbe773b06f848bb3608" (md5-digest "aaaaaaaaaaaaaaa"))
    37     (test "23ca472302f49b3ea5592b146a312da0" (md5-digest "aaaaaaaaaaaaaaaa"))
    38     (test "88e42e96cc71151b6e1938a1699b0a27" (md5-digest "aaaaaaaaaaaaaaaaa"))
    39     (test "2c60c24e7087e18e45055a33f9a5be91" (md5-digest "aaaaaaaaaaaaaaaaaa"))
    40     (test "639d76897485360b3147e66e0a8a3d6c" (md5-digest "aaaaaaaaaaaaaaaaaaa"))
    41     (test "22d42eb002cefa81e9ad604ea57bc01d" (md5-digest "aaaaaaaaaaaaaaaaaaaa"))
    42     (test "bd049f221af82804c5a2826809337c9b" (md5-digest "aaaaaaaaaaaaaaaaaaaaa"))
    43     (test "ff49cfac3968dbce26ebe7d4823e58bd" (md5-digest "aaaaaaaaaaaaaaaaaaaaaa"))
    44     (test "d95dbfee231e34cccb8c04444412ed7d" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaa"))
    45     (test "40edae4bad0e5bf6d6c2dc5615a86afb" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaa"))
    46     (test "a5a8bfa3962f49330227955e24a2e67c" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaa"))
    47     (test "ae791f19bdf77357ff10bb6b0e97e121" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaa"))
    48     (test "aaab9c59a88bf0bdfcb170546c5459d6" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    49     (test "b0f0545856af1a340acdedce23c54b97" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    50     (test "f7ce3d7d44f3342107d884bfa90c966a" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    51     (test "59e794d45697b360e18ba972bada0123" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    52     (test "3b0845db57c200be6052466f87b2198a" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    53     (test "5eca9bd3eb07c006cd43ae48dfde7fd3" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    54     (test "b4f13cb081e412f44e99742cb128a1a5" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    55     (test "4c660346451b8cf91ef50f4634458d41" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    56     (test "11db24dc3f6c2145701db08625dd6d76" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    57     (test "80dad3aad8584778352c68ab06250327" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    58     (test "1227fe415e79db47285cb2689c93963f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    59     (test "8e084f489f1bdf08c39f98ff6447ce6d" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    60     (test "08b2f2b0864bac1ba1585043362cbec9" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    61     (test "4697843037d962f62a5a429e611e0f5f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    62     (test "10c4da18575c092b486f8ab96c01c02f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    63     (test "af205d729450b663f48b11d839a1c8df" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    64     (test "0d3f91798fac6ee279ec2485b25f1124" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    65     (test "4c3c7c067634daec9716a80ea886d123" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    66     (test "d1e358e6e3b707282cdd06e919f7e08c" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    67     (test "8c6ded4f0af86e0a7e301f8a716c4363" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    68     (test "4c2d8bcb02d982d7cb77f649c0a2dea8" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    69     (test "bdb662f765cd310f2a547cab1cfecef6" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    70     (test "08ff5f7301d30200ab89169f6afdb7af" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    71     (test "6eb6a030bcce166534b95bc2ab45d9cf" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    72     (test "1bb77918e5695c944be02c16ae29b25e" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    73     (test "b6fe77c19f0f0f4946c761d62585bfea" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    74     (test "e9e7e260dce84ffa6e0e7eb5fd9d37fc" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    75     (test "eced9e0b81ef2bba605cbc5e2e76a1d0" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    76     (test "ef1772b6dff9a122358552954ad0df65" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    77     (test "3b0c8ac703f828b04c6c197006d17218" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    78     (test "652b906d60af96844ebd21b674f35e93" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    79     (test "dc2f2f2462a0d72358b2f99389458606" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    80     (test "762fc2665994b217c52c3c2eb7d9f406" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    81     (test "cc7ed669cf88f201c3297c6a91e1d18d" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    82     (test "cced11f7bbbffea2f718903216643648" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    83     (test "24612f0ce2c9d2cf2b022ef1e027a54f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    84     (test "b06521f39153d618550606be297466d5" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    85     (test "014842d480b571495a4a0363793f7367" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    86     (test "c743a45e0d2e6a95cb859adae0248435" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    87     (test "def5d97e01e1219fb2fc8da6c4d6ba2f" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    88     (test "92cb737f8687ccb93022fdb411a77cca" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    89     (test "a0d1395c7fb36247bfe2d49376d9d133" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
    90     (test "ab75504250558b788f99d1ebd219abf2" (md5-digest "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))))
     21    (test "d41d8cd98f00b204e9800998ecf8427e" (message-digest-string (md5-primitive) ""))
     22    (test "0cc175b9c0f1b6a831c399e269772661" (message-digest-string (md5-primitive) "a"))
     23    (test "4124bc0a9335c27f086f24ba207a4912" (message-digest-string (md5-primitive) "aa"))
     24    (test "47bce5c74f589f4867dbd57e9ca9f808" (message-digest-string (md5-primitive) "aaa"))
     25    (test "74b87337454200d4d33f80c4663dc5e5" (message-digest-string (md5-primitive) "aaaa"))
     26    (test "594f803b380a41396ed63dca39503542" (message-digest-string (md5-primitive) "aaaaa"))
     27    (test "0b4e7a0e5fe84ad35fb5f95b9ceeac79" (message-digest-string (md5-primitive) "aaaaaa"))
     28    (test "5d793fc5b00a2348c3fb9ab59e5ca98a" (message-digest-string (md5-primitive) "aaaaaaa"))
     29    (test "3dbe00a167653a1aaee01d93e77e730e" (message-digest-string (md5-primitive) "aaaaaaaa"))
     30    (test "552e6a97297c53e592208cf97fbb3b60" (message-digest-string (md5-primitive) "aaaaaaaaa"))
     31    (test "e09c80c42fda55f9d992e59ca6b3307d" (message-digest-string (md5-primitive) "aaaaaaaaaa"))
     32    (test "d57f21e6a273781dbf8b7657940f3b03" (message-digest-string (md5-primitive) "aaaaaaaaaaa"))
     33    (test "45e4812014d83dde5666ebdf5a8ed1ed" (message-digest-string (md5-primitive) "aaaaaaaaaaaa"))
     34    (test "c162de19c4c3731ca3428769d0cd593d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaa"))
     35    (test "451599a5f9afa91a0f2097040a796f3d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaa"))
     36    (test "12f9cf6998d52dbe773b06f848bb3608" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaa"))
     37    (test "23ca472302f49b3ea5592b146a312da0" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaa"))
     38    (test "88e42e96cc71151b6e1938a1699b0a27" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaa"))
     39    (test "2c60c24e7087e18e45055a33f9a5be91" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaa"))
     40    (test "639d76897485360b3147e66e0a8a3d6c" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaa"))
     41    (test "22d42eb002cefa81e9ad604ea57bc01d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaa"))
     42    (test "bd049f221af82804c5a2826809337c9b" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaa"))
     43    (test "ff49cfac3968dbce26ebe7d4823e58bd" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaa"))
     44    (test "d95dbfee231e34cccb8c04444412ed7d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaa"))
     45    (test "40edae4bad0e5bf6d6c2dc5615a86afb" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaa"))
     46    (test "a5a8bfa3962f49330227955e24a2e67c" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaa"))
     47    (test "ae791f19bdf77357ff10bb6b0e97e121" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaa"))
     48    (test "aaab9c59a88bf0bdfcb170546c5459d6" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     49    (test "b0f0545856af1a340acdedce23c54b97" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     50    (test "f7ce3d7d44f3342107d884bfa90c966a" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     51    (test "59e794d45697b360e18ba972bada0123" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     52    (test "3b0845db57c200be6052466f87b2198a" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     53    (test "5eca9bd3eb07c006cd43ae48dfde7fd3" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     54    (test "b4f13cb081e412f44e99742cb128a1a5" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     55    (test "4c660346451b8cf91ef50f4634458d41" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     56    (test "11db24dc3f6c2145701db08625dd6d76" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     57    (test "80dad3aad8584778352c68ab06250327" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     58    (test "1227fe415e79db47285cb2689c93963f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     59    (test "8e084f489f1bdf08c39f98ff6447ce6d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     60    (test "08b2f2b0864bac1ba1585043362cbec9" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     61    (test "4697843037d962f62a5a429e611e0f5f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     62    (test "10c4da18575c092b486f8ab96c01c02f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     63    (test "af205d729450b663f48b11d839a1c8df" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     64    (test "0d3f91798fac6ee279ec2485b25f1124" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     65    (test "4c3c7c067634daec9716a80ea886d123" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     66    (test "d1e358e6e3b707282cdd06e919f7e08c" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     67    (test "8c6ded4f0af86e0a7e301f8a716c4363" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     68    (test "4c2d8bcb02d982d7cb77f649c0a2dea8" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     69    (test "bdb662f765cd310f2a547cab1cfecef6" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     70    (test "08ff5f7301d30200ab89169f6afdb7af" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     71    (test "6eb6a030bcce166534b95bc2ab45d9cf" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     72    (test "1bb77918e5695c944be02c16ae29b25e" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     73    (test "b6fe77c19f0f0f4946c761d62585bfea" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     74    (test "e9e7e260dce84ffa6e0e7eb5fd9d37fc" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     75    (test "eced9e0b81ef2bba605cbc5e2e76a1d0" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     76    (test "ef1772b6dff9a122358552954ad0df65" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     77    (test "3b0c8ac703f828b04c6c197006d17218" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     78    (test "652b906d60af96844ebd21b674f35e93" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     79    (test "dc2f2f2462a0d72358b2f99389458606" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     80    (test "762fc2665994b217c52c3c2eb7d9f406" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     81    (test "cc7ed669cf88f201c3297c6a91e1d18d" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     82    (test "cced11f7bbbffea2f718903216643648" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     83    (test "24612f0ce2c9d2cf2b022ef1e027a54f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     84    (test "b06521f39153d618550606be297466d5" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     85    (test "014842d480b571495a4a0363793f7367" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     86    (test "c743a45e0d2e6a95cb859adae0248435" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     87    (test "def5d97e01e1219fb2fc8da6c4d6ba2f" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     88    (test "92cb737f8687ccb93022fdb411a77cca" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     89    (test "a0d1395c7fb36247bfe2d49376d9d133" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
     90    (test "ab75504250558b788f99d1ebd219abf2" (message-digest-string (md5-primitive) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))))
    9191
    9292(test-end)
    93 (unless (zero? (test-failure-count)) (exit 1))
     93
     94(test-exit)
Note: See TracChangeset for help on using the changeset viewer.