Searched refs:MD5_BLOCK_LENGTH (Results 1 – 7 of 7) sorted by relevance
/haiku/src/libs/compat/openbsd_wlan/crypto/ |
H A D | md5.h | 18 #define MD5_BLOCK_LENGTH 64 macro 24 u_int8_t buffer[MD5_BLOCK_LENGTH]; /* input buffer */ 33 void MD5Transform(u_int32_t [4], const u_int8_t [MD5_BLOCK_LENGTH]) 35 __attribute__((__bounded__(__minbytes__,2,MD5_BLOCK_LENGTH)));
|
H A D | hmac.c | 35 u_int8_t k_ipad[MD5_BLOCK_LENGTH]; in HMAC_MD5_Init() 38 if (key_len > MD5_BLOCK_LENGTH) { in HMAC_MD5_Init() 48 bzero(k_ipad, MD5_BLOCK_LENGTH); in HMAC_MD5_Init() 50 for (i = 0; i < MD5_BLOCK_LENGTH; i++) in HMAC_MD5_Init() 54 MD5Update(&ctx->ctx, k_ipad, MD5_BLOCK_LENGTH); in HMAC_MD5_Init() 68 u_int8_t k_opad[MD5_BLOCK_LENGTH]; in HMAC_MD5_Final() 73 bzero(k_opad, MD5_BLOCK_LENGTH); in HMAC_MD5_Final() 75 for (i = 0; i < MD5_BLOCK_LENGTH; i++) in HMAC_MD5_Final() 79 MD5Update(&ctx->ctx, k_opad, MD5_BLOCK_LENGTH); in HMAC_MD5_Final()
|
H A D | md5.c | 40 static u_int8_t PADDING[MD5_BLOCK_LENGTH] = { 71 have = (size_t)((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1)); in MD5Update() 72 need = MD5_BLOCK_LENGTH - have; in MD5Update() 87 while (len >= MD5_BLOCK_LENGTH) { in MD5Update() 89 input += MD5_BLOCK_LENGTH; in MD5Update() 90 len -= MD5_BLOCK_LENGTH; in MD5Update() 114 padlen = MD5_BLOCK_LENGTH - in MD5Final() 115 ((ctx->count >> 3) & (MD5_BLOCK_LENGTH - 1)); in MD5Final() 117 padlen += MD5_BLOCK_LENGTH; in MD5Final() 145 MD5Transform(u_int32_t state[4], const u_int8_t block[MD5_BLOCK_LENGTH]) in MD5Transform() argument [all …]
|
H A D | hmac.h | 24 u_int8_t key[MD5_BLOCK_LENGTH];
|
/haiku/headers/compatibility/bsd/sys/ |
H A D | md5.h | 38 #define MD5_BLOCK_LENGTH 64 macro
|
/haiku/src/bin/network/ftpd/ |
H A D | md5.h | 33 #define MD5_BLOCK_LENGTH 64 macro
|
/haiku/src/libs/compat/freebsd_iflib/compat/sys/ |
H A D | md5.h | 33 #define MD5_BLOCK_LENGTH 64 macro
|