Home
last modified time | relevance | path

Searched refs:variable_nonce_len (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/ssl/
Dssl_aead_ctx.c75 aead_ctx->variable_nonce_len = (uint8_t)EVP_AEAD_nonce_length(aead); in SSL_AEAD_CTX_new()
84 aead_ctx->variable_nonce_len = 8; 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()
115 return aead->variable_nonce_len; in SSL_AEAD_CTX_explicit_nonce_len()
185 nonce_len = aead->fixed_nonce_len - aead->variable_nonce_len; in SSL_AEAD_CTX_open()
194 if (in_len < aead->variable_nonce_len) { in SSL_AEAD_CTX_open()
199 memcpy(nonce + nonce_len, in, aead->variable_nonce_len); in SSL_AEAD_CTX_open()
200 in += aead->variable_nonce_len; in SSL_AEAD_CTX_open()
201 in_len -= aead->variable_nonce_len; in SSL_AEAD_CTX_open()
[all …]
Dinternal.h271 uint8_t fixed_nonce_len, variable_nonce_len; member