Lines Matching refs:Md5Ctx
621 li_MD5_CTX Md5Ctx; in http_auth_basic_password_compare() local
625 li_MD5_Init(&Md5Ctx); in http_auth_basic_password_compare()
626 li_MD5_Update(&Md5Ctx, (unsigned char *)username->ptr, username->used - 1); in http_auth_basic_password_compare()
627 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_basic_password_compare()
628 li_MD5_Update(&Md5Ctx, (unsigned char *)realm->ptr, realm->used - 1); in http_auth_basic_password_compare()
629 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_basic_password_compare()
630 li_MD5_Update(&Md5Ctx, (unsigned char *)pw, strlen(pw)); in http_auth_basic_password_compare()
631 li_MD5_Final(HA1, &Md5Ctx); in http_auth_basic_password_compare()
937 li_MD5_CTX Md5Ctx; in http_auth_digest_check() local
1074 li_MD5_Init(&Md5Ctx); in http_auth_digest_check()
1075 li_MD5_Update(&Md5Ctx, (unsigned char *)username, strlen(username)); in http_auth_digest_check()
1076 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1077 li_MD5_Update(&Md5Ctx, (unsigned char *)realm, strlen(realm)); in http_auth_digest_check()
1078 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1079 li_MD5_Update(&Md5Ctx, (unsigned char *)password->ptr, password->used - 1); in http_auth_digest_check()
1080 li_MD5_Final(HA1, &Md5Ctx); in http_auth_digest_check()
1097 li_MD5_Init(&Md5Ctx); in http_auth_digest_check()
1100 li_MD5_Update(&Md5Ctx, (unsigned char *)a1, 32); in http_auth_digest_check()
1101 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1102 li_MD5_Update(&Md5Ctx, (unsigned char *)nonce, strlen(nonce)); in http_auth_digest_check()
1103 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1104 li_MD5_Update(&Md5Ctx, (unsigned char *)cnonce, strlen(cnonce)); in http_auth_digest_check()
1105 li_MD5_Final(HA1, &Md5Ctx); in http_auth_digest_check()
1111 li_MD5_Init(&Md5Ctx); in http_auth_digest_check()
1112 li_MD5_Update(&Md5Ctx, (unsigned char *)m, strlen(m)); in http_auth_digest_check()
1113 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1114 li_MD5_Update(&Md5Ctx, (unsigned char *)uri, strlen(uri)); in http_auth_digest_check()
1116 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1117 li_MD5_Update(&Md5Ctx, (unsigned char *)"", HASHHEXLEN); in http_auth_digest_check()
1119 li_MD5_Final(HA2, &Md5Ctx); in http_auth_digest_check()
1123 li_MD5_Init(&Md5Ctx); in http_auth_digest_check()
1124 li_MD5_Update(&Md5Ctx, (unsigned char *)a1, HASHHEXLEN); in http_auth_digest_check()
1125 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1126 li_MD5_Update(&Md5Ctx, (unsigned char *)nonce, strlen(nonce)); in http_auth_digest_check()
1127 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1129 li_MD5_Update(&Md5Ctx, (unsigned char *)nc, strlen(nc)); in http_auth_digest_check()
1130 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1131 li_MD5_Update(&Md5Ctx, (unsigned char *)cnonce, strlen(cnonce)); in http_auth_digest_check()
1132 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1133 li_MD5_Update(&Md5Ctx, (unsigned char *)qop, strlen(qop)); in http_auth_digest_check()
1134 li_MD5_Update(&Md5Ctx, (unsigned char *)":", 1); in http_auth_digest_check()
1136 li_MD5_Update(&Md5Ctx, (unsigned char *)HA2Hex, HASHHEXLEN); in http_auth_digest_check()
1137 li_MD5_Final(RespHash, &Md5Ctx); in http_auth_digest_check()
1180 li_MD5_CTX Md5Ctx; in http_auth_digest_generate_nonce() local
1186 li_MD5_Init(&Md5Ctx); in http_auth_digest_generate_nonce()
1187 li_MD5_Update(&Md5Ctx, (unsigned char *)fn->ptr, fn->used - 1); in http_auth_digest_generate_nonce()
1188 li_MD5_Update(&Md5Ctx, (unsigned char *)"+", 1); in http_auth_digest_generate_nonce()
1192 li_MD5_Update(&Md5Ctx, (unsigned char *)hh, strlen(hh)); in http_auth_digest_generate_nonce()
1193 li_MD5_Update(&Md5Ctx, (unsigned char *)srv->entropy, sizeof(srv->entropy)); in http_auth_digest_generate_nonce()
1195 li_MD5_Update(&Md5Ctx, (unsigned char *)hh, strlen(hh)); in http_auth_digest_generate_nonce()
1197 li_MD5_Final(h, &Md5Ctx); in http_auth_digest_generate_nonce()