Lines Matching defs:rcipher
50 struct crypto_stat_cipher rcipher;
52 memset(&rcipher, 0, sizeof(rcipher));
54 strscpy(rcipher.type, "cipher", sizeof(rcipher.type));
56 rcipher.stat_encrypt_cnt = atomic64_read(&alg->stats.cipher.encrypt_cnt);
57 rcipher.stat_encrypt_tlen = atomic64_read(&alg->stats.cipher.encrypt_tlen);
58 rcipher.stat_decrypt_cnt = atomic64_read(&alg->stats.cipher.decrypt_cnt);
59 rcipher.stat_decrypt_tlen = atomic64_read(&alg->stats.cipher.decrypt_tlen);
60 rcipher.stat_err_cnt = atomic64_read(&alg->stats.cipher.err_cnt);
62 return nla_put(skb, CRYPTOCFGA_STAT_CIPHER, sizeof(rcipher), &rcipher);