/third_party/openssl/crypto/evp/ |
D | evp_enc.c | 210 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 …]
|
D | encode.c | 162 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 …]
|
D | bio_enc.c | 106 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 …]
|
D | bio_b64.c | 110 static int b64_read(BIO *b, char *out, int outl) in b64_read() argument 139 if (i > outl) in b64_read() 140 i = outl; in b64_read() 145 outl -= i; in b64_read() 159 while (outl > 0) { in b64_read() 308 if (ctx->buf_len <= outl) in b64_read() 311 i = outl; in b64_read() 320 outl -= i; in b64_read()
|
D | p_seal.c | 58 int EVP_SealFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) in EVP_SealFinal() argument 61 i = EVP_EncryptFinal_ex(ctx, out, outl); in EVP_SealFinal()
|
D | p_open.c | 64 int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 68 i = EVP_DecryptFinal_ex(ctx, out, outl);
|
D | bio_ok.c | 171 static int ok_read(BIO *b, char *out, int outl) in ok_read() argument 186 while (outl > 0) { in ok_read() 191 if (i > outl) in ok_read() 192 i = outl; in ok_read() 196 outl -= i; in ok_read() 218 if (outl == 0) in ok_read()
|
/third_party/openssl/crypto/asn1/ |
D | a_sign.c | 32 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/ |
D | jcsample-altivec.c | 41 __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/libjpeg-turbo/simd/powerpc/ |
D | jcsample-altivec.c | 41 __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/openssl/crypto/srp/ |
D | srp_vfy.c | 44 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/openssl/apps/ |
D | bf_prefix.c | 16 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/libwebsockets/lib/tls/openssl/ |
D | lws-genaes.c | 267 int outl = sizeof(buf), n = 0; in lws_genaes_destroy() local 276 if (EVP_EncryptFinal_ex(ctx->ctx, buf, &outl) != 1) { in lws_genaes_destroy() 291 memcpy(tag, buf, (unsigned int)outl); in lws_genaes_destroy() 296 if (EVP_DecryptFinal_ex(ctx->ctx, buf, &outl) != 1) { in lws_genaes_destroy() 304 if (outl) in lws_genaes_destroy() 305 lwsl_debug("%s: final len %d\n", __func__, outl); in lws_genaes_destroy() 321 int n = 0, outl, olen; in lws_genaes_crypt() local 393 n = EVP_EncryptUpdate(ctx->ctx, out, &outl, in, (int)len); in lws_genaes_crypt() 396 n = EVP_DecryptUpdate(ctx->ctx, out, &outl, in, (int)len); in lws_genaes_crypt()
|
/third_party/openssl/crypto/bio/ |
D | bf_buff.c | 89 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()
|
D | bf_nbio.c | 82 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()
|
D | bss_mem.c | 194 static int mem_read(BIO *b, char *out, int outl) in mem_read() argument 203 ret = (outl >= 0 && (size_t)outl > bm->length) ? (int)bm->length : outl; in mem_read()
|
/third_party/openssl/test/ |
D | ssltestlib.c | 56 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/openssl/test/ossl_shim/ |
D | packeted_bio.cc | 111 static int PacketedRead(BIO *bio, char *out, int outl) { in PacketedRead() argument 204 if (outl > (int)len) { in PacketedRead() 205 outl = len; in PacketedRead() 207 memcpy(out, buf, outl); in PacketedRead() 209 return outl; in PacketedRead()
|
D | async_bio.cc | 62 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()
|
/third_party/openssl/crypto/cms/ |
D | cms_pwri.c | 182 int outl, rv = 0; in kek_unwrap_key() local 196 if (!EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl, in kek_unwrap_key() 203 || !EVP_DecryptUpdate(ctx, tmp, &outl, in kek_unwrap_key() 206 || !EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen) in kek_unwrap_key() 211 || !EVP_DecryptUpdate(ctx, tmp, &outl, tmp, inlen)) in kek_unwrap_key()
|
/third_party/openssl/crypto/pem/ |
D | pem_lib.c | 605 int nlen, n, i, j, outl; in PEM_write_bio() local 639 if (!EVP_EncodeUpdate(ctx, buf, &outl, &(data[j]), n)) in PEM_write_bio() 641 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio() 643 i += outl; in PEM_write_bio() 647 EVP_EncodeFinal(ctx, buf, &outl); in PEM_write_bio() 648 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio() 654 retval = i + outl; in PEM_write_bio()
|
/third_party/lz4/programs/ |
D | lz4cli.c | 699 size_t outl; local 704 outl = inl; 706 …while ((outl >= inl-4) && (input_filename[outl] == extension[outl-inl+4])) dynNameSpace[outl--]=0; 707 …if (outl != inl-5) { DISPLAYLEVEL(1, "Cannot determine an output filename\n"); badusage(exeName); }
|
/third_party/openssl/doc/man3/ |
D | EVP_EncodeInit.pod | 19 int EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, 21 void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); 25 int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, 27 int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); 58 is stored in B<*outl>. It is the caller's responsibility to ensure that the 69 EVP_EncodeUpdate() will set B<*outl> to 0 and return 0. On success 1 will be 75 in B<*outl>. It is the caller's responsibility to ensure that B<out> is 98 output is stored in B<*outl>. It is the caller's responsibility to ensure that
|
/third_party/ffmpeg/libavfilter/ |
D | bbox.c | 39 goto outl; \ 40 outl: \
|
/third_party/openssl/crypto/comp/ |
D | c_zlib.c | 291 static int bio_zlib_read(BIO *b, char *out, int outl); 369 static int bio_zlib_read(BIO *b, char *out, int outl) in bio_zlib_read() argument 376 if (!out || !outl) in bio_zlib_read() 394 zin->avail_out = (unsigned int)outl; in bio_zlib_read() 406 return outl - zin->avail_out; in bio_zlib_read() 416 int tot = outl - zin->avail_out; in bio_zlib_read()
|