Searched refs:fixed_iv_len (Results 1 – 3 of 3) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_aead_ctx.c | 35 const uint8_t *fixed_iv, size_t fixed_iv_len) { in SSL_AEAD_CTX_new() argument 47 if (mac_key_len + enc_key_len + fixed_iv_len > sizeof(merged_key)) { in SSL_AEAD_CTX_new() 53 memcpy(merged_key + mac_key_len + enc_key_len, fixed_iv, fixed_iv_len); in SSL_AEAD_CTX_new() 56 enc_key_len += fixed_iv_len; in SSL_AEAD_CTX_new() 77 assert(fixed_iv_len <= sizeof(aead_ctx->fixed_nonce)); in SSL_AEAD_CTX_new() 78 memcpy(aead_ctx->fixed_nonce, fixed_iv, fixed_iv_len); in SSL_AEAD_CTX_new() 79 aead_ctx->fixed_nonce_len = fixed_iv_len; in SSL_AEAD_CTX_new() 87 assert(fixed_iv_len <= aead_ctx->variable_nonce_len); in SSL_AEAD_CTX_new() 88 aead_ctx->variable_nonce_len -= fixed_iv_len; in SSL_AEAD_CTX_new()
|
D | t1_enc.c | 373 size_t mac_secret_len, fixed_iv_len, variable_iv_len, key_len; in tls1_setup_key_block() local 384 if (!ssl_cipher_get_evp_aead(&aead, &mac_secret_len, &fixed_iv_len, in tls1_setup_key_block() 395 if (key_len < mac_secret_len + fixed_iv_len) { in tls1_setup_key_block() 399 key_len -= mac_secret_len + fixed_iv_len; in tls1_setup_key_block() 402 if (variable_iv_len < fixed_iv_len) { in tls1_setup_key_block() 406 variable_iv_len -= fixed_iv_len; in tls1_setup_key_block() 410 assert(fixed_iv_len < 256); in tls1_setup_key_block() 415 ssl->s3->tmp.new_fixed_iv_len = (uint8_t)fixed_iv_len; in tls1_setup_key_block() 418 key_block_len = key_len + mac_secret_len + fixed_iv_len; in tls1_setup_key_block()
|
D | internal.h | 299 const uint8_t *fixed_iv, size_t fixed_iv_len);
|