Home
last modified time | relevance | path

Searched refs:SHA256_CTX (Results 1 – 1 of 1) sorted by relevance

/linux/crypto/
H A Dsha256.c134 #define SHA256_CTX(desc) ((struct sha256_ctx *)shash_desc_ctx(desc)) macro
138 sha256_init(SHA256_CTX(desc)); in crypto_sha256_init()
145 sha256_update(SHA256_CTX(desc), data, len); in crypto_sha256_update()
151 sha256_final(SHA256_CTX(desc), out); in crypto_sha256_final()
164 return __crypto_sha256_export(&SHA256_CTX(desc)->ctx, out); in crypto_sha256_export()
169 return __crypto_sha256_import(&SHA256_CTX(desc)->ctx, in); in crypto_sha256_import()
174 return __crypto_sha256_export_core(&SHA256_CTX(desc)->ctx, out); in crypto_sha256_export_core()
179 return __crypto_sha256_import_core(&SHA256_CTX(desc)->ctx, in); in crypto_sha256_import_core()