Lines Matching refs:__func__

52 		lwsl_err("%s: concat_map failed\n", __func__);
58 lwsl_err("%s: jose b64 decode wrong\n", __func__);
67 lwsl_err("%s: JOSE parse failed\n", __func__);
73 lwsl_err("%s: JOSE header has wrong alg\n", __func__);
80 lwsl_err("%s: payload b64 decode wrong\n", __func__);
92 lwsl_err("%s: selftest failed ++++++++++++++++++++\n", __func__);
94 lwsl_notice("%s: selftest OK\n", __func__);
136 lwsl_err("%s: JOSE parse failed\n", __func__);
142 lwsl_err("%s: JOSE header has wrong alg\n", __func__);
153 lwsl_err("%s: unexpected kty %d\n", __func__, jwk.kty);
195 __func__, enc_ptr, hash_enc);
203 lwsl_notice("%s: confirm sig failed\n", __func__);
213 lwsl_notice("%s: selftest OK\n", __func__);
224 lwsl_err("%s: selftest failed ++++++++++++++++++++\n", __func__);
291 lwsl_err("%s: RS256 not supported\n", __func__);
299 lwsl_notice("%s: 2.2: Failed to read JWK key\n", __func__);
304 lwsl_err("%s: 2.2: kty: %d instead of RSA\n", __func__, jwk.kty);
313 lwsl_notice("%s: 2.2: confirm rsa sig failed\n", __func__);
319 lwsl_notice("%s: lws_jws_b64_compact_map failed\n", __func__);
333 lwsl_notice("%s: lws_jws_b64_compact_map failed\n", __func__);
342 lwsl_err("%s: failed signing test packet\n", __func__);
352 lwsl_notice("%s: 2.2: confirm rsa sig failed\n", __func__);
360 lwsl_notice("%s: selftest OK\n", __func__);
368 lwsl_err("%s: selftest failed ++++++++++++++++++++\n", __func__);
428 lwsl_err("%s: concat_map failed\n", __func__);
436 lwsl_err("%s: jose b64 decode wrong\n", __func__);
444 lwsl_err("%s: payload b64 decode wrong\n", __func__);
452 lwsl_err("%s: JOSE parse failed\n", __func__);
458 lwsl_err("%s: JOSE header has wrong alg\n", __func__);
467 lwsl_notice("%s: Failed to read JWK key\n", __func__);
474 __func__, jwk.kty);
479 lwsl_notice("%s: confirm EC sig failed\n", __func__);
516 lwsl_err("%s: failed signing test packet\n", __func__);
529 lwsl_notice("%s: confirm our EC sig failed\n", __func__);
541 lwsl_notice("%s: selftest %s\n", __func__, ret ? "FAIL" : "OK");
590 lwsl_err("%s: concat_map failed\n", __func__);
598 lwsl_err("%s: jose b64 decode wrong\n", __func__);
606 lwsl_err("%s: payload b64 decode wrong\n", __func__);
614 lwsl_err("%s: JOSE parse failed\n", __func__);
620 lwsl_err("%s: JOSE header has wrong alg\n", __func__);
629 lwsl_notice("%s: Failed to read JWK key\n", __func__);
636 __func__, jwk.kty);
641 lwsl_notice("%s: confirm EC sig failed\n", __func__);
675 lwsl_err("%s: failed signing test packet\n", __func__);
686 lwsl_notice("%s: confirm our ECDSA sig failed\n", __func__);
708 lwsl_err("%s: failed to create JWT\n", __func__);
712 lwsl_notice("%s: jwt test '%s'\n", __func__, buf);
718 lwsl_err("%s: failed to parse JWT\n", __func__);
724 __func__, buf + 4096);
735 lwsl_notice("%s: selftest %s\n", __func__, ret ? "FAIL" : "OK");
842 lwsl_err("%s: failed to create x509 public key\n", __func__);
847 lwsl_err("%s: failed to parse x509 public key\n", __func__);
852 lwsl_err("%s: failed to copy public key to jwk\n", __func__);
858 lwsl_err("%s: failed to copy private key to jwk\n", __func__);
866 lwsl_err("%s: failed to parse x509 public key\n", __func__);
872 lwsl_err("%s: sha1sum of public key failed\n", __func__);
880 lwsl_err("%s: failed to encode sha1sum to base64url\n", __func__);
887 lwsl_notice("%s: cert fingerprint '%s'\n", __func__, sha1_fingerprint);
907 lwsl_notice("%s: jose_hdr of len %zu: '%s'\n", __func__, info.jose_hdr_len, info.jose_hdr);
917 lwsl_err("%s: failed to create JWT\n", __func__);
921 lwsl_notice("%s: jwt test '%s'\n", __func__, buf);
927 lwsl_err("%s: failed to parse JWT\n", __func__);
933 __func__, buf + 4096);
944 lwsl_notice("%s: selftest %s\n", __func__, ret ? "FAIL" : "OK");