Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_aead_ctx.c79 aead_ctx->fixed_nonce_len = fixed_iv_len; in SSL_AEAD_CTX_new()
185 nonce_len = aead->fixed_nonce_len - aead->variable_nonce_len; in SSL_AEAD_CTX_open()
188 memcpy(nonce, aead->fixed_nonce, aead->fixed_nonce_len); in SSL_AEAD_CTX_open()
189 nonce_len += aead->fixed_nonce_len; in SSL_AEAD_CTX_open()
210 assert(nonce_len == aead->fixed_nonce_len); in SSL_AEAD_CTX_open()
212 for (i = 0; i < aead->fixed_nonce_len; i++) { in SSL_AEAD_CTX_open()
246 nonce_len = aead->fixed_nonce_len - aead->variable_nonce_len; in SSL_AEAD_CTX_seal()
249 memcpy(nonce, aead->fixed_nonce, aead->fixed_nonce_len); in SSL_AEAD_CTX_seal()
250 nonce_len += aead->fixed_nonce_len; in SSL_AEAD_CTX_seal()
279 memcpy(out, nonce + aead->fixed_nonce_len, aead->variable_nonce_len); in SSL_AEAD_CTX_seal()
[all …]
Dinternal.h271 uint8_t fixed_nonce_len, variable_nonce_len; member