Home
last modified time | relevance | path

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

/openbmc/qemu/crypto/
H A Dcipher-afalg.c69 size_t expect_niv; in qcrypto_afalg_cipher_ctx_new() local
96 expect_niv = qcrypto_cipher_get_iv_len(alg, mode); in qcrypto_afalg_cipher_ctx_new()
97 if (expect_niv) { in qcrypto_afalg_cipher_ctx_new()
98 afalg->msg->msg_controllen += CMSG_SPACE(ALG_MSGIV_LEN(expect_niv)); in qcrypto_afalg_cipher_ctx_new()
106 if (expect_niv) { in qcrypto_afalg_cipher_ctx_new()
109 afalg->cmsg->cmsg_len = CMSG_SPACE(ALG_MSGIV_LEN(expect_niv)); in qcrypto_afalg_cipher_ctx_new()
124 size_t expect_niv; in qcrypto_afalg_cipher_setiv() local
126 expect_niv = qcrypto_cipher_get_iv_len(cipher->alg, cipher->mode); in qcrypto_afalg_cipher_setiv()
127 if (niv != expect_niv) { in qcrypto_afalg_cipher_setiv()
129 niv, expect_niv); in qcrypto_afalg_cipher_setiv()