Lines Matching refs:iov
48 const struct iovec *iov, in qcrypto_hash_bytesv() argument
60 if (qcrypto_hash_updatev(ctx, iov, niov, errp) < 0 || in qcrypto_hash_bytesv()
76 struct iovec iov = { .iov_base = (char *)buf, in qcrypto_hash_bytes() local
78 return qcrypto_hash_bytesv(alg, &iov, 1, result, resultlen, errp); in qcrypto_hash_bytes()
82 const struct iovec *iov, in qcrypto_hash_updatev() argument
88 return drv->hash_update(hash, iov, niov, errp); in qcrypto_hash_updatev()
96 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_update() local
98 return qcrypto_hash_updatev(hash, &iov, 1, errp); in qcrypto_hash_update()
189 const struct iovec *iov, in qcrypto_hash_digestv() argument
200 if (qcrypto_hash_updatev(ctx, iov, niov, errp) < 0 || in qcrypto_hash_digestv()
214 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_digest() local
216 return qcrypto_hash_digestv(alg, &iov, 1, digest, errp); in qcrypto_hash_digest()
220 const struct iovec *iov, in qcrypto_hash_base64v() argument
231 if (qcrypto_hash_updatev(ctx, iov, niov, errp) < 0 || in qcrypto_hash_base64v()
245 struct iovec iov = { .iov_base = (char *)buf, .iov_len = len }; in qcrypto_hash_base64() local
247 return qcrypto_hash_base64v(alg, &iov, 1, base64, errp); in qcrypto_hash_base64()