Lines Matching defs:key

80 		lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
121 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
196 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
224 * recipient using RSAES-PKCS1-v1_5 for key encryption and
296 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
342 * This example encrypts a different, larger plaintext using the jwk key from
501 /* reuse the rsa private key from the JWE Appendix 2 test above */
504 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
519 /* dup the cek, since it will be replaced by the encrypted key */
563 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
628 /* reuse the rsa private key from the JWE Appendix 2 test above */
631 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
649 /* copy the cek, since it will be replaced by the encrypted key */
692 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
760 /* reuse the rsa private key from the JWE Appendix 2 test above */
763 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
781 /* copy the cek, since it will be replaced by the encrypted key */
824 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
1010 /* This is a compact JWE containing the plaintext ra_ptext_1024 for the key
1056 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
1101 /* This is a compact JWE containing the plaintext ra_ptext_1024 for the key
1147 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
1197 * recipient using AES Key Wrap for key encryption and
1238 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
1595 * produce an agreed-upon key for AES GCM with a 128-bit key ("enc"
1599 * Bob. The producer (Alice) generates an ephemeral key for the key
1603 * direct derived key, it doesn't do any AES128-GCM.
1613 "\"epk\":" /* public part of A's ephemeral key */
1647 * pieces and perform just the (normally internal) key agreement step
1661 * The ephemeral key has been parsed into a jwk "jwe.jose.jwk_ephemeral"
1664 * "ECDH-ES") is used to produce an agreed-upon key for AES GCM with a
1665 * 128-bit key ("enc" value "A128GCM").
1680 lwsl_err("%s: ECDH-ES direct derived key wrong\n", __func__);
1707 /* peer key */
1812 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
1864 * getting the compact. jws->jwk needs to be our private key. */
1872 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
1965 const char *ciphertext, const char *key)
1973 if (lws_jwk_import(&jwe.jwk, NULL, NULL, key, strlen(key)) < 0) {
1974 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);
2020 const char *key, char *compact, int compact_len)
2028 if (lws_jwk_import(&jwe.jwk, NULL, NULL, key, strlen(key)) < 0) {
2029 lwsl_notice("%s: Failed to decode JWK test key\n", __func__);