Ignore:
Timestamp:
Nov 27, 2012, 4:56:06 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated vendor to 3.6.9

Location:
vendor/current/lib/crypto
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/crypto/hmacmd5.c

    r740 r746  
    3737        if (key_len > 64)
    3838        {
    39                 struct MD5Context tctx;
     39                MD5_CTX tctx;
    4040
    4141                MD5Init(&tctx);
     
    9292_PUBLIC_ void hmac_md5_final(uint8_t *digest, HMACMD5Context *ctx)
    9393{
    94         struct MD5Context ctx_o;
     94        MD5_CTX ctx_o;
    9595
    9696        MD5Final(digest, &ctx->ctx);         
  • vendor/current/lib/crypto/hmacmd5.h

    r414 r746  
    2626typedef struct
    2727{
    28         struct MD5Context ctx;
     28        MD5_CTX ctx;
    2929        uint8_t k_ipad[65];   
    3030        uint8_t k_opad[65];
  • vendor/current/lib/crypto/md5.h

    r414 r746  
    66#endif
    77
     8#ifdef HAVE_MD5_H
     9/*
     10 * Try to avoid clashes with Solaris MD5 implementation.
     11 * ...where almost all implementations follows:
     12 * "Schneier's Cryptography Classics Library"
     13 */
     14#include <md5.h>
     15#else
     16
    817struct MD5Context {
    918        uint32_t buf[4];
     
    1120        uint8_t in[64];
    1221};
     22typedef struct MD5Context MD5_CTX;
    1323
    1424void MD5Init(struct MD5Context *context);
     
    1727void MD5Final(uint8_t digest[16], struct MD5Context *context);
    1828
     29#endif /* !HAVE_MD5_H */
     30
    1931#endif /* !MD5_H */
  • vendor/current/lib/crypto/md5test.c

    r740 r746  
    6464
    6565        for (i=0; i < ARRAY_SIZE(testarray); i++) {
    66                 struct MD5Context ctx;
     66                MD5_CTX ctx;
    6767                uint8_t md5[16];
    6868                int e;
Note: See TracChangeset for help on using the changeset viewer.