Searched refs:mdContext (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/crypto/
H A Dmd5.h57 void MD5Init (MD5_CTX *mdContext);
58 void MD5Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
59 void MD5Final (MD5_CTX *mdContext);
H A Dmd5.c48 ** (1) Initialize a context buffer mdContext using MD5Init **
49 ** (2) Call MD5Update on mdContext and M **
50 ** (3) Call MD5Final on mdContext **
51 ** The message digest is now in mdContext->digest[0...15] **
103 * mdContext. All fields are set to zero.
105 void MD5Init (MD5_CTX *mdContext) argument
107 mdContext->i[0] = mdContext->i[1] = (UINT4)0;
112 mdContext->buf[0] = (UINT4)0x67452301;
113 mdContext
123 MD5Update(MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen) argument
159 MD5Final(MD5_CTX *mdContext) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/md4/
H A Dmd4.c85 krb5_MD4Init (krb5_MD4_CTX *mdContext) argument
87 mdContext->i[0] = mdContext->i[1] = (krb5_ui_4)0;
91 mdContext->buf[0] = 0x67452301UL;
92 mdContext->buf[1] = 0xefcdab89UL;
93 mdContext->buf[2] = 0x98badcfeUL;
94 mdContext->buf[3] = 0x10325476UL;
98 krb5_MD4Update (krb5_MD4_CTX *mdContext, const unsigned char *inBuf, unsigned int inLen) argument
105 mdi = (int)((mdContext->i[0] >> 3) & 0x3F);
108 if ((mdContext
131 krb5_MD4Final(krb5_MD4_CTX *mdContext) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c441 MD5_CTX mdContext; local
529 MD5Init(&mdContext);
530 MD5Update(&mdContext, &cstate->resp_id, 1);
531 MD5Update(&mdContext, (u_char *)secret, (unsigned)secret_len);
532 MD5Update(&mdContext, rchallenge, rchallenge_len);
533 MD5Final(hash, &mdContext);
579 MD5_CTX mdContext; local
659 MD5Init(&mdContext);
660 MD5Update(&mdContext, &cstate->chal_id, 1);
661 MD5Update(&mdContext, (u_cha
[all...]

Completed in 159 milliseconds