Symbol: __sha512_ctx
crypto/sha512.c
23
static_assert(offsetof(struct __sha512_ctx, state) == 0);
crypto/sha512.c
24
static_assert(offsetof(struct __sha512_ctx, bytecount_lo) == 64);
crypto/sha512.c
25
static_assert(offsetof(struct __sha512_ctx, bytecount_hi) == 72);
crypto/sha512.c
26
static_assert(offsetof(struct __sha512_ctx, buf) == 80);
crypto/sha512.c
27
static_assert(sizeof(struct __sha512_ctx) + 1 == SHA512_SHASH_STATE_SIZE);
crypto/sha512.c
29
static int __crypto_sha512_export(const struct __sha512_ctx *ctx0, void *out)
crypto/sha512.c
31
struct __sha512_ctx ctx = *ctx0;
crypto/sha512.c
43
static int __crypto_sha512_import(struct __sha512_ctx *ctx, const void *in)
crypto/sha512.c
53
static int __crypto_sha512_export_core(const struct __sha512_ctx *ctx,
crypto/sha512.c
56
memcpy(out, ctx, offsetof(struct __sha512_ctx, buf));
crypto/sha512.c
60
static int __crypto_sha512_import_core(struct __sha512_ctx *ctx, const void *in)
crypto/sha512.c
62
memcpy(ctx, in, offsetof(struct __sha512_ctx, buf));
include/crypto/sha2.h
545
void __sha512_update(struct __sha512_ctx *ctx, const u8 *data, size_t len);
include/crypto/sha2.h
557
struct __sha512_ctx sha_ctx;
include/crypto/sha2.h
568
struct __sha512_ctx ctx;
include/crypto/sha2.h
743
struct __sha512_ctx ctx;
lib/crypto/sha512.c
142
static void __sha512_init(struct __sha512_ctx *ctx,
lib/crypto/sha512.c
163
void __sha512_update(struct __sha512_ctx *ctx, const u8 *data, size_t len)
lib/crypto/sha512.c
197
static void __sha512_final(struct __sha512_ctx *ctx,