Home
last modified time | relevance | path

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

/external/openssh/
Dcipher.c593 int evplen; in cipher_get_keyiv() local
615 evplen = EVP_CIPHER_CTX_iv_length(cc->evp); in cipher_get_keyiv()
616 if (evplen == 0) in cipher_get_keyiv()
618 else if (evplen < 0) in cipher_get_keyiv()
620 if ((u_int)evplen != len) in cipher_get_keyiv()
650 int evplen = 0; in cipher_set_keyiv() local
663 evplen = EVP_CIPHER_CTX_iv_length(cc->evp); in cipher_set_keyiv()
664 if (evplen <= 0) in cipher_set_keyiv()
669 ssh_aes_ctr_iv(cc->evp, 1, (u_char *)iv, evplen); in cipher_set_keyiv()
678 memcpy(cc->evp->iv, iv, evplen); in cipher_set_keyiv()