Searched refs:rcipher (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | crypto_user_stat.c | 50 struct crypto_stat_cipher rcipher; in crypto_report_cipher() local 52 memset(&rcipher, 0, sizeof(rcipher)); in crypto_report_cipher() 54 strscpy(rcipher.type, "cipher", sizeof(rcipher.type)); in crypto_report_cipher() 56 rcipher.stat_encrypt_cnt = atomic64_read(&alg->stats.cipher.encrypt_cnt); in crypto_report_cipher() 57 rcipher.stat_encrypt_tlen = atomic64_read(&alg->stats.cipher.encrypt_tlen); in crypto_report_cipher() 58 rcipher.stat_decrypt_cnt = atomic64_read(&alg->stats.cipher.decrypt_cnt); in crypto_report_cipher() 59 rcipher.stat_decrypt_tlen = atomic64_read(&alg->stats.cipher.decrypt_tlen); in crypto_report_cipher() 60 rcipher.stat_err_cnt = atomic64_read(&alg->stats.cipher.err_cnt); in crypto_report_cipher() 62 return nla_put(skb, CRYPTOCFGA_STAT_CIPHER, sizeof(rcipher), &rcipher); in crypto_report_cipher()
|
D | crypto_user_base.c | 74 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()
|