Searched refs:sha3_ctx (Results 1 – 2 of 2) sorted by relevance
73 struct sha3_ctx { struct84 static inline void sha3_zeroize_ctx(struct sha3_ctx *ctx) in sha3_zeroize_ctx()116 static inline void sha3_224_init(struct sha3_ctx *ctx) in sha3_224_init()118 *ctx = (struct sha3_ctx){ in sha3_224_init()132 static inline void sha3_256_init(struct sha3_ctx *ctx) in sha3_256_init()134 *ctx = (struct sha3_ctx){ in sha3_256_init()148 static inline void sha3_384_init(struct sha3_ctx *ctx) in sha3_384_init()150 *ctx = (struct sha3_ctx){ in sha3_384_init()164 static inline void sha3_512_init(struct sha3_ctx *ctx) in sha3_512_init()166 *ctx = (struct sha3_ctx){ in sha3_512_init()[all …]
11 #define SHA3_CTX(desc) ((struct sha3_ctx *)shash_desc_ctx(desc))80 memcpy(out, SHA3_CTX(desc), sizeof(struct sha3_ctx)); in crypto_sha3_export_core()86 memcpy(SHA3_CTX(desc), in, sizeof(struct sha3_ctx)); in crypto_sha3_import_core()98 .descsize = sizeof(struct sha3_ctx),111 .descsize = sizeof(struct sha3_ctx),124 .descsize = sizeof(struct sha3_ctx),137 .descsize = sizeof(struct sha3_ctx),