Home
last modified time | relevance | path

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

/linux-6.6.21/crypto/
Dcrypto_user_stat.c29 struct crypto_stat_cipher rcipher; in crypto_report_cipher() local
31 memset(&rcipher, 0, sizeof(rcipher)); in crypto_report_cipher()
33 strscpy(rcipher.type, "cipher", sizeof(rcipher.type)); in crypto_report_cipher()
35 return nla_put(skb, CRYPTOCFGA_STAT_CIPHER, sizeof(rcipher), &rcipher); in crypto_report_cipher()
Dcrypto_user_base.c74 struct crypto_report_cipher rcipher; in crypto_report_cipher() local
76 memset(&rcipher, 0, sizeof(rcipher)); in crypto_report_cipher()
78 strscpy(rcipher.type, "cipher", sizeof(rcipher.type)); in crypto_report_cipher()
80 rcipher.blocksize = alg->cra_blocksize; in crypto_report_cipher()
81 rcipher.min_keysize = alg->cra_cipher.cia_min_keysize; in crypto_report_cipher()
82 rcipher.max_keysize = alg->cra_cipher.cia_max_keysize; in crypto_report_cipher()
85 sizeof(rcipher), &rcipher); in crypto_report_cipher()
Dskcipher.c755 struct crypto_stat_cipher rcipher; in crypto_skcipher_report_stat() local
759 memset(&rcipher, 0, sizeof(rcipher)); in crypto_skcipher_report_stat()
761 strscpy(rcipher.type, "cipher", sizeof(rcipher.type)); in crypto_skcipher_report_stat()
763 rcipher.stat_encrypt_cnt = atomic64_read(&istat->encrypt_cnt); in crypto_skcipher_report_stat()
764 rcipher.stat_encrypt_tlen = atomic64_read(&istat->encrypt_tlen); in crypto_skcipher_report_stat()
765 rcipher.stat_decrypt_cnt = atomic64_read(&istat->decrypt_cnt); in crypto_skcipher_report_stat()
766 rcipher.stat_decrypt_tlen = atomic64_read(&istat->decrypt_tlen); in crypto_skcipher_report_stat()
767 rcipher.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_skcipher_report_stat()
769 return nla_put(skb, CRYPTOCFGA_STAT_CIPHER, sizeof(rcipher), &rcipher); in crypto_skcipher_report_stat()