• Home
  • Raw
  • Download

Lines Matching refs:temp_len

74 	int n, ret = -1, temp_len = sizeof(temp);  in test_jwe_a1()  local
87 &temp_len) != 5) { in test_jwe_a1()
92 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_a1()
93 &temp_len); in test_jwe_a1()
116 temp_len = sizeof(temp); in test_jwe_a1()
137 jwe.jws.map.len[LJWS_JOSE] = (uint32_t)lws_snprintf(temp, (unsigned int)temp_len, in test_jwe_a1()
139 temp_len -= (int)jwe.jws.map.len[LJWS_JOSE]; in test_jwe_a1()
147 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_a1()
157 lws_concat_temp(temp, temp_len), in test_jwe_a1()
158 &temp_len, (unsigned int)n, in test_jwe_a1()
164 n = lws_jwe_encrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_a1()
165 &temp_len); in test_jwe_a1()
185 temp_len = sizeof(temp); in test_jwe_a1()
189 &jwe.jws.map_b64, temp, &temp_len) != 5) { in test_jwe_a1()
200 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_a1()
201 &temp_len); in test_jwe_a1()
290 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_a2() local
304 (char *)temp, &temp_len) != 5) { in test_jwe_a2()
309 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_a2()
310 &temp_len); in test_jwe_a2()
497 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_ra_ptext_1024() local
511 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_ra_ptext_1024()
522 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_ra_ptext_1024()
534 lws_concat_temp(temp, temp_len), &temp_len); in test_jwe_ra_ptext_1024()
541 n = lws_jwe_encrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_ra_ptext_1024()
542 &temp_len); in test_jwe_ra_ptext_1024()
558 temp_len = sizeof(temp); in test_jwe_ra_ptext_1024()
568 temp, &temp_len) != 5) { in test_jwe_ra_ptext_1024()
574 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_ra_ptext_1024()
575 &temp_len); in test_jwe_ra_ptext_1024()
624 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_r256a192_ptext() local
641 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a192_ptext()
652 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a192_ptext()
664 lws_concat_temp(temp, temp_len), &temp_len); in test_jwe_r256a192_ptext()
671 n = lws_jwe_encrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_r256a192_ptext()
672 &temp_len); in test_jwe_r256a192_ptext()
697 temp, &temp_len) != 5) { in test_jwe_r256a192_ptext()
703 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_r256a192_ptext()
704 &temp_len); in test_jwe_r256a192_ptext()
756 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_r256a256_ptext() local
773 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a256_ptext()
784 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a256_ptext()
796 lws_concat_temp(temp, temp_len), &temp_len); in test_jwe_r256a256_ptext()
803 n = lws_jwe_encrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_r256a256_ptext()
804 &temp_len); in test_jwe_r256a256_ptext()
829 temp, &temp_len) != 5) { in test_jwe_r256a256_ptext()
835 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_r256a256_ptext()
836 &temp_len); in test_jwe_r256a256_ptext()
1050 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_r256a128_jwe_openssl() local
1064 temp, &temp_len) != 5) { in test_jwe_r256a128_jwe_openssl()
1069 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_r256a128_jwe_openssl()
1070 &temp_len); in test_jwe_r256a128_jwe_openssl()
1141 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_r256a128_jwe_mbedtls() local
1155 temp, &temp_len) != 5) { in test_jwe_r256a128_jwe_mbedtls()
1160 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_r256a128_jwe_mbedtls()
1161 &temp_len); in test_jwe_r256a128_jwe_mbedtls()
1232 int n, ret = -1, temp_len = sizeof(temp); in test_jwe_a3() local
1246 &temp_len) != 5) { in test_jwe_a3()
1251 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_jwe_a3()
1252 &temp_len); in test_jwe_a3()
1640 int ret = -1, temp_len = sizeof(temp); in test_jwa_c() local
1654 temp, &temp_len) < 0) { in test_jwa_c()
1668 p = lws_concat_temp(temp, temp_len); in test_jwa_c()
1789 int n, ret = -1, temp_len = sizeof(temp); in test_ecdhes_t1() local
1797 lws_concat_temp(temp, temp_len), &temp_len, in test_ecdhes_t1()
1802 temp, &temp_len) < 0) { in test_ecdhes_t1()
1822 lws_concat_temp(temp, temp_len), &temp_len, in test_ecdhes_t1()
1835 n = lws_jwe_encrypt(&jwe, lws_concat_temp(temp, temp_len), &temp_len); in test_ecdhes_t1()
1867 temp_len = sizeof(temp); in test_ecdhes_t1()
1878 &jwe.jws.map_b64, temp, &temp_len) != 5) { in test_ecdhes_t1()
1883 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), in test_ecdhes_t1()
1884 &temp_len); in test_ecdhes_t1()
1969 int n, ret = -1, temp_len = sizeof(temp); in test_akw_decrypt() local
1981 temp, &temp_len) != 5) { in test_akw_decrypt()
1986 n = lws_jwe_auth_and_decrypt(&jwe, lws_concat_temp(temp, temp_len), &temp_len); in test_akw_decrypt()
2024 int ret = -1, n, temp_len = sizeof(temp); in test_akw_encrypt() local
2045 jwe.jws.map.len[LJWS_JOSE] = (uint32_t)lws_snprintf(temp, (unsigned int)temp_len, in test_akw_encrypt()
2047 temp_len -= (int)jwe.jws.map.len[LJWS_JOSE]; in test_akw_encrypt()
2055 lws_concat_temp(temp, temp_len), &temp_len, in test_akw_encrypt()
2067 lws_concat_temp(temp, temp_len), in test_akw_encrypt()
2068 &temp_len, (unsigned int)n, in test_akw_encrypt()
2074 n = lws_jwe_encrypt(&jwe, lws_concat_temp(temp, temp_len), in test_akw_encrypt()
2075 &temp_len); in test_akw_encrypt()
2141 int ret = -1, temp_len = sizeof(temp); in test_jwe_json_complete() local
2146 temp, &temp_len) < 0) { in test_jwe_json_complete()