/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 68 const uint8_t *in, size_t in_len) { in AES_wrap_key() argument 72 if (in_len > INT_MAX - 8 || in_len < 16 || in_len % 8 != 0) { in AES_wrap_key() 80 OPENSSL_memmove(out + 8, in, in_len); in AES_wrap_key() 84 size_t n = in_len / 8; in AES_wrap_key() 101 return (int)in_len + 8; in AES_wrap_key() 108 size_t in_len) { in aes_unwrap_key_inner() argument 113 if (in_len > INT_MAX || in_len < 24 || in_len % 8 != 0) { in aes_unwrap_key_inner() 119 OPENSSL_memmove(out, in + 8, in_len - 8); in aes_unwrap_key_inner() 121 size_t n = (in_len / 8) - 1; in aes_unwrap_key_inner() 141 const uint8_t *in, size_t in_len) { in AES_unwrap_key() argument [all …]
|
/external/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 69 const uint8_t *in, size_t in_len) { in AES_wrap_key() argument 73 if (in_len > INT_MAX - 8 || in_len < 16 || in_len % 8 != 0) { in AES_wrap_key() 81 OPENSSL_memmove(out + 8, in, in_len); in AES_wrap_key() 85 size_t n = in_len / 8; in AES_wrap_key() 103 return (int)in_len + 8; in AES_wrap_key() 110 size_t in_len) { in aes_unwrap_key_inner() argument 115 if (in_len > INT_MAX || in_len < 24 || in_len % 8 != 0) { in aes_unwrap_key_inner() 121 OPENSSL_memmove(out, in + 8, in_len - 8); in aes_unwrap_key_inner() 123 size_t n = (in_len / 8) - 1; in aes_unwrap_key_inner() 143 const uint8_t *in, size_t in_len) { in AES_unwrap_key() argument [all …]
|
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/aes/ |
D | key_wrap.c | 69 const uint8_t *in, size_t in_len) { in AES_wrap_key() argument 73 if (in_len > INT_MAX - 8 || in_len < 16 || in_len % 8 != 0) { in AES_wrap_key() 81 OPENSSL_memmove(out + 8, in, in_len); in AES_wrap_key() 85 size_t n = in_len / 8; in AES_wrap_key() 103 return (int)in_len + 8; in AES_wrap_key() 110 size_t in_len) { in aes_unwrap_key_inner() argument 115 if (in_len > INT_MAX || in_len < 24 || in_len % 8 != 0) { in aes_unwrap_key_inner() 121 OPENSSL_memmove(out, in + 8, in_len - 8); in aes_unwrap_key_inner() 123 size_t n = (in_len / 8) - 1; in aes_unwrap_key_inner() 143 const uint8_t *in, size_t in_len) { in AES_unwrap_key() argument [all …]
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | aead.c | 109 static int check_alias(const uint8_t *in, size_t in_len, const uint8_t *out, in check_alias() argument 111 if (!buffers_alias(in, in_len, out, out_len)) { in check_alias() 120 size_t nonce_len, const uint8_t *in, size_t in_len, in EVP_AEAD_CTX_seal() argument 122 if (in_len + ctx->aead->overhead < in_len /* overflow */) { in EVP_AEAD_CTX_seal() 127 if (max_out_len < in_len) { in EVP_AEAD_CTX_seal() 132 if (!check_alias(in, in_len, out, max_out_len)) { in EVP_AEAD_CTX_seal() 138 if (ctx->aead->seal_scatter(ctx, out, out + in_len, &out_tag_len, in EVP_AEAD_CTX_seal() 139 max_out_len - in_len, nonce, nonce_len, in, in EVP_AEAD_CTX_seal() 140 in_len, NULL, 0, ad, ad_len)) { in EVP_AEAD_CTX_seal() 141 *out_len = in_len + out_tag_len; in EVP_AEAD_CTX_seal() [all …]
|
D | cipher.c | 258 const uint8_t *in, int in_len) { in EVP_EncryptUpdate() argument 271 if (bl > 1 && in_len > INT_MAX - bl) { in EVP_EncryptUpdate() 277 int ret = ctx->cipher->cipher(ctx, out, in, in_len); in EVP_EncryptUpdate() 287 if (in_len <= 0) { in EVP_EncryptUpdate() 289 if (in_len == 0) { in EVP_EncryptUpdate() 296 if (ctx->buf_len == 0 && block_remainder(ctx, in_len) == 0) { in EVP_EncryptUpdate() 297 if (ctx->cipher->cipher(ctx, out, in, in_len)) { in EVP_EncryptUpdate() 298 *out_len = in_len; in EVP_EncryptUpdate() 310 if (bl - i > in_len) { in EVP_EncryptUpdate() 311 OPENSSL_memcpy(&ctx->buf[i], in, in_len); in EVP_EncryptUpdate() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/ |
D | aead.c | 106 static int check_alias(const uint8_t *in, size_t in_len, const uint8_t *out, in check_alias() argument 108 if (!buffers_alias(in, in_len, out, out_len)) { in check_alias() 117 size_t nonce_len, const uint8_t *in, size_t in_len, in EVP_AEAD_CTX_seal() argument 119 if (in_len + ctx->aead->overhead < in_len /* overflow */) { in EVP_AEAD_CTX_seal() 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() 135 if (ctx->aead->seal_scatter(ctx, out, out + in_len, &out_tag_len, in EVP_AEAD_CTX_seal() 136 max_out_len - in_len, nonce, nonce_len, in, in EVP_AEAD_CTX_seal() 137 in_len, NULL, 0, ad, ad_len)) { in EVP_AEAD_CTX_seal() 138 *out_len = in_len + out_tag_len; in EVP_AEAD_CTX_seal() [all …]
|
D | cipher.c | 251 const uint8_t *in, int in_len) { in EVP_EncryptUpdate() argument 255 if (bl > 1 && in_len > INT_MAX - bl) { in EVP_EncryptUpdate() 261 int ret = ctx->cipher->cipher(ctx, out, in, in_len); in EVP_EncryptUpdate() 270 if (in_len <= 0) { in EVP_EncryptUpdate() 272 return in_len == 0; in EVP_EncryptUpdate() 275 if (ctx->buf_len == 0 && block_remainder(ctx, in_len) == 0) { in EVP_EncryptUpdate() 276 if (ctx->cipher->cipher(ctx, out, in, in_len)) { in EVP_EncryptUpdate() 277 *out_len = in_len; in EVP_EncryptUpdate() 288 if (bl - i > in_len) { in EVP_EncryptUpdate() 289 OPENSSL_memcpy(&ctx->buf[i], in, in_len); in EVP_EncryptUpdate() [all …]
|
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/cipher/ |
D | aead.c | 109 static int check_alias(const uint8_t *in, size_t in_len, const uint8_t *out, in check_alias() argument 111 if (!buffers_alias(in, in_len, out, out_len)) { in check_alias() 120 size_t nonce_len, const uint8_t *in, size_t in_len, in EVP_AEAD_CTX_seal() argument 122 if (in_len + ctx->aead->overhead < in_len /* overflow */) { in EVP_AEAD_CTX_seal() 127 if (max_out_len < in_len) { in EVP_AEAD_CTX_seal() 132 if (!check_alias(in, in_len, out, max_out_len)) { in EVP_AEAD_CTX_seal() 138 if (ctx->aead->seal_scatter(ctx, out, out + in_len, &out_tag_len, in EVP_AEAD_CTX_seal() 139 max_out_len - in_len, nonce, nonce_len, in, in EVP_AEAD_CTX_seal() 140 in_len, NULL, 0, ad, ad_len)) { in EVP_AEAD_CTX_seal() 141 *out_len = in_len + out_tag_len; in EVP_AEAD_CTX_seal() [all …]
|
D | cipher.c | 258 const uint8_t *in, int in_len) { in EVP_EncryptUpdate() argument 271 if (bl > 1 && in_len > INT_MAX - bl) { in EVP_EncryptUpdate() 277 int ret = ctx->cipher->cipher(ctx, out, in, in_len); in EVP_EncryptUpdate() 287 if (in_len <= 0) { in EVP_EncryptUpdate() 289 if (in_len == 0) { in EVP_EncryptUpdate() 296 if (ctx->buf_len == 0 && block_remainder(ctx, in_len) == 0) { in EVP_EncryptUpdate() 297 if (ctx->cipher->cipher(ctx, out, in, in_len)) { in EVP_EncryptUpdate() 298 *out_len = in_len; in EVP_EncryptUpdate() 310 if (bl - i > in_len) { in EVP_EncryptUpdate() 311 OPENSSL_memcpy(&ctx->buf[i], in, in_len); in EVP_EncryptUpdate() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 127 const uint8_t *in, size_t in_len, 145 size_t in_len); 152 size_t in_len); 200 size_t in_len); 207 size_t in_len); 214 size_t in_len); 221 size_t in_len); 226 size_t in_len, const uint8_t *ad, size_t ad_len, in gcm_siv_asm_polyval() argument 231 const size_t in_blocks = in_len / 16; in gcm_siv_asm_polyval() 254 aesgcmsiv_htable_polyval(htable, in, in_len & ~15, out_tag); in gcm_siv_asm_polyval() [all …]
|
D | e_chacha20poly1305.c | 114 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in chacha20_poly1305_seal_scatter() argument 135 const uint64_t in_len_64 = in_len; in chacha20_poly1305_seal_scatter() 150 uint32_t block_counter = 1 + (in_len / kChaChaBlockSize); in chacha20_poly1305_seal_scatter() 151 size_t offset = in_len % kChaChaBlockSize; in chacha20_poly1305_seal_scatter() 173 chacha20_poly1305_seal(out, in, in_len, ad, ad_len, &data); in chacha20_poly1305_seal_scatter() 175 CRYPTO_chacha_20(out, in, in_len, key, nonce, 1); in chacha20_poly1305_seal_scatter() 176 calc_tag(data.out.tag, key, nonce, ad, ad_len, out, in_len, out_tag, in chacha20_poly1305_seal_scatter() 188 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in aead_chacha20_poly1305_seal_scatter() argument 195 nonce_len, in, in_len, extra_in, extra_in_len, ad, ad_len, ctx->tag_len); in aead_chacha20_poly1305_seal_scatter() 201 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in aead_xchacha20_poly1305_seal_scatter() argument [all …]
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 125 const uint8_t *in, size_t in_len, 143 size_t in_len); 150 size_t in_len); 198 size_t in_len); 205 size_t in_len); 212 size_t in_len); 219 size_t in_len); 224 size_t in_len, const uint8_t *ad, size_t ad_len, in gcm_siv_asm_polyval() argument 229 const size_t in_blocks = in_len / 16; in gcm_siv_asm_polyval() 252 aesgcmsiv_htable_polyval(htable, in, in_len & ~15, out_tag); in gcm_siv_asm_polyval() [all …]
|
D | e_chacha20poly1305.c | 112 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in chacha20_poly1305_seal_scatter() argument 133 const uint64_t in_len_64 = in_len; in chacha20_poly1305_seal_scatter() 148 uint32_t block_counter = (uint32_t)(1 + (in_len / kChaChaBlockSize)); in chacha20_poly1305_seal_scatter() 149 size_t offset = in_len % kChaChaBlockSize; in chacha20_poly1305_seal_scatter() 171 chacha20_poly1305_seal(out, in, in_len, ad, ad_len, &data); in chacha20_poly1305_seal_scatter() 173 CRYPTO_chacha_20(out, in, in_len, key, nonce, 1); in chacha20_poly1305_seal_scatter() 174 calc_tag(data.out.tag, key, nonce, ad, ad_len, out, in_len, out_tag, in chacha20_poly1305_seal_scatter() 186 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in aead_chacha20_poly1305_seal_scatter() argument 193 nonce_len, in, in_len, extra_in, extra_in_len, ad, ad_len, ctx->tag_len); in aead_chacha20_poly1305_seal_scatter() 199 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in aead_xchacha20_poly1305_seal_scatter() argument [all …]
|
/external/cronet/third_party/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 125 const uint8_t *in, size_t in_len, 143 size_t in_len); 150 size_t in_len); 198 size_t in_len); 205 size_t in_len); 212 size_t in_len); 219 size_t in_len); 224 size_t in_len, const uint8_t *ad, size_t ad_len, in gcm_siv_asm_polyval() argument 229 const size_t in_blocks = in_len / 16; in gcm_siv_asm_polyval() 252 aesgcmsiv_htable_polyval(htable, in, in_len & ~15, out_tag); in gcm_siv_asm_polyval() [all …]
|
D | e_chacha20poly1305.c | 112 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in chacha20_poly1305_seal_scatter() argument 133 const uint64_t in_len_64 = in_len; in chacha20_poly1305_seal_scatter() 148 uint32_t block_counter = (uint32_t)(1 + (in_len / kChaChaBlockSize)); in chacha20_poly1305_seal_scatter() 149 size_t offset = in_len % kChaChaBlockSize; in chacha20_poly1305_seal_scatter() 171 chacha20_poly1305_seal(out, in, in_len, ad, ad_len, &data); in chacha20_poly1305_seal_scatter() 173 CRYPTO_chacha_20(out, in, in_len, key, nonce, 1); in chacha20_poly1305_seal_scatter() 174 calc_tag(data.out.tag, key, nonce, ad, ad_len, out, in_len, out_tag, in chacha20_poly1305_seal_scatter() 186 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in aead_chacha20_poly1305_seal_scatter() argument 193 nonce_len, in, in_len, extra_in, extra_in_len, ad, ad_len, ctx->tag_len); in aead_chacha20_poly1305_seal_scatter() 199 size_t nonce_len, const uint8_t *in, size_t in_len, const uint8_t *extra_in, in aead_xchacha20_poly1305_seal_scatter() argument [all …]
|
/external/AFLplusplus/src/ |
D | afl-tmin.c | 68 static u32 in_len, /* Input data length */ variable 228 in_len = st.st_size; in read_initial_file() 229 in_data = ck_alloc_nozero(in_len); in read_initial_file() 231 ck_read(fd, in_data, in_len, in_file); in read_initial_file() 235 OKF("Read %u byte%s from '%s'.", in_len, in_len == 1 ? "" : "s", in_file); in read_initial_file() 275 close(write_to_file(output_file, in_data, in_len)); in tmin_run_target() 358 u8 *tmp_buf = ck_alloc_nozero(in_len); in minimize() 359 u32 orig_len = in_len, stage_o_len; in minimize() 369 set_len = next_pow2(in_len / TMIN_SET_STEPS); in minimize() 376 while (set_pos < in_len) { in minimize() [all …]
|
/external/openthread/third_party/mbedtls/repo/library/ |
D | nist_kw.c | 143 const unsigned char *input, size_t in_len, in mbedtls_nist_kw_wrap() argument 160 if( out_size < in_len + KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_wrap() 169 if( in_len < 16 || in mbedtls_nist_kw_wrap() 171 in_len > 0x1FFFFFFFFFFFFF8 || in mbedtls_nist_kw_wrap() 173 in_len % KW_SEMIBLOCK_LENGTH != 0 ) in mbedtls_nist_kw_wrap() 179 memmove( output + KW_SEMIBLOCK_LENGTH, input, in_len ); in mbedtls_nist_kw_wrap() 183 if( in_len % 8 != 0 ) in mbedtls_nist_kw_wrap() 185 padlen = ( 8 - ( in_len % 8 ) ); in mbedtls_nist_kw_wrap() 188 if( out_size < in_len + KW_SEMIBLOCK_LENGTH + padlen ) in mbedtls_nist_kw_wrap() 197 if( in_len < 1 in mbedtls_nist_kw_wrap() [all …]
|
/external/mbedtls/library/ |
D | nist_kw.c | 136 const unsigned char *input, size_t in_len, in mbedtls_nist_kw_wrap() argument 153 if( out_size < in_len + KW_SEMIBLOCK_LENGTH ) in mbedtls_nist_kw_wrap() 162 if( in_len < 16 || in mbedtls_nist_kw_wrap() 164 in_len > 0x1FFFFFFFFFFFFF8 || in mbedtls_nist_kw_wrap() 166 in_len % KW_SEMIBLOCK_LENGTH != 0 ) in mbedtls_nist_kw_wrap() 172 memmove( output + KW_SEMIBLOCK_LENGTH, input, in_len ); in mbedtls_nist_kw_wrap() 176 if( in_len % 8 != 0 ) in mbedtls_nist_kw_wrap() 178 padlen = ( 8 - ( in_len % 8 ) ); in mbedtls_nist_kw_wrap() 181 if( out_size < in_len + KW_SEMIBLOCK_LENGTH + padlen ) in mbedtls_nist_kw_wrap() 190 if( in_len < 1 in mbedtls_nist_kw_wrap() [all …]
|
/external/libwebsockets/lib/misc/ |
D | base64-decode.c | 52 _lws_b64_encode_string(const char *encode, const char *in, int in_len, in _lws_b64_encode_string() argument 58 while (in_len) { in _lws_b64_encode_string() 61 if (in_len) { in _lws_b64_encode_string() 64 in_len--; in _lws_b64_encode_string() 91 lws_b64_encode_string(const char *in, int in_len, char *out, int out_size) in lws_b64_encode_string() argument 93 return _lws_b64_encode_string(encode_orig, in, in_len, out, out_size); in lws_b64_encode_string() 97 lws_b64_encode_string_url(const char *in, int in_len, char *out, int out_size) in lws_b64_encode_string_url() argument 99 return _lws_b64_encode_string(encode_url, in, in_len, out, out_size); in lws_b64_encode_string_url() 110 lws_b64_decode_stateful(struct lws_b64state *s, const char *in, size_t *in_len, in lws_b64_decode_stateful() argument 113 const char *orig_in = in, *end_in = in + *in_len; in lws_b64_decode_stateful() [all …]
|
/external/boringssl/src/ssl/ |
D | tls_record.cc | 370 const size_t in_len) { in do_seal_record() argument 382 if (!aead->SuffixLen(&suffix_len, in_len, extra_in_len) || in do_seal_record() 383 !aead->CiphertextLen(&ciphertext_len, in_len, extra_in_len)) { in do_seal_record() 388 assert(in == out || !buffers_alias(in, in_len, out, in_len)); in do_seal_record() 389 assert(!buffers_alias(in, in_len, out_prefix, ssl_record_prefix_len(ssl))); in do_seal_record() 390 assert(!buffers_alias(in, in_len, out_suffix, suffix_len)); in do_seal_record() 414 header, in, in_len, extra_in, extra_in_len)) { in do_seal_record() 424 size_t in_len) { in tls_seal_scatter_prefix_len() argument 426 if (type == SSL3_RT_APPLICATION_DATA && in_len > 1 && in tls_seal_scatter_prefix_len() 441 uint8_t type, size_t in_len) { in tls_seal_scatter_suffix_len() argument [all …]
|
D | ssl_aead_ctx.cc | 188 bool SSLAEADContext::SuffixLen(size_t *out_suffix_len, const size_t in_len, in SuffixLen() argument 194 return !!EVP_AEAD_CTX_tag_len(ctx_.get(), out_suffix_len, in_len, in SuffixLen() 198 bool SSLAEADContext::CiphertextLen(size_t *out_len, const size_t in_len, in CiphertextLen() argument 201 if (!SuffixLen(&len, in_len, extra_in_len)) { in CiphertextLen() 205 len += in_len; in CiphertextLen() 206 if (len < in_len || len >= 0xffff) { in CiphertextLen() 317 size_t in_len, const uint8_t *extra_in, in SealScatter() argument 321 if (!SuffixLen(&suffix_len, in_len, extra_in_len)) { in SealScatter() 325 if ((in != out && buffers_alias(in, in_len, out, in_len)) || in SealScatter() 326 buffers_alias(in, in_len, out_prefix, prefix_len) || in SealScatter() [all …]
|
/external/cronet/third_party/boringssl/src/ssl/ |
D | tls_record.cc | 370 const size_t in_len) { in do_seal_record() argument 382 if (!aead->SuffixLen(&suffix_len, in_len, extra_in_len) || in do_seal_record() 383 !aead->CiphertextLen(&ciphertext_len, in_len, extra_in_len)) { in do_seal_record() 388 assert(in == out || !buffers_alias(in, in_len, out, in_len)); in do_seal_record() 389 assert(!buffers_alias(in, in_len, out_prefix, ssl_record_prefix_len(ssl))); in do_seal_record() 390 assert(!buffers_alias(in, in_len, out_suffix, suffix_len)); in do_seal_record() 414 header, in, in_len, extra_in, extra_in_len)) { in do_seal_record() 424 size_t in_len) { in tls_seal_scatter_prefix_len() argument 426 if (type == SSL3_RT_APPLICATION_DATA && in_len > 1 && in tls_seal_scatter_prefix_len() 441 uint8_t type, size_t in_len) { in tls_seal_scatter_suffix_len() argument [all …]
|
D | ssl_aead_ctx.cc | 188 bool SSLAEADContext::SuffixLen(size_t *out_suffix_len, const size_t in_len, in SuffixLen() argument 194 return !!EVP_AEAD_CTX_tag_len(ctx_.get(), out_suffix_len, in_len, in SuffixLen() 198 bool SSLAEADContext::CiphertextLen(size_t *out_len, const size_t in_len, in CiphertextLen() argument 201 if (!SuffixLen(&len, in_len, extra_in_len)) { in CiphertextLen() 205 len += in_len; in CiphertextLen() 206 if (len < in_len || len >= 0xffff) { in CiphertextLen() 317 size_t in_len, const uint8_t *extra_in, in SealScatter() argument 321 if (!SuffixLen(&suffix_len, in_len, extra_in_len)) { in SealScatter() 325 if ((in != out && buffers_alias(in, in_len, out, in_len)) || in SealScatter() 326 buffers_alias(in, in_len, out_prefix, prefix_len) || in SealScatter() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_aead_ctx.cc | 189 bool SSLAEADContext::SuffixLen(size_t *out_suffix_len, const size_t in_len, in SuffixLen() argument 195 return !!EVP_AEAD_CTX_tag_len(ctx_.get(), out_suffix_len, in_len, in SuffixLen() 199 bool SSLAEADContext::CiphertextLen(size_t *out_len, const size_t in_len, in CiphertextLen() argument 202 if (!SuffixLen(&len, in_len, extra_in_len)) { in CiphertextLen() 206 len += in_len; in CiphertextLen() 207 if (len < in_len || len >= 0xffff) { in CiphertextLen() 319 size_t in_len, const uint8_t *extra_in, in SealScatter() argument 323 if (!SuffixLen(&suffix_len, in_len, extra_in_len)) { in SealScatter() 327 if ((in != out && buffers_alias(in, in_len, out, in_len)) || in SealScatter() 328 buffers_alias(in, in_len, out_prefix, prefix_len) || in SealScatter() [all …]
|
D | tls_record.cc | 378 const size_t in_len) { in do_seal_record() argument 390 if (!aead->SuffixLen(&suffix_len, in_len, extra_in_len) || in do_seal_record() 391 !aead->CiphertextLen(&ciphertext_len, in_len, extra_in_len)) { in do_seal_record() 396 assert(in == out || !buffers_alias(in, in_len, out, in_len)); in do_seal_record() 397 assert(!buffers_alias(in, in_len, out_prefix, ssl_record_prefix_len(ssl))); in do_seal_record() 398 assert(!buffers_alias(in, in_len, out_suffix, suffix_len)); in do_seal_record() 416 header, in, in_len, extra_in, extra_in_len) || in do_seal_record() 426 size_t in_len) { in tls_seal_scatter_prefix_len() argument 428 if (type == SSL3_RT_APPLICATION_DATA && in_len > 1 && in tls_seal_scatter_prefix_len() 443 uint8_t type, size_t in_len) { in tls_seal_scatter_suffix_len() argument [all …]
|