crypto/libressl/apps/openssl/enc.c
333
int ret = 1, inl;
crypto/libressl/apps/openssl/enc.c
739
inl = BIO_read(rbio, (char *) buff, bsize);
crypto/libressl/apps/openssl/enc.c
740
if (inl <= 0)
crypto/libressl/apps/openssl/enc.c
742
if (BIO_write(wbio, (char *) buff, inl) != inl) {
crypto/libressl/crypto/asn1/asn1_item.c
340
int ret = -1, inl;
crypto/libressl/crypto/asn1/asn1_item.c
398
inl = ASN1_item_i2d(asn, &buf_in, it);
crypto/libressl/crypto/asn1/asn1_item.c
405
if (!EVP_DigestVerifyUpdate(&ctx, buf_in, inl)) {
crypto/libressl/crypto/asn1/asn1_item.c
411
freezero(buf_in, (unsigned int)inl);
crypto/libressl/crypto/asn1/bio_asn1.c
189
asn1_bio_write(BIO *b, const char *in , int inl)
crypto/libressl/crypto/asn1/bio_asn1.c
195
if (!in || (inl < 0) || (b->next_bio == NULL))
crypto/libressl/crypto/asn1/bio_asn1.c
223
buflen = ASN1_object_size(0, inl, ctx->asn1_tag) - inl;
crypto/libressl/crypto/asn1/bio_asn1.c
228
ASN1_put_object(&p, 0, inl,
crypto/libressl/crypto/asn1/bio_asn1.c
230
ctx->copylen = inl;
crypto/libressl/crypto/asn1/bio_asn1.c
251
if (inl > ctx->copylen)
crypto/libressl/crypto/asn1/bio_asn1.c
254
wrmax = inl;
crypto/libressl/crypto/asn1/bio_asn1.c
261
inl -= ret;
crypto/libressl/crypto/asn1/bio_asn1.c
265
if (inl == 0)
crypto/libressl/crypto/asn1/bio_asn1.c
327
asn1_bio_read(BIO *b, char *in , int inl)
crypto/libressl/crypto/asn1/bio_asn1.c
331
return BIO_read(b->next_bio, in , inl);
crypto/libressl/crypto/bio/bf_buff.c
218
buffer_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bf_buff.c
223
if ((in == NULL) || (inl <= 0))
crypto/libressl/crypto/bio/bf_buff.c
233
if (i >= inl) {
crypto/libressl/crypto/bio/bf_buff.c
234
memcpy(&(ctx->obuf[ctx->obuf_off + ctx->obuf_len]), in, inl);
crypto/libressl/crypto/bio/bf_buff.c
235
ctx->obuf_len += inl;
crypto/libressl/crypto/bio/bf_buff.c
236
return (num + inl);
crypto/libressl/crypto/bio/bf_buff.c
245
inl -= i;
crypto/libressl/crypto/bio/bf_buff.c
272
while (inl >= ctx->obuf_size) {
crypto/libressl/crypto/bio/bf_buff.c
273
i = BIO_write(b->next_bio, in, inl);
crypto/libressl/crypto/bio/bf_buff.c
283
inl -= i;
crypto/libressl/crypto/bio/bf_buff.c
284
if (inl == 0)
crypto/libressl/crypto/bio/bf_nbio.c
163
nbiof_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bf_nbio.c
170
if ((in == NULL) || (inl <= 0))
crypto/libressl/crypto/bio/bf_nbio.c
186
if (inl > num)
crypto/libressl/crypto/bio/bf_nbio.c
187
inl = num;
crypto/libressl/crypto/bio/bf_nbio.c
193
ret = BIO_write(b->next_bio, in, inl);
crypto/libressl/crypto/bio/bf_nbio.c
196
nt->lwn = inl;
crypto/libressl/crypto/bio/bio_lib.c
371
BIO_write(BIO *b, const void *in, int inl)
crypto/libressl/crypto/bio/bio_lib.c
379
if (in == NULL || inl <= 0)
crypto/libressl/crypto/bio/bio_lib.c
388
if ((ret = (int)bio_call_callback(b, BIO_CB_WRITE, in, inl, 0,
crypto/libressl/crypto/bio/bio_lib.c
398
if ((ret = b->method->bwrite(b, in, inl)) > 0)
crypto/libressl/crypto/bio/bio_lib.c
405
in, inl, 0, 0L, (ret > 0) ? 1 : ret, &writebytes);
crypto/libressl/crypto/bio/bio_lib.c
465
BIO_gets(BIO *b, char *in, int inl)
crypto/libressl/crypto/bio/bio_lib.c
476
if ((ret = (int)bio_call_callback(b, BIO_CB_GETS, in, inl, 0, 0L,
crypto/libressl/crypto/bio/bio_lib.c
486
if ((ret = b->method->bgets(b, in, inl)) > 0)
crypto/libressl/crypto/bio/bio_lib.c
491
inl, 0, 0L, (ret > 0) ? 1 : ret, &readbytes);
crypto/libressl/crypto/bio/bss_acpt.c
311
acpt_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_acpt.c
325
ret = BIO_write(b->next_bio, in, inl);
crypto/libressl/crypto/bio/bss_conn.c
402
conn_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_conn.c
415
ret = write(b->num, in, inl);
crypto/libressl/crypto/bio/bss_dgram.c
290
dgram_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_dgram.c
297
ret = write(b->num, in, inl);
crypto/libressl/crypto/bio/bss_dgram.c
305
ret = sendto(b->num, in, inl, 0, &data->peer.sa, peerlen);
crypto/libressl/crypto/bio/bss_fd.c
151
fd_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_fd.c
155
ret = write(b->num, in, inl);
crypto/libressl/crypto/bio/bss_file.c
202
file_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_file.c
207
ret = fwrite(in, 1, inl, (FILE *)b->ptr);
crypto/libressl/crypto/bio/bss_null.c
117
null_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_null.c
119
return (inl);
crypto/libressl/crypto/bio/bss_sock.c
151
sock_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/bio/bss_sock.c
156
ret = write(b->num, in, inl);
crypto/libressl/crypto/engine/eng_openssl.c
258
const unsigned char *in, size_t inl)
crypto/libressl/crypto/engine/eng_openssl.c
263
RC4(&test(ctx)->ks, inl, in, out);
crypto/libressl/crypto/evp/bio_b64.c
354
b64_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/evp/bio_b64.c
392
if ((in == NULL) || (inl <= 0))
crypto/libressl/crypto/evp/bio_b64.c
395
while (inl > 0) {
crypto/libressl/crypto/evp/bio_b64.c
396
n = (inl > B64_BLOCK_SIZE) ? B64_BLOCK_SIZE : inl;
crypto/libressl/crypto/evp/bio_b64.c
403
if (n > inl)
crypto/libressl/crypto/evp/bio_b64.c
404
n = inl;
crypto/libressl/crypto/evp/bio_b64.c
444
inl -= n;
crypto/libressl/crypto/evp/bio_enc.c
235
enc_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/evp/bio_enc.c
241
ret = inl;
crypto/libressl/crypto/evp/bio_enc.c
256
if ((in == NULL) || (inl <= 0))
crypto/libressl/crypto/evp/bio_enc.c
260
while (inl > 0) {
crypto/libressl/crypto/evp/bio_enc.c
261
n = (inl > ENC_BLOCK_SIZE) ? ENC_BLOCK_SIZE : inl;
crypto/libressl/crypto/evp/bio_enc.c
265
inl -= n;
crypto/libressl/crypto/evp/bio_enc.c
274
return (ret == inl) ? i : ret - inl;
crypto/libressl/crypto/evp/bio_md.c
152
md_write(BIO *b, const char *in, int inl)
crypto/libressl/crypto/evp/bio_md.c
157
if ((in == NULL) || (inl <= 0))
crypto/libressl/crypto/evp/bio_md.c
162
ret = BIO_write(b->next_bio, in, inl);
crypto/libressl/crypto/evp/e_bf.c
105
bf_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
109
if (inl < chunk)
crypto/libressl/crypto/evp/e_bf.c
110
chunk = inl;
crypto/libressl/crypto/evp/e_bf.c
112
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_bf.c
114
inl -= chunk;
crypto/libressl/crypto/evp/e_bf.c
117
if (inl < chunk)
crypto/libressl/crypto/evp/e_bf.c
118
chunk = inl;
crypto/libressl/crypto/evp/e_bf.c
125
bf_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
131
if (inl < bl)
crypto/libressl/crypto/evp/e_bf.c
134
inl -= bl;
crypto/libressl/crypto/evp/e_bf.c
136
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_bf.c
143
bf_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
147
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_bf.c
149
inl -= chunk;
crypto/libressl/crypto/evp/e_bf.c
154
if (inl)
crypto/libressl/crypto/evp/e_bf.c
155
BF_ofb64_encrypt(in, out, (long)inl, &((EVP_BF_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_bf.c
87
bf_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_bf.c
91
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_bf.c
93
inl -= chunk;
crypto/libressl/crypto/evp/e_bf.c
98
if (inl)
crypto/libressl/crypto/evp/e_bf.c
99
BF_cbc_encrypt(in, out, (long)inl, &((EVP_BF_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_camellia.c
101
if (inl)
crypto/libressl/crypto/evp/e_camellia.c
102
Camellia_cbc_encrypt(in, out, inl, &((EVP_CAMELLIA_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_camellia.c
108
camellia_128_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
112
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
113
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
115
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
117
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
120
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
121
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
128
camellia_128_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
134
if (inl < bl)
crypto/libressl/crypto/evp/e_camellia.c
137
inl -= bl;
crypto/libressl/crypto/evp/e_camellia.c
139
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_camellia.c
146
camellia_128_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
148
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_camellia.c
150
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
155
if (inl)
crypto/libressl/crypto/evp/e_camellia.c
156
Camellia_ofb128_encrypt(in, out, inl, &((EVP_CAMELLIA_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_camellia.c
250
camellia_192_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
252
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_camellia.c
254
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
259
if (inl)
crypto/libressl/crypto/evp/e_camellia.c
260
Camellia_cbc_encrypt(in, out, inl, &((EVP_CAMELLIA_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_camellia.c
266
camellia_192_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
270
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
271
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
273
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
275
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
278
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
279
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
286
camellia_192_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
292
if (inl < bl)
crypto/libressl/crypto/evp/e_camellia.c
295
inl -= bl;
crypto/libressl/crypto/evp/e_camellia.c
297
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_camellia.c
304
camellia_192_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
306
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_camellia.c
308
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
313
if (inl)
crypto/libressl/crypto/evp/e_camellia.c
314
Camellia_ofb128_encrypt(in, out, inl, &((EVP_CAMELLIA_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_camellia.c
408
camellia_256_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
410
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_camellia.c
412
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
417
if (inl)
crypto/libressl/crypto/evp/e_camellia.c
418
Camellia_cbc_encrypt(in, out, inl, &((EVP_CAMELLIA_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_camellia.c
424
camellia_256_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
428
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
429
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
431
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
433
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
436
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
437
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
444
camellia_256_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
450
if (inl < bl)
crypto/libressl/crypto/evp/e_camellia.c
453
inl -= bl;
crypto/libressl/crypto/evp/e_camellia.c
455
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_camellia.c
462
camellia_256_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
464
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_camellia.c
466
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_camellia.c
471
if (inl)
crypto/libressl/crypto/evp/e_camellia.c
472
Camellia_ofb128_encrypt(in, out, inl, &((EVP_CAMELLIA_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_camellia.c
566
camellia_128_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
572
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
573
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
575
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
577
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
580
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
581
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
610
camellia_192_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
616
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
617
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
619
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
621
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
624
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
625
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
654
camellia_256_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
660
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
661
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
663
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
665
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
668
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
669
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
699
camellia_128_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
703
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
704
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
706
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
708
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
711
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
712
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
741
camellia_192_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
745
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
746
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
748
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
750
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
753
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
754
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
783
camellia_256_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
787
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
788
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
790
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_camellia.c
792
inl -= chunk;
crypto/libressl/crypto/evp/e_camellia.c
795
if (inl < chunk)
crypto/libressl/crypto/evp/e_camellia.c
796
chunk = inl;
crypto/libressl/crypto/evp/e_camellia.c
92
camellia_128_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_camellia.c
94
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_camellia.c
96
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_cast.c
105
cast5_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
109
if (inl < chunk)
crypto/libressl/crypto/evp/e_cast.c
110
chunk = inl;
crypto/libressl/crypto/evp/e_cast.c
112
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_cast.c
114
inl -= chunk;
crypto/libressl/crypto/evp/e_cast.c
117
if (inl < chunk)
crypto/libressl/crypto/evp/e_cast.c
118
chunk = inl;
crypto/libressl/crypto/evp/e_cast.c
125
cast5_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
131
if (inl < bl)
crypto/libressl/crypto/evp/e_cast.c
134
inl -= bl;
crypto/libressl/crypto/evp/e_cast.c
136
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_cast.c
143
cast5_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
147
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_cast.c
149
inl -= chunk;
crypto/libressl/crypto/evp/e_cast.c
154
if (inl)
crypto/libressl/crypto/evp/e_cast.c
155
CAST_ofb64_encrypt(in, out, (long)inl, &((EVP_CAST_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_cast.c
87
cast5_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_cast.c
91
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_cast.c
93
inl -= chunk;
crypto/libressl/crypto/evp/e_cast.c
98
if (inl)
crypto/libressl/crypto/evp/e_cast.c
99
CAST_cbc_encrypt(in, out, (long)inl, &((EVP_CAST_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_des.c
104
if (inl < bl)
crypto/libressl/crypto/evp/e_des.c
107
inl -= bl;
crypto/libressl/crypto/evp/e_des.c
109
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_des.c
118
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
122
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des.c
125
inl -= chunk;
crypto/libressl/crypto/evp/e_des.c
129
if (inl)
crypto/libressl/crypto/evp/e_des.c
130
DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data,
crypto/libressl/crypto/evp/e_des.c
137
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
141
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des.c
144
inl -= chunk;
crypto/libressl/crypto/evp/e_des.c
148
if (inl)
crypto/libressl/crypto/evp/e_des.c
149
DES_ncbc_encrypt(in, out, (long)inl, ctx->cipher_data,
crypto/libressl/crypto/evp/e_des.c
156
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
160
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des.c
163
inl -= chunk;
crypto/libressl/crypto/evp/e_des.c
167
if (inl)
crypto/libressl/crypto/evp/e_des.c
168
DES_cfb64_encrypt(in, out, (long)inl, ctx->cipher_data,
crypto/libressl/crypto/evp/e_des.c
177
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
183
if (inl < chunk)
crypto/libressl/crypto/evp/e_des.c
184
chunk = inl;
crypto/libressl/crypto/evp/e_des.c
186
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_des.c
195
inl -= chunk;
crypto/libressl/crypto/evp/e_des.c
198
if (inl < chunk)
crypto/libressl/crypto/evp/e_des.c
199
chunk = inl;
crypto/libressl/crypto/evp/e_des.c
207
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des.c
211
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des.c
214
inl -= chunk;
crypto/libressl/crypto/evp/e_des.c
218
if (inl)
crypto/libressl/crypto/evp/e_des.c
219
DES_cfb_encrypt(in, out, 8, (long)inl, ctx->cipher_data,
crypto/libressl/crypto/evp/e_des.c
98
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
129
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
135
if (inl < bl)
crypto/libressl/crypto/evp/e_des3.c
138
inl -= bl;
crypto/libressl/crypto/evp/e_des3.c
140
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_des3.c
149
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
153
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des3.c
157
inl -= chunk;
crypto/libressl/crypto/evp/e_des3.c
161
if (inl)
crypto/libressl/crypto/evp/e_des3.c
162
DES_ede3_ofb64_encrypt(in, out, (long)inl,
crypto/libressl/crypto/evp/e_des3.c
171
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
175
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des3.c
179
inl -= chunk;
crypto/libressl/crypto/evp/e_des3.c
183
if (inl)
crypto/libressl/crypto/evp/e_des3.c
184
DES_ede3_cbc_encrypt(in, out, (long)inl,
crypto/libressl/crypto/evp/e_des3.c
192
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
196
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des3.c
200
inl -= chunk;
crypto/libressl/crypto/evp/e_des3.c
204
if (inl)
crypto/libressl/crypto/evp/e_des3.c
205
DES_ede3_cfb64_encrypt(in, out, (long)inl,
crypto/libressl/crypto/evp/e_des3.c
215
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
221
inl *= 8;
crypto/libressl/crypto/evp/e_des3.c
223
for (n = 0; n < inl; ++n) {
crypto/libressl/crypto/evp/e_des3.c
237
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_des3.c
241
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_des3.c
245
inl -= chunk;
crypto/libressl/crypto/evp/e_des3.c
249
if (inl)
crypto/libressl/crypto/evp/e_des3.c
250
DES_ede3_cfb_encrypt(in, out, 8, (long)inl,
crypto/libressl/crypto/evp/e_gost2814789.c
190
gost2814789_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_gost2814789.c
196
if (inl < bl)
crypto/libressl/crypto/evp/e_gost2814789.c
199
inl -= bl;
crypto/libressl/crypto/evp/e_gost2814789.c
201
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_gost2814789.c
208
gost2814789_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_gost2814789.c
212
if (inl < chunk)
crypto/libressl/crypto/evp/e_gost2814789.c
213
chunk = inl;
crypto/libressl/crypto/evp/e_gost2814789.c
215
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_gost2814789.c
217
inl -= chunk;
crypto/libressl/crypto/evp/e_gost2814789.c
220
if (inl < chunk)
crypto/libressl/crypto/evp/e_gost2814789.c
221
chunk = inl;
crypto/libressl/crypto/evp/e_gost2814789.c
229
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_gost2814789.c
233
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_gost2814789.c
236
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_gost2814789.c
241
if (inl)
crypto/libressl/crypto/evp/e_gost2814789.c
242
Gost2814789_cnt_encrypt(in, out, inl, &c->ks, ctx->iv, ctx->buf,
crypto/libressl/crypto/evp/e_idea.c
102
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
108
if (inl < bl)
crypto/libressl/crypto/evp/e_idea.c
111
inl -= bl;
crypto/libressl/crypto/evp/e_idea.c
113
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_idea.c
124
idea_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
128
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_idea.c
130
inl -= chunk;
crypto/libressl/crypto/evp/e_idea.c
135
if (inl)
crypto/libressl/crypto/evp/e_idea.c
136
idea_cbc_encrypt(in, out, (long)inl, &((EVP_IDEA_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_idea.c
142
idea_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
146
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_idea.c
148
inl -= chunk;
crypto/libressl/crypto/evp/e_idea.c
153
if (inl)
crypto/libressl/crypto/evp/e_idea.c
154
idea_ofb64_encrypt(in, out, (long)inl, &((EVP_IDEA_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_idea.c
160
idea_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_idea.c
164
if (inl < chunk)
crypto/libressl/crypto/evp/e_idea.c
165
chunk = inl;
crypto/libressl/crypto/evp/e_idea.c
167
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_idea.c
169
inl -= chunk;
crypto/libressl/crypto/evp/e_idea.c
172
if (inl < chunk)
crypto/libressl/crypto/evp/e_idea.c
173
chunk = inl;
crypto/libressl/crypto/evp/e_null.c
102
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_null.c
105
memcpy((char *)out, (const char *)in, inl);
crypto/libressl/crypto/evp/e_null.c
70
const unsigned char *in, size_t inl);
crypto/libressl/crypto/evp/e_rc2.c
100
if (inl)
crypto/libressl/crypto/evp/e_rc2.c
101
RC2_cbc_encrypt(in, out, (long)inl, &((EVP_RC2_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_rc2.c
107
rc2_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
111
if (inl < chunk)
crypto/libressl/crypto/evp/e_rc2.c
112
chunk = inl;
crypto/libressl/crypto/evp/e_rc2.c
114
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_rc2.c
116
inl -= chunk;
crypto/libressl/crypto/evp/e_rc2.c
119
if (inl < chunk)
crypto/libressl/crypto/evp/e_rc2.c
120
chunk = inl;
crypto/libressl/crypto/evp/e_rc2.c
127
rc2_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
133
if (inl < bl)
crypto/libressl/crypto/evp/e_rc2.c
136
inl -= bl;
crypto/libressl/crypto/evp/e_rc2.c
138
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_rc2.c
145
rc2_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
149
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_rc2.c
151
inl -= chunk;
crypto/libressl/crypto/evp/e_rc2.c
156
if (inl)
crypto/libressl/crypto/evp/e_rc2.c
157
RC2_ofb64_encrypt(in, out, (long)inl, &((EVP_RC2_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_rc2.c
89
rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc2.c
93
while (inl >= chunk) {
crypto/libressl/crypto/evp/e_rc2.c
95
inl -= chunk;
crypto/libressl/crypto/evp/e_rc4.c
135
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_rc4.c
137
RC4(&data(ctx)->ks, inl, in, out);
crypto/libressl/crypto/evp/e_rc4.c
83
const unsigned char *in, size_t inl);
crypto/libressl/crypto/evp/e_sm4.c
101
while (inl && inl >= chunk) {
crypto/libressl/crypto/evp/e_sm4.c
103
inl -= chunk;
crypto/libressl/crypto/evp/e_sm4.c
106
if (inl < chunk)
crypto/libressl/crypto/evp/e_sm4.c
107
chunk = inl;
crypto/libressl/crypto/evp/e_sm4.c
114
sm4_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
120
if (inl < bl)
crypto/libressl/crypto/evp/e_sm4.c
123
inl -= bl;
crypto/libressl/crypto/evp/e_sm4.c
125
for (i = 0; i <= inl; i += bl)
crypto/libressl/crypto/evp/e_sm4.c
132
sm4_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
134
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_sm4.c
136
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_sm4.c
141
if (inl)
crypto/libressl/crypto/evp/e_sm4.c
142
sm4_ofb128_encrypt(in, out, inl, &((EVP_SM4_KEY *)ctx->cipher_data)->ks, ctx->iv, &ctx->num);
crypto/libressl/crypto/evp/e_sm4.c
78
sm4_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
80
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_sm4.c
82
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_sm4.c
87
if (inl)
crypto/libressl/crypto/evp/e_sm4.c
88
sm4_cbc_encrypt(in, out, inl, &((EVP_SM4_KEY *)ctx->cipher_data)->ks, ctx->iv, ctx->encrypt);
crypto/libressl/crypto/evp/e_sm4.c
94
sm4_cfb128_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_sm4.c
98
if (inl < chunk)
crypto/libressl/crypto/evp/e_sm4.c
99
chunk = inl;
crypto/libressl/crypto/evp/e_xcbc_d.c
121
const unsigned char *in, size_t inl)
crypto/libressl/crypto/evp/e_xcbc_d.c
123
while (inl >= EVP_MAXCHUNK) {
crypto/libressl/crypto/evp/e_xcbc_d.c
127
inl -= EVP_MAXCHUNK;
crypto/libressl/crypto/evp/e_xcbc_d.c
131
if (inl)
crypto/libressl/crypto/evp/e_xcbc_d.c
132
DES_xcbc_encrypt(in, out, (long)inl, &data(ctx)->ks,
crypto/libressl/crypto/evp/e_xcbc_d.c
75
const unsigned char *in, size_t inl);
crypto/libressl/crypto/evp/encode.c
148
const unsigned char *in, int inl)
crypto/libressl/crypto/evp/encode.c
154
if (inl <= 0)
crypto/libressl/crypto/evp/encode.c
157
if (ctx->length - ctx->num > inl) {
crypto/libressl/crypto/evp/encode.c
158
memcpy(&(ctx->enc_data[ctx->num]), in, inl);
crypto/libressl/crypto/evp/encode.c
159
ctx->num += inl;
crypto/libressl/crypto/evp/encode.c
166
inl -= i;
crypto/libressl/crypto/evp/encode.c
174
while (inl >= ctx->length && total <= INT_MAX) {
crypto/libressl/crypto/evp/encode.c
177
inl -= ctx->length;
crypto/libressl/crypto/evp/encode.c
188
if (inl != 0)
crypto/libressl/crypto/evp/encode.c
189
memcpy(&(ctx->enc_data[0]), in, inl);
crypto/libressl/crypto/evp/encode.c
190
ctx->num = inl;
crypto/libressl/crypto/evp/encode.c
253
const unsigned char *in, int inl)
crypto/libressl/crypto/evp/encode.c
268
if (inl == 0) {
crypto/libressl/crypto/evp/encode.c
273
for (i = 0; i < inl; i++) {
crypto/libressl/crypto/evp/evp_enc.c
236
const unsigned char *in, int inl)
crypto/libressl/crypto/evp/evp_enc.c
239
return EVP_EncryptUpdate(ctx, out, outl, in, inl);
crypto/libressl/crypto/evp/evp_enc.c
241
return EVP_DecryptUpdate(ctx, out, outl, in, inl);
crypto/libressl/crypto/evp/evp_enc.c
297
const unsigned char *in, int inl)
crypto/libressl/crypto/evp/evp_enc.c
303
if (inl < 0)
crypto/libressl/crypto/evp/evp_enc.c
306
if (inl == 0 && EVP_CIPHER_mode(ctx->cipher) != EVP_CIPH_CCM_MODE)
crypto/libressl/crypto/evp/evp_enc.c
310
i = ctx->cipher->do_cipher(ctx, out, in, inl);
crypto/libressl/crypto/evp/evp_enc.c
318
if (ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0) {
crypto/libressl/crypto/evp/evp_enc.c
319
if (ctx->cipher->do_cipher(ctx, out, in, inl)) {
crypto/libressl/crypto/evp/evp_enc.c
320
*outl = inl;
crypto/libressl/crypto/evp/evp_enc.c
335
if (bl - i > inl) {
crypto/libressl/crypto/evp/evp_enc.c
336
memcpy(&(ctx->buf[i]), in, inl);
crypto/libressl/crypto/evp/evp_enc.c
337
ctx->buf_len += inl;
crypto/libressl/crypto/evp/evp_enc.c
349
if (((inl - j) & ~(bl - 1)) > INT_MAX - bl) {
crypto/libressl/crypto/evp/evp_enc.c
356
inl -= j;
crypto/libressl/crypto/evp/evp_enc.c
363
i = inl&(bl - 1);
crypto/libressl/crypto/evp/evp_enc.c
364
inl -= i;
crypto/libressl/crypto/evp/evp_enc.c
365
if (inl > 0) {
crypto/libressl/crypto/evp/evp_enc.c
366
if (!ctx->cipher->do_cipher(ctx, out, in, inl))
crypto/libressl/crypto/evp/evp_enc.c
368
*outl += inl;
crypto/libressl/crypto/evp/evp_enc.c
372
memcpy(ctx->buf, &(in[inl]), i);
crypto/libressl/crypto/evp/evp_enc.c
437
const unsigned char *in, int inl)
crypto/libressl/crypto/evp/evp_enc.c
444
if (inl < 0)
crypto/libressl/crypto/evp/evp_enc.c
447
if (inl == 0 && EVP_CIPHER_mode(ctx->cipher) != EVP_CIPH_CCM_MODE)
crypto/libressl/crypto/evp/evp_enc.c
451
fix_len = ctx->cipher->do_cipher(ctx, out, in, inl);
crypto/libressl/crypto/evp/evp_enc.c
461
return EVP_EncryptUpdate(ctx, out, outl, in, inl);
crypto/libressl/crypto/evp/evp_enc.c
476
if ((inl & ~(b - 1)) > INT_MAX - b) {
crypto/libressl/crypto/evp/evp_enc.c
487
if (!EVP_EncryptUpdate(ctx, out, outl, in, inl))
crypto/libressl/crypto/evp/evp_lib.c
202
unsigned int inl)
crypto/libressl/crypto/evp/evp_lib.c
204
return ctx->cipher->do_cipher(ctx, out, in, inl);
crypto/libressl/crypto/evp/evp_locl.h
145
const unsigned char *in, size_t inl);/* encrypt/decrypt data */
crypto/libressl/include/openssl/evp.h
424
unsigned int inl);
crypto/libressl/include/openssl/evp.h
477
const unsigned char *in, int inl);
crypto/libressl/include/openssl/evp.h
488
const unsigned char *in, int inl);
crypto/libressl/include/openssl/evp.h
499
const unsigned char *in, int inl);
crypto/libressl/include/openssl/evp.h
539
const unsigned char *in, int inl);
crypto/libressl/include/openssl/evp.h
545
const unsigned char *in, int inl);
sys/bus/pci/x86_64/pci_cfgreg.c
228
data = inl(port);
sys/cpu/x86_64/include/bus_dma.h
160
return (inl(handle + offset));
sys/cpu/x86_64/include/bus_dma.h
852
outl(addr2, inl(addr1));
sys/cpu/x86_64/include/bus_dma.h
857
outl(addr2, inl(addr1));
sys/cpu/x86_64/include/cpufunc.h
946
u_int inl(u_int port);
sys/dev/raid/hpt27xx/hpt27xx_os_bsd.c
36
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/dev/raid/hptrr/hptrr_os_bsd.c
40
HPT_U32 os_inl (void *port) { return inl((unsigned)(HPT_UPTR)port); }
sys/platform/pc64/apic/lapic.c
226
tcr = inl(0xcfc);