/linux-4.19.296/include/crypto/ |
D | hash.h | 147 struct shash_desc { struct 155 char __##shash##_desc[sizeof(struct shash_desc) + \ argument 157 struct shash_desc *shash = (struct shash_desc *)__##shash##_desc 177 int (*init)(struct shash_desc *desc); 178 int (*update)(struct shash_desc *desc, const u8 *data, 180 int (*final)(struct shash_desc *desc, u8 *out); 181 int (*finup)(struct shash_desc *desc, const u8 *data, 183 int (*digest)(struct shash_desc *desc, const u8 *data, 185 int (*export)(struct shash_desc *desc, void *out); 186 int (*import)(struct shash_desc *desc, const void *in); [all …]
|
D | sha.h | 96 struct shash_desc; 98 extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data, 101 extern int crypto_sha1_finup(struct shash_desc *desc, const u8 *data, 104 extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, 107 extern int crypto_sha256_finup(struct shash_desc *desc, const u8 *data, 110 extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data, 113 extern int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
|
D | sha3.h | 29 int crypto_sha3_init(struct shash_desc *desc); 30 int crypto_sha3_update(struct shash_desc *desc, const u8 *data, 32 int crypto_sha3_final(struct shash_desc *desc, u8 *out);
|
D | poly1305.h | 33 int crypto_poly1305_init(struct shash_desc *desc); 36 int crypto_poly1305_update(struct shash_desc *desc, 38 int crypto_poly1305_final(struct shash_desc *desc, u8 *dst);
|
D | sm3.h | 33 struct shash_desc; 35 extern int crypto_sm3_update(struct shash_desc *desc, const u8 *data, 38 extern int crypto_sm3_finup(struct shash_desc *desc, const u8 *data,
|
D | sha256_base.h | 21 static inline int sha224_base_init(struct shash_desc *desc) in sha224_base_init() 38 static inline int sha256_base_init(struct shash_desc *desc) in sha256_base_init() 55 static inline int sha256_base_do_update(struct shash_desc *desc, in sha256_base_do_update() 93 static inline int sha256_base_do_finalize(struct shash_desc *desc, in sha256_base_do_finalize() 116 static inline int sha256_base_finish(struct shash_desc *desc, u8 *out) in sha256_base_finish()
|
D | sha512_base.h | 21 static inline int sha384_base_init(struct shash_desc *desc) in sha384_base_init() 38 static inline int sha512_base_init(struct shash_desc *desc) in sha512_base_init() 55 static inline int sha512_base_do_update(struct shash_desc *desc, in sha512_base_do_update() 95 static inline int sha512_base_do_finalize(struct shash_desc *desc, in sha512_base_do_finalize() 119 static inline int sha512_base_finish(struct shash_desc *desc, u8 *out) in sha512_base_finish()
|
D | sm3_base.h | 28 static inline int sm3_base_init(struct shash_desc *desc) in sm3_base_init() 45 static inline int sm3_base_do_update(struct shash_desc *desc, in sm3_base_do_update() 83 static inline int sm3_base_do_finalize(struct shash_desc *desc, in sm3_base_do_finalize() 106 static inline int sm3_base_finish(struct shash_desc *desc, u8 *out) in sm3_base_finish()
|
D | sha1_base.h | 20 static inline int sha1_base_init(struct shash_desc *desc) in sha1_base_init() 34 static inline int sha1_base_do_update(struct shash_desc *desc, in sha1_base_do_update() 72 static inline int sha1_base_do_finalize(struct shash_desc *desc, in sha1_base_do_finalize() 95 static inline int sha1_base_finish(struct shash_desc *desc, u8 *out) in sha1_base_finish()
|
/linux-4.19.296/crypto/ |
D | hmac.c | 90 static int hmac_export(struct shash_desc *pdesc, void *out) in hmac_export() 92 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_export() 99 static int hmac_import(struct shash_desc *pdesc, const void *in) in hmac_import() 101 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_import() 110 static int hmac_init(struct shash_desc *pdesc) in hmac_init() 115 static int hmac_update(struct shash_desc *pdesc, in hmac_update() 118 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_update() 125 static int hmac_final(struct shash_desc *pdesc, u8 *out) in hmac_final() 131 struct shash_desc *desc = shash_desc_ctx(pdesc); in hmac_final() 140 static int hmac_finup(struct shash_desc *pdesc, const u8 *data, in hmac_finup() [all …]
|
D | crct10dif_generic.c | 42 static int chksum_init(struct shash_desc *desc) in chksum_init() 51 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update() 60 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final() 74 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup() 82 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
|
D | crc32_generic.c | 71 static int crc32_init(struct shash_desc *desc) in crc32_init() 81 static int crc32_update(struct shash_desc *desc, const u8 *data, in crc32_update() 98 static int crc32_finup(struct shash_desc *desc, const u8 *data, in crc32_finup() 104 static int crc32_final(struct shash_desc *desc, u8 *out) in crc32_final() 112 static int crc32_digest(struct shash_desc *desc, const u8 *data, in crc32_digest()
|
D | shash.c | 104 static int shash_update_unaligned(struct shash_desc *desc, const u8 *data, in shash_update_unaligned() 128 int crypto_shash_update(struct shash_desc *desc, const u8 *data, in crypto_shash_update() 142 static int shash_final_unaligned(struct shash_desc *desc, u8 *out) in shash_final_unaligned() 164 int crypto_shash_final(struct shash_desc *desc, u8 *out) in crypto_shash_final() 177 static int shash_finup_unaligned(struct shash_desc *desc, const u8 *data, in shash_finup_unaligned() 184 int crypto_shash_finup(struct shash_desc *desc, const u8 *data, in crypto_shash_finup() 198 static int shash_digest_unaligned(struct shash_desc *desc, const u8 *data, in shash_digest_unaligned() 205 int crypto_shash_digest(struct shash_desc *desc, const u8 *data, in crypto_shash_digest() 222 static int shash_default_export(struct shash_desc *desc, void *out) in shash_default_export() 228 static int shash_default_import(struct shash_desc *desc, const void *in) in shash_default_import() [all …]
|
D | crc32c_generic.c | 62 static int chksum_init(struct shash_desc *desc) in chksum_init() 90 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update() 99 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final() 113 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup() 121 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest()
|
D | sha1_generic.c | 48 int crypto_sha1_update(struct shash_desc *desc, const u8 *data, in crypto_sha1_update() 55 static int sha1_final(struct shash_desc *desc, u8 *out) in sha1_final() 61 int crypto_sha1_finup(struct shash_desc *desc, const u8 *data, in crypto_sha1_finup()
|
D | crypto_null.c | 42 static int null_init(struct shash_desc *desc) in null_init() 47 static int null_update(struct shash_desc *desc, const u8 *data, in null_update() 53 static int null_final(struct shash_desc *desc, u8 *out) in null_final() 58 static int null_digest(struct shash_desc *desc, const u8 *data, in null_digest()
|
D | ghash-generic.c | 24 static int ghash_init(struct shash_desc *desc) in ghash_init() 58 static int ghash_update(struct shash_desc *desc, in ghash_update() 111 static int ghash_final(struct shash_desc *desc, u8 *dst) in ghash_final()
|
D | michael_mic.c | 50 static int michael_init(struct shash_desc *desc) in michael_init() 62 static int michael_update(struct shash_desc *desc, const u8 *data, in michael_update() 103 static int michael_final(struct shash_desc *desc, u8 *out) in michael_final()
|
D | tgr192.c | 498 static int tgr192_init(struct shash_desc *desc) in tgr192_init() 514 static int tgr192_update(struct shash_desc *desc, const u8 *inbuf, in tgr192_update() 555 static int tgr192_final(struct shash_desc *desc, u8 * out) in tgr192_final() 609 static int tgr160_final(struct shash_desc *desc, u8 * out) in tgr160_final() 620 static int tgr128_final(struct shash_desc *desc, u8 * out) in tgr128_final()
|
D | sm3_generic.c | 156 int crypto_sm3_update(struct shash_desc *desc, const u8 *data, in crypto_sm3_update() 163 static int sm3_final(struct shash_desc *desc, u8 *out) in sm3_final() 169 int crypto_sm3_finup(struct shash_desc *desc, const u8 *data, in crypto_sm3_finup()
|
D | md5.c | 132 static int md5_init(struct shash_desc *desc) in md5_init() 145 static int md5_update(struct shash_desc *desc, const u8 *data, unsigned int len) in md5_update() 177 static int md5_final(struct shash_desc *desc, u8 *out) in md5_final() 205 static int md5_export(struct shash_desc *desc, void *out) in md5_export() 213 static int md5_import(struct shash_desc *desc, const void *in) in md5_import()
|
D | wp512.c | 989 static int wp512_init(struct shash_desc *desc) { in wp512_init() 1003 static int wp512_update(struct shash_desc *desc, const u8 *source, in wp512_update() 1065 static int wp512_final(struct shash_desc *desc, u8 *out) in wp512_final() 1100 static int wp384_final(struct shash_desc *desc, u8 *out) in wp384_final() 1111 static int wp256_final(struct shash_desc *desc, u8 *out) in wp256_final()
|
D | xcbc.c | 81 static int crypto_xcbc_digest_init(struct shash_desc *pdesc) in crypto_xcbc_digest_init() 94 static int crypto_xcbc_digest_update(struct shash_desc *pdesc, const u8 *p, in crypto_xcbc_digest_update() 141 static int crypto_xcbc_digest_final(struct shash_desc *pdesc, u8 *out) in crypto_xcbc_digest_final()
|
D | sha512_generic.c | 165 int crypto_sha512_update(struct shash_desc *desc, const u8 *data, in crypto_sha512_update() 172 static int sha512_final(struct shash_desc *desc, u8 *hash) in sha512_final() 178 int crypto_sha512_finup(struct shash_desc *desc, const u8 *data, in crypto_sha512_finup()
|
/linux-4.19.296/include/crypto/internal/ |
D | hash.h | 119 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc); 120 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc); 121 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc);
|