Home
last modified time | relevance | path

Searched refs:max_out_len (Results 1 – 12 of 12) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/cipher/
Daead.c116 size_t max_out_len, const uint8_t *nonce, in EVP_AEAD_CTX_seal() argument
124 if (max_out_len < in_len) { in EVP_AEAD_CTX_seal()
129 if (!check_alias(in, in_len, out, max_out_len)) { in EVP_AEAD_CTX_seal()
136 max_out_len - in_len, nonce, nonce_len, in, in EVP_AEAD_CTX_seal()
145 OPENSSL_memset(out, 0, max_out_len); in EVP_AEAD_CTX_seal()
184 size_t max_out_len, const uint8_t *nonce, in EVP_AEAD_CTX_open() argument
187 if (!check_alias(in, in_len, out, max_out_len)) { in EVP_AEAD_CTX_open()
193 if (!ctx->aead->open(ctx, out, out_len, max_out_len, nonce, nonce_len, in, in EVP_AEAD_CTX_open()
210 if (max_out_len < plaintext_len) { in EVP_AEAD_CTX_open()
224 OPENSSL_memset(out, 0, max_out_len); in EVP_AEAD_CTX_open()
Dinternal.h93 size_t max_out_len, const uint8_t *nonce, size_t nonce_len,
/external/boringssl/src/include/openssl/
Daead.h260 size_t *out_len, size_t max_out_len,
285 size_t *out_len, size_t max_out_len,
Dcurve25519.h151 size_t *out_len, size_t max_out_len,
Dssl.h2135 int (*seal)(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out_len,
2146 size_t max_out_len, const uint8_t *in,
/external/boringssl/src/crypto/curve25519/
Dspake25519.c360 size_t max_out_len, const uint8_t *password, in SPAKE2_generate_msg() argument
366 if (max_out_len < sizeof(ctx->my_msg)) { in SPAKE2_generate_msg()
/external/boringssl/src/ssl/
Dtls_record.cc513 size_t max_out_len, uint8_t type, const uint8_t *in, in tls_seal_record() argument
515 if (buffers_alias(in, in_len, out, max_out_len)) { in tls_seal_record()
530 if (max_out_len < in_len + prefix_len + suffix_len) { in tls_seal_record()
Dssl_aead_ctx.cc399 bool SSLAEADContext::Seal(uint8_t *out, size_t *out_len, size_t max_out_len, in Seal() argument
414 if (in_len + prefix_len + suffix_len > max_out_len) { in Seal()
Dssl_test.cc3364 size_t max_out_len, const uint8_t *in, in ssl_test_ticket_aead_seal() argument
3370 max_out_len < in_len + 1) { in ssl_test_ticket_aead_seal()
3382 SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out_len, in ssl_test_ticket_aead_open() argument
3410 if (max_out_len < in_len - 1) { in ssl_test_ticket_aead_open()
/external/boringssl/src/crypto/cipher_extra/
De_tls.c243 size_t max_out_len, const uint8_t *nonce, in aead_tls_open() argument
259 if (max_out_len < in_len) { in aead_tls_open()
De_aesgcmsiv.c412 size_t *out_len, size_t max_out_len, in aead_aes_gcm_siv_asm_open() argument
433 if (max_out_len < plaintext_len) { in aead_aes_gcm_siv_asm_open()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3492 size_t max_out_len, const uint8_t* nonce, size_t nonce_len,