Home
last modified time | relevance | path

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

/crypto/
A Dshash.c336 struct crypto_report_hash rhash; in crypto_shash_report() local
339 memset(&rhash, 0, sizeof(rhash)); in crypto_shash_report()
341 strscpy(rhash.type, "shash", sizeof(rhash.type)); in crypto_shash_report()
343 rhash.blocksize = alg->cra_blocksize; in crypto_shash_report()
344 rhash.digestsize = salg->digestsize; in crypto_shash_report()
346 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_shash_report()
A Dahash.c778 struct crypto_report_hash rhash; in crypto_ahash_report() local
780 memset(&rhash, 0, sizeof(rhash)); in crypto_ahash_report()
782 strscpy(rhash.type, "ahash", sizeof(rhash.type)); in crypto_ahash_report()
784 rhash.blocksize = alg->cra_blocksize; in crypto_ahash_report()
785 rhash.digestsize = __crypto_hash_alg_common(alg)->digestsize; in crypto_ahash_report()
787 return nla_put(skb, CRYPTOCFGA_REPORT_HASH, sizeof(rhash), &rhash); in crypto_ahash_report()

Completed in 6 milliseconds