Searched refs:hash_update_str (Results 1 – 1 of 1) sorted by relevance
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/ |
D | sign.c | 185 static inline int hash_update_str(struct lws_genhash_ctx *ctx, const char * str) in hash_update_str() function 215 if (hash_update_str(&hash_ctx, h->policy->u.http.method) || in build_sign_string() 216 hash_update_str(&hash_ctx, "\n")) in build_sign_string() 218 if (hash_update_str(&hash_ctx, lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI)) || in build_sign_string() 219 hash_update_str(&hash_ctx, "\n")) in build_sign_string() 223 if (hash_update_str(&hash_ctx, "\n")) in build_sign_string() 227 if (hash_update_str(&hash_ctx, s->headers[i].name) || in build_sign_string() 228 hash_update_str(&hash_ctx, s->headers[i].value) || in build_sign_string() 229 hash_update_str(&hash_ctx, "\n")) in build_sign_string() 233 if (hash_update_str(&hash_ctx, "\n")) in build_sign_string() [all …]
|