Searched refs:SHA512_CTX (Results 1 – 1 of 1) sorted by relevance
140 #define SHA512_CTX(desc) ((struct sha512_ctx *)shash_desc_ctx(desc)) macro144 sha512_init(SHA512_CTX(desc)); in crypto_sha512_init()151 sha512_update(SHA512_CTX(desc), data, len); in crypto_sha512_update()157 sha512_final(SHA512_CTX(desc), out); in crypto_sha512_final()170 return __crypto_sha512_export(&SHA512_CTX(desc)->ctx, out); in crypto_sha512_export()175 return __crypto_sha512_import(&SHA512_CTX(desc)->ctx, in); in crypto_sha512_import()180 return __crypto_sha512_export_core(&SHA512_CTX(desc)->ctx, out); in crypto_sha512_export_core()185 return __crypto_sha512_import_core(&SHA512_CTX(desc)->ctx, in); in crypto_sha512_import_core()