Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/crypto/fsl/
H A Dfsl_hash.c59 static int caam_hash_init(void **ctxp, enum caam_hash_algos caam_algo) in caam_hash_init() argument
61 *ctxp = calloc(1, sizeof(struct sha_ctx)); in caam_hash_init()
62 if (*ctxp == NULL) { in caam_hash_init()
198 int hw_sha_init(struct hash_algo *algo, void **ctxp) in hw_sha_init() argument
200 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
/rk3399_rockchip-uboot/common/
H A Dhash.c34 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() argument
38 *ctxp = ctx; in hash_init_sha1()
62 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256() argument
66 *ctxp = ctx; in hash_init_sha256()
89 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32() argument
93 *ctxp = ctx; in hash_init_crc32()
/rk3399_rockchip-uboot/include/
H A Dhw_sha.h45 int hw_sha_init(struct hash_algo *algo, void **ctxp);
H A Dhash.h44 int (*hash_init)(struct hash_algo *algo, void **ctxp);