Lines Matching defs:ctx
141 static void __sha512_init(struct __sha512_ctx *ctx, in __sha512_init()
150 void sha384_init(struct sha384_ctx *ctx) in sha384_init()
156 void sha512_init(struct sha512_ctx *ctx) in sha512_init()
162 void __sha512_update(struct __sha512_ctx *ctx, const u8 *data, size_t len) in __sha512_update()
196 static void __sha512_final(struct __sha512_ctx *ctx, in __sha512_final()
218 void sha384_final(struct sha384_ctx *ctx, u8 out[SHA384_DIGEST_SIZE]) in sha384_final()
225 void sha512_final(struct sha512_ctx *ctx, u8 out[SHA512_DIGEST_SIZE]) in sha512_final()
234 struct sha384_ctx ctx; in sha384() local
244 struct sha512_ctx ctx; in sha512() local
301 void __hmac_sha512_init(struct __hmac_sha512_ctx *ctx, in __hmac_sha512_init()
309 void hmac_sha384_init_usingrawkey(struct hmac_sha384_ctx *ctx, in hmac_sha384_init_usingrawkey()
319 void hmac_sha512_init_usingrawkey(struct hmac_sha512_ctx *ctx, in hmac_sha512_init_usingrawkey()
329 static void __hmac_sha512_final(struct __hmac_sha512_ctx *ctx, in __hmac_sha512_final()
348 void hmac_sha384_final(struct hmac_sha384_ctx *ctx, in hmac_sha384_final()
355 void hmac_sha512_final(struct hmac_sha512_ctx *ctx, in hmac_sha512_final()
365 struct hmac_sha384_ctx ctx; in hmac_sha384() local
376 struct hmac_sha512_ctx ctx; in hmac_sha512() local
388 struct hmac_sha384_ctx ctx; in hmac_sha384_usingrawkey() local
400 struct hmac_sha512_ctx ctx; in hmac_sha512_usingrawkey() local