Home
last modified time | relevance | path

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

/dragonfly/crypto/libressl/crypto/evp/
H A De_aes_cbc_hmac_sha1.c176 sha_off = 0; in aesni_cbc_hmac_sha1_cipher() local
180 sha_off = SHA_CBLOCK - key->md.num; in aesni_cbc_hmac_sha1_cipher()
198 if (plen > (sha_off + iv) && in aesni_cbc_hmac_sha1_cipher()
199 (blocks = (plen - (sha_off + iv)) / SHA_CBLOCK)) { in aesni_cbc_hmac_sha1_cipher()
200 SHA1_Update(&key->md, in + iv, sha_off); in aesni_cbc_hmac_sha1_cipher()
203 ctx->iv, &key->md, in + iv + sha_off); in aesni_cbc_hmac_sha1_cipher()
206 sha_off += blocks; in aesni_cbc_hmac_sha1_cipher()
212 sha_off = 0; in aesni_cbc_hmac_sha1_cipher()
215 sha_off += iv; in aesni_cbc_hmac_sha1_cipher()
216 SHA1_Update(&key->md, in + sha_off, plen - sha_off); in aesni_cbc_hmac_sha1_cipher()