Home
last modified time | relevance | path

Searched refs:inl (Results 1 – 25 of 136) sorted by relevance

123456

/external/openssl/crypto/evp/
De_des.c75 const unsigned char *in, size_t inl) in des_ecb_cipher() argument
83 const unsigned char *in, size_t inl) in des_ofb_cipher() argument
85 while(inl>=EVP_MAXCHUNK) in des_ofb_cipher()
89 inl-=EVP_MAXCHUNK; in des_ofb_cipher()
93 if (inl) in des_ofb_cipher()
94 DES_ofb64_encrypt(in, out, (long)inl, ctx->cipher_data, in des_ofb_cipher()
100 const unsigned char *in, size_t inl) in des_cbc_cipher() argument
102 while(inl>=EVP_MAXCHUNK) in des_cbc_cipher()
106 inl-=EVP_MAXCHUNK; in des_cbc_cipher()
110 if (inl) in des_cbc_cipher()
[all …]
De_des3.c90 const unsigned char *in, size_t inl) in des_ede_ecb_cipher() argument
102 const unsigned char *in, size_t inl) in des_ede_ofb_cipher() argument
104 if (inl>=EVP_MAXCHUNK) in des_ede_ofb_cipher()
109 inl-=EVP_MAXCHUNK; in des_ede_ofb_cipher()
113 if (inl) in des_ede_ofb_cipher()
114 DES_ede3_ofb64_encrypt(in, out, (long)inl, in des_ede_ofb_cipher()
122 const unsigned char *in, size_t inl) in des_ede_cbc_cipher() argument
135 if (inl>=EVP_MAXCHUNK) in des_ede_cbc_cipher()
140 inl-=EVP_MAXCHUNK; in des_ede_cbc_cipher()
144 if (inl) in des_ede_cbc_cipher()
[all …]
Devp_enc.c73 #define M_do_cipher(ctx, out, in, inl) FIPS_cipher(ctx, out, in, inl) argument
75 #define M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx, out, in, inl) argument
262 const unsigned char *in, int inl) in EVP_CipherUpdate() argument
265 return EVP_EncryptUpdate(ctx,out,outl,in,inl); in EVP_CipherUpdate()
266 else return EVP_DecryptUpdate(ctx,out,outl,in,inl); in EVP_CipherUpdate()
308 const unsigned char *in, int inl) in EVP_EncryptUpdate() argument
314 i = M_do_cipher(ctx, out, in, inl); in EVP_EncryptUpdate()
322 if (inl <= 0) in EVP_EncryptUpdate()
325 return inl == 0; in EVP_EncryptUpdate()
328 if(ctx->buf_len == 0 && (inl&(ctx->block_mask)) == 0) in EVP_EncryptUpdate()
[all …]
Devp_locl.h66 if(inl < bl) return 1;\
67 inl -= bl; \
68 for(i=0; i <= inl; i+=bl)
71 … cname##_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
81 … cname##_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
83 while(inl>=EVP_MAXCHUNK)\
86 inl-=EVP_MAXCHUNK;\
90 if (inl)\
91 …cprefix##_ofb##cbits##_encrypt(in, out, (long)inl, &((kstruct *)ctx->cipher_data)->ksched, ctx->iv…
96 … cname##_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) \
[all …]
Dencode.c132 const unsigned char *in, int inl) in EVP_EncodeUpdate() argument
138 if (inl == 0) return; in EVP_EncodeUpdate()
140 if ((ctx->num+inl) < ctx->length) in EVP_EncodeUpdate()
142 memcpy(&(ctx->enc_data[ctx->num]),in,inl); in EVP_EncodeUpdate()
143 ctx->num+=inl; in EVP_EncodeUpdate()
151 inl-=i; in EVP_EncodeUpdate()
159 while (inl >= ctx->length) in EVP_EncodeUpdate()
163 inl-=ctx->length; in EVP_EncodeUpdate()
169 if (inl != 0) in EVP_EncodeUpdate()
170 memcpy(&(ctx->enc_data[0]),in,inl); in EVP_EncodeUpdate()
[all …]
De_xcbc_d.c72 const unsigned char *in, size_t inl);
117 const unsigned char *in, size_t inl) in desx_cbc_cipher() argument
119 while (inl>=EVP_MAXCHUNK) in desx_cbc_cipher()
126 inl-=EVP_MAXCHUNK; in desx_cbc_cipher()
130 if (inl) in desx_cbc_cipher()
131 DES_xcbc_encrypt(in,out,(long)inl,&data(ctx)->ks, in desx_cbc_cipher()
Dbio_enc.c231 static int enc_write(BIO *b, const char *in, int inl) in enc_write() argument
237 ret=inl; in enc_write()
254 if ((in == NULL) || (inl <= 0)) return(0); in enc_write()
257 while (inl > 0) in enc_write()
259 n=(inl > ENC_BLOCK_SIZE)?ENC_BLOCK_SIZE:inl; in enc_write()
263 inl-=n; in enc_write()
274 return (ret == inl) ? i : ret - inl; in enc_write()
Dopenbsd_hw.c154 const unsigned char *in,unsigned int inl)
159 if(!inl)
169 cryp.len=inl;
170 assert((inl&(ctx->cipher->block_size-1)) == 0);
189 cinl=(inl+3)/4*4;
191 if(((unsigned long)in&3) || cinl != inl)
194 memcpy(cin,in,inl);
198 if(((unsigned long)out&3) || cinl != inl)
216 memcpy(out,cout,inl);
De_null.c69 const unsigned char *in, size_t inl);
98 const unsigned char *in, size_t inl) in null_cipher() argument
101 memcpy((char *)out,(const char *)in,inl); in null_cipher()
De_rc4.c82 const unsigned char *in, size_t inl);
132 const unsigned char *in, size_t inl) in rc4_cipher() argument
134 RC4(&data(ctx)->ks,inl,in,out); in rc4_cipher()
/external/openssl/crypto/asn1/
Da_verify.c83 int ret= -1,i,inl; in ASN1_verify() local
94 inl=i2d(data,NULL); in ASN1_verify()
95 buf_in=OPENSSL_malloc((unsigned int)inl); in ASN1_verify()
105 || !EVP_VerifyUpdate(&ctx,(unsigned char *)buf_in,inl)) in ASN1_verify()
112 OPENSSL_cleanse(buf_in,(unsigned int)inl); in ASN1_verify()
139 int ret= -1,inl; in ASN1_item_verify() local
194 inl = ASN1_item_i2d(asn, &buf_in, it); in ASN1_item_verify()
202 if (!EVP_DigestVerifyUpdate(&ctx,buf_in,inl)) in ASN1_item_verify()
209 OPENSSL_cleanse(buf_in,(unsigned int)inl); in ASN1_item_verify()
Da_sign.c136 int i,inl=0,outl=0,outll=0; in ASN1_sign() local
174 inl=i2d(data,NULL); in ASN1_sign()
175 buf_in=(unsigned char *)OPENSSL_malloc((unsigned int)inl); in ASN1_sign()
188 || !EVP_SignUpdate(&ctx,(unsigned char *)buf_in,inl) in ASN1_sign()
208 { OPENSSL_cleanse((char *)buf_in,(unsigned int)inl); OPENSSL_free(buf_in); } in ASN1_sign()
238 size_t inl=0,outl=0,outll=0; in ASN1_item_sign_ctx() local
300 inl=ASN1_item_i2d(asn,&buf_in, it); in ASN1_item_sign_ctx()
310 if (!EVP_DigestSignUpdate(ctx, buf_in, inl) in ASN1_item_sign_ctx()
329 { OPENSSL_cleanse((char *)buf_in,(unsigned int)inl); OPENSSL_free(buf_in); } in ASN1_item_sign_ctx()
Dbio_asn1.c197 static int asn1_bio_write(BIO *b, const char *in , int inl) in asn1_bio_write() argument
202 if (!in || (inl < 0) || (b->next_bio == NULL)) in asn1_bio_write()
236 ASN1_object_size(0, inl, ctx->asn1_tag) - inl; in asn1_bio_write()
239 ASN1_put_object(&p, 0, inl, in asn1_bio_write()
241 ctx->copylen = inl; in asn1_bio_write()
265 if (inl > ctx->copylen) in asn1_bio_write()
268 wrmax = inl; in asn1_bio_write()
275 inl -= ret; in asn1_bio_write()
280 if (inl == 0) in asn1_bio_write()
346 static int asn1_bio_read(BIO *b, char *in , int inl) in asn1_bio_read() argument
[all …]
/external/openssl/crypto/bio/
Dbf_lbuf.c148 static int linebuffer_write(BIO *b, const char *in, int inl) in linebuffer_write() argument
153 if ((in == NULL) || (inl <= 0)) return(0); in linebuffer_write()
163 for(p = in; p < in + inl && *p != '\n'; p++) in linebuffer_write()
188 inl -= p - in; in linebuffer_write()
197 inl -= i; in linebuffer_write()
250 inl-=i; in linebuffer_write()
253 while(foundnl && inl > 0); in linebuffer_write()
257 if (inl > 0) in linebuffer_write()
259 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl); in linebuffer_write()
260 ctx->obuf_len += inl; in linebuffer_write()
[all …]
Dbf_nbio.c159 static int nbiof_write(BIO *b, const char *in, int inl) in nbiof_write() argument
166 if ((in == NULL) || (inl <= 0)) return(0); in nbiof_write()
184 if (inl > num) inl=num; in nbiof_write()
194 ret=BIO_write(b->next_bio,in,inl); in nbiof_write()
198 nt->lwn=inl; in nbiof_write()
Dbf_buff.c197 static int buffer_write(BIO *b, const char *in, int inl) in buffer_write() argument
202 if ((in == NULL) || (inl <= 0)) return(0); in buffer_write()
210 if (i >= inl) in buffer_write()
212 memcpy(&(ctx->obuf[ctx->obuf_off+ctx->obuf_len]),in,inl); in buffer_write()
213 ctx->obuf_len+=inl; in buffer_write()
214 return(num+inl); in buffer_write()
224 inl-=i; in buffer_write()
250 while (inl >= ctx->obuf_size) in buffer_write()
252 i=BIO_write(b->next_bio,in,inl); in buffer_write()
261 inl-=i; in buffer_write()
[all …]
/external/chromium/base/allocator/
Dallocator.gyp50 '<(tcmalloc_dir)/src/addressmap-inl.h',
75 '<(tcmalloc_dir)/src/base/spinlock_linux-inl.h',
76 '<(tcmalloc_dir)/src/base/spinlock_posix-inl.h',
77 '<(tcmalloc_dir)/src/base/spinlock_win32-inl.h',
110 '<(tcmalloc_dir)/src/malloc_hook-inl.h',
117 '<(tcmalloc_dir)/src/packed-cache-inl.h',
137 '<(tcmalloc_dir)/src/stacktrace_generic-inl.h',
138 '<(tcmalloc_dir)/src/stacktrace_libunwind-inl.h',
139 '<(tcmalloc_dir)/src/stacktrace_powerpc-inl.h',
140 '<(tcmalloc_dir)/src/stacktrace_win32-inl.h',
[all …]
/external/openssl/crypto/pem/
Dpem_seal.c122 unsigned char *in, int inl) in PEM_SealUpdate() argument
128 EVP_SignUpdate(&ctx->md,in,inl); in PEM_SealUpdate()
131 if (inl <= 0) break; in PEM_SealUpdate()
132 if (inl > 1200) in PEM_SealUpdate()
135 i=inl; in PEM_SealUpdate()
141 inl-=i; in PEM_SealUpdate()
/external/grub/netboot/
Dnatsemi.c297 u32 chip_config = inl(ioaddr + ChipConfig); in natsemi_probe()
306 nic_name, (int)inl(ioaddr + 0x84), advertising); in natsemi_probe()
314 SavedClkRun = inl(ioaddr + ClkRun); in natsemi_probe()
335 #define eeprom_delay(ee_addr) inl(ee_addr)
374 retval |= (inl(ee_addr) & EE_DataOut) ? 1 << i : 0; in eeprom_read()
393 return inl(ioaddr + 0x80 + (location<<2)) & 0xffff; in mdio_read()
429 if (inl(ioaddr + ChipConfig) & 0x20000000) { /* Full duplex */ in natsemi_init()
464 if (inl(ioaddr + SiliconRev) == 0x302) { in natsemi_reset()
517 inl(ioaddr + TxRingPtr)); in natsemi_init_txd()
551 inl(ioaddr + RxRingPtr)); in natsemi_init_rxd()
[all …]
Dtulip.c349 #define eeprom_delay() inl(ee_addr)
551 #define mdio_delay() inl(mdio_addr)
582 inl(ioaddr + 0xA0); in mdio_read()
583 inl(ioaddr + 0xA0); in mdio_read()
585 if ( ! ((retval = inl(ioaddr + 0xA0)) & 0x80000000)) in mdio_read()
593 return inl(ioaddr + 0xB4 + (location<<2)); in mdio_read()
595 return inl(ioaddr + 0xD0); in mdio_read()
597 return inl(ioaddr + 0xD4 + ((location-29)<<2)); in mdio_read()
622 retval = (retval << 1) | ((inl(mdio_addr) & MDIO_DATA_READ) ? 1 : 0); in mdio_read()
643 if ( ! (inl(ioaddr + 0xA0) & 0x80000000)) in mdio_write()
[all …]
Ddavicom.c99 #define eeprom_delay() inl(ee_addr)
330 phy_data=(inl(ee_addr)>>19) & 0x1; in phy_read_1bit()
427 retval = (retval << 1) | ((inl(ee_addr) & EE_DATA_READ) ? 1 : 0); in read_eeprom()
496 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6); in davicom_reset()
523 outl(inl(ioaddr + CSR6) | 0x00002000, ioaddr + CSR6); in davicom_reset()
544 outl(inl(ioaddr + CSR6) | 0x00000002, ioaddr + CSR6); in davicom_reset()
638 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6); in davicom_disable()
641 (volatile unsigned long)inl(ioaddr + CSR8); in davicom_disable()
666 outl(inl(ioaddr + CSR6) & ~0x00002002, ioaddr + CSR6); in davicom_probe()
669 (volatile unsigned long)inl(ioaddr + CSR8); in davicom_probe()
/external/v8/tools/gyp/
Dv8.gyp263 '../../src/char-predicates-inl.h',
267 '../../src/circular-queue-inl.h',
281 '../../src/conversions-inl.h',
287 '../../src/cpu-profiler-inl.h',
296 '../../src/dateparser-inl.h',
324 '../../src/frames-inl.h',
334 '../../src/handles-inl.h',
338 '../../src/heap-inl.h',
347 '../../src/ic-inl.h',
364 '../../src/list-inl.h',
[all …]
/external/qemu/memcheck/
Dmemcheck.c125 const Elf_InlineInfo* inl = elff_info.inline_stack; in av_access_violation() local
127 for (; inl[index].routine_name != NULL; index++) { in av_access_violation()
136 if (inl[index].inlined_in_file == NULL) { in av_access_violation()
138 inl[index].routine_name); in av_access_violation()
141 inl[index].routine_name, in av_access_violation()
142 inl[index].inlined_in_file_dir, in av_access_violation()
143 inl[index].inlined_in_file, in av_access_violation()
144 inl[index].inlined_at_line); in av_access_violation()
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/
DSDL_ipodvideo.c498 #define inl(addr) (*(volatile unsigned long *)(addr)) macro
506 return inl(lcd_rtc); in M_timer_get_current()
513 clock = inl(lcd_rtc); in M_timer_check()
525 if ( (inl(lcd_base) & 0x8000) != 0 ) { in M_lcd_wait_write()
529 if ( (inl(lcd_base) & (unsigned int)0x8000) == 0 ) in M_lcd_wait_write()
610 return inl(0x60005010); in C_timer_get_current()
617 clock = inl(0x60005010); in C_timer_check()
629 if ((inl(0x70008A0C) & 0x80000000) != 0) { in C_lcd_wait_write()
633 if ((inl(0x70008A0C) & 0x80000000) == 0) in C_lcd_wait_write()
692 while ((inl(0x70008A20) & 0x1000000) == 0); in C_update_display()
[all …]
/external/openssl/crypto/pkcs7/
Dbio_ber.c273 static int ber_write(BIO *b, char *in, int inl) in ber_write() argument
279 ret=inl; in ber_write()
296 if ((in == NULL) || (inl <= 0)) return(0); in ber_write()
299 while (inl > 0) in ber_write()
301 n=(inl > ENC_BLOCK_SIZE)?ENC_BLOCK_SIZE:inl; in ber_write()
305 inl-=n; in ber_write()

123456