Home
last modified time | relevance | path

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

1234

/third_party/openssl/crypto/evp/
Devp_enc.c210 int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, in EVP_CipherUpdate() argument
214 return EVP_EncryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
216 return EVP_DecryptUpdate(ctx, out, outl, in, inl); in EVP_CipherUpdate()
219 int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_CipherFinal_ex() argument
222 return EVP_EncryptFinal_ex(ctx, out, outl); in EVP_CipherFinal_ex()
224 return EVP_DecryptFinal_ex(ctx, out, outl); in EVP_CipherFinal_ex()
227 int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_CipherFinal() argument
230 return EVP_EncryptFinal(ctx, out, outl); in EVP_CipherFinal()
232 return EVP_DecryptFinal(ctx, out, outl); in EVP_CipherFinal()
299 unsigned char *out, int *outl, in evp_EncryptDecryptUpdate() argument
[all …]
Dencode.c162 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_EncodeUpdate() argument
168 *outl = 0; in EVP_EncodeUpdate()
206 *outl = 0; in EVP_EncodeUpdate()
212 *outl = total; in EVP_EncodeUpdate()
217 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_EncodeFinal() argument
228 *outl = ret; in EVP_EncodeFinal()
303 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, in EVP_DecodeUpdate() argument
408 *outl = ret; in EVP_DecodeUpdate()
464 int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl) in EVP_DecodeFinal() argument
468 *outl = 0; in EVP_DecodeFinal()
[all …]
Dbio_enc.c106 static int enc_read(BIO *b, char *out, int outl) in enc_read() argument
123 if (i > outl) in enc_read()
124 i = outl; in enc_read()
128 outl -= i; in enc_read()
145 while (outl > 0) { in enc_read()
171 if (outl > ENC_MIN_CHUNK) { in enc_read()
177 int j = outl - blocksize, buf_len; in enc_read()
187 outl -= buf_len; in enc_read()
216 if (ctx->buf_len <= outl) in enc_read()
219 i = outl; in enc_read()
[all …]
/third_party/openssl/crypto/asn1/
Da_sign.c32 int i, inl = 0, outl = 0; in ASN1_sign() local
80 outll = outl = EVP_PKEY_size(pkey); in ASN1_sign()
83 outl = 0; in ASN1_sign()
93 (unsigned int *)&outl, pkey)) { in ASN1_sign()
94 outl = 0; in ASN1_sign()
101 signature->length = outl; in ASN1_sign()
112 return outl; in ASN1_sign()
146 size_t inl = 0, outl = 0, outll = 0; in ASN1_item_sign_ctx() local
166 outl = signature->length; in ASN1_item_sign_ctx()
209 outl = 0; in ASN1_item_sign_ctx()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/
Djcsample-altivec.c41 __vector unsigned short this0e, this0o, next0e, next0o, outl, outh; in jsimd_h2v1_downsample_altivec() local
64 outl = vec_add(this0e, this0o); in jsimd_h2v1_downsample_altivec()
65 outl = vec_add(outl, pw_bias); in jsimd_h2v1_downsample_altivec()
66 outl = vec_sr(outl, pw_one); in jsimd_h2v1_downsample_altivec()
79 out = vec_pack(outl, outh); in jsimd_h2v1_downsample_altivec()
98 next1e, next1o, out0l, out0h, out1l, out1h, outl, outh; in jsimd_h2v2_downsample_altivec() local
132 outl = vec_add(out0l, out1l); in jsimd_h2v2_downsample_altivec()
133 outl = vec_add(outl, pw_bias); in jsimd_h2v2_downsample_altivec()
134 outl = vec_sr(outl, pw_two); in jsimd_h2v2_downsample_altivec()
155 out = vec_pack(outl, outh); in jsimd_h2v2_downsample_altivec()
/third_party/boringssl/src/crypto/x509/
Da_sign.c86 size_t inl = 0, outl = 0; in ASN1_item_sign_ctx() local
99 outl = EVP_PKEY_size(pkey); in ASN1_item_sign_ctx()
100 buf_out = OPENSSL_malloc((unsigned int)outl); in ASN1_item_sign_ctx()
102 outl = 0; in ASN1_item_sign_ctx()
107 if (!EVP_DigestSign(ctx, buf_out, &outl, buf_in, inl)) { in ASN1_item_sign_ctx()
108 outl = 0; in ASN1_item_sign_ctx()
116 signature->length = outl; in ASN1_item_sign_ctx()
127 return (outl); in ASN1_item_sign_ctx()
/third_party/uboot/u-boot-2020.01/drivers/net/
Duli526x.c81 outl(data|CR9_SROM_READ|CR9_SRCS, ioaddr); \
83 outl(data|CR9_SROM_READ|CR9_SRCS|CR9_SRCLK, ioaddr); \
85 outl(data|CR9_SROM_READ|CR9_SRCS, ioaddr); \
344 outl(ULI526X_RESET, db->ioaddr + DCR0); in uli526x_disable()
351 outl(0, dev->iobase + DCR7); /* Disable Interrupt */ in uli526x_disable()
352 outl(inl(dev->iobase + DCR5), dev->iobase + DCR5); in uli526x_disable()
372 outl(ULI526X_RESET, db->ioaddr + DCR0); /* RESET MAC */ in uli526x_init()
374 outl(db->cr0_data, db->ioaddr + DCR0); in uli526x_init()
423 outl(db->cr7_data, db->ioaddr + DCR7); in uli526x_init()
426 outl(db->cr15_data, db->ioaddr + DCR15); in uli526x_init()
[all …]
Drtl8139.c341 outl(rtl8139_rx_config | rx_mode, ioaddr + RxConfig); in set_rx_mode()
343 outl(mc_filter[0], ioaddr + MAR0 + 0); in set_rx_mode()
344 outl(mc_filter[1], ioaddr + MAR0 + 4); in set_rx_mode()
368 outl((RX_FIFO_THRESH<<13) | (RX_BUF_LEN_IDX<<11) | (RX_DMA_BURST<<8), in rtl_reset()
370 outl((TX_DMA_BURST<<8)|0x03000000, ioaddr + TxConfig); in rtl_reset()
383 outl(phys_to_bus((int)rx_ring), ioaddr + RxBuf); in rtl_reset()
391 outl(rtl8139_rx_config, ioaddr + RxConfig); in rtl_reset()
394 outl(0, ioaddr + RxMissed); in rtl_reset()
423 outl(phys_to_bus((int)tx_buffer), ioaddr + TxAddr0 + cur_tx*4); in rtl_transmit()
424 outl(((TX_FIFO_THRESH<<11) & 0x003f0000) | len, in rtl_transmit()
/third_party/openssl/apps/
Dbf_prefix.c16 static int prefix_write(BIO *b, const char *out, size_t outl,
81 static int prefix_write(BIO *b, const char *out, size_t outl, in prefix_write() argument
92 if (outl > 0) in prefix_write()
93 ctx->linestart = (out[outl-1] == '\n'); in prefix_write()
94 return BIO_write_ex(BIO_next(b), out, outl, numwritten); in prefix_write()
99 while (outl > 0) { in prefix_write()
114 for (i = 0, c = '\0'; i < outl && (c = out[i]) != '\n'; i++) in prefix_write()
126 outl -= num; in prefix_write()
/third_party/openssl/crypto/srp/
Dsrp_vfy.c44 int outl = 0, outl2 = 0; in t_fromb64() local
73 outl = -1; in t_fromb64()
84 && EVP_DecodeUpdate(ctx, a, &outl, pad, padsize) < 0) { in t_fromb64()
85 outl = -1; in t_fromb64()
89 outl = -1; in t_fromb64()
92 outl += outl2; in t_fromb64()
93 EVP_DecodeFinal(ctx, a + outl, &outl2); in t_fromb64()
94 outl += outl2; in t_fromb64()
98 if ((int)padsize >= outl) { in t_fromb64()
99 outl = -1; in t_fromb64()
[all …]
/third_party/uboot/u-boot-2020.01/board/intel/galileo/
Dgalileo.c33 outl(val, port); in board_assert_perst()
39 outl(val, port); in board_assert_perst()
45 outl(val, port); in board_assert_perst()
60 outl(val, port); in board_deassert_perst()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genaes.c241 int outl = sizeof(buf), n = 0; in lws_genaes_destroy() local
250 if (EVP_EncryptFinal_ex(ctx->ctx, buf, &outl) != 1) { in lws_genaes_destroy()
265 memcpy(tag, buf, outl); in lws_genaes_destroy()
270 if (EVP_DecryptFinal_ex(ctx->ctx, buf, &outl) != 1) { in lws_genaes_destroy()
278 if (outl) in lws_genaes_destroy()
279 lwsl_debug("%s: final len %d\n", __func__, outl); in lws_genaes_destroy()
295 int n = 0, outl, olen; in lws_genaes_crypt() local
367 n = EVP_EncryptUpdate(ctx->ctx, out, &outl, in, (int)len); in lws_genaes_crypt()
370 n = EVP_DecryptUpdate(ctx->ctx, out, &outl, in, (int)len); in lws_genaes_crypt()
/third_party/uboot/u-boot-2020.01/arch/sh/cpu/sh4/
Dwatchdog.c23 outl((unsigned short)value | 0x5A00, WDT_BASE + 0x00); in cnt_write()
28 outl((unsigned short)value | 0xA500, WDT_BASE + 0x04); in csr_write()
33 outl(0x55000000, WDT_BASE + 0x08); in watchdog_reset()
Dcache.c29 outl(data, addr); in cache_wback_all()
49 outl(CCR_CACHE_STOP, CCR); in cache_control()
51 outl(CCR_CACHE_INIT, CCR); in cache_control()
/third_party/uboot/u-boot-2020.01/arch/x86/cpu/broadwell/
Dpinctrl_broadwell.c176 outl(val, &regs->config[gpio].conf_a); in broadwell_pinctrl_commit()
177 outl(pin->sense_disable << CONFB_SENSE_SHIFT, in broadwell_pinctrl_commit()
199 outl(owner_gpio[set], &regs->own[set]); in broadwell_pinctrl_commit()
200 outl(route_smi[set], &regs->gpi_route[set]); in broadwell_pinctrl_commit()
201 outl(irq_enable[set], &regs->gpi_ie[set]); in broadwell_pinctrl_commit()
202 outl(reset_rsmrst[set], &regs->rst_sel[set]); in broadwell_pinctrl_commit()
205 outl(pirq2apic, &regs->pirq_to_ioxapic); in broadwell_pinctrl_commit()
/third_party/boringssl/src/ssl/
Dbio_ssl.cc19 static int ssl_read(BIO *bio, char *out, int outl) { in ssl_read() argument
27 const int ret = SSL_read(ssl, out, outl); in ssl_read()
59 static int ssl_write(BIO *bio, const char *out, int outl) { in ssl_write() argument
67 const int ret = SSL_write(ssl, out, outl); in ssl_write()
/third_party/openssl/crypto/bio/
Dbf_buff.c89 static int buffer_read(BIO *b, char *out, int outl) in buffer_read() argument
107 if (i > outl) in buffer_read()
108 i = outl; in buffer_read()
113 if (outl == i) in buffer_read()
115 outl -= i; in buffer_read()
125 if (outl > ctx->ibuf_size) { in buffer_read()
127 i = BIO_read(b->next_bio, out, outl); in buffer_read()
136 if (outl == i) in buffer_read()
139 outl -= i; in buffer_read()
Dbf_nbio.c82 static int nbiof_read(BIO *b, char *out, int outl) in nbiof_read() argument
98 if (outl > num) in nbiof_read()
99 outl = num; in nbiof_read()
105 ret = BIO_read(b->next_bio, out, outl); in nbiof_read()
/third_party/boringssl/src/ssl/test/
Dpacketed_bio.cc104 static int PacketedRead(BIO *bio, char *out, int outl) { in PacketedRead() argument
184 if (outl > (int)len) { in PacketedRead()
185 outl = len; in PacketedRead()
187 OPENSSL_memcpy(out, buf, outl); in PacketedRead()
189 return outl; in PacketedRead()
Dasync_bio.cc74 static int AsyncRead(BIO *bio, char *out, int outl) { in AsyncRead() argument
88 if (!a->datagram && (size_t)outl > a->read_quota) { in AsyncRead()
89 outl = a->read_quota; in AsyncRead()
91 int ret = BIO_read(bio->next_bio, out, outl); in AsyncRead()
/third_party/uboot/u-boot-2020.01/arch/x86/cpu/
Dpci.c22 outl(bdf | (offset & 0xfc) | PCI_CFG_EN, PCI_REG_ADDR); in pci_x86_read_config()
41 outl(bdf | (offset & 0xfc) | PCI_CFG_EN, PCI_REG_ADDR); in pci_x86_write_config()
50 outl(value, PCI_REG_DATA); in pci_x86_write_config()
/third_party/openssl/test/
Dssltestlib.c56 static int tls_dump_read(BIO *b, char *out, int outl);
218 static int tls_dump_read(BIO *bio, char *out, int outl) in tls_dump_read() argument
223 ret = BIO_read(next, out, outl); in tls_dump_read()
304 static int mempacket_test_read(BIO *b, char *out, int outl);
369 static int mempacket_test_read(BIO *bio, char *out, int outl) in mempacket_test_read() argument
387 if (outl > thispkt->len) in mempacket_test_read()
388 outl = thispkt->len; in mempacket_test_read()
421 outl -= len; in mempacket_test_read()
423 if (outl == 0) in mempacket_test_read()
433 memcpy(out, thispkt->data, outl); in mempacket_test_read()
[all …]
/third_party/uboot/u-boot-2020.01/drivers/sysreset/
Dsysreset_x86.c54 outl(0x00000000, pm.base + pm.gpio0_en_ofs); in pch_sysreset_power_off()
65 outl(reg32, pm.base + pm.pm1_cnt_ofs); in pch_sysreset_power_off()
69 outl(reg32, pm.base + pm.pm1_cnt_ofs); in pch_sysreset_power_off()
/third_party/uboot/u-boot-2020.01/arch/x86/include/asm/arch-quark/
Dquark.h211 outl(dev | offset | PCI_CFG_EN, PCI_REG_ADDR); in qrk_pci_read_config_dword()
227 outl(dev | offset | PCI_CFG_EN, PCI_REG_ADDR); in qrk_pci_write_config_dword()
228 outl(value, PCI_REG_DATA); in qrk_pci_write_config_dword()
/third_party/openssl/test/ossl_shim/
Dasync_bio.cc62 static int AsyncRead(BIO *bio, char *out, int outl) { in AsyncRead() argument
76 if (!a->datagram && (size_t)outl > a->read_quota) { in AsyncRead()
77 outl = a->read_quota; in AsyncRead()
79 int ret = BIO_read(BIO_next(bio), out, outl); in AsyncRead()

1234