Home
last modified time | relevance | path

Searched refs:encoded (Results 1 – 25 of 264) sorted by relevance

1234567891011

/freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2.c89 const size_t hashlen, char *encoded, const size_t encodedlen, in argon2_hash() argument
143 if (encoded && encodedlen) { in argon2_hash()
146 sodium_memzero(encoded, encodedlen); in argon2_hash()
166 NULL, hashlen, encoded, encodedlen, Argon2_i); in argon2i_hash_encoded()
187 NULL, hashlen, encoded, encodedlen, Argon2_id); in argon2id_hash_encoded()
201 argon2_verify(const char *encoded, const void *pwd, const size_t pwdlen, in argon2_verify() argument
218 encoded_len = strlen(encoded); in argon2_verify()
243 decode_result = decode_string(&ctx, encoded, type); in argon2_verify()
268 argon2i_verify(const char *encoded, const void *pwd, const size_t pwdlen) in argon2i_verify() argument
270 return argon2_verify(encoded, pwd, pwdlen, Argon2_i); in argon2i_verify()
[all …]
H A Dargon2.h216 char *encoded, const size_t encodedlen);
237 char *encoded, const size_t encodedlen);
281 void *hash, const size_t hashlen, char *encoded,
291 int argon2i_verify(const char *encoded, const void *pwd, const size_t pwdlen);
300 int argon2id_verify(const char *encoded, const void *pwd, const size_t pwdlen);
303 int argon2_verify(const char *encoded, const void *pwd, const size_t pwdlen,
/freebsd-12.1/crypto/openssh/
H A Duuencode.c59 char *encoded, *p; in uudecode() local
62 encoded = xstrdup(src); in uudecode()
64 for (p = encoded; *p == ' ' || *p == '\t'; p++) in uudecode()
70 len = __b64_pton(encoded, target, targsize); in uudecode()
71 free(encoded); in uudecode()
H A Dsshkey-xmss.c863 (encoded = sshbuf_new()) == NULL || in sshkey_xmss_encrypt_state()
875 (r = sshbuf_put_u32(encoded, state->idx)) != 0) in sshkey_xmss_encrypt_state()
891 aadlen = sshbuf_len(encoded); in sshkey_xmss_encrypt_state()
894 if ((r = sshbuf_putb(encoded, padded)) != 0) in sshkey_xmss_encrypt_state()
915 sshbuf_free(encoded); in sshkey_xmss_encrypt_state()
955 if ((copy = sshbuf_fromb(encoded)) == NULL || in sshkey_xmss_decrypt_state()
963 if (sshbuf_len(encoded) < sizeof(XMSS_MAGIC) || in sshkey_xmss_decrypt_state()
970 (r = sshbuf_get_u32(encoded, &index)) != 0 || in sshkey_xmss_decrypt_state()
980 if (sshbuf_len(encoded) < encrypted_len + authlen) { in sshkey_xmss_decrypt_state()
985 aadlen = sshbuf_len(copy) - sshbuf_len(encoded); in sshkey_xmss_decrypt_state()
[all …]
/freebsd-12.1/crypto/openssl/crypto/rsa/
H A Drsa_sign.c74 const unsigned char *encoded = NULL; in RSA_sign() local
92 encoded = m; in RSA_sign()
96 encoded = tmps; in RSA_sign()
103 encrypt_len = RSA_private_encrypt(encoded_len, encoded, sigret, rsa, in RSA_sign()
129 unsigned char *decrypt_buf = NULL, *encoded = NULL; in int_rsa_verify() local
215 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in int_rsa_verify()
219 || memcmp(encoded, decrypt_buf, encoded_len) != 0) { in int_rsa_verify()
234 OPENSSL_clear_free(encoded, (size_t)encoded_len); in int_rsa_verify()
/freebsd-12.1/crypto/heimdal/lib/wind/
H A Didn-lookup.c65 char encoded[1024]; in lookup() local
89 ep = encoded; in lookup()
96 len = sizeof(encoded) - (ep - encoded); in lookup()
108 printf("Converted \"%s\" into \"%s\"\n", name, encoded); in lookup()
112 ret = getaddrinfo(encoded, NULL, &hints, &ai); in lookup()
/freebsd-12.1/contrib/subversion/subversion/libsvn_subr/
H A Dquoprint.c123 svn_stringbuf_t *encoded = svn_stringbuf_create_empty(subpool); in encode_data() local
128 encode_bytes(encoded, data, *len, &eb->linelen); in encode_data()
129 enclen = encoded->len; in encode_data()
131 err = svn_stream_write(eb->output, encoded->data, &enclen); in encode_data()
180 svn_stringbuf_t *encoded = svn_stringbuf_create_empty(pool); in svn_quoprint_encode_string() local
183 encode_bytes(encoded, str->data, str->len, &linelen); in svn_quoprint_encode_string()
185 svn_stringbuf_appendcstr(encoded, "=\n"); in svn_quoprint_encode_string()
186 return encoded; in svn_quoprint_encode_string()
H A Dbase64.c213 svn_stringbuf_t *encoded = svn_stringbuf_create_empty(eb->scratch_pool); in encode_data() local
218 encode_bytes(encoded, data, *len, eb->buf, &eb->buflen, &eb->linelen, in encode_data()
220 enclen = encoded->len; in encode_data()
222 err = svn_stream_write(eb->output, encoded->data, &enclen); in encode_data()
233 svn_stringbuf_t *encoded = svn_stringbuf_create_empty(eb->scratch_pool); in finish_encoding_data() local
238 encode_partial_group(encoded, eb->buf, eb->buflen, eb->linelen, in finish_encoding_data()
240 enclen = encoded->len; in finish_encoding_data()
242 err = svn_stream_write(eb->output, encoded->data, &enclen); in finish_encoding_data()
277 svn_stringbuf_t *encoded = svn_stringbuf_create_empty(pool); in svn_base64_encode_string2() local
284 encode_partial_group(encoded, ingroup, ingrouplen, linelen, in svn_base64_encode_string2()
[all …]
/freebsd-12.1/contrib/apr-util/encoding/
H A Dapr_base64.c198 APU_DECLARE(int) apr_base64_encode(char *encoded, const char *string, int len) in apr_base64_encode() argument
201 return apr_base64_encode_binary(encoded, (const unsigned char *) string, len); in apr_base64_encode()
206 p = encoded; in apr_base64_encode()
230 return p - encoded; in apr_base64_encode()
237 APU_DECLARE(int) apr_base64_encode_binary(char *encoded, in apr_base64_encode_binary() argument
243 p = encoded; in apr_base64_encode_binary()
267 return (int)(p - encoded); in apr_base64_encode_binary()
/freebsd-12.1/crypto/openssl/doc/man7/
H A Dpassphrase-encoding.pod22 This means that for an object that was encrypted using a pass phrase encoded in
23 ISO-8859-1, that object needs to be decrypted using a pass phrase encoded in
30 The standard stipulates that the pass phrase shall be encoded as an ASN.1
32 encoded in big endian (UCS-2 BE).
40 Treats the received pass phrase as UTF-8 encoded and tries to re-encode it to
47 Assumes that the pass phrase is encoded in ASCII or ISO-8859-1 and
64 A pass phrase encoded in ISO-8859-2 could very well have a sequence such as
83 This API stipulates that pass phrases should be UTF-8 encoded, and that any
115 encoded using UTF-8.
153 This also takes care of the case when a UTF-8 encoded string was used with
[all …]
/freebsd-12.1/crypto/openssl/doc/man3/
H A DBIO_f_base64.pod25 used to signal that no more data is to be encoded: this is used
34 Because of the format of base64 encoding the end of the encoded
57 Read Base64 encoded data from standard input and write the decoded
76 The ambiguity of EOF in base64 encoded data can cause additional
77 data following the base64 encoded block to be misinterpreted.
H A DEC_KEY_get_enc_flags.pod22 When reading a private key encoded without an associated public key (e.g. if
24 the missing public key automatically. Private keys encoded without parameters
33 the curve are not encoded along with the private key. If EC_PKEY_NO_PUBKEY is
34 set then the public key is not encoded along with the private key.
H A DEC_GROUP_copy.pod90 parameters are explicitly encoded. The functions EC_GROUP_get_asn1_flag and
98 The point_conversion_form for a curve controls how EC_POINT data is encoded as ASN1 as defined in X…
102 /** the point is encoded as z||x, where the octet z specifies
105 /** the point is encoded as z||x||y, where z is the octet 0x04 */
107 /** the point is encoded as z||x||y, where the octet z specifies
112 For POINT_CONVERSION_UNCOMPRESSED the point is encoded as an octet signifying the UNCOMPRESSED form…
116 POINT_CONVERSION_COMPRESSED the point is encoded as an octet signifying that the COMPRESSED form ha…
119 For POINT_CONVERSION_HYBRID the point is encoded as an octet signifying the HYBRID form has been us…
H A Di2d_re_X509_tbs.pod29 i2d_X509_AUX() is similar to L<i2d_X509(3)>, but the encoded output
55 i2d_X509_AUX() returns the length of encoded data or -1 on error.
58 length of encoded data or 0 on error.
H A DEVP_EncodeInit.pod35 bytes of binary data provided 4 bytes of base 64 encoded data will be produced
47 the final block). For each 48 byte input block encoded 64 bytes of base 64 data
83 be encoded or decoded that are pending in the B<ctx> object.
88 encoded as a final block of data and the output is padded such that it is always
90 example if 16 bytes of input data is provided then 24 bytes of encoded data is
138 EVP_EncodeBlock() returns the number of bytes encoded excluding the NUL
/freebsd-12.1/crypto/openssl/doc/man1/
H A Dcrl2pkcs7.pod35 This specifies the CRL input format. B<DER> format is DER encoded CRL
36 structure.B<PEM> (the default) is a base64 encoded version of
42 encoded PKCS#7 structure.B<PEM> (the default) is a base64 encoded version of
87 the certificate enrollment process. This involves sending the DER encoded output
90 The B<PEM> encoded form with the header and footer lines removed can be used to
H A Dsess_id.pod22 The B<sess_id> process the encoded version of the SSL session structure
38 This specifies the input format. The B<DER> option uses an ASN1 DER encoded
41 format base64 encoded with additional header and footer lines.
62 plain text in addition to the encoded version.
71 This option prevents output of the encoded version of the session.
138 The PEM encoded session format uses the header and footer lines:
H A Dcrl.pod40 This specifies the input format. B<DER> format is DER encoded CRL
41 structure. B<PEM> (the default) is a base64 encoded version of
70 Don't output the encoded version of the CRL.
121 Output the text form of a DER encoded certificate:
H A Dpkcs7.pod35 This specifies the input format. B<DER> format is DER encoded PKCS#7
36 v1.5 structure.B<PEM> (the default) is a base64 encoded version of
66 Don't output the encoded version of the PKCS#7 structure (or certificates
H A Dasn1parse.pod44 encoded.
52 Output file to place the DER encoded data into. If this
92 Generate encoded data based on B<string>, B<file> or both using
95 B<asn1>. The encoded data is passed through the ASN1 parser and printed out as
102 data in a PEM format input file will be treated as being base64 encoded and
/freebsd-12.1/contrib/unbound/sldns/
H A Dkeyraw.c340 unsigned char encoded[37+64]; in sldns_gost2pkey_raw() local
348 memmove(encoded, asn, 37); in sldns_gost2pkey_raw()
349 memmove(encoded+37, key, 64); in sldns_gost2pkey_raw()
350 pp = (unsigned char*)&encoded[0]; in sldns_gost2pkey_raw()
352 return d2i_PUBKEY(NULL, &pp, (int)sizeof(encoded)); in sldns_gost2pkey_raw()
/freebsd-12.1/sys/dts/
H A Dbindings-localbus.txt12 Value type: <prop-encoded-array> encoded as arbitrary number of localbus
63 Value type: <prop-encoded-array>
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dconfig_file.c299 unsigned char *encoded = NULL, *nencoded; in wpa_config_read_blob() local
317 os_free(encoded); in wpa_config_read_blob()
320 encoded = nencoded; in wpa_config_read_blob()
321 os_memcpy(encoded + encoded_len, pos, len); in wpa_config_read_blob()
325 if (!end || !encoded) { in wpa_config_read_blob()
328 os_free(encoded); in wpa_config_read_blob()
334 os_free(encoded); in wpa_config_read_blob()
339 os_free(encoded); in wpa_config_read_blob()
1084 unsigned char *encoded; in wpa_config_write_blob() local
1087 if (encoded == NULL) in wpa_config_write_blob()
[all …]
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_x/
H A Dindex.c726 unsigned char encoded[ENCODED_INT_LENGTH]; in stream_write_encoded() local
728 apr_size_t len = encode_uint(encoded, value); in stream_write_encoded()
804 unsigned char encoded[ENCODED_INT_LENGTH]; in encode_l2p_page() local
851 SVN_ERR(svn_spillbuf__write(buffer, (const char *)encoded, in encode_l2p_page()
2181 unsigned char encoded[ENCODED_INT_LENGTH]; in svn_fs_x__p2l_index_append() local
2281 SVN_ERR(svn_spillbuf__write(buffer, (const char *)encoded, in svn_fs_x__p2l_index_append()
2284 SVN_ERR(svn_spillbuf__write(buffer, (const char *)encoded, in svn_fs_x__p2l_index_append()
2285 encode_uint(encoded, entry.type in svn_fs_x__p2l_index_append()
2288 SVN_ERR(svn_spillbuf__write(buffer, (const char *)encoded, in svn_fs_x__p2l_index_append()
2299 encode_int(encoded, diff), in svn_fs_x__p2l_index_append()
[all …]
/freebsd-12.1/contrib/file/magic/Magdir/
H A Duuencode4 # uuencode: file(1) magic for ASCII-encoded files
26 # BinHex is the Macintosh ASCII-encoded file format (see also "apple")

1234567891011