Home
last modified time | relevance | path

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

/linux-6.1.9/crypto/
Daead.c148 struct crypto_report_aead raead; in crypto_aead_report() local
151 memset(&raead, 0, sizeof(raead)); in crypto_aead_report()
153 strscpy(raead.type, "aead", sizeof(raead.type)); in crypto_aead_report()
154 strscpy(raead.geniv, "<none>", sizeof(raead.geniv)); in crypto_aead_report()
156 raead.blocksize = alg->cra_blocksize; in crypto_aead_report()
157 raead.maxauthsize = aead->maxauthsize; in crypto_aead_report()
158 raead.ivsize = aead->ivsize; in crypto_aead_report()
160 return nla_put(skb, CRYPTOCFGA_REPORT_AEAD, sizeof(raead), &raead); in crypto_aead_report()
Dcrypto_user_stat.c33 struct crypto_stat_aead raead; in crypto_report_aead() local
35 memset(&raead, 0, sizeof(raead)); in crypto_report_aead()
37 strscpy(raead.type, "aead", sizeof(raead.type)); in crypto_report_aead()
39 raead.stat_encrypt_cnt = atomic64_read(&alg->stats.aead.encrypt_cnt); in crypto_report_aead()
40 raead.stat_encrypt_tlen = atomic64_read(&alg->stats.aead.encrypt_tlen); in crypto_report_aead()
41 raead.stat_decrypt_cnt = atomic64_read(&alg->stats.aead.decrypt_cnt); in crypto_report_aead()
42 raead.stat_decrypt_tlen = atomic64_read(&alg->stats.aead.decrypt_tlen); in crypto_report_aead()
43 raead.stat_err_cnt = atomic64_read(&alg->stats.aead.err_cnt); in crypto_report_aead()
45 return nla_put(skb, CRYPTOCFGA_STAT_AEAD, sizeof(raead), &raead); in crypto_report_aead()