Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
De_rc4.c180 size_t rc4_off, md5_off, blocks; in aead_rc4_md5_tls_seal() local
182 const size_t rc4_off = 0; in aead_rc4_md5_tls_seal() local
221 rc4_off = 32 - 1 - (rc4_ctx->rc4.x & (32 - 1)); in aead_rc4_md5_tls_seal()
224 if (rc4_off > md5_off) { in aead_rc4_md5_tls_seal()
227 assert(md5_off >= rc4_off); in aead_rc4_md5_tls_seal()
233 RC4(&rc4_ctx->rc4, rc4_off, in, out); in aead_rc4_md5_tls_seal()
236 rc4_md5_enc(&rc4_ctx->rc4, in + rc4_off, out + rc4_off, &md, in + md5_off, in aead_rc4_md5_tls_seal()
239 rc4_off += blocks; in aead_rc4_md5_tls_seal()
247 rc4_off = 0; in aead_rc4_md5_tls_seal()
265 RC4(&rc4_ctx->rc4, in_len - rc4_off, in + rc4_off, out + rc4_off); in aead_rc4_md5_tls_seal()
[all …]