Searched refs:afalg (Results 1 – 6 of 6) sorted by relevance
68 QCryptoAFAlg *afalg; in qcrypto_afalg_cipher_ctx_new() local78 if (!afalg) { in qcrypto_afalg_cipher_ctx_new()100 afalg->msg->msg_control = g_new0(uint8_t, afalg->msg->msg_controllen); in qcrypto_afalg_cipher_ctx_new()103 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_ctx_new()107 afalg->cmsg = CMSG_NXTHDR(afalg->msg, afalg->cmsg); in qcrypto_afalg_cipher_ctx_new()111 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_ctx_new()114 return &afalg->base; in qcrypto_afalg_cipher_ctx_new()134 afalg->cmsg = CMSG_NXTHDR(afalg->msg, afalg->cmsg); in qcrypto_afalg_cipher_setiv()158 afalg->cmsg = CMSG_FIRSTHDR(afalg->msg); in qcrypto_afalg_cipher_op()162 afalg->msg->msg_iov = &iov; in qcrypto_afalg_cipher_op()[all …]
73 QCryptoAFAlg *afalg; in qcrypto_afalg_comm_alloc() local77 afalg->opfd = -1; in qcrypto_afalg_comm_alloc()83 afalg->opfd = qemu_accept(afalg->tfmfd, NULL, 0); in qcrypto_afalg_comm_alloc()84 if (afalg->opfd == -1) { in qcrypto_afalg_comm_alloc()89 return afalg; in qcrypto_afalg_comm_alloc()98 if (!afalg) { in qcrypto_afalg_comm_free()102 if (afalg->msg) { in qcrypto_afalg_comm_free()104 g_free(afalg->msg); in qcrypto_afalg_comm_free()108 close(afalg->tfmfd); in qcrypto_afalg_comm_free()112 close(afalg->opfd); in qcrypto_afalg_comm_free()[all …]
72 QCryptoAFAlg *afalg; in qcrypto_afalg_hash_hmac_ctx_new() local81 if (!afalg) { in qcrypto_afalg_hash_hmac_ctx_new()93 qcrypto_afalg_comm_free(afalg); in qcrypto_afalg_hash_hmac_ctx_new()98 return afalg; in qcrypto_afalg_hash_hmac_ctx_new()124 QCryptoAFAlg *afalg; in qcrypto_afalg_hash_hmac_bytesv() local141 afalg = hmac; in qcrypto_afalg_hash_hmac_bytesv()144 if (!afalg) { in qcrypto_afalg_hash_hmac_bytesv()170 qcrypto_afalg_comm_free(afalg); in qcrypto_afalg_hash_hmac_bytesv()200 QCryptoAFAlg *afalg; in qcrypto_afalg_hmac_ctx_free() local202 afalg = hmac->opaque; in qcrypto_afalg_hmac_ctx_free()[all …]
47 crypto_ss.add(if_true: files('afalg.c', 'cipher-afalg.c', 'hash-afalg.c'))
65 void qcrypto_afalg_comm_free(QCryptoAFAlg *afalg);
282 --enable-crypto-afalg) printf "%s" -Dcrypto_afalg=enabled ;;283 --disable-crypto-afalg) printf "%s" -Dcrypto_afalg=disabled ;;