Home
last modified time | relevance | path

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

/linux/crypto/
H A Dsha1.c71 #define SHA1_CTX(desc) ((struct sha1_ctx *)shash_desc_ctx(desc)) macro
75 sha1_init(SHA1_CTX(desc)); in crypto_sha1_init()
82 sha1_update(SHA1_CTX(desc), data, len); in crypto_sha1_update()
88 sha1_final(SHA1_CTX(desc), out); in crypto_sha1_final()
101 return __crypto_sha1_export(SHA1_CTX(desc), out); in crypto_sha1_export()
106 return __crypto_sha1_import(SHA1_CTX(desc), in); in crypto_sha1_import()
111 return __crypto_sha1_export_core(SHA1_CTX(desc), out); in crypto_sha1_export_core()
116 return __crypto_sha1_import_core(SHA1_CTX(desc), in); in crypto_sha1_import_core()