Home
last modified time | relevance | path

Searched refs:md5_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
183 const size_t md5_off = 0; in aead_rc4_md5_tls_seal() local
222 md5_off = MD5_CBLOCK - md.num; in aead_rc4_md5_tls_seal()
224 if (rc4_off > md5_off) { in aead_rc4_md5_tls_seal()
225 md5_off += MD5_CBLOCK; in aead_rc4_md5_tls_seal()
227 assert(md5_off >= rc4_off); in aead_rc4_md5_tls_seal()
229 if (in_len > md5_off && (blocks = (in_len - md5_off) / MD5_CBLOCK) && in aead_rc4_md5_tls_seal()
232 MD5_Update(&md, in, md5_off); 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()
240 md5_off += blocks; in aead_rc4_md5_tls_seal()
[all …]