Symbol: __sha256_ctx
crypto/sha256.c
24
static_assert(offsetof(struct __sha256_ctx, state) == 0);
crypto/sha256.c
25
static_assert(offsetof(struct __sha256_ctx, bytecount) == 32);
crypto/sha256.c
26
static_assert(offsetof(struct __sha256_ctx, buf) == 40);
crypto/sha256.c
27
static_assert(sizeof(struct __sha256_ctx) + 1 == SHA256_SHASH_STATE_SIZE);
crypto/sha256.c
29
static int __crypto_sha256_export(const struct __sha256_ctx *ctx0, void *out)
crypto/sha256.c
31
struct __sha256_ctx ctx = *ctx0;
crypto/sha256.c
43
static int __crypto_sha256_import(struct __sha256_ctx *ctx, const void *in)
crypto/sha256.c
53
static int __crypto_sha256_export_core(const struct __sha256_ctx *ctx,
crypto/sha256.c
56
memcpy(out, ctx, offsetof(struct __sha256_ctx, buf));
crypto/sha256.c
60
static int __crypto_sha256_import_core(struct __sha256_ctx *ctx, const void *in)
crypto/sha256.c
62
memcpy(ctx, in, offsetof(struct __sha256_ctx, buf));
include/crypto/sha2.h
132
void __sha256_update(struct __sha256_ctx *ctx, const u8 *data, size_t len);
include/crypto/sha2.h
144
struct __sha256_ctx sha_ctx;
include/crypto/sha2.h
155
struct __sha256_ctx ctx;
include/crypto/sha2.h
330
struct __sha256_ctx ctx;
lib/crypto/arm64/sha256.h
45
static_assert(offsetof(struct __sha256_ctx, state) == 0);
lib/crypto/arm64/sha256.h
46
static_assert(offsetof(struct __sha256_ctx, bytecount) == 32);
lib/crypto/arm64/sha256.h
47
static_assert(offsetof(struct __sha256_ctx, buf) == 40);
lib/crypto/arm64/sha256.h
48
asmlinkage void sha256_ce_finup2x(const struct __sha256_ctx *ctx,
lib/crypto/arm64/sha256.h
54
static bool sha256_finup_2x_arch(const struct __sha256_ctx *ctx,
lib/crypto/sha256.c
165
static void __sha256_init(struct __sha256_ctx *ctx,
lib/crypto/sha256.c
185
void __sha256_update(struct __sha256_ctx *ctx, const u8 *data, size_t len)
lib/crypto/sha256.c
218
static void __sha256_final(struct __sha256_ctx *ctx,
lib/crypto/sha256.c
279
static bool sha256_finup_2x_arch(const struct __sha256_ctx *ctx,
lib/crypto/sha256.c
294
const struct __sha256_ctx *ctx, const u8 *data1, const u8 *data2,
lib/crypto/sha256.c
297
struct __sha256_ctx mut_ctx;
lib/crypto/x86/sha256.h
40
static_assert(offsetof(struct __sha256_ctx, state) == 0);
lib/crypto/x86/sha256.h
41
static_assert(offsetof(struct __sha256_ctx, bytecount) == 32);
lib/crypto/x86/sha256.h
42
static_assert(offsetof(struct __sha256_ctx, buf) == 40);
lib/crypto/x86/sha256.h
43
asmlinkage void sha256_ni_finup2x(const struct __sha256_ctx *ctx,
lib/crypto/x86/sha256.h
49
static bool sha256_finup_2x_arch(const struct __sha256_ctx *ctx,