OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fixed_iv_len
(Results
1 - 3
of
3
) sorted by null
/external/boringssl/src/ssl/
ssl_aead_ctx.c
35
const uint8_t *fixed_iv, size_t
fixed_iv_len
) {
47
if (mac_key_len + enc_key_len +
fixed_iv_len
> sizeof(merged_key)) {
53
memcpy(merged_key + mac_key_len + enc_key_len, fixed_iv,
fixed_iv_len
);
56
enc_key_len +=
fixed_iv_len
;
77
assert(
fixed_iv_len
<= sizeof(aead_ctx->fixed_nonce));
78
memcpy(aead_ctx->fixed_nonce, fixed_iv,
fixed_iv_len
);
79
aead_ctx->fixed_nonce_len =
fixed_iv_len
;
87
assert(
fixed_iv_len
<= aead_ctx->variable_nonce_len);
88
aead_ctx->variable_nonce_len -=
fixed_iv_len
;
t1_enc.c
373
size_t mac_secret_len,
fixed_iv_len
, variable_iv_len, key_len;
local
384
if (!ssl_cipher_get_evp_aead(&aead, &mac_secret_len, &
fixed_iv_len
,
395
if (key_len < mac_secret_len +
fixed_iv_len
) {
399
key_len -= mac_secret_len +
fixed_iv_len
;
402
if (variable_iv_len <
fixed_iv_len
) {
406
variable_iv_len -=
fixed_iv_len
;
410
assert(
fixed_iv_len
< 256);
415
ssl->s3->tmp.new_fixed_iv_len = (uint8_t)
fixed_iv_len
;
418
key_block_len = key_len + mac_secret_len +
fixed_iv_len
;
internal.h
299
const uint8_t *fixed_iv, size_t
fixed_iv_len
);
[
all
...]
Completed in 131 milliseconds