Searched refs:fixed_iv_len (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_aead_ctx.c | 33 const uint8_t *fixed_iv, size_t fixed_iv_len) { in SSL_AEAD_CTX_new() argument 45 if (mac_key_len + enc_key_len + fixed_iv_len > sizeof(merged_key)) { in SSL_AEAD_CTX_new() 51 memcpy(merged_key + mac_key_len + enc_key_len, fixed_iv, fixed_iv_len); in SSL_AEAD_CTX_new() 54 enc_key_len += fixed_iv_len; in SSL_AEAD_CTX_new() 76 if (fixed_iv_len > sizeof(aead_ctx->fixed_nonce) || in SSL_AEAD_CTX_new() 77 fixed_iv_len > aead_ctx->variable_nonce_len) { in SSL_AEAD_CTX_new() 82 aead_ctx->variable_nonce_len -= fixed_iv_len; in SSL_AEAD_CTX_new() 84 memcpy(aead_ctx->fixed_nonce, fixed_iv, fixed_iv_len); in SSL_AEAD_CTX_new() 85 aead_ctx->fixed_nonce_len = fixed_iv_len; in SSL_AEAD_CTX_new()
|
D | t1_enc.c | 386 size_t mac_secret_len, fixed_iv_len, variable_iv_len, key_len; in tls1_setup_key_block() local 397 if (!ssl_cipher_get_evp_aead(&aead, &mac_secret_len, &fixed_iv_len, in tls1_setup_key_block() 408 if (key_len < mac_secret_len + fixed_iv_len) { in tls1_setup_key_block() 412 key_len -= mac_secret_len + fixed_iv_len; in tls1_setup_key_block() 415 if (variable_iv_len < fixed_iv_len) { in tls1_setup_key_block() 419 variable_iv_len -= fixed_iv_len; in tls1_setup_key_block() 423 assert(fixed_iv_len < 256); in tls1_setup_key_block() 428 s->s3->tmp.new_fixed_iv_len = (uint8_t)fixed_iv_len; in tls1_setup_key_block() 431 key_block_len = key_len + mac_secret_len + fixed_iv_len; in tls1_setup_key_block()
|
D | internal.h | 319 const uint8_t *fixed_iv, size_t fixed_iv_len);
|