Home
last modified time | relevance | path

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

1234

/openssl/crypto/asn1/
H A Da_sign.c33 int i, inl = 0, outl = 0; in ASN1_sign() local
84 outl = 0; in ASN1_sign()
94 outl = 0; in ASN1_sign()
109 return outl; in ASN1_sign()
213 outl = signature->length; in ASN1_item_sign_ctx()
258 outl = 0; in ASN1_item_sign_ctx()
264 outl = 0; in ASN1_item_sign_ctx()
268 outl = outll; in ASN1_item_sign_ctx()
271 outl = 0; in ASN1_item_sign_ctx()
276 outl = 0; in ASN1_item_sign_ctx()
[all …]
/openssl/crypto/evp/
H A Devp_enc.c594 *outl = 0; in evp_EncryptDecryptUpdate()
642 *outl = 0; in evp_EncryptDecryptUpdate()
666 *outl = 0; in EVP_EncryptUpdate()
728 *outl = 0; in EVP_EncryptFinal_ex()
782 *outl = 0; in EVP_EncryptFinal_ex()
791 *outl = 0; in EVP_EncryptFinal_ex()
801 *outl = b; in EVP_EncryptFinal_ex()
815 *outl = 0; in EVP_DecryptUpdate()
878 *outl = 0; in EVP_DecryptUpdate()
949 *outl = 0; in EVP_DecryptFinal_ex()
[all …]
H A 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 …]
H A Dbio_enc.c104 static int enc_read(BIO *b, char *out, int outl) in enc_read() argument
121 if (i > outl) in enc_read()
122 i = outl; in enc_read()
126 outl -= i; in enc_read()
147 while (outl > 0) { in enc_read()
173 if (outl > ENC_MIN_CHUNK) { in enc_read()
179 int j = outl - blocksize, buf_len; in enc_read()
189 outl -= buf_len; in enc_read()
218 if (ctx->buf_len <= outl) in enc_read()
221 i = outl; in enc_read()
[all …]
H A Dmac_lib.c127 unsigned char *out, size_t *outl, size_t outsize) in evp_mac_final() argument
145 if (outl == NULL) { in evp_mac_final()
149 *outl = macsize; in evp_mac_final()
166 if (outl != NULL) in evp_mac_final()
167 *outl = l; in evp_mac_final()
172 unsigned char *out, size_t *outl, size_t outsize) in EVP_MAC_final() argument
174 return evp_mac_final(ctx, 0, out, outl, outsize); in EVP_MAC_final()
H A Dbio_b64.c114 static int b64_read(BIO *b, char *out, int outl) in b64_read() argument
143 if (i > outl) in b64_read()
144 i = outl; in b64_read()
149 outl -= i; in b64_read()
164 while (outl > 0) { in b64_read()
297 if (ctx->buf_len <= outl) in b64_read()
300 i = outl; in b64_read()
309 outl -= i; in b64_read()
/openssl/providers/implementations/ciphers/
H A Dciphercommon.c326 *outl = inl; in ossl_cipher_generic_block_update()
390 *outl = outlint; in ossl_cipher_generic_block_update()
418 *outl = 0; in ossl_cipher_generic_block_final()
434 *outl = blksz; in ossl_cipher_generic_block_final()
441 *outl = 0; in ossl_cipher_generic_block_final()
463 *outl = ctx->bufsz; in ossl_cipher_generic_block_final()
480 *outl = 0; in ossl_cipher_generic_stream_update()
494 *outl = inl; in ossl_cipher_generic_stream_update()
516 *outl -= ctx->removetlsfixed; in ossl_cipher_generic_stream_update()
543 *outl = 0; in ossl_cipher_generic_stream_final()
[all …]
H A Dcipher_tdes_wrap.c127 unsigned char *out, size_t *outl, size_t outsize, in tdes_wrap_cipher() argument
133 *outl = 0; in tdes_wrap_cipher()
146 *outl = ret; in tdes_wrap_cipher()
150 static int tdes_wrap_update(void *vctx, unsigned char *out, size_t *outl, in tdes_wrap_update() argument
154 *outl = 0; in tdes_wrap_update()
162 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) { in tdes_wrap_update()
H A Dcipher_aes_siv.c113 static int siv_cipher(void *vctx, unsigned char *out, size_t *outl, in siv_cipher() argument
124 if (outl != NULL) in siv_cipher()
125 *outl = 0; in siv_cipher()
138 if (outl != NULL) in siv_cipher()
139 *outl = inl; in siv_cipher()
143 static int siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in siv_stream_final() argument
154 if (outl != NULL) in siv_stream_final()
155 *outl = 0; in siv_stream_final()
H A Dcipher_aes_xts.c176 static int aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_xts_cipher() argument
183 return s390x_aes_xts_cipher(vctx, out, outl, outsize, in, inl); in aes_xts_cipher()
212 *outl = inl; in aes_xts_cipher()
216 static int aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_update() argument
227 if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) { in aes_xts_stream_update()
235 static int aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_final() argument
240 *outl = 0; in aes_xts_stream_final()
H A Dcipher_aes_gcm_siv.c138 static int ossl_aes_gcm_siv_cipher(void *vctx, unsigned char *out, size_t *outl, in ossl_aes_gcm_siv_cipher() argument
149 if (outl != NULL) in ossl_aes_gcm_siv_cipher()
150 *outl = 0; in ossl_aes_gcm_siv_cipher()
161 if (outl != NULL && !error) in ossl_aes_gcm_siv_cipher()
162 *outl = inl; in ossl_aes_gcm_siv_cipher()
166 static int ossl_aes_gcm_siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_aes_gcm_siv_stream_final() argument
177 if (outl != NULL && !error) in ossl_aes_gcm_siv_stream_final()
178 *outl = 0; in ossl_aes_gcm_siv_stream_final()
H A Dcipher_sm4_xts.c121 static int sm4_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in sm4_xts_cipher() argument
160 *outl = inl; in sm4_xts_cipher()
164 static int sm4_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in sm4_xts_stream_update() argument
175 if (!sm4_xts_cipher(ctx, out, outl, outsize, in, inl)) { in sm4_xts_stream_update()
183 static int sm4_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in sm4_xts_stream_final() argument
188 *outl = 0; in sm4_xts_stream_final()
H A Dcipher_null.c65 static int null_cipher(void *vctx, unsigned char *out, size_t *outl, in null_cipher() argument
87 *outl = inl; in null_cipher()
92 static int null_final(void *vctx, unsigned char *out, size_t *outl, in null_final() argument
98 *outl = 0; in null_final()
H A Dciphercommon_ccm.c269 int ossl_ccm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_update() argument
280 if (!ccm_cipher_internal(ctx, out, outl, in, inl)) { in ossl_ccm_stream_update()
287 int ossl_ccm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_final() argument
296 i = ccm_cipher_internal(ctx, out, outl, NULL, 0); in ossl_ccm_stream_final()
300 *outl = 0; in ossl_ccm_stream_final()
304 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher() argument
317 if (ccm_cipher_internal(ctx, out, outl, in, inl) <= 0) in ossl_ccm_cipher()
320 *outl = inl; in ossl_ccm_cipher()
H A Dciphercommon_gcm.c330 int ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_update() argument
336 *outl = 0; in ossl_gcm_stream_update()
345 if (gcm_cipher_internal(ctx, out, outl, in, inl) <= 0) { in ossl_gcm_stream_update()
352 int ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_final() argument
361 i = gcm_cipher_internal(ctx, out, outl, NULL, 0); in ossl_gcm_stream_final()
365 *outl = 0; in ossl_gcm_stream_final()
370 unsigned char *out, size_t *outl, size_t outsize, in ossl_gcm_cipher() argument
383 if (gcm_cipher_internal(ctx, out, outl, in, inl) <= 0) in ossl_gcm_cipher()
386 *outl = inl; in ossl_gcm_cipher()
H A Dcipher_aes_ocb.c161 unsigned char *out, size_t *outl, in aes_ocb_block_update_internal() argument
206 *outl = outlint; in aes_ocb_block_update_internal()
231 static int aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_update() argument
244 *outl = 0; in aes_ocb_block_update()
258 return aes_ocb_block_update_internal(ctx, buf, buflen, out, outl, outsize, in aes_ocb_block_update()
262 static int aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_final() argument
278 *outl = 0; in aes_ocb_block_final()
282 *outl = ctx->data_buf_len; in aes_ocb_block_final()
506 static int aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_cipher() argument
524 *outl = inl; in aes_ocb_cipher()
H A Dcipher_chacha20_poly1305.c286 size_t *outl, size_t outsize, in chacha20_poly1305_cipher() argument
297 *outl = 0; in chacha20_poly1305_cipher()
306 if (!hw->aead_cipher(ctx, out, outl, in, inl)) in chacha20_poly1305_cipher()
312 static int chacha20_poly1305_final(void *vctx, unsigned char *out, size_t *outl, in chacha20_poly1305_final() argument
322 if (hw->aead_cipher(ctx, out, outl, NULL, 0) <= 0) in chacha20_poly1305_final()
325 *outl = 0; in chacha20_poly1305_final()
H A Dcipher_cts.c327 int ossl_cipher_cbc_cts_block_update(void *vctx, unsigned char *out, size_t *outl, in ossl_cipher_cbc_cts_block_update() argument
339 *outl = inl; in ossl_cipher_cbc_cts_block_update()
368 *outl = sz; in ossl_cipher_cbc_cts_block_update()
372 int ossl_cipher_cbc_cts_block_final(void *vctx, unsigned char *out, size_t *outl, in ossl_cipher_cbc_cts_block_final() argument
375 *outl = 0; in ossl_cipher_cbc_cts_block_final()
/openssl/crypto/bio/
H A Dbf_prefix.c15 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
99 if (outl > 0) in prefix_write()
100 ctx->linestart = (out[outl-1] == '\n'); in prefix_write()
101 return BIO_write_ex(BIO_next(b), out, outl, numwritten); in prefix_write()
106 while (outl > 0) { in prefix_write()
126 for (i = 0, c = '\0'; i < outl && (c = out[i]) != '\n'; i++) in prefix_write()
138 outl -= num; in prefix_write()
H A Dbf_readbuff.c106 static int readbuffer_read(BIO *b, char *out, int outl) in readbuffer_read() argument
111 if (out == NULL || outl == 0) in readbuffer_read()
123 if (i > outl) in readbuffer_read()
124 i = outl; in readbuffer_read()
130 if (outl == i) in readbuffer_read()
132 outl -= i; in readbuffer_read()
137 if (!readbuffer_resize(ctx, outl)) in readbuffer_read()
141 i = BIO_read(b->next_bio, ctx->ibuf + ctx->ibuf_off, outl); in readbuffer_read()
H A Dbf_buff.c87 static int buffer_read(BIO *b, char *out, int outl) in buffer_read() argument
105 if (i > outl) in buffer_read()
106 i = outl; in buffer_read()
111 if (outl == i) in buffer_read()
113 outl -= i; in buffer_read()
123 if (outl > ctx->ibuf_size) { in buffer_read()
125 i = BIO_read(b->next_bio, out, outl); in buffer_read()
134 if (outl == i) in buffer_read()
137 outl -= i; in buffer_read()
H A Dbf_nbio.c78 static int nbiof_read(BIO *b, char *out, int outl) in nbiof_read() argument
94 if (outl > num) in nbiof_read()
95 outl = num; in nbiof_read()
101 ret = BIO_read(b->next_bio, out, outl); in nbiof_read()
/openssl/crypto/srp/
H A Dsrp_vfy.c47 int outl = 0, outl2 = 0; in t_fromb64() local
76 outl = -1; in t_fromb64()
88 outl = -1; in t_fromb64()
92 outl = -1; in t_fromb64()
95 outl += outl2; in t_fromb64()
97 outl += outl2; in t_fromb64()
102 outl = -1; in t_fromb64()
120 outl -= padsize; in t_fromb64()
126 return outl; in t_fromb64()
165 outl += outl2; in t_tob64()
[all …]
/openssl/ssl/quic/
H A Dquic_srt_gen.c67 size_t outl = 0; in ossl_quic_srt_gen_calculate_token() local
77 if (!EVP_MAC_final(srt_gen->mac_ctx, mac, &outl, sizeof(mac)) in ossl_quic_srt_gen_calculate_token()
78 || outl != sizeof(mac)) in ossl_quic_srt_gen_calculate_token()
/openssl/providers/implementations/digests/
H A Dnull_prov.c40 static int name##_internal_final(void *ctx, unsigned char *out, size_t *outl, \
44 *outl = dgstsize; \

Completed in 104 milliseconds

1234