/usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/crypto
NameSizeModeActions
internal/-0755rm
acompress.h81200644editdlrm
aead.h187290644editdlrm
aes.h10580644editdlrm
akcipher.h119890644editdlrm
algapi.h121630644editdlrm
arc4.h4840644editdlrm
authenc.h8450644editdlrm
b128ops.h24710644editdlrm
blowfish.h4150644editdlrm
cast5.h5900644editdlrm
cast6.h6360644editdlrm
cast_common.h2320644editdlrm
cbc.h35620644editdlrm
chacha20.h6380644editdlrm
cryptd.h25620644editdlrm
crypto_wq.h1610644editdlrm
ctr.h16660644editdlrm
des.h14030644editdlrm
dh.h27840644editdlrm
drbg.h91600644editdlrm
ecdh.h27330644editdlrm
engine.h42020644editdlrm
gcm.h1400644editdlrm
gf128mul.h96470644editdlrm
ghash.h3810644editdlrm
hash.h333860644editdlrm
hash_info.h11530644editdlrm
hmac.h1730644editdlrm
if_alg.h71280644editdlrm
kpp.h99260644editdlrm
md5.h4970644editdlrm
morus640_glue.h45850644editdlrm
morus1280_glue.h46470644editdlrm
morus_common.h7200644editdlrm
null.h3410644editdlrm
padlock.h6490644editdlrm
pcrypt.h14350644editdlrm
pkcs7.h13880644editdlrm
poly1305.h9200644editdlrm
public_key.h21260644editdlrm
rng.h68200644editdlrm
scatterwalk.h47320644editdlrm
serpent.h7120644editdlrm
sha.h43500644editdlrm
sha1_base.h25320644editdlrm
sha3.h8790644editdlrm
sha256_base.h26290644editdlrm
sha512_base.h32710644editdlrm
skcipher.h233810644editdlrm
sm3.h8330644editdlrm
sm3_base.h30240644editdlrm
sm4.h7540644editdlrm
speck.h13570644editdlrm
twofish.h7550644editdlrm
xts.h13850644editdlrm
Edit: /usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/crypto/poly1305.h (920B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for the Poly1305 algorithm */ #ifndef _CRYPTO_POLY1305_H #define _CRYPTO_POLY1305_H #include #include #define POLY1305_BLOCK_SIZE 16 #define POLY1305_KEY_SIZE 32 #define POLY1305_DIGEST_SIZE 16 struct poly1305_desc_ctx { /* key */ u32 r[5]; /* finalize key */ u32 s[4]; /* accumulator */ u32 h[5]; /* partial buffer */ u8 buf[POLY1305_BLOCK_SIZE]; /* bytes used in partial buffer */ unsigned int buflen; /* r key has been set */ bool rset; /* s key has been set */ bool sset; }; int crypto_poly1305_init(struct shash_desc *desc); unsigned int crypto_poly1305_setdesckey(struct poly1305_desc_ctx *dctx, const u8 *src, unsigned int srclen); int crypto_poly1305_update(struct shash_desc *desc, const u8 *src, unsigned int srclen); int crypto_poly1305_final(struct shash_desc *desc, u8 *dst); #endif