Searched refs:out_len (Results 1 - 25 of 233) sorted by relevance

12345678910

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbase64.h13 size_t *out_len);
15 size_t *out_len);
17 size_t *out_len, int add_pad);
19 size_t *out_len);
H A Dbase64.c21 size_t *out_len,
77 if (out_len)
78 *out_len = pos - out;
84 size_t *out_len,
148 *out_len = pos - out;
157 * @out_len: Pointer to output length variable, or %NULL if not used
158 * Returns: Allocated buffer of out_len bytes of encoded data,
163 * not included in out_len.
166 size_t *out_len)
168 return base64_gen_encode(src, len, out_len, base64_tabl
20 base64_gen_encode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table, int add_pad) argument
83 base64_gen_decode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table) argument
165 base64_encode(const unsigned char *src, size_t len, size_t *out_len) argument
172 base64_url_encode(const unsigned char *src, size_t len, size_t *out_len, int add_pad) argument
189 base64_decode(const unsigned char *src, size_t len, size_t *out_len) argument
196 base64_url_decode(const unsigned char *src, size_t len, size_t *out_len) argument
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dbase64.h13 size_t *out_len);
15 size_t *out_len);
17 size_t *out_len, int add_pad);
19 size_t *out_len);
H A Dbase64.c21 size_t *out_len,
77 if (out_len)
78 *out_len = pos - out;
84 size_t *out_len,
148 *out_len = pos - out;
157 * @out_len: Pointer to output length variable, or %NULL if not used
158 * Returns: Allocated buffer of out_len bytes of encoded data,
163 * not included in out_len.
166 size_t *out_len)
168 return base64_gen_encode(src, len, out_len, base64_tabl
20 base64_gen_encode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table, int add_pad) argument
83 base64_gen_decode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table) argument
165 base64_encode(const unsigned char *src, size_t len, size_t *out_len) argument
172 base64_url_encode(const unsigned char *src, size_t len, size_t *out_len, int add_pad) argument
189 base64_decode(const unsigned char *src, size_t len, size_t *out_len) argument
196 base64_url_decode(const unsigned char *src, size_t len, size_t *out_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dbase64.h13 size_t *out_len);
15 size_t *out_len);
17 size_t *out_len, int add_pad);
19 size_t *out_len);
H A Dbase64.c21 size_t *out_len,
77 if (out_len)
78 *out_len = pos - out;
84 size_t *out_len,
148 *out_len = pos - out;
157 * @out_len: Pointer to output length variable, or %NULL if not used
158 * Returns: Allocated buffer of out_len bytes of encoded data,
163 * not included in out_len.
166 size_t *out_len)
168 return base64_gen_encode(src, len, out_len, base64_tabl
20 base64_gen_encode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table, int add_pad) argument
83 base64_gen_decode(const unsigned char *src, size_t len, size_t *out_len, const unsigned char *table) argument
165 base64_encode(const unsigned char *src, size_t len, size_t *out_len) argument
172 base64_url_encode(const unsigned char *src, size_t len, size_t *out_len, int add_pad) argument
189 base64_decode(const unsigned char *src, size_t len, size_t *out_len) argument
196 base64_url_decode(const unsigned char *src, size_t len, size_t *out_len) argument
[all...]
/external/boringssl/src/crypto/bio/
H A Dprintf.c69 int out_len, ret; local
72 out_len = vsnprintf(buf, sizeof(buf), format, args);
78 if (out_len < 0) {
80 out_len = _vscprintf(format, args);
82 assert(out_len >= (int)sizeof(buf));
86 if (out_len < 0) {
90 if ((size_t) out_len >= sizeof(buf)) {
91 const int requested_len = out_len;
102 out_len = vsnprintf(out, requested_len + 1, format, args);
104 assert(out_len
[all...]
/external/fio/lib/
H A Dpattern.c17 * @out_len - length of the output buffer
26 unsigned int out_len,
31 if (!out_len)
39 if (end - beg > out_len)
53 * @out_len - length of the output buffer
66 unsigned int out_len,
74 if (!out_len)
102 for (; val && out_len; out_len--, i++, val >>= 8)
120 for (i = 0; num && out_len;
25 parse_string(const char *beg, char *out, unsigned int out_len, unsigned int *filled) argument
65 parse_number(const char *beg, char *out, unsigned int out_len, unsigned int *filled) argument
162 parse_format(const char *in, char *out, unsigned int parsed, unsigned int out_len, unsigned int *filled, const struct pattern_fmt_desc *fmt_desc, unsigned int fmt_desc_sz, struct pattern_fmt *fmt, unsigned int fmt_sz) argument
250 parse_and_fill_pattern(const char *in, unsigned int in_len, char *out, unsigned int out_len, const struct pattern_fmt_desc *fmt_desc, unsigned int fmt_desc_sz, struct pattern_fmt *fmt, unsigned int *fmt_sz_out) argument
319 dup_pattern(char *out, unsigned int out_len, unsigned int pattern_len) argument
349 cpy_pattern(const char *pattern, unsigned int pattern_len, char *out, unsigned int out_len) argument
452 paste_format(const char *pattern, unsigned int pattern_len, struct pattern_fmt *fmt, unsigned int fmt_sz, char *out, unsigned int out_len, void *priv) argument
[all...]
H A Dpattern.h27 char *out, unsigned int out_len,
39 char *out, unsigned int out_len, void *priv);
42 char *out, unsigned int out_len);
/external/boringssl/include/openssl/
H A Dbase64.h81 // EVP_EncodedLength sets |*out_len| to the number of bytes that will be needed
85 OPENSSL_EXPORT int EVP_EncodedLength(size_t *out_len, size_t len);
90 // EVP_DecodedLength sets |*out_len| to the maximum number of bytes that will
94 OPENSSL_EXPORT int EVP_DecodedLength(size_t *out_len, size_t len);
97 // |*out_len| bytes to |out|. |max_out| is the size of the output
100 OPENSSL_EXPORT int EVP_DecodeBase64(uint8_t *out, size_t *out_len,
120 // version of them to |out| and sets |*out_len| to the number of bytes written.
124 int *out_len, const uint8_t *in,
128 // sets |*out_len| to the number of bytes written.
130 int *out_len);
[all...]
H A Dhkdf.h29 // |secret| with |salt| and |info| using |digest|, and outputs |out_len| bytes
35 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
42 // |out_len| bytes to |out_key|. The maximum output size is |EVP_MAX_MD_SIZE|.
44 OPENSSL_EXPORT int HKDF_extract(uint8_t *out_key, size_t *out_len,
50 // |out_len| from the PRK |prk| and info |info| using |digest|, and outputs
52 OPENSSL_EXPORT int HKDF_expand(uint8_t *out_key, size_t out_len,
/external/boringssl/src/include/openssl/
H A Dbase64.h81 // EVP_EncodedLength sets |*out_len| to the number of bytes that will be needed
85 OPENSSL_EXPORT int EVP_EncodedLength(size_t *out_len, size_t len);
90 // EVP_DecodedLength sets |*out_len| to the maximum number of bytes that will
94 OPENSSL_EXPORT int EVP_DecodedLength(size_t *out_len, size_t len);
97 // |*out_len| bytes to |out|. |max_out| is the size of the output
100 OPENSSL_EXPORT int EVP_DecodeBase64(uint8_t *out, size_t *out_len,
120 // version of them to |out| and sets |*out_len| to the number of bytes written.
124 int *out_len, const uint8_t *in,
128 // sets |*out_len| to the number of bytes written.
130 int *out_len);
[all...]
H A Dhkdf.h29 // |secret| with |salt| and |info| using |digest|, and outputs |out_len| bytes
35 OPENSSL_EXPORT int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest,
42 // |out_len| bytes to |out_key|. The maximum output size is |EVP_MAX_MD_SIZE|.
44 OPENSSL_EXPORT int HKDF_extract(uint8_t *out_key, size_t *out_len,
50 // |out_len| from the PRK |prk| and info |info| using |digest|, and outputs
52 OPENSSL_EXPORT int HKDF_expand(uint8_t *out_key, size_t out_len,
/external/boringssl/src/crypto/fipsmodule/tls/
H A Dkdf.c63 // section 5. It XORs |out_len| bytes to |out|, using |md| as the hash and
66 static int tls1_P_hash(uint8_t *out, size_t out_len, argument
97 (out_len > chunk && !HMAC_CTX_copy_ex(&ctx_tmp, &ctx)) ||
107 if (len > out_len) {
108 len = out_len;
114 out_len -= len;
116 if (out_len == 0) {
137 uint8_t *out, size_t out_len,
142 if (out_len == 0) {
146 OPENSSL_memset(out, 0, out_len);
136 CRYPTO_tls1_prf(const EVP_MD *digest, uint8_t *out, size_t out_len, const uint8_t *secret, size_t secret_len, const char *label, size_t label_len, const uint8_t *seed1, size_t seed1_len, const uint8_t *seed2, size_t seed2_len) argument
[all...]
H A Dinternal.h25 // tls1_prf calculates |out_len| bytes of the TLS PDF, using |digest|, and
28 uint8_t *out, size_t out_len,
/external/boringssl/src/crypto/hkdf/
H A Dhkdf.c26 int HKDF(uint8_t *out_key, size_t out_len, const EVP_MD *digest, argument
35 !HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len)) {
42 int HKDF_extract(uint8_t *out_key, size_t *out_len, const EVP_MD *digest, argument
54 *out_len = len;
55 assert(*out_len == EVP_MD_size(digest));
59 int HKDF_expand(uint8_t *out_key, size_t out_len, const EVP_MD *digest, argument
71 n = (out_len + digest_len - 1) / digest_len;
72 if (out_len + digest_len < out_len || n > 255) {
97 if (done + todo > out_len) {
[all...]
/external/syslinux/lzo/src/
H A Dcompr1b.h61 lzo_bytep out, lzo_uintp out_len,
64 return _lzo1b_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
60 LZO_COMPRESS( const lzo_bytep in, lzo_uint in_len, lzo_bytep out, lzo_uintp out_len, lzo_voidp wrkmem ) argument
H A Dcompr1c.h61 lzo_bytep out, lzo_uintp out_len,
64 return _lzo1c_do_compress(in,in_len,out,out_len,wrkmem,do_compress);
60 LZO_COMPRESS( const lzo_bytep in, lzo_uint in_len, lzo_bytep out, lzo_uintp out_len, lzo_voidp wrkmem ) argument
/external/boringssl/src/crypto/base64/
H A Dbase64_test.cc208 int out_len; local
209 EVP_EncodeUpdate(&ctx, out, &out_len,
212 size_t total = out_len;
214 EVP_EncodeFinal(&ctx, out + total, &out_len);
215 total += out_len;
224 int out_len; local
226 int ret = EVP_DecodeUpdate(&ctx, out, &out_len,
230 total = out_len;
231 ret = EVP_DecodeFinal(&ctx, out + total, &out_len);
232 total += out_len;
260 size_t out_len = 0; local
[all...]
/external/syslinux/lzo/
H A Dprepcore.c60 lzo_bytep out, lzo_uintp out_len,
72 lzo_bytep out, lzo_uintp out_len,
180 lzo_uint out_len = 0; local
260 out_len = out_bufsize;
261 r = lzo1x_999_compress_internal(in, in_len, out, &out_len, wrkmem,
268 if (out_len < best_len) {
269 best_len = out_len;
286 out_len = out_bufsize;
287 r = lzo1x_999_compress_internal(in, in_len, out, &out_len, wrkmem,
291 assert(out_len
[all...]
/external/boringssl/src/crypto/bytestring/
H A Dinternal.h42 OPENSSL_EXPORT int CBS_asn1_ber_to_der(CBS *in, uint8_t **out, size_t *out_len);
/external/kernel-headers/original/uapi/linux/
H A Dmic_ioctl.h34 * @out_len: The aggregate of the total length written to or read from
46 __u32 out_len; member in struct:mic_copy_desc
/external/ltp/testcases/kernel/device-drivers/dev_sim_framework/kernel_space/
H A Dtmod.h61 int out_len; // output data length member in struct:tmod_interface
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_server.h22 int server_random_first, u8 *out, size_t out_len);
24 const u8 *in_data, size_t in_len, size_t *out_len);
27 u8 *out_data, size_t out_len);
30 u8 *out_data, size_t out_len);
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_server.h22 int server_random_first, u8 *out, size_t out_len);
24 const u8 *in_data, size_t in_len, size_t *out_len);
27 u8 *out_data, size_t out_len);
30 u8 *out_data, size_t out_len);

Completed in 2349 milliseconds

12345678910