Home
last modified time | relevance | path

Searched refs:max_out (Results 1 – 25 of 31) sorted by relevance

12

/external/boringssl/src/ssl/
Dtls_record.c174 size_t *out_consumed, uint8_t *out_alert, size_t max_out, const uint8_t *in, in tls_open_record() argument
218 if (!SSL_AEAD_CTX_open(ssl->aead_read_ctx, out, &plaintext_len, max_out, in tls_open_record()
258 size_t max_out, uint8_t type, const uint8_t *in, in do_seal_record() argument
260 if (max_out < SSL3_RT_HEADER_LENGTH) { in do_seal_record()
284 &ciphertext_len, max_out - SSL3_RT_HEADER_LENGTH, in do_seal_record()
308 int tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in tls_seal_record() argument
320 size_t frag_max_out = max_out; in tls_seal_record()
330 max_out -= frag_len; in tls_seal_record()
337 if (!do_seal_record(ssl, out, out_len, max_out, type, in, in_len)) { in tls_seal_record()
Dssl_rsa.c363 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, const EVP_MD *md, in ssl_private_key_sign() argument
366 return ssl->cert->key_method->sign(ssl, out, out_len, max_out, md, in, in ssl_private_key_sign()
376 size_t len = max_out; in ssl_private_key_sign()
391 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out) { in ssl_private_key_sign_complete() argument
393 return ssl->cert->key_method->sign_complete(ssl, out, out_len, max_out); in ssl_private_key_sign_complete()
397 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in ssl_private_key_decrypt() argument
400 return ssl->cert->key_method->decrypt(ssl, out, out_len, max_out, in, in ssl_private_key_decrypt()
413 if (!RSA_decrypt(rsa, out_len, out, max_out, in, in_len, RSA_NO_PADDING)) { in ssl_private_key_decrypt()
420 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out) { in ssl_private_key_decrypt_complete() argument
422 return ssl->cert->key_method->decrypt_complete(ssl, out, out_len, max_out); in ssl_private_key_decrypt_complete()
Dssl_aead_ctx.c149 size_t max_out, uint8_t type, uint16_t wire_version, in SSL_AEAD_CTX_open() argument
154 if (in_len > max_out) { in SSL_AEAD_CTX_open()
217 return EVP_AEAD_CTX_open(&aead->ctx, out, out_len, max_out, nonce, nonce_len, in SSL_AEAD_CTX_open()
222 size_t max_out, uint8_t type, uint16_t wire_version, in SSL_AEAD_CTX_seal() argument
227 if (in_len > max_out) { in SSL_AEAD_CTX_seal()
271 if (max_out < aead->variable_nonce_len) { in SSL_AEAD_CTX_seal()
282 max_out -= aead->variable_nonce_len; in SSL_AEAD_CTX_seal()
294 if (!EVP_AEAD_CTX_seal(&aead->ctx, out, out_len, max_out, nonce, nonce_len, in SSL_AEAD_CTX_seal()
Ddtls_record.c176 size_t *out_consumed, uint8_t *out_alert, size_t max_out, const uint8_t *in, in dtls_open_record() argument
216 if (!SSL_AEAD_CTX_open(ssl->aead_read_ctx, out, &plaintext_len, max_out, in dtls_open_record()
248 int dtls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in dtls_seal_record() argument
264 if (max_out < DTLS1_RT_HEADER_LENGTH) { in dtls_seal_record()
287 max_out - DTLS1_RT_HEADER_LENGTH, type, wire_version, in dtls_seal_record()
Dd1_pkt.c151 size_t max_out = ssl_read_buffer_len(ssl) - ssl_record_prefix_len(ssl); in dtls1_get_record() local
154 switch (dtls_open_record(ssl, &type, out, &len, &consumed, &alert, max_out, in dtls1_get_record()
521 size_t max_out = len + ssl_max_seal_overhead(ssl); in do_dtls1_write() local
524 if (!ssl_write_buffer_init(ssl, &out, max_out) || in do_dtls1_write()
525 !dtls_seal_record(ssl, out, &ciphertext_len, max_out, type, buf, len, in do_dtls1_write()
Ds3_pkt.c145 size_t max_out = ssl_read_buffer_len(ssl) - ssl_record_prefix_len(ssl); in ssl3_get_record() local
148 switch (tls_open_record(ssl, &type, out, &len, &consumed, &alert, max_out, in ssl3_get_record()
293 size_t max_out = len + ssl_max_seal_overhead(ssl); in do_ssl3_write() local
294 if (max_out < len) { in do_ssl3_write()
300 if (!ssl_write_buffer_init(ssl, &out, max_out) || in do_ssl3_write()
301 !tls_seal_record(ssl, out, &ciphertext_len, max_out, type, buf, len)) { in do_ssl3_write()
Dinternal.h318 size_t max_out, uint8_t type, uint16_t wire_version,
328 size_t max_out, uint8_t type, uint16_t wire_version,
385 size_t *out_consumed, uint8_t *out_alert, size_t max_out, const uint8_t *in,
392 size_t *out_consumed, uint8_t *out_alert, size_t max_out, const uint8_t *in,
421 int tls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out,
431 int dtls_seal_record(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out,
451 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, const EVP_MD *md,
455 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out);
458 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out,
462 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out);
Ds3_lib.c353 size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_tls_channel_id() argument
357 memcpy(out, ssl->s3->tlsext_channel_id, (max_out < 64) ? max_out : 64); in SSL_get_tls_channel_id()
Dt1_enc.c470 size_t max_out) { in append_digest() argument
475 if (EVP_MD_CTX_size(ctx) > max_out) { in append_digest()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_render_t.c158 unsigned max_out; in get_max_vertices() local
163 max_out = MAX_OUT_I32; in get_max_vertices()
167 max_out = MAX_OUT_I16; in get_max_vertices()
171 max_out = MAX_OUT_I16; in get_max_vertices()
176 max_out = 0; in get_max_vertices()
180 max_out = MAX_OUT_L; in get_max_vertices()
183 return MAX2(0, n - 7) * max_out * MAX_PACKET / (1 + MAX_PACKET); in get_max_vertices()
/external/icu/icu4c/source/test/intltest/
Dpunyref.c133 punycode_uint n, delta, h, b, out, max_out, bias, j, m, q, k, t; in punycode_encode() local
139 max_out = *output_length; in punycode_encode()
146 if (max_out - out < 2) return punycode_big_output; in punycode_encode()
191 if (out >= max_out) return punycode_big_output; in punycode_encode()
222 punycode_uint n, out, i, max_out, bias, in punycode_decode() local
229 max_out = *output_length; in punycode_decode()
237 if (b > max_out) return punycode_big_output; in punycode_decode()
284 if (out >= max_out) return punycode_big_output; in punycode_decode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DPunycodeReference.java140 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
146 max_out = output_length[0]; in encode()
153 if (max_out - out < 2) return punycode_big_output; in encode()
198 if (out >= max_out) return punycode_big_output; in encode()
300 int n, out, i, max_out, bias, in decode() local
307 max_out = output_length[0]; in decode()
319 if (b > max_out) return punycode_big_output; in decode()
366 if (out >= max_out) return punycode_big_output; in decode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DPunycodeReference.java141 int delta, h, b, out, max_out, bias, j, q, k, t; in encode() local
147 max_out = output_length[0]; in encode()
154 if (max_out - out < 2) return punycode_big_output; in encode()
199 if (out >= max_out) return punycode_big_output; in encode()
301 int n, out, i, max_out, bias, in decode() local
308 max_out = output_length[0]; in decode()
320 if (b > max_out) return punycode_big_output; in decode()
367 if (out >= max_out) return punycode_big_output; in decode()
/external/boringssl/src/include/openssl/
Drsa.h130 size_t max_out, const uint8_t *in, size_t in_len,
149 size_t max_out, const uint8_t *in, size_t in_len,
204 size_t max_out, const uint8_t *in,
232 size_t max_out, const uint8_t *in,
499 int (*encrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
501 int (*sign_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
504 int (*decrypt)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
506 int (*verify_raw)(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
Dbase64.h100 size_t max_out, const uint8_t *in,
/external/boringssl/src/crypto/rsa/
Dinternal.h73 int rsa_default_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
76 size_t max_out, const uint8_t *in, size_t in_len,
78 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out,
81 size_t max_out, const uint8_t *in, size_t in_len,
Drsa.c189 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() argument
192 return rsa->meth->encrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_encrypt()
195 return rsa_default_encrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_encrypt()
213 int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_sign_raw() argument
216 return rsa->meth->sign_raw(rsa, out_len, out, max_out, in, in_len, padding); in RSA_sign_raw()
219 return rsa_default_sign_raw(rsa, out_len, out, max_out, in, in_len, padding); in RSA_sign_raw()
237 int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_decrypt() argument
240 return rsa->meth->decrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_decrypt()
243 return rsa_default_decrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_decrypt()
261 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_verify_raw() argument
[all …]
Drsa_impl.c80 int rsa_default_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in rsa_default_encrypt() argument
93 if (max_out < rsa_size) { in rsa_default_encrypt()
296 size_t max_out, const uint8_t *in, size_t in_len, in rsa_default_sign_raw() argument
302 if (max_out < rsa_size) { in rsa_default_sign_raw()
345 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in rsa_default_decrypt() argument
352 if (max_out < rsa_size) { in rsa_default_decrypt()
411 size_t max_out, const uint8_t *in, size_t in_len, in rsa_default_verify_raw() argument
430 if (max_out < rsa_size) { in rsa_default_verify_raw()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_program.c117 prog->max_out = n; in nv50_vertprog_assign_slots()
219 prog->max_out = MAX2(prog->max_out, prog->out[i].hw + 4); in nv50_fragprog_assign_slots()
223 info->out[info->io.sampleMask].slot[0] = prog->max_out++; in nv50_fragprog_assign_slots()
226 info->out[info->io.fragDepth].slot[2] = prog->max_out++; in nv50_fragprog_assign_slots()
228 if (!prog->max_out) in nv50_fragprog_assign_slots()
229 prog->max_out = 4; in nv50_fragprog_assign_slots()
Dnv50_program.h67 ubyte max_out; /* REG_ALLOC_RESULT or FP_RESULT_COUNT */ member
Dnv50_shader_state.c160 PUSH_DATA (push, vp->max_out); in nv50_vertprog_validate()
180 PUSH_DATA (push, fp->max_out); in nv50_fragprog_validate()
199 PUSH_DATA (push, gp->max_out); in nv50_gmtyprog_validate()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc159 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in AsyncPrivateKeySign() argument
193 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out) { in AsyncPrivateKeySignComplete() argument
207 if (max_out < test_state->private_key_result.size()) { in AsyncPrivateKeySignComplete()
221 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out, in AsyncPrivateKeyDecrypt() argument
250 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out) { in AsyncPrivateKeyDecryptComplete() argument
265 if (max_out < test_state->private_key_result.size()) { in AsyncPrivateKeyDecryptComplete()
897 static int DoRead(SSL *ssl, uint8_t *out, size_t max_out) { in DoRead() argument
908 ret = SSL_read(ssl, out, max_out); in DoRead()
/external/libopus/tests/
Dtest_opus_api.c1436 #define max_out (1276*48+48*2+2) macro
1447 packet=malloc(max_out); in test_repacketizer_api()
1449 memset(packet,0,max_out); in test_repacketizer_api()
1450 po=malloc(max_out+256); in test_repacketizer_api()
1541 ret=opus_repacketizer_out_range(rp,0,rcnt*i,po,max_out); in test_repacketizer_api()
1593 i=opus_repacketizer_out(rp,po,max_out); in test_repacketizer_api()
1596 i=opus_repacketizer_out_range(rp,0,1,po,max_out); in test_repacketizer_api()
1599 i=opus_repacketizer_out_range(rp,1,2,po,max_out); in test_repacketizer_api()
1611 i=opus_repacketizer_out(rp,po,max_out); in test_repacketizer_api()
1623 i=opus_repacketizer_out(rp,po,max_out); in test_repacketizer_api()
[all …]
/external/boringssl/src/crypto/base64/
Dbase64.c217 int EVP_DecodeBase64(uint8_t *out, size_t *out_len, size_t max_out, in EVP_DecodeBase64() argument
223 if (!EVP_DecodedLength(&max_len, in_len) || max_out < max_len) { in EVP_DecodeBase64()
/external/v8/src/regexp/
Dregexp-parser.h152 bool ParseIntervalQuantifier(int* min_out, int* max_out);

12