Home
last modified time | relevance | path

Searched refs:outl (Results 1 – 25 of 31) sorted by relevance

12

/dragonfly/crypto/libressl/crypto/evp/
H A Devp_enc.c301 *outl = 0; in EVP_EncryptUpdate()
331 *outl = 0; in EVP_EncryptUpdate()
362 *outl = 0; in EVP_EncryptUpdate()
410 *outl = 0; in EVP_EncryptFinal_ex()
419 *outl = 0; in EVP_EncryptFinal_ex()
430 *outl = b; in EVP_EncryptFinal_ex()
442 *outl = 0; in EVP_DecryptUpdate()
522 *outl = 0; in EVP_DecryptFinal_ex()
539 *outl = 0; in EVP_DecryptFinal_ex()
565 *outl = n; in EVP_DecryptFinal_ex()
[all …]
H A Dencode.c147 EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_EncodeUpdate() argument
153 *outl = 0; in EVP_EncodeUpdate()
185 *outl = 0; in EVP_EncodeUpdate()
191 *outl = total; in EVP_EncodeUpdate()
197 EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_EncodeFinal() argument
207 *outl = ret; in EVP_EncodeFinal()
252 EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_DecodeUpdate() argument
354 *outl = ret; in EVP_DecodeUpdate()
400 EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_DecodeFinal() argument
404 *outl = 0; in EVP_DecodeFinal()
[all …]
H A Dbio_enc.c149 enc_read(BIO *b, char *out, int outl) in enc_read() argument
164 if (i > outl) in enc_read()
165 i = outl; in enc_read()
169 outl -= i; in enc_read()
180 while (outl > 0) { in enc_read()
216 if (ctx->buf_len <= outl) in enc_read()
219 i = outl; in enc_read()
225 outl -= i; in enc_read()
H A Dbio_b64.c152 b64_read(BIO *b, char *out, int outl) in b64_read() argument
179 if (i > outl) in b64_read()
180 i = outl; in b64_read()
185 outl -= i; in b64_read()
197 while (outl > 0) { in b64_read()
333 if (ctx->buf_len <= outl) in b64_read()
336 i = outl; in b64_read()
345 outl -= i; in b64_read()
H A Dbio_md.c126 md_read(BIO *b, char *out, int outl) in md_read() argument
138 ret = BIO_read(b->next_bio, out, outl); in md_read()
/dragonfly/usr.sbin/pw/
H A Dedgroup.c86 char *outl = malloc(outlen); in editgroups() local
90 if (line == NULL || outl == NULL || mems == NULL) { in editgroups()
108 if (extendline(&outl, &outlen, l) == -1) { in editgroups()
112 strcpy(outl, line); in editgroups()
114 *outl = '\0'; in editgroups()
190 fmtgrentry(&outl, &outlen, &grp, PWF_GROUP); in editgroups()
192 fputs(outl, outfp); in editgroups()
202 while (fgets(outl, outlen, outfp) != NULL) in editgroups()
203 fputs(outl, infp); in editgroups()
216 free(outl); in editgroups()
/dragonfly/crypto/libressl/crypto/bio/
H A Dbf_buff.c147 buffer_read(BIO *b, char *out, int outl) in buffer_read() argument
165 if (i > outl) in buffer_read()
166 i = outl; in buffer_read()
171 if (outl == i) in buffer_read()
173 outl -= i; in buffer_read()
182 if (outl > ctx->ibuf_size) { in buffer_read()
184 i = BIO_read(b->next_bio, out, outl); in buffer_read()
193 if (outl == i) in buffer_read()
196 outl -= i; in buffer_read()
H A Dbf_nbio.c132 nbiof_read(BIO *b, char *out, int outl) in nbiof_read() argument
148 if (outl > num) in nbiof_read()
149 outl = num; in nbiof_read()
155 ret = BIO_read(b->next_bio, out, outl); in nbiof_read()
H A Dbss_sock.c134 sock_read(BIO *b, char *out, int outl) in sock_read() argument
140 ret = read(b->num, out, outl); in sock_read()
H A Dbio_lib.c321 BIO_read(BIO *b, void *out, int outl) in BIO_read() argument
329 if (out == NULL || outl <= 0) in BIO_read()
338 if ((ret = (int)bio_call_callback(b, BIO_CB_READ, out, outl, 0, in BIO_read()
348 if ((ret = b->method->bread(b, out, outl)) > 0) in BIO_read()
355 out, outl, 0, 0L, (ret > 0) ? 1 : ret, &readbytes); in BIO_read()
H A Dbss_fd.c134 fd_read(BIO *b, char *out, int outl) in fd_read() argument
140 ret = read(b->num, out, outl); in fd_read()
H A Dbss_file.c186 file_read(BIO *b, char *out, int outl) in file_read() argument
191 ret = fread(out, 1, outl, (FILE *)b->ptr); in file_read()
H A Dbss_acpt.c291 acpt_read(BIO *b, char *out, int outl) in acpt_read() argument
305 ret = BIO_read(b->next_bio, out, outl); in acpt_read()
H A Dbss_null.c111 null_read(BIO *b, char *out, int outl) in null_read() argument
H A Dbss_conn.c377 conn_read(BIO *b, char *out, int outl) in conn_read() argument
391 ret = read(b->num, out, outl); in conn_read()
/dragonfly/crypto/libressl/crypto/pem/
H A Dpem_lib.c598 int nlen, n, i, j, outl; in PEM_write_bio() local
626 if (!EVP_EncodeUpdate(&ctx, buf, &outl, &(data[j]), n)) in PEM_write_bio()
628 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
630 i += outl; in PEM_write_bio()
634 EVP_EncodeFinal(&ctx, buf, &outl); in PEM_write_bio()
635 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
643 return (i + outl); in PEM_write_bio()
/dragonfly/crypto/libressl/crypto/cms/
H A Dcms_pwri.c228 int outl, rv = 0; in kek_unwrap_key() local
244 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key()
251 || !EVP_DecryptUpdate(ctx, tmp, &outl, tmp + inlen - blocklen, blocklen) in kek_unwrap_key()
253 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key()
258 || !EVP_DecryptUpdate(ctx, tmp, &outl, tmp, inlen)) in kek_unwrap_key()
/dragonfly/crypto/libressl/include/openssl/
H A Devp.h476 int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
480 int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
487 int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
498 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
502 int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);
528 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
533 int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl);
538 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
540 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl);
544 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl,
[all …]
/dragonfly/test/testcases/libnvmm/
H A Dh_io_assist_asm.S172 outl $123
177 outl %dx
/dragonfly/crypto/libressl/ssl/
H A Dbio_ssl.c144 ssl_read(BIO *b, char *out, int outl) in ssl_read() argument
159 ret = SSL_read(ssl, out, outl); in ssl_read()
216 ssl_write(BIO *b, const char *out, int outl) in ssl_write() argument
232 ret = SSL_write(ssl, out, outl); in ssl_write()
/dragonfly/sys/bus/pci/x86_64/
H A Dpci_cfgreg.c194 outl(CONF1_ADDR_PORT, (1 << 31) | (bus << 16) | (slot << 11) | in pci_cfgenable()
253 outl(port, data); in pcireg_cfgwrite()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_cryptor.c410 int outl = 0; in aes_ctr_encrypt_counter() local
416 r = EVP_EncryptUpdate(ctx->ctx, ctx->encr_buf, &outl, ctx->nonce, in aes_ctr_encrypt_counter()
418 if (r == 0 || outl != AES_BLOCK_SIZE) in aes_ctr_encrypt_counter()
/dragonfly/sys/cpu/x86_64/include/
H A Dbus_dma.h409 outl(bsh + offset, value); in bus_space_write_4()
673 outl(addr, value); in bus_space_set_multi_4()
737 outl(addr, value); in bus_space_set_region_4()
852 outl(addr2, inl(addr1)); in bus_space_copy_region_4()
857 outl(addr2, inl(addr1)); in bus_space_copy_region_4()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_openssl.c225 int outl; in rc4_skip()
241 if (!EVP_CipherUpdate(ctx, skip_buf, &outl, skip_buf, len)) in rc4_skip()
246 if (EVP_CipherUpdate(ctx, data, &outl, data, data_len)) in rc4_skip()
721 int outl; in crypto_cipher_encrypt() local
722 if (!EVP_EncryptUpdate(ctx->enc, crypt, &outl, plain, len)) in crypto_cipher_encrypt()
731 int outl; in crypto_cipher_decrypt() local
732 outl = len; in crypto_cipher_decrypt()
733 if (!EVP_DecryptUpdate(ctx->dec, plain, &outl, crypt, len)) in crypto_cipher_decrypt()
/dragonfly/sys/platform/pc64/apic/
H A Dlapic.c219 outl(0x0cf8, in lapic_init()
229 outl(0xcfc, tcr|0x00010000); in lapic_init()
231 outl(0x0cf8, 0); in lapic_init()

12