Searched refs:__sha512_ctx (Results 1 – 3 of 3) sorted by relevance
| /linux/crypto/ |
| H A D | sha512.c | 23 static_assert(offsetof(struct __sha512_ctx, state) == 0); 24 static_assert(offsetof(struct __sha512_ctx, bytecount_lo) == 64); 25 static_assert(offsetof(struct __sha512_ctx, bytecount_hi) == 72); 26 static_assert(offsetof(struct __sha512_ctx, buf) == 80); 27 static_assert(sizeof(struct __sha512_ctx) + 1 == SHA512_SHASH_STATE_SIZE); 29 static int __crypto_sha512_export(const struct __sha512_ctx *ctx0, void *out) in __crypto_sha512_export() 31 struct __sha512_ctx ctx = *ctx0; in __crypto_sha512_export() 43 static int __crypto_sha512_import(struct __sha512_ctx *ctx, const void *in) in __crypto_sha512_import() 53 static int __crypto_sha512_export_core(const struct __sha512_ctx *ctx, in __crypto_sha512_export_core() 56 memcpy(out, ctx, offsetof(struct __sha512_ctx, buf)); in __crypto_sha512_export_core() [all …]
|
| /linux/include/crypto/ |
| H A D | sha2.h | 539 struct __sha512_ctx { struct 545 void __sha512_update(struct __sha512_ctx *ctx, const u8 *data, size_t len); argument 557 struct __sha512_ctx sha_ctx; 568 struct __sha512_ctx ctx; 743 struct __sha512_ctx ctx;
|
| /linux/lib/crypto/ |
| H A D | sha512.c | 142 static void __sha512_init(struct __sha512_ctx *ctx, in __sha512_init() 163 void __sha512_update(struct __sha512_ctx *ctx, const u8 *data, size_t len) in __sha512_update() 197 static void __sha512_final(struct __sha512_ctx *ctx, in __sha512_final()
|