| /src/crypto/external/bsd/openssl/dist/test/ |
| punycode_test.c | 20 const char *encoded; member in struct:puny_test 154 if (!TEST_true(ossl_punycode_decode(tc->encoded, strlen(tc->encoded),
|
| pemtest.c | 19 const char *encoded; member in struct:__anon1750 41 const char *encoded = b64_pem_data[idx].encoded; local 45 || !TEST_true(BIO_printf(b, "%s\n", encoded)) 69 const char *encoded = b64_pem_data[0].encoded; local 73 || !TEST_true(BIO_printf(b, "%c%s\n", '\t', encoded))
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| pemtest.c | 19 const char *encoded; member in struct:__anon2255 39 const char *encoded = b64_pem_data[idx].encoded; local 43 || !TEST_true(BIO_printf(b, "%s\n", encoded)) 67 const char *encoded = b64_pem_data[0].encoded; local 71 || !TEST_true(BIO_printf(b, "%c%s\n", '\t', encoded))
|
| /src/external/apache2/argon2/dist/phc-winner-argon2/src/ |
| test.c | 33 * encoded output matches expected 41 char encoded[ENCODED_LEN]; local 48 OUT_LEN, encoded, ENCODED_LEN, type, version); 56 assert(memcmp(encoded, mcfref, strlen(mcfref)) == 0); 59 ret = argon2_verify(encoded, pwd, strlen(pwd), type); 139 /* Handle an mismatching hash (the encoded password is "passwore") */ 219 /* Handle an mismatching hash (the encoded password is "passwore") */
|
| run.c | 59 printf("\t-e\t\tOutput only encoded hash\n"); 81 Base64-encoded hash string 90 @encoded_only display only the encoded hash 101 char * encoded = NULL; local 128 encoded = malloc(encodedlen + 1); 129 if (!encoded) { 135 out, outlen, encoded, encodedlen, type, 143 puts(encoded); 150 free(encoded); 158 printf("Encoded:\t%s\n", encoded) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/wind/ |
| idn-lookup.c | 67 char encoded[1024]; local 91 ep = encoded; 98 len = sizeof(encoded) - (ep - encoded); 110 printf("Converted \"%s\" into \"%s\"\n", name, encoded); 114 ret = getaddrinfo(encoded, NULL, &hints, &ai);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_sign.c | 74 const unsigned char *encoded = NULL; local 80 /* Compute the encoded digest. */ 92 encoded = m; 96 encoded = tmps; 103 encrypt_len = RSA_private_encrypt(encoded_len, encoded, sigret, rsa, 129 unsigned char *decrypt_buf = NULL, *encoded = NULL; local 136 /* Recover the encoded digest. */ 214 /* Construct the encoded digest and ensure it matches. */ 215 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) 219 || memcmp(encoded, decrypt_buf, encoded_len) != 0) [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| pemtest.c | 19 const char *encoded; member in struct:__anon723 41 const char *encoded = b64_pem_data[idx].encoded; local 45 || !TEST_true(BIO_printf(b, "%s\n", encoded)) 69 const char *encoded = b64_pem_data[0].encoded; local 73 || !TEST_true(BIO_printf(b, "%c%s\n", '\t', encoded))
|
| punycode_test.c | 20 const char *encoded; member in struct:puny_test 119 if (!TEST_true(ossl_punycode_decode(tc->encoded, strlen(tc->encoded),
|
| bio_base64_test.c | 22 char *encoded; member in struct:__anon660 93 static int encode(unsigned const char *buf, unsigned buflen, char *encoded, 101 if (encoded != NULL) { 102 int elen = strlen(encoded); 104 return BIO_write(mem, encoded, elen) == elen; 151 unsigned buflen, int trunc, char *encoded, unsigned llen, 165 || encode(buf, buflen, encoded, trunc, llen, wscnt, mem) <= 0 188 char *encoded = NULL; local 195 * Pre-encoded data always encodes NUL octets. If all we care about is the 198 if (t->encoded != NULL [all...] |
| ml_dsa_test.c | 376 int encoded; member in struct:sig_params_st 408 (int *)&sp->encoded); 471 (int *)&sp->encoded);
|
| /src/crypto/external/bsd/openssh/dist/ |
| ssh-ed25519-sk.c | 131 struct sshbuf *encoded = NULL; local 203 if ((encoded = sshbuf_new()) == NULL) { 207 if (sshbuf_put(encoded, sigblob, len) != 0 || 208 sshbuf_put(encoded, apphash, sizeof(apphash)) != 0 || 209 sshbuf_put_u8(encoded, sig_flags) != 0 || 210 sshbuf_put_u32(encoded, sig_counter) != 0 || 211 sshbuf_put(encoded, msghash, sizeof(msghash)) != 0) { 217 sshbuf_dump(encoded, stderr); 219 sm = sshbuf_ptr(encoded); 220 smlen = sshbuf_len(encoded); [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_sign.c | 67 * initialized array containing the DER encoded DigestInfo for the specified 70 * |n| is last byte in the encoded OID for the digest. 292 const unsigned char *encoded = NULL; local 299 /* Compute the encoded digest. */ 311 encoded = m; 315 encoded = tmps; 322 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, 350 unsigned char *decrypt_buf = NULL, *encoded = NULL; local 357 /* Recover the encoded digest. */ 435 /* Construct the encoded digest and ensure it matches. * [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_sign.c | 64 * initialized array containing the DER encoded DigestInfo for the specified 67 * |n| is last byte in the encoded OID for the digest. 279 const unsigned char *encoded = NULL; local 286 /* Compute the encoded digest. */ 298 encoded = m; 302 encoded = tmps; 309 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, 337 unsigned char *decrypt_buf = NULL, *encoded = NULL; local 344 /* Recover the encoded digest. */ 424 /* Construct the encoded digest and ensure it matches. * [all...] |
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| verify-macos.c | 259 CFDataRef encoded; local 273 encoded = SecTransformExecute(b64encoder, &error); 275 data = CFDataGetBytePtr(encoded); 277 fwrite(data, CFDataGetLength(encoded), 1, stdout); 280 if (encoded != NULL) { 281 CFRelease(encoded);
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| ada-lang.h | 68 /* Corresponding encoded/decoded names and opcodes for Ada user-definable 72 const char *encoded; member in struct:ada_opname_map 77 /* Table of Ada operators in encoded and decoded forms. */ 215 /* Decode the GNAT-encoded name NAME, returning the decoded name. If 216 the name does not appear to be GNAT-encoded, then the result
|
| /src/external/gpl3/gdb/dist/gdb/ |
| ada-lang.h | 68 /* Corresponding encoded/decoded names and opcodes for Ada user-definable 72 const char *encoded; member in struct:ada_opname_map 77 /* Table of Ada operators in encoded and decoded forms. */ 215 /* Decode the GNAT-encoded name NAME, returning the decoded name. If 216 the name does not appear to be GNAT-encoded, then the result
|
| /src/crypto/external/apache2/openssl/dist/crypto/ml_dsa/ |
| ml_dsa_sign.c | 307 * ML_DSA pure signatures are encoded as M' = 00 || ctx_len || ctx || msg 320 * @param out_len The size of the returned encoded buffer. 321 * @returns A buffer containing the encoded message. If the passed in 322 * |tmp| buffer is big enough to hold the encoded message then it returns |tmp| 330 uint8_t *encoded = NULL; local 345 encoded = tmp; 347 encoded = OPENSSL_malloc(encoded_len); 348 if (encoded == NULL) 351 encoded[0] = 0; 352 encoded[1] = (uint8_t)ctx_len [all...] |
| /src/external/bsd/openldap/dist/contrib/ldapc++/src/ |
| LDAPUrl.cpp | 344 std::string encoded = ""; local 349 url << "[" << this->percentEncode(m_Host, encoded) << "]"; 351 url << this->percentEncode(m_Host, encoded, PCT_ENCFLAG_SLASH); 359 encoded = ""; 361 this->percentEncode( m_DN, encoded ); 362 url << encoded; local 371 this->percentEncode( *i, encoded ); 377 url << encoded; local 392 this->percentEncode( m_Filter, encoded ); 393 url << qm << "?" << encoded; local 411 url << encoded; local [all...] |
| /src/external/bsd/unbound/dist/sldns/ |
| keyraw.c | 544 unsigned char encoded[37+64]; local 552 memmove(encoded, asn, 37); 553 memmove(encoded+37, key, 64); 554 pp = (unsigned char*)&encoded[0]; 556 return d2i_PUBKEY(NULL, &pp, (int)sizeof(encoded));
|
| /src/crypto/external/apache2/openssl/dist/crypto/slh_dsa/ |
| slh_dsa.c | 34 * @param msg The message to sign. This may be encoded beforehand. 141 * @param msg The message to verify. This may be encoded beforehand. 214 * SLH_DSA pure signatures are encoded as M' = 00 || ctx_len || ctx || msg 225 * @param out_len The size of the returned encoded buffer. 226 * @returns A buffer containing the encoded message. If the passed in 227 * |tmp| buffer is big enough to hold the encoded message then it returns |tmp| 236 uint8_t *encoded = NULL; local 254 encoded = tmp; 256 encoded = OPENSSL_zalloc(encoded_len); 257 if (encoded == NULL [all...] |
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_cfq.c | 19 unsigned char *encoded; member in struct:quic_cfq_item_ex_st 39 return ex->encoded; 184 item->free_cb(item->encoded, item->encoded_len, item->free_cb_arg); 187 item->encoded = NULL; 237 const unsigned char *encoded, 250 item->encoded = (unsigned char *)encoded;
|
| quic_rx_depack.c | 958 unsigned char *encoded = NULL; local 981 if ((encoded = OPENSSL_malloc(encoded_len)) == NULL) 984 if (!WPACKET_init_static_len(&wpkt, encoded, encoded_len, 0)) 997 encoded, encoded_len, 1009 OPENSSL_free(encoded);
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| config_file.c | 222 char *encoded = NULL, *nencoded; local 236 nencoded = os_realloc(encoded, encoded_len + len); 240 os_free(encoded); 243 encoded = nencoded; 244 os_memcpy(encoded + encoded_len, pos, len); 248 if (!end || !encoded) { 251 os_free(encoded); 257 os_free(encoded); 261 blob->data = base64_decode(encoded, encoded_len, &blob->len); 262 os_free(encoded); 1082 char *encoded; local [all...] |
| /src/external/bsd/wpa/dist/src/utils/ |
| utils_module_tests.c | 27 char *encoded; member in struct:printf_test_data 69 binlen = printf_decode(bin, sizeof(bin), test->encoded);
|