Searched refs:ctxp (Results 1 – 4 of 4) sorted by relevance
59 static int caam_hash_init(void **ctxp, enum caam_hash_algos caam_algo) in caam_hash_init() argument61 *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() argument200 return caam_hash_init(ctxp, get_hash_type(algo)); in hw_sha_init()
34 static int hash_init_sha1(struct hash_algo *algo, void **ctxp) in hash_init_sha1() argument38 *ctxp = ctx; in hash_init_sha1()62 static int hash_init_sha256(struct hash_algo *algo, void **ctxp) in hash_init_sha256() argument66 *ctxp = ctx; in hash_init_sha256()89 static int hash_init_crc32(struct hash_algo *algo, void **ctxp) in hash_init_crc32() argument93 *ctxp = ctx; in hash_init_crc32()
45 int hw_sha_init(struct hash_algo *algo, void **ctxp);
44 int (*hash_init)(struct hash_algo *algo, void **ctxp);