Symbol: inl
crypto/openssl/apps/enc.c
163
int ret = 1, inl, nopad = 0;
crypto/openssl/apps/enc.c
776
inl = BIO_read(rbio, (char *)buff, bsize);
crypto/openssl/apps/enc.c
777
if (inl <= 0)
crypto/openssl/apps/enc.c
783
if (BIO_write(wbio, (char *)buff, inl) != inl) {
crypto/openssl/apps/s_server.c
261
static int ebcdic_write(BIO *b, const char *in, int inl);
crypto/openssl/apps/s_server.c
336
static int ebcdic_write(BIO *b, const char *in, int inl)
crypto/openssl/apps/s_server.c
343
if ((in == NULL) || (inl <= 0))
crypto/openssl/apps/s_server.c
350
if (inl > (num = wbuf->alloced)) {
crypto/openssl/apps/s_server.c
352
if (num < inl)
crypto/openssl/apps/s_server.c
353
num = inl;
crypto/openssl/apps/s_server.c
363
ebcdic2ascii(wbuf->buff, in, inl);
crypto/openssl/apps/s_server.c
365
ret = BIO_write(next, wbuf->buff, inl);
crypto/openssl/crypto/asn1/a_digest.c
31
int inl;
crypto/openssl/crypto/asn1/a_digest.c
34
inl = i2d(data, NULL);
crypto/openssl/crypto/asn1/a_digest.c
35
if (inl <= 0) {
crypto/openssl/crypto/asn1/a_digest.c
39
if ((str = OPENSSL_malloc(inl)) == NULL)
crypto/openssl/crypto/asn1/a_digest.c
44
if (!EVP_Digest(str, inl, md, len, type, NULL)) {
crypto/openssl/crypto/asn1/a_sign.c
153
size_t inl = 0, outl = 0, outll = 0;
crypto/openssl/crypto/asn1/a_sign.c
259
inl = buf_len;
crypto/openssl/crypto/asn1/a_sign.c
260
if (!EVP_DigestSign(ctx, NULL, &outll, buf_in, inl)) {
crypto/openssl/crypto/asn1/a_sign.c
272
if (!EVP_DigestSign(ctx, buf_out, &outl, buf_in, inl)) {
crypto/openssl/crypto/asn1/a_sign.c
285
OPENSSL_clear_free((char *)buf_in, inl);
crypto/openssl/crypto/asn1/a_sign.c
33
int i, inl = 0, outl = 0;
crypto/openssl/crypto/asn1/a_sign.c
73
inl = i2d(data, NULL);
crypto/openssl/crypto/asn1/a_sign.c
74
if (inl <= 0) {
crypto/openssl/crypto/asn1/a_sign.c
78
inll = (size_t)inl;
crypto/openssl/crypto/asn1/a_sign.c
90
|| !EVP_SignUpdate(ctx, (unsigned char *)buf_in, inl)
crypto/openssl/crypto/asn1/a_verify.c
117
int ret = -1, inl = 0;
crypto/openssl/crypto/asn1/a_verify.c
203
inl = ASN1_item_i2d(data, &buf_in, it);
crypto/openssl/crypto/asn1/a_verify.c
204
if (inl <= 0) {
crypto/openssl/crypto/asn1/a_verify.c
214
inll = inl;
crypto/openssl/crypto/asn1/a_verify.c
217
buf_in, inl);
crypto/openssl/crypto/asn1/a_verify.c
33
int ret = -1, i, inl;
crypto/openssl/crypto/asn1/a_verify.c
51
inl = i2d(data, NULL);
crypto/openssl/crypto/asn1/a_verify.c
52
if (inl <= 0) {
crypto/openssl/crypto/asn1/a_verify.c
56
buf_in = OPENSSL_malloc((unsigned int)inl);
crypto/openssl/crypto/asn1/a_verify.c
63
&& EVP_VerifyUpdate(ctx, (unsigned char *)buf_in, inl);
crypto/openssl/crypto/asn1/a_verify.c
65
OPENSSL_clear_free(buf_in, (unsigned int)inl);
crypto/openssl/crypto/asn1/bio_asn1.c
154
static int asn1_bio_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/asn1/bio_asn1.c
163
if (in == NULL || inl < 0 || ctx == NULL || next == NULL)
crypto/openssl/crypto/asn1/bio_asn1.c
190
ctx->buflen = ASN1_object_size(0, inl, ctx->asn1_tag) - inl;
crypto/openssl/crypto/asn1/bio_asn1.c
194
ASN1_put_object(&p, 0, inl, ctx->asn1_tag, ctx->asn1_class);
crypto/openssl/crypto/asn1/bio_asn1.c
195
ctx->copylen = inl;
crypto/openssl/crypto/asn1/bio_asn1.c
217
if (inl > ctx->copylen)
crypto/openssl/crypto/asn1/bio_asn1.c
220
wrmax = inl;
crypto/openssl/crypto/asn1/bio_asn1.c
227
inl -= ret;
crypto/openssl/crypto/asn1/bio_asn1.c
232
if (inl == 0)
crypto/openssl/crypto/asn1/bio_asn1.c
292
static int asn1_bio_read(BIO *b, char *in, int inl)
crypto/openssl/crypto/asn1/bio_asn1.c
297
return BIO_read(next, in, inl);
crypto/openssl/crypto/bio/bf_buff.c
158
static int buffer_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bf_buff.c
163
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/bio/bf_buff.c
173
if (i >= inl) {
crypto/openssl/crypto/bio/bf_buff.c
174
memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl);
crypto/openssl/crypto/bio/bf_buff.c
175
ctx->obuf_len += inl;
crypto/openssl/crypto/bio/bf_buff.c
176
return (num + inl);
crypto/openssl/crypto/bio/bf_buff.c
184
inl -= i;
crypto/openssl/crypto/bio/bf_buff.c
213
while (inl >= ctx->obuf_size) {
crypto/openssl/crypto/bio/bf_buff.c
214
i = BIO_write(b->next_bio, in, inl);
crypto/openssl/crypto/bio/bf_buff.c
224
inl -= i;
crypto/openssl/crypto/bio/bf_buff.c
225
if (inl == 0)
crypto/openssl/crypto/bio/bf_lbuf.c
105
static int linebuffer_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bf_lbuf.c
110
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/bio/bf_lbuf.c
122
for (p = in, c = '\0'; p < in + inl && (c = *p) != '\n'; p++)
crypto/openssl/crypto/bio/bf_lbuf.c
143
inl -= p - in;
crypto/openssl/crypto/bio/bf_lbuf.c
149
inl -= i;
crypto/openssl/crypto/bio/bf_lbuf.c
184
inl -= i;
crypto/openssl/crypto/bio/bf_lbuf.c
186
} while (foundnl && inl > 0);
crypto/openssl/crypto/bio/bf_lbuf.c
192
while (inl > 0) {
crypto/openssl/crypto/bio/bf_lbuf.c
209
to_copy = inl > (int)avail ? avail : (size_t)inl;
crypto/openssl/crypto/bio/bf_lbuf.c
213
inl -= (int)to_copy;
crypto/openssl/crypto/bio/bf_nbio.c
108
static int nbiof_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bf_nbio.c
115
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/bio/bf_nbio.c
132
if (inl > num)
crypto/openssl/crypto/bio/bf_nbio.c
133
inl = num;
crypto/openssl/crypto/bio/bf_nbio.c
139
ret = BIO_write(b->next_bio, in, inl);
crypto/openssl/crypto/bio/bf_nbio.c
142
nt->lwn = inl;
crypto/openssl/crypto/bio/bf_null.c
59
static int nullf_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bf_null.c
63
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/bio/bf_null.c
67
ret = BIO_write(b->next_bio, in, inl);
crypto/openssl/crypto/bio/bf_readbuff.c
153
static int readbuffer_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_acpt.c
384
static int acpt_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_acpt.c
398
ret = BIO_write(b->next_bio, in, inl);
crypto/openssl/crypto/bio/bss_conn.c
395
static int conn_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_conn.c
409
ret = BIO_write(data->dgram_bio, in, inl);
crypto/openssl/crypto/bio/bss_conn.c
417
ret = ktls_send_ctrl_message(b->num, data->record_type, in, inl);
crypto/openssl/crypto/bio/bss_conn.c
419
ret = inl;
crypto/openssl/crypto/bio/bss_conn.c
428
ret = sendto(b->num, in, inl, OSSL_TFO_SENDTO,
crypto/openssl/crypto/bio/bss_conn.c
433
ret = writesocket(b->num, in, inl);
crypto/openssl/crypto/bio/bss_dgram.c
2197
static int dgram_sctp_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_dgram.c
2243
iov[0].iov_len = inl;
crypto/openssl/crypto/bio/bss_dgram.c
455
static int dgram_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_dgram.c
462
ret = writesocket(b->num, in, inl);
crypto/openssl/crypto/bio/bss_dgram.c
466
ret = sendto(b->num, in, inl, 0,
crypto/openssl/crypto/bio/bss_fd.c
131
static int fd_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_fd.c
135
ret = UP_write(b->num, in, inl);
crypto/openssl/crypto/bio/bss_file.c
158
static int file_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_file.c
164
ret = UP_fwrite(in, (int)inl, 1, b->ptr);
crypto/openssl/crypto/bio/bss_file.c
166
ret = fwrite(in, (int)inl, 1, (FILE *)b->ptr);
crypto/openssl/crypto/bio/bss_file.c
168
ret = inl;
crypto/openssl/crypto/bio/bss_file.c
379
static int file_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_log.c
126
static int slg_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_log.c
128
int ret = inl;
crypto/openssl/crypto/bio/bss_log.c
160
if (inl < 0)
crypto/openssl/crypto/bio/bss_log.c
162
if ((buf = OPENSSL_malloc(inl + 1)) == NULL)
crypto/openssl/crypto/bio/bss_log.c
164
memcpy(buf, in, inl);
crypto/openssl/crypto/bio/bss_log.c
165
buf[inl] = '\0';
crypto/openssl/crypto/bio/bss_mem.c
214
static int mem_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_mem.c
225
if (inl == 0)
crypto/openssl/crypto/bio/bss_mem.c
233
if (BUF_MEM_grow_clean(bbm->buf, blen + inl) == 0)
crypto/openssl/crypto/bio/bss_mem.c
235
memcpy(bbm->buf->data + blen, in, inl);
crypto/openssl/crypto/bio/bss_mem.c
237
ret = inl;
crypto/openssl/crypto/bio/bss_null.c
45
static int null_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_null.c
47
return inl;
crypto/openssl/crypto/bio/bss_sock.c
128
static int sock_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/bio/bss_sock.c
139
ret = ktls_send_ctrl_message(b->num, record_type, in, inl);
crypto/openssl/crypto/bio/bss_sock.c
141
ret = inl;
crypto/openssl/crypto/bio/bss_sock.c
151
ret = sendto(b->num, in, inl, OSSL_TFO_SENDTO,
crypto/openssl/crypto/bio/bss_sock.c
156
ret = writesocket(b->num, in, inl);
crypto/openssl/crypto/comp/c_brotli.c
409
static int bio_brotli_write(BIO *b, const char *in, int inl);
crypto/openssl/crypto/comp/c_brotli.c
571
static int bio_brotli_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/comp/c_brotli.c
578
if (in == NULL || inl <= 0) {
crypto/openssl/crypto/comp/c_brotli.c
583
if ((unsigned int)inl > SIZE_MAX) {
crypto/openssl/crypto/comp/c_brotli.c
607
ctx->encode.avail_in = (size_t)inl;
crypto/openssl/crypto/comp/c_brotli.c
614
int tot = inl - ctx->encode.avail_in;
crypto/openssl/crypto/comp/c_brotli.c
627
return inl;
crypto/openssl/crypto/comp/c_zlib.c
364
static int bio_zlib_write(BIO *b, const char *in, int inl);
crypto/openssl/crypto/comp/c_zlib.c
504
static int bio_zlib_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/comp/c_zlib.c
511
if (!in || !inl)
crypto/openssl/crypto/comp/c_zlib.c
535
zout->avail_in = inl;
crypto/openssl/crypto/comp/c_zlib.c
542
int tot = inl - zout->avail_in;
crypto/openssl/crypto/comp/c_zlib.c
554
return inl;
crypto/openssl/crypto/comp/c_zstd.c
474
static int bio_zstd_write(BIO *b, const char *in, int inl);
crypto/openssl/crypto/comp/c_zstd.c
638
static int bio_zstd_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/comp/c_zstd.c
647
if (in == NULL || inl <= 0)
crypto/openssl/crypto/comp/c_zstd.c
665
inBuf.size = inl;
crypto/openssl/crypto/engine/eng_openssl.c
221
const unsigned char *in, size_t inl)
crypto/openssl/crypto/engine/eng_openssl.c
226
RC4(&test(ctx)->ks, inl, in, out);
crypto/openssl/crypto/evp/bio_b64.c
317
static int b64_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/evp/bio_b64.c
360
if (in == NULL || inl <= 0)
crypto/openssl/crypto/evp/bio_b64.c
363
while (inl > 0) {
crypto/openssl/crypto/evp/bio_b64.c
364
n = inl > B64_BLOCK_SIZE ? B64_BLOCK_SIZE : inl;
crypto/openssl/crypto/evp/bio_b64.c
373
if (n > inl)
crypto/openssl/crypto/evp/bio_b64.c
374
n = inl;
crypto/openssl/crypto/evp/bio_b64.c
409
inl -= n;
crypto/openssl/crypto/evp/bio_enc.c
237
static int enc_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/evp/bio_enc.c
248
ret = inl;
crypto/openssl/crypto/evp/bio_enc.c
263
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/evp/bio_enc.c
267
while (inl > 0) {
crypto/openssl/crypto/evp/bio_enc.c
268
n = (inl > ENC_BLOCK_SIZE) ? ENC_BLOCK_SIZE : inl;
crypto/openssl/crypto/evp/bio_enc.c
276
inl -= n;
crypto/openssl/crypto/evp/bio_enc.c
285
return (ret == inl) ? i : ret - inl;
crypto/openssl/crypto/evp/bio_md.c
102
static int md_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/evp/bio_md.c
108
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/evp/bio_md.c
114
ret = BIO_write(next, in, inl);
crypto/openssl/crypto/evp/bio_ok.c
254
static int ok_write(BIO *b, const char *in, int inl)
crypto/openssl/crypto/evp/bio_ok.c
260
if (inl <= 0)
crypto/openssl/crypto/evp/bio_ok.c
261
return inl;
crypto/openssl/crypto/evp/bio_ok.c
265
ret = inl;
crypto/openssl/crypto/evp/bio_ok.c
295
if ((in == NULL) || (inl <= 0))
crypto/openssl/crypto/evp/bio_ok.c
298
n = (inl + ctx->buf_len > OK_BLOCK_SIZE + OK_BLOCK_BLOCK) ? (int)(OK_BLOCK_SIZE + OK_BLOCK_BLOCK - ctx->buf_len) : inl;
crypto/openssl/crypto/evp/bio_ok.c
302
inl -= n;
crypto/openssl/crypto/evp/bio_ok.c
311
} while (inl > 0);
crypto/openssl/crypto/evp/cmeth_lib.c
111
size_t inl))
crypto/openssl/crypto/evp/cmeth_lib.c
173
size_t inl)
crypto/openssl/crypto/evp/e_des.c
102
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des.c
107
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des.c
111
if (inl)
crypto/openssl/crypto/evp/e_des.c
112
DES_ncbc_encrypt(in, out, (long)inl,
crypto/openssl/crypto/evp/e_des.c
120
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des.c
122
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des.c
129
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des.c
133
if (inl) {
crypto/openssl/crypto/evp/e_des.c
135
DES_cfb64_encrypt(in, out, (long)inl,
crypto/openssl/crypto/evp/e_des.c
149
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des.c
155
if (inl < chunk)
crypto/openssl/crypto/evp/e_des.c
156
chunk = inl;
crypto/openssl/crypto/evp/e_des.c
158
while (inl && inl >= chunk) {
crypto/openssl/crypto/evp/e_des.c
166
inl -= chunk;
crypto/openssl/crypto/evp/e_des.c
169
if (inl < chunk)
crypto/openssl/crypto/evp/e_des.c
170
chunk = inl;
crypto/openssl/crypto/evp/e_des.c
177
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des.c
179
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des.c
184
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des.c
188
if (inl)
crypto/openssl/crypto/evp/e_des.c
189
DES_cfb_encrypt(in, out, 8, (long)inl,
crypto/openssl/crypto/evp/e_des.c
61
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des.c
71
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des.c
73
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des.c
79
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des.c
83
if (inl) {
crypto/openssl/crypto/evp/e_des.c
85
DES_ofb64_encrypt(in, out, (long)inl,
crypto/openssl/crypto/evp/e_des.c
94
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des.c
99
(*dat->stream.cbc)(in, out, inl, &dat->ks.ks, ctx->iv);
crypto/openssl/crypto/evp/e_des3.c
108
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
113
(*dat->stream.cbc)(in, out, inl, dat->ks.ks,
crypto/openssl/crypto/evp/e_des3.c
118
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des3.c
123
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des3.c
127
if (inl)
crypto/openssl/crypto/evp/e_des3.c
128
DES_ede3_cbc_encrypt(in, out, (long)inl,
crypto/openssl/crypto/evp/e_des3.c
136
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
138
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des3.c
145
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des3.c
149
if (inl) {
crypto/openssl/crypto/evp/e_des3.c
151
DES_ede3_cfb64_encrypt(in, out, (long)inl,
crypto/openssl/crypto/evp/e_des3.c
165
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
172
inl *= 8;
crypto/openssl/crypto/evp/e_des3.c
173
for (n = 0; n < inl; ++n) {
crypto/openssl/crypto/evp/e_des3.c
187
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
189
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des3.c
194
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des3.c
198
if (inl)
crypto/openssl/crypto/evp/e_des3.c
199
DES_ede3_cfb_encrypt(in, out, 8, (long)inl,
crypto/openssl/crypto/evp/e_des3.c
317
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
321
if (inl < 24)
crypto/openssl/crypto/evp/e_des3.c
324
return inl - 16;
crypto/openssl/crypto/evp/e_des3.c
334
memmove(out, out + 8, inl - 8);
crypto/openssl/crypto/evp/e_des3.c
337
des_ede_cbc_cipher(ctx, out, in + 8, inl - 16);
crypto/openssl/crypto/evp/e_des3.c
339
des_ede_cbc_cipher(ctx, iv, in + inl - 8, 8);
crypto/openssl/crypto/evp/e_des3.c
342
BUF_reverse(out, NULL, inl - 16);
crypto/openssl/crypto/evp/e_des3.c
345
des_ede_cbc_cipher(ctx, out, out, inl - 16);
crypto/openssl/crypto/evp/e_des3.c
347
if (ossl_sha1(out, inl - 16, sha1tmp) /* Work out hash of first portion */
crypto/openssl/crypto/evp/e_des3.c
349
rv = inl - 16;
crypto/openssl/crypto/evp/e_des3.c
355
OPENSSL_cleanse(out, inl - 16);
crypto/openssl/crypto/evp/e_des3.c
361
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
365
return inl + 16;
crypto/openssl/crypto/evp/e_des3.c
367
memmove(out + 8, in, inl);
crypto/openssl/crypto/evp/e_des3.c
369
if (!ossl_sha1(in, inl, sha1tmp))
crypto/openssl/crypto/evp/e_des3.c
371
memcpy(out + inl + 8, sha1tmp, 8);
crypto/openssl/crypto/evp/e_des3.c
378
des_ede_cbc_cipher(ctx, out + 8, out + 8, inl + 8);
crypto/openssl/crypto/evp/e_des3.c
379
BUF_reverse(out, NULL, inl + 16);
crypto/openssl/crypto/evp/e_des3.c
381
des_ede_cbc_cipher(ctx, out, out, inl + 16);
crypto/openssl/crypto/evp/e_des3.c
382
return inl + 16;
crypto/openssl/crypto/evp/e_des3.c
386
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
393
if (inl >= EVP_MAXCHUNK || inl % 8)
crypto/openssl/crypto/evp/e_des3.c
396
if (ossl_is_partially_overlapping(out, in, inl)) {
crypto/openssl/crypto/evp/e_des3.c
402
return des_ede3_wrap(ctx, out, in, inl);
crypto/openssl/crypto/evp/e_des3.c
404
return des_ede3_unwrap(ctx, out, in, inl);
crypto/openssl/crypto/evp/e_des3.c
70
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
81
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_des3.c
83
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_des3.c
91
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_des3.c
95
if (inl) {
crypto/openssl/crypto/evp/e_des3.c
97
DES_ede3_ofb64_encrypt(in, out, (long)inl,
crypto/openssl/crypto/evp/e_idea.c
42
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_null.c
19
const unsigned char *in, size_t inl);
crypto/openssl/crypto/evp/e_null.c
46
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_null.c
49
memcpy(out, in, inl);
crypto/openssl/crypto/evp/e_rc4.c
36
const unsigned char *in, size_t inl);
crypto/openssl/crypto/evp/e_rc4.c
89
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_rc4.c
91
RC4(&data(ctx)->ks, inl, in, out);
crypto/openssl/crypto/evp/e_xcbc_d.c
30
const unsigned char *in, size_t inl);
crypto/openssl/crypto/evp/e_xcbc_d.c
73
const unsigned char *in, size_t inl)
crypto/openssl/crypto/evp/e_xcbc_d.c
75
while (inl >= EVP_MAXCHUNK) {
crypto/openssl/crypto/evp/e_xcbc_d.c
80
inl -= EVP_MAXCHUNK;
crypto/openssl/crypto/evp/e_xcbc_d.c
84
if (inl)
crypto/openssl/crypto/evp/e_xcbc_d.c
85
DES_xcbc_encrypt(in, out, (long)inl, &data(ctx)->ks,
crypto/openssl/crypto/evp/encode.c
154
const unsigned char *in, int inl)
crypto/openssl/crypto/evp/encode.c
160
if (inl <= 0)
crypto/openssl/crypto/evp/encode.c
163
if (ctx->length - ctx->num > inl) {
crypto/openssl/crypto/evp/encode.c
164
memcpy(&(ctx->enc_data[ctx->num]), in, inl);
crypto/openssl/crypto/evp/encode.c
165
ctx->num += inl;
crypto/openssl/crypto/evp/encode.c
172
inl -= i;
crypto/openssl/crypto/evp/encode.c
183
while (inl >= ctx->length && total <= INT_MAX) {
crypto/openssl/crypto/evp/encode.c
186
inl -= ctx->length;
crypto/openssl/crypto/evp/encode.c
200
if (inl != 0)
crypto/openssl/crypto/evp/encode.c
201
memcpy(&(ctx->enc_data[0]), in, inl);
crypto/openssl/crypto/evp/encode.c
202
ctx->num = inl;
crypto/openssl/crypto/evp/encode.c
294
const unsigned char *in, int inl)
crypto/openssl/crypto/evp/encode.c
310
if (inl == 0) {
crypto/openssl/crypto/evp/encode.c
320
for (i = 0; i < inl; i++) {
crypto/openssl/crypto/evp/evp_enc.c
1032
return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl);
crypto/openssl/crypto/evp/evp_enc.c
1129
const unsigned char *in, int inl)
crypto/openssl/crypto/evp/evp_enc.c
1131
int fix_len, cmpl = inl, ret;
crypto/openssl/crypto/evp/evp_enc.c
1133
size_t soutl, inl_ = (size_t)inl;
crypto/openssl/crypto/evp/evp_enc.c
1136
if (inl < 0) {
crypto/openssl/crypto/evp/evp_enc.c
1195
fix_len = ctx->cipher->do_cipher(ctx, out, in, inl);
crypto/openssl/crypto/evp/evp_enc.c
1204
if (inl <= 0) {
crypto/openssl/crypto/evp/evp_enc.c
1206
return inl == 0;
crypto/openssl/crypto/evp/evp_enc.c
1210
return evp_EncryptDecryptUpdate(ctx, out, outl, in, inl);
crypto/openssl/crypto/evp/evp_enc.c
1230
if ((inl & ~(b - 1)) > INT_MAX - b) {
crypto/openssl/crypto/evp/evp_enc.c
1240
if (!evp_EncryptDecryptUpdate(ctx, out, outl, in, inl))
crypto/openssl/crypto/evp/evp_enc.c
717
const unsigned char *in, int inl)
crypto/openssl/crypto/evp/evp_enc.c
720
return EVP_EncryptUpdate(ctx, out, outl, in, inl);
crypto/openssl/crypto/evp/evp_enc.c
722
return EVP_DecryptUpdate(ctx, out, outl, in, inl);
crypto/openssl/crypto/evp/evp_enc.c
728
const unsigned char **in, const size_t *inl)
crypto/openssl/crypto/evp/evp_enc.c
732
if (ossl_unlikely(outl == NULL || inl == NULL)) {
crypto/openssl/crypto/evp/evp_enc.c
757
in, inl);
crypto/openssl/crypto/evp/evp_enc.c
887
const unsigned char *in, int inl)
crypto/openssl/crypto/evp/evp_enc.c
889
int i, j, bl, cmpl = inl;
crypto/openssl/crypto/evp/evp_enc.c
903
i = ctx->cipher->do_cipher(ctx, out, in, inl);
crypto/openssl/crypto/evp/evp_enc.c
911
if (inl <= 0) {
crypto/openssl/crypto/evp/evp_enc.c
913
return inl == 0;
crypto/openssl/crypto/evp/evp_enc.c
920
if (ctx->buf_len == 0 && (inl & (ctx->block_mask)) == 0) {
crypto/openssl/crypto/evp/evp_enc.c
921
if (ctx->cipher->do_cipher(ctx, out, in, inl)) {
crypto/openssl/crypto/evp/evp_enc.c
922
*outl = inl;
crypto/openssl/crypto/evp/evp_enc.c
932
if (bl - i > inl) {
crypto/openssl/crypto/evp/evp_enc.c
933
memcpy(&(ctx->buf[i]), in, inl);
crypto/openssl/crypto/evp/evp_enc.c
934
ctx->buf_len += inl;
crypto/openssl/crypto/evp/evp_enc.c
947
if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) {
crypto/openssl/crypto/evp/evp_enc.c
952
inl -= j;
crypto/openssl/crypto/evp/evp_enc.c
961
i = inl & (bl - 1);
crypto/openssl/crypto/evp/evp_enc.c
962
inl -= i;
crypto/openssl/crypto/evp/evp_enc.c
963
if (inl > 0) {
crypto/openssl/crypto/evp/evp_enc.c
964
if (!ctx->cipher->do_cipher(ctx, out, in, inl))
crypto/openssl/crypto/evp/evp_enc.c
966
*outl += inl;
crypto/openssl/crypto/evp/evp_enc.c
970
memcpy(ctx->buf, &(in[inl]), i);
crypto/openssl/crypto/evp/evp_enc.c
976
const unsigned char *in, int inl)
crypto/openssl/crypto/evp/evp_enc.c
979
size_t soutl, inl_ = (size_t)inl;
crypto/openssl/crypto/evp/evp_enc.c
982
if (inl < 0) {
crypto/openssl/crypto/evp/evp_lib.c
382
const unsigned char *in, unsigned int inl)
crypto/openssl/crypto/evp/evp_lib.c
404
inl + (blocksize == 1 ? 0 : blocksize),
crypto/openssl/crypto/evp/evp_lib.c
405
in, (size_t)inl)
crypto/openssl/crypto/evp/evp_lib.c
410
inl + (blocksize == 1 ? 0 : blocksize),
crypto/openssl/crypto/evp/evp_lib.c
411
in, (size_t)inl);
crypto/openssl/crypto/evp/evp_lib.c
419
return ctx->cipher->do_cipher(ctx, out, in, inl);
crypto/openssl/engines/e_afalg.c
486
size_t inl, const unsigned char *iv,
crypto/openssl/engines/e_afalg.c
514
iov.iov_len = inl;
crypto/openssl/engines/e_afalg.c
547
ret = splice(actx->zc_pipe[0], NULL, actx->sfd, NULL, inl, 0);
crypto/openssl/engines/e_afalg.c
564
if (sbytes != (ssize_t)inl) {
crypto/openssl/engines/e_afalg.c
566
inl);
crypto/openssl/engines/e_afalg.c
647
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_afalg.c
671
memcpy(nxtiv, in + (inl - ALG_AES_IV_LEN), ALG_AES_IV_LEN);
crypto/openssl/engines/e_afalg.c
675
ret = afalg_start_cipher_sk(actx, (unsigned char *)in, inl,
crypto/openssl/engines/e_afalg.c
683
ret = afalg_fin_cipher_aio(&actx->aio, actx->sfd, out, inl);
crypto/openssl/engines/e_afalg.c
688
memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), out + (inl - ALG_AES_IV_LEN),
crypto/openssl/engines/e_afalg.c
90
const unsigned char *in, size_t inl);
crypto/openssl/engines/e_dasync.c
139
const unsigned char *in, size_t inl);
crypto/openssl/engines/e_dasync.c
147
const unsigned char *in, size_t inl);
crypto/openssl/engines/e_dasync.c
159
size_t inl);
crypto/openssl/engines/e_dasync.c
734
const unsigned char *in, size_t inl,
crypto/openssl/engines/e_dasync.c
751
ret = EVP_CIPHER_meth_get_do_cipher(cipher)(ctx, out, in, inl);
crypto/openssl/engines/e_dasync.c
798
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_dasync.c
800
return dasync_cipher_helper(ctx, out, in, inl, EVP_aes_128_cbc());
crypto/openssl/engines/e_dasync.c
821
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_dasync.c
823
return dasync_cipher_helper(ctx, out, in, inl, EVP_aes_256_ctr());
crypto/openssl/engines/e_dasync.c
857
size_t inl)
crypto/openssl/engines/e_dasync.c
859
return dasync_cipher_helper(ctx, out, in, inl, EVP_aes_128_cbc_hmac_sha1());
crypto/openssl/engines/e_devcrypto.c
238
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_devcrypto.c
251
cryp.len = inl;
crypto/openssl/engines/e_devcrypto.c
263
assert(inl >= ivlen);
crypto/openssl/engines/e_devcrypto.c
265
ivptr = in + inl - ivlen;
crypto/openssl/engines/e_devcrypto.c
289
assert(inl >= ivlen);
crypto/openssl/engines/e_devcrypto.c
291
ivptr = out + inl - ivlen;
crypto/openssl/engines/e_devcrypto.c
299
nblocks = (inl + cipher_ctx->blocksize - 1)
crypto/openssl/engines/e_devcrypto.c
318
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_devcrypto.c
324
while (cipher_ctx->num && inl) {
crypto/openssl/engines/e_devcrypto.c
326
--inl;
crypto/openssl/engines/e_devcrypto.c
331
if (inl > cipher_ctx->blocksize) {
crypto/openssl/engines/e_devcrypto.c
332
nblocks = inl / cipher_ctx->blocksize;
crypto/openssl/engines/e_devcrypto.c
336
inl -= len;
crypto/openssl/engines/e_devcrypto.c
342
if (inl) {
crypto/openssl/engines/e_devcrypto.c
348
while (inl--) {
crypto/openssl/engines/e_ossltest.c
258
const unsigned char *in, size_t inl);
crypto/openssl/engines/e_ossltest.c
263
const unsigned char *in, size_t inl);
crypto/openssl/engines/e_ossltest.c
273
size_t inl);
crypto/openssl/engines/e_ossltest.c
696
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_ossltest.c
701
tmpbuf = OPENSSL_malloc(inl);
crypto/openssl/engines/e_ossltest.c
704
if (tmpbuf == NULL && inl > 0)
crypto/openssl/engines/e_ossltest.c
709
memcpy(tmpbuf, in, inl);
crypto/openssl/engines/e_ossltest.c
712
ret = EVP_CIPHER_meth_get_do_cipher(EVP_aes_128_cbc())(ctx, out, in, inl);
crypto/openssl/engines/e_ossltest.c
716
memcpy(out, tmpbuf, inl);
crypto/openssl/engines/e_ossltest.c
730
const unsigned char *in, size_t inl)
crypto/openssl/engines/e_ossltest.c
732
unsigned char *tmpbuf = OPENSSL_malloc(inl);
crypto/openssl/engines/e_ossltest.c
735
if (tmpbuf == NULL && inl > 0)
crypto/openssl/engines/e_ossltest.c
740
memcpy(tmpbuf, in, inl);
crypto/openssl/engines/e_ossltest.c
743
EVP_CIPHER_meth_get_do_cipher(EVP_aes_128_gcm())(ctx, out, in, inl);
crypto/openssl/engines/e_ossltest.c
747
memcpy(out, tmpbuf, inl);
crypto/openssl/engines/e_ossltest.c
750
return inl;
crypto/openssl/include/crypto/evp.h
318
const unsigned char *in, size_t inl);
crypto/openssl/include/crypto/evp.h
371
if (inl < bl) \
crypto/openssl/include/crypto/evp.h
373
inl -= bl; \
crypto/openssl/include/crypto/evp.h
374
for (i = 0; i <= inl; i += bl)
crypto/openssl/include/crypto/evp.h
377
static int cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
crypto/openssl/include/crypto/evp.h
387
static int cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
crypto/openssl/include/crypto/evp.h
389
while (inl >= EVP_MAXCHUNK) { \
crypto/openssl/include/crypto/evp.h
393
inl -= EVP_MAXCHUNK; \
crypto/openssl/include/crypto/evp.h
397
if (inl) { \
crypto/openssl/include/crypto/evp.h
399
cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv, &num); \
crypto/openssl/include/crypto/evp.h
406
static int cname##_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
crypto/openssl/include/crypto/evp.h
408
while (inl >= EVP_MAXCHUNK) { \
crypto/openssl/include/crypto/evp.h
410
inl -= EVP_MAXCHUNK; \
crypto/openssl/include/crypto/evp.h
414
if (inl) \
crypto/openssl/include/crypto/evp.h
415
cprefix##_cbc_encrypt(in, out, (long)inl, &EVP_C_DATA(kstruct, ctx)->ksched, ctx->iv, EVP_CIPHER_CTX_is_encrypting(ctx)); \
crypto/openssl/include/crypto/evp.h
420
static int cname##_cfb##cbits##_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
crypto/openssl/include/crypto/evp.h
425
if (inl < chunk) \
crypto/openssl/include/crypto/evp.h
426
chunk = inl; \
crypto/openssl/include/crypto/evp.h
427
while (inl && inl >= chunk) { \
crypto/openssl/include/crypto/evp.h
433
inl -= chunk; \
crypto/openssl/include/crypto/evp.h
436
if (inl < chunk) \
crypto/openssl/include/crypto/evp.h
437
chunk = inl; \
crypto/openssl/include/openssl/core_dispatch.h
322
(void *dctx, const unsigned char *in, size_t inl))
crypto/openssl/include/openssl/core_dispatch.h
330
(void *provctx, const unsigned char *in, size_t inl,
crypto/openssl/include/openssl/core_dispatch.h
378
const unsigned char *in, size_t inl))
crypto/openssl/include/openssl/core_dispatch.h
385
const unsigned char *in, size_t inl))
crypto/openssl/include/openssl/core_dispatch.h
399
const unsigned char **in, const size_t *inl))
crypto/openssl/include/openssl/core_dispatch.h
438
(void *mctx, const unsigned char *in, size_t inl))
crypto/openssl/include/openssl/evp.h
273
size_t inl));
crypto/openssl/include/openssl/evp.h
296
size_t inl);
crypto/openssl/include/openssl/evp.h
694
const unsigned char *in, unsigned int inl);
crypto/openssl/include/openssl/evp.h
781
int *outl, const unsigned char *in, int inl);
crypto/openssl/include/openssl/evp.h
798
int *outl, const unsigned char *in, int inl);
crypto/openssl/include/openssl/evp.h
818
int *outl, const unsigned char *in, int inl);
crypto/openssl/include/openssl/evp.h
834
const unsigned char **in, const size_t *inl);
crypto/openssl/include/openssl/evp.h
899
const unsigned char *in, int inl);
crypto/openssl/include/openssl/evp.h
905
const unsigned char *in, int inl);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.c
139
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.c
147
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.c
152
error |= !ctx->hw->cipher(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_aes_gcm_siv.c
155
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
161
size_t inl, OSSL_ocb_cipher_fn ciph)
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
167
nextblocks = ossl_cipher_fillblock(buf, bufsz, AES_BLOCK_SIZE, &in, &inl);
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
169
nextblocks = inl & ~(AES_BLOCK_SIZE - 1);
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
196
inl -= nextblocks;
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
198
if (inl != 0
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
199
&& !ossl_cipher_trailingdata(buf, bufsz, AES_BLOCK_SIZE, &in, &inl)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
205
return inl == 0;
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
231
size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
241
if (inl == 0) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
257
in, inl, fn);
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
505
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
512
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
530
if (!aes_generic_ocb_cipher(ctx, in, out, inl)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
535
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_aes_siv.c
114
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_siv.c
121
if (out != NULL && outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_siv.c
126
if (ctx->hw->cipher(ctx, out, in, inl) <= 0)
crypto/openssl/providers/implementations/ciphers/cipher_aes_siv.c
130
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_aes_wrp.c
236
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_wrp.c
244
if (inl == 0) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_wrp.c
249
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_wrp.c
254
len = aes_wrap_cipher_internal(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
177
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
183
return s390x_aes_xts_cipher(vctx, out, outl, outsize, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
192
|| inl < AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
201
if (inl > XTS_MAX_BLOCKS_PER_DATA_UNIT * AES_BLOCK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
207
(*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2, ctx->base.iv);
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
208
else if (CRYPTO_xts128_encrypt(&ctx->xts, ctx->base.iv, in, out, inl,
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
212
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
218
size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
222
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
227
if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
42
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
49
while (inl > 0 && n < CHACHA_BLK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
51
inl--;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
55
if (inl == 0)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
66
rem = (unsigned int)(inl % CHACHA_BLK_SIZE);
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
67
inl -= rem;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
69
while (inl >= CHACHA_BLK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
70
size_t blocks = inl / CHACHA_BLK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_hw.c
93
inl -= blocks;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305.c
296
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305.c
304
if (inl == 0) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305.c
309
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305.c
314
if (!hw->aead_cipher(ctx, out, outl, in, inl))
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
268
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
280
if (inl != plen + POLY1305_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
283
return chacha20_poly1305_tls_cipher(bctx, out, outl, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
304
Poly1305_Update(poly, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
305
ctx->len.aad += inl;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
317
plen = inl;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
318
else if (inl != plen + POLY1305_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
337
if (in == NULL || inl != plen) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
375
if (in != NULL && inl != plen) {
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
384
inl -= POLY1305_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_chacha20_poly1305_hw.c
392
olen = inl;
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
329
size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
334
if (inl < CTS_BLOCK_SIZE) /* There must be at least one block for CTS mode */
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
336
if (outsize < inl)
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
339
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
352
sz = cts128_cs1_encrypt(ctx, in, out, inl);
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
354
sz = cts128_cs2_encrypt(ctx, in, out, inl);
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
356
sz = cts128_cs3_encrypt(ctx, in, out, inl);
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
359
sz = cts128_cs1_decrypt(ctx, in, out, inl);
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
361
sz = cts128_cs2_decrypt(ctx, in, out, inl);
crypto/openssl/providers/implementations/ciphers/cipher_cts.c
363
sz = cts128_cs3_decrypt(ctx, in, out, inl);
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
134
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
141
if (inl < chunk)
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
142
chunk = inl;
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
144
while (inl && inl >= chunk) {
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
150
inl -= chunk;
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
153
if (inl < chunk)
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
154
chunk = inl;
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
161
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
165
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
168
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
172
if (inl > 0)
crypto/openssl/providers/implementations/ciphers/cipher_des_hw.c
173
DES_cfb_encrypt(in, out, 8, (long)inl, key,
crypto/openssl/providers/implementations/ciphers/cipher_desx_hw.c
51
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_desx_hw.c
55
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/cipher_desx_hw.c
59
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/cipher_desx_hw.c
63
if (inl > 0)
crypto/openssl/providers/implementations/ciphers/cipher_desx_hw.c
64
DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1,
crypto/openssl/providers/implementations/ciphers/cipher_null.c
66
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_null.c
78
if (inl < ctx->tlsmacsize)
crypto/openssl/providers/implementations/ciphers/cipher_null.c
80
ctx->tlsmac = in + inl - ctx->tlsmacsize;
crypto/openssl/providers/implementations/ciphers/cipher_null.c
81
inl -= ctx->tlsmacsize;
crypto/openssl/providers/implementations/ciphers/cipher_null.c
83
if (outsize < inl)
crypto/openssl/providers/implementations/ciphers/cipher_null.c
86
memcpy(out, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_null.c
87
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
122
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
132
|| inl < SM4_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
141
if (inl > XTS_MAX_BLOCKS_PER_DATA_UNIT * SM4_BLOCK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
147
(*ctx->stream)(in, out, inl, ctx->xts.key1, ctx->xts.key2,
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
149
else if (CRYPTO_xts128_encrypt(&ctx->xts, ctx->base.iv, in, out, inl,
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
154
(*ctx->stream_gb)(in, out, inl, ctx->xts.key1, ctx->xts.key2,
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
157
inl, ctx->base.enc))
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
160
*outl = inl;
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
166
size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
170
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_sm4_xts.c
175
if (!sm4_xts_cipher(ctx, out, outl, outsize, in, inl)) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes.h
105
const unsigned char *in, size_t inl);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
105
inl *= 8;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
106
for (n = 0; n < inl; ++n) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
119
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
123
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
127
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
131
if (inl > 0)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
132
DES_ede3_cfb_encrypt(in, out, 8, (long)inl,
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
48
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
53
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
56
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
60
if (inl > 0) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
61
DES_ede3_ofb64_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2,
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
69
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
74
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
79
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
83
if (inl > 0) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
84
DES_ede3_cfb64_encrypt(in, out, (long)inl,
crypto/openssl/providers/implementations/ciphers/cipher_tdes_default_hw.c
97
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_hw.c
58
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_hw.c
63
(*tctx->tstream.cbc)(in, out, inl, tctx->tks.ks, ctx->iv);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_hw.c
67
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_hw.c
70
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_hw.c
74
if (inl > 0)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_hw.c
75
DES_ede3_cbc_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2,
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
103
ctx->hw->cipher(ctx, out + ivlen, out + ivlen, inl + ivlen);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
111
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
118
if (inl >= EVP_MAXCHUNK || inl % 8)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
121
return des_ede3_wrap(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
123
return des_ede3_unwrap(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
128
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
137
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
142
ret = tdes_wrap_cipher_internal(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
152
size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
155
if (inl == 0)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
157
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
162
if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) {
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
35
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
40
if (inl < 24)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
43
return inl - 16;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
54
memmove(out, out + 8, inl - 8);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
57
ctx->hw->cipher(ctx, out, in + 8, inl - 16);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
59
ctx->hw->cipher(ctx, iv, in + inl - 8, 8);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
62
BUF_reverse(out, NULL, inl - 16);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
65
ctx->hw->cipher(ctx, out, out, inl - 16);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
67
if (ossl_sha1(out, inl - 16, sha1tmp) /* Work out hash of first portion */
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
69
rv = inl - 16;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
75
OPENSSL_cleanse(out, inl - 16);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
81
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
86
size_t len = inl + ivlen + icvlen;
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
92
memmove(out + ivlen, in, inl);
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
94
if (!ossl_sha1(in, inl, sha1tmp))
crypto/openssl/providers/implementations/ciphers/cipher_tdes_wrap.c
96
memcpy(out + inl + ivlen, sha1tmp, icvlen);
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
272
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
293
|| outsize < inl
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
305
padnum = blksz - (inl % blksz);
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
307
if (outsize < inl + padnum) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
319
memset(out + inl, 0, padnum - 1);
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
320
*(out + inl + padnum - 1) = padval;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
323
for (loop = inl; loop < inl + padnum; loop++)
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
326
inl += padnum;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
329
if ((inl % blksz) != 0) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
335
if (!ctx->hw->cipher(ctx, out, in, inl)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
347
*outl = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
361
&in, &inl);
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
363
nextblocks = inl & ~(blksz - 1);
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
370
if (ctx->bufsz == blksz && (ctx->enc || inl > 0 || !ctx->pad)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
384
if (!ctx->enc && ctx->pad && nextblocks == inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
385
if (!ossl_assert(inl >= blksz)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
403
inl -= nextblocks;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
405
if (inl != 0
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
406
&& !ossl_cipher_trailingdata(ctx->buf, &ctx->bufsz, blksz, &in, &inl)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
412
return inl == 0;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
491
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
500
if (inl == 0) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
505
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
510
if (!ctx->hw->cipher(ctx, out, in, inl)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
515
*outl = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
526
if (!ossl_assert(*outl >= (size_t)(out[inl - 1] + 1)))
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
529
*outl -= out[inl - 1] + 1;
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
570
size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
582
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
587
if (!ctx->hw->cipher(ctx, out, in, inl)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon.c
592
*outl = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
271
size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
275
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
280
if (!ccm_cipher_internal(ctx, out, outl, in, inl)) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
305
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
312
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
317
if (ccm_cipher_internal(ctx, out, outl, in, inl) <= 0)
crypto/openssl/providers/implementations/ciphers/ciphercommon_ccm.c
320
*outl = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
130
static int setivinv(PROV_GCM_CTX *ctx, unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
137
memcpy(ctx->iv + ctx->ivlen - inl, in, inl);
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
328
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
332
if (inl == 0) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
337
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
342
if (gcm_cipher_internal(ctx, out, outl, in, inl) <= 0) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
368
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
375
if (outsize < inl) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
380
if (gcm_cipher_internal(ctx, out, outl, in, inl) <= 0)
crypto/openssl/providers/implementations/ciphers/ciphercommon_gcm.c
383
*outl = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
132
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
134
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
136
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
140
if (inl > 0)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
141
ossl_cipher_hw_generic_cbc(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
146
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
150
if (inl < chunk)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
151
chunk = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
152
while (inl > 0 && inl >= chunk) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
153
ossl_cipher_hw_generic_cfb8(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
154
inl -= chunk;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
157
if (inl < chunk)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
158
chunk = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
164
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
168
if (inl < chunk)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
169
chunk = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
170
while (inl > 0 && inl >= chunk) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
171
ossl_cipher_hw_generic_cfb128(ctx, out, in, inl);
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
172
inl -= chunk;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
175
if (inl < chunk)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
176
chunk = inl;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
182
const unsigned char *in, size_t inl)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
184
while (inl >= MAXCHUNK) {
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
186
inl -= MAXCHUNK;
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
190
if (inl > 0)
crypto/openssl/providers/implementations/ciphers/ciphercommon_hw.c
191
ossl_cipher_hw_generic_ofb128(ctx, out, in, inl);
crypto/openssl/test/asynciotest.c
124
static int async_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/asynciotest.c
131
if (inl <= 0)
crypto/openssl/test/asynciotest.c
145
if (!PACKET_buf_init(&pkt, (const unsigned char *)in, inl))
crypto/openssl/test/asynciotest.c
241
if ((int)written < inl) {
crypto/openssl/test/asynciotest.c
242
ret = BIO_write(next, in + written, inl - written);
crypto/openssl/test/asynciotest.c
30
static int async_write(BIO *b, const char *in, int inl);
crypto/openssl/test/fake_cipherprov.c
166
size_t outsize, const unsigned char *in, size_t inl)
crypto/openssl/test/fake_cipherprov.c
171
if (out == NULL || outsize < inl)
crypto/openssl/test/fake_cipherprov.c
174
memcpy(out, in, inl);
crypto/openssl/test/fake_cipherprov.c
175
for (i = 0; i < inl; i++)
crypto/openssl/test/fake_cipherprov.c
177
*outl = inl;
crypto/openssl/test/fake_pipelineprov.c
119
const unsigned char **in, const size_t *inl)
crypto/openssl/test/fake_pipelineprov.c
126
inl_ = (int)inl[i];
crypto/openssl/test/helpers/ssltestlib.c
214
static int tls_dump_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/helpers/ssltestlib.c
219
ret = BIO_write(next, in, inl);
crypto/openssl/test/helpers/ssltestlib.c
285
static int mempacket_test_write(BIO *b, const char *in, int inl);
crypto/openssl/test/helpers/ssltestlib.c
36
static int tls_dump_write(BIO *b, const char *in, int inl);
crypto/openssl/test/helpers/ssltestlib.c
571
int mempacket_test_inject(BIO *bio, const char *in, int inl, int pktnum,
crypto/openssl/test/helpers/ssltestlib.c
584
if ((size_t)inl < len)
crypto/openssl/test/helpers/ssltestlib.c
587
if ((size_t)inl == len)
crypto/openssl/test/helpers/ssltestlib.c
610
if (!TEST_ptr(thispkt->data = OPENSSL_malloc(inl)))
crypto/openssl/test/helpers/ssltestlib.c
620
memcpy(thispkt->data, in + len, inl - len);
crypto/openssl/test/helpers/ssltestlib.c
621
thispkt->len = inl - len;
crypto/openssl/test/helpers/ssltestlib.c
623
memcpy(thispkt->data, in, inl);
crypto/openssl/test/helpers/ssltestlib.c
624
thispkt->len = inl;
crypto/openssl/test/helpers/ssltestlib.c
639
return inl;
crypto/openssl/test/helpers/ssltestlib.c
652
return inl;
crypto/openssl/test/helpers/ssltestlib.c
676
return inl;
crypto/openssl/test/helpers/ssltestlib.c
684
static int mempacket_test_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/helpers/ssltestlib.c
686
return mempacket_test_inject(bio, in, inl, -1, STANDARD_PACKET);
crypto/openssl/test/helpers/ssltestlib.c
755
static int always_retry_write(BIO *b, const char *in, int inl);
crypto/openssl/test/helpers/ssltestlib.c
813
static int always_retry_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/helpers/ssltestlib.c
857
static int maybe_retry_write(BIO *b, const char *in, int inl);
crypto/openssl/test/helpers/ssltestlib.c
905
static int maybe_retry_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/helpers/ssltestlib.c
918
return BIO_write(BIO_next(bio), in, inl);
crypto/openssl/test/helpers/ssltestlib.h
78
int mempacket_test_inject(BIO *bio, const char *in, int inl, int pktnum,
crypto/openssl/test/sslcorrupttest.c
37
static int tls_corrupt_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/sslcorrupttest.c
44
if (!TEST_ptr(copy = OPENSSL_memdup(in, inl)))
crypto/openssl/test/sslcorrupttest.c
47
copy[inl - 1] ^= 1;
crypto/openssl/test/sslcorrupttest.c
48
ret = BIO_write(next, copy, inl);
crypto/openssl/test/sslcorrupttest.c
51
ret = BIO_write(next, in, inl);
crypto/openssl/test/tls13ccstest.c
103
if (!PACKET_buf_init(&pkt, (const unsigned char *)in, inl))
crypto/openssl/test/tls13ccstest.c
208
ret = BIO_write(next, in, inl);
crypto/openssl/test/tls13ccstest.c
30
static int watchccs_write(BIO *b, const char *in, int inl);
crypto/openssl/test/tls13ccstest.c
89
static int watchccs_write(BIO *bio, const char *in, int inl)
crypto/openssl/test/tls13ccstest.c
96
if (inl <= 0)
crypto/openssl/test/user_property_test.c
39
static int tmpmd_digest(void *provctx, const unsigned char *in, size_t inl,
sys/amd64/amd64/machdep.c
258
outl(ICH_SMI_EN, inl(ICH_SMI_EN) & ~0x8);
sys/amd64/include/iodev.h
36
#define iodev_read_4 inl
sys/amd64/pci/pci_cfgreg.c
222
data = inl(port);
sys/cam/ctl/ctl_tpc.c
118
uint8_t *inl;
sys/cam/ctl/ctl_tpc.c
1778
list->inl = &data->data[lencscd + lenseg];
sys/cam/ctl/ctl_tpc.c
1932
list->inl = &data->data[lencscd + lenseg];
sys/dev/hpt27xx/hpt27xx_os_bsd.c
40
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/hptnr/hptnr_os_bsd.c
39
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/hptrr/hptrr_os_bsd.c
40
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/mlx4/mlx4_en/en.h
258
struct mlx4_wqe_inline_seg inl;
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
256
uint8_t *inl = __DEVOLATILE(uint8_t *, dseg);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
259
m_copydata(mb, 0, len, inl + 4);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
556
uint8_t *inl = __DEVOLATILE(uint8_t *, dseg);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
560
m_copydata(mb, 0, len, inl + 4);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
561
memset(inl + 4 + len, 0, MIN_PKT_LEN - len);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
564
m_copydata(mb, 0, len, inl + 4);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
567
m_copydata(mb, 0, spc, inl + 4);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
568
m_copydata(mb, spc, len - spc, inl + 8 + spc);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
578
uint8_t *inl = __DEVOLATILE(uint8_t *, dseg);
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
582
*(volatile uint32_t *)inl =
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
585
*(volatile uint32_t *)inl =
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
588
*(volatile uint32_t *)(inl + 4 + spc) =
sys/dev/mlx4/mlx4_en/mlx4_en_tx.c
591
*(volatile uint32_t *)inl =
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2293
struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2365
((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2367
inl->byte_count = cpu_to_be32((1U << 31) | header_size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2368
memcpy(inl + 1, sqp->header_buf, header_size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2371
inl->byte_count = cpu_to_be32((1U << 31) | spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2372
memcpy(inl + 1, sqp->header_buf, spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2374
inl = (void *) (inl + 1) + spc;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2375
memcpy(inl + 1, sqp->header_buf + spc, header_size - spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2390
inl->byte_count = cpu_to_be32((1U << 31) | (header_size - spc));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2442
struct mlx4_wqe_inline_seg *inl = wqe + sizeof *mlx;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
249
struct mlx4_wqe_inline_seg *inl;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2653
((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2655
inl->byte_count = cpu_to_be32(1U << 31 | header_size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2656
memcpy(inl + 1, sqp->header_buf, header_size);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2659
inl->byte_count = cpu_to_be32(1U << 31 | spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
266
inl = wqe + s;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2660
memcpy(inl + 1, sqp->header_buf, spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2662
inl = (void *) (inl + 1) + spc;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2663
memcpy(inl + 1, sqp->header_buf + spc, header_size - spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
267
inl->byte_count = cpu_to_be32(1U << 31 | (size - s - sizeof *inl));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2678
inl->byte_count = cpu_to_be32(1U << 31 | (header_size - spc));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2807
struct mlx4_wqe_inline_seg *inl = wqe;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2821
((unsigned long) (inl + 1) & (MLX4_INLINE_ALIGN - 1));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2823
memcpy(inl + 1, &hdr, sizeof (hdr));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2825
inl->byte_count = cpu_to_be32((1U << 31) | (u32)sizeof(hdr));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2828
memcpy(inl + 1, &hdr, spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2830
inl->byte_count = cpu_to_be32((1U << 31) | spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2832
inl = (void *) (inl + 1) + spc;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2833
memcpy(inl + 1, (void *) &hdr + spc, sizeof (hdr) - spc);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2835
inl->byte_count = cpu_to_be32((1U << 31) | (u32)(sizeof (hdr) - spc));
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2925
struct mlx4_wqe_inline_seg *inl = wqe;
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2927
inl->byte_count = cpu_to_be32(1U << 31);
sys/dev/mlx5/device.h
857
u8 inl[64];
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3414
int inl = 0;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3424
inl += len;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3426
if (unlikely(inl > qp->max_inline_data))
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3440
seg->byte_count = cpu_to_be32(inl | MLX5_INLINE_SEG);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3442
*sz = ALIGN(inl + sizeof(seg->byte_count), 16) / 16;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3470
struct mlx5_bsf_inl *inl)
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3473
inl->vld_refresh = cpu_to_be16(MLX5_BSF_INL_VALID |
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3475
inl->dif_apptag = cpu_to_be16(domain->sig.dif.app_tag);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3476
inl->dif_reftag = cpu_to_be32(domain->sig.dif.ref_tag);
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3478
inl->rp_inv_seed = MLX5_BSF_REPEAT_BLOCK;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3479
inl->sig_type = domain->sig.dif.bg_type == IB_T10DIF_CRC ?
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3483
inl->dif_inc_ref_guard_check |= MLX5_BSF_INC_REFTAG;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3487
inl->dif_inc_ref_guard_check |= MLX5_BSF_APPREF_ESCAPE;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3489
inl->dif_inc_ref_guard_check |= MLX5_BSF_APPTAG_ESCAPE;
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
3492
inl->dif_app_bitmask_check =
sys/dev/vmware/vmci/vmci.c
890
icr = inl(vmci_sc->vmci_ioaddr + VMCI_ICR_ADDR);
sys/i386/i386/geode.c
108
u = inl(gpio + 4);
sys/i386/i386/geode.c
143
return (inl(geode_counter));
sys/i386/i386/geode.c
162
c = inl(geode_counter);
sys/i386/i386/machdep.c
235
outl(ICH_SMI_EN, inl(ICH_SMI_EN) & ~0x8);
sys/i386/i386/mp_clock.c
91
u2 = inl(piix_timecounter_address);
sys/i386/i386/mp_clock.c
92
u3 = inl(piix_timecounter_address);
sys/i386/i386/mp_clock.c
96
u3 = inl(piix_timecounter_address);
sys/i386/include/iodev.h
36
#define iodev_read_4 inl
sys/i386/pci/pci_cfgreg.c
315
data = inl(port);
sys/i386/pci/pci_cfgreg.c
365
id = inl(port);
sys/i386/pci/pci_cfgreg.c
370
class = inl(port) >> 8;
sys/i386/pci/pci_cfgreg.c
403
oldval1 = inl(CONF1_ADDR_PORT);
sys/i386/pci/pci_cfgreg.c
415
mode1res = inl(CONF1_ADDR_PORT);
sys/i386/pci/pci_cfgreg.c
428
mode1res = inl(CONF1_ADDR_PORT);
sys/powerpc/include/pio.h
165
#define in32(a) inl(a)
sys/powerpc/powermac/uninorth.c
237
tmpl = inl(reg);
sys/x86/include/bus.h
239
return (inl(handle + offset));
sys/x86/include/bus.h
921
outl(addr2, inl(addr1));
sys/x86/include/bus.h
926
outl(addr2, inl(addr1));
tools/tools/bhyve/fwctl_fetch.c
108
value = inl(FWCTL_IN);
tools/tools/bhyve/fwctl_fetch.c
80
rsplen = inl(FWCTL_IN);
tools/tools/bhyve/fwctl_fetch.c
87
value = inl(FWCTL_IN);
tools/tools/bhyve/fwctl_fetch.c
92
value = inl(FWCTL_IN);
tools/tools/bhyve/fwctl_fetch.c
97
value = inl(FWCTL_IN);