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.c81 aead_ctx->variable_nonce_len = (uint8_t)EVP_AEAD_nonce_length(aead); in SSL_AEAD_CTX_new()
90 aead_ctx->variable_nonce_len = 8; in SSL_AEAD_CTX_new()
93 assert(fixed_iv_len <= aead_ctx->variable_nonce_len); in SSL_AEAD_CTX_new()
94 aead_ctx->variable_nonce_len -= fixed_iv_len; in SSL_AEAD_CTX_new()
106 aead_ctx->variable_nonce_len = 8; in SSL_AEAD_CTX_new()
109 assert(fixed_iv_len >= aead_ctx->variable_nonce_len); in SSL_AEAD_CTX_new()
136 return aead->variable_nonce_len; in SSL_AEAD_CTX_explicit_nonce_len()
212 nonce_len = aead->fixed_nonce_len - aead->variable_nonce_len; in SSL_AEAD_CTX_open()
221 if (in_len < aead->variable_nonce_len) { in SSL_AEAD_CTX_open()
226 OPENSSL_memcpy(nonce + nonce_len, in, aead->variable_nonce_len); in SSL_AEAD_CTX_open()
[all …]
Dinternal.h354 uint8_t fixed_nonce_len, variable_nonce_len; in OPENSSL_MSVC_PRAGMA() member