Home
last modified time | relevance | path

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

123

/external/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()
/external/rust/crates/quiche/deps/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()
/external/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()
/external/rust/crates/quiche/deps/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()
/external/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()
/external/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()
/external/rust/crates/quiche/deps/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()
/external/rust/crates/quiche/deps/boringssl/src/decrepit/bio/
Dbase64_bio.c120 static int b64_read(BIO *b, char *out, int outl) { in b64_read() argument
148 if (i > outl) { in b64_read()
149 i = outl; in b64_read()
155 outl -= i; in b64_read()
167 while (outl > 0) { in b64_read()
299 if (ctx->buf_len <= outl) { in b64_read()
302 i = outl; in b64_read()
312 outl -= i; in b64_read()
/external/boringssl/src/decrepit/bio/
Dbase64_bio.c120 static int b64_read(BIO *b, char *out, int outl) { in b64_read() argument
148 if (i > outl) { in b64_read()
149 i = outl; in b64_read()
155 outl -= i; in b64_read()
167 while (outl > 0) { in b64_read()
299 if (ctx->buf_len <= outl) { in b64_read()
302 i = outl; in b64_read()
312 outl -= i; in b64_read()
/external/boringssl/src/crypto/pem/
Dpem_lib.c528 int nlen, n, i, j, outl; in PEM_write_bio() local
556 EVP_EncodeUpdate(&ctx, buf, &outl, &(data[j]), n); in PEM_write_bio()
557 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
559 i += outl; in PEM_write_bio()
563 EVP_EncodeFinal(&ctx, buf, &outl); in PEM_write_bio()
564 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
572 return (i + outl); in PEM_write_bio()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_lib.c528 int nlen, n, i, j, outl; in PEM_write_bio() local
556 EVP_EncodeUpdate(&ctx, buf, &outl, &(data[j]), n); in PEM_write_bio()
557 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
559 i += outl; in PEM_write_bio()
563 EVP_EncodeFinal(&ctx, buf, &outl); in PEM_write_bio()
564 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
572 return (i + outl); in PEM_write_bio()
/external/boringssl/src/crypto/bio/
Dsocket.c107 static int sock_read(BIO *b, char *out, int outl) { in sock_read() argument
116 ret = recv(b->num, out, outl, 0); in sock_read()
118 ret = read(b->num, out, outl); in sock_read()
Dfd.c162 static int fd_read(BIO *b, char *out, int outl) { in fd_read() argument
165 ret = BORINGSSL_READ(b->num, out, outl); in fd_read()
Dfile.c149 static int file_read(BIO *b, char *out, int outl) { in file_read() argument
154 size_t ret = fread(out, 1, outl, (FILE *)b->ptr); in file_read()
Dbio_mem.c138 static int mem_read(BIO *bio, char *out, int outl) { in mem_read() argument
143 ret = outl; in mem_read()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/
Dsocket.c107 static int sock_read(BIO *b, char *out, int outl) { in sock_read() argument
116 ret = recv(b->num, out, outl, 0); in sock_read()
118 ret = read(b->num, out, outl); in sock_read()
Dfd.c162 static int fd_read(BIO *b, char *out, int outl) { in fd_read() argument
165 ret = BORINGSSL_READ(b->num, out, outl); in fd_read()
Dfile.c149 static int file_read(BIO *b, char *out, int outl) { in file_read() argument
154 size_t ret = fread(out, 1, outl, (FILE *)b->ptr); in file_read()
Dbio_mem.c138 static int mem_read(BIO *bio, char *out, int outl) { in mem_read() argument
143 ret = outl; in mem_read()
/external/lz4/programs/
Dlz4cli.c692 size_t outl; in main() local
697 outl = inl; in main()
699 …while ((outl >= inl-4) && (input_filename[outl] == extension[outl-inl+4])) dynNameSpace[outl--]=0; in main()
700 …if (outl != inl-5) { DISPLAYLEVEL(1, "Cannot determine an output filename\n"); badusage(exeName); } in main()
/external/llvm-project/polly/test/GPGPU/
Dphi-nodes-in-kernel.ll17 ; int outl = 0;
23 ; add78 = c[49] + outl;
28 ; outl = add78;
/external/libwebsockets/lib/secure-streams/
Dpolicy.c277 size_t inl, outl; in lws_ss_policy_parser_cb() local
418 outl = MAX_CERT_TEMP - a->count; in lws_ss_policy_parser_cb()
421 a->p + a->count, &outl, in lws_ss_policy_parser_cb()
423 a->count += outl; in lws_ss_policy_parser_cb()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c234 int outl; in rc4_skip()
250 if (!EVP_CipherUpdate(ctx, skip_buf, &outl, skip_buf, len)) in rc4_skip()
255 if (EVP_CipherUpdate(ctx, data, &outl, data, data_len)) in rc4_skip()
730 int outl; in crypto_cipher_encrypt() local
731 if (!EVP_EncryptUpdate(ctx->enc, crypt, &outl, plain, len)) in crypto_cipher_encrypt()
740 int outl; in crypto_cipher_decrypt() local
741 outl = len; in crypto_cipher_decrypt()
742 if (!EVP_DecryptUpdate(ctx->dec, plain, &outl, crypt, len)) in crypto_cipher_decrypt()

123