Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/tools/rockchip/
H A Dsha2.h131 } sha2_ctx; typedef
151 int sha2_begin(sha2_ctx ctx[1], unsigned long size);
152 void sha2_hash(sha2_ctx ctx[1], const unsigned char data[], unsigned long len);
153 void sha2_end(sha2_ctx ctx[1], unsigned char hval[]);
H A Dsha2.c687 int sha2_begin(sha2_ctx ctx[1], unsigned long len) in sha2_begin()
717 void sha2_hash(sha2_ctx ctx[1], const unsigned char data[], unsigned long len) in sha2_hash()
732 void sha2_end(sha2_ctx ctx[1], unsigned char hval[]) in sha2_end()
750 sha2_ctx cx[1]; in sha2()