Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dhash_algs.c151 ATTRIBUTE_WARN_UNUSED_RET int _sha224_init(hash_context * hctx) in _sha224_init()
155 ATTRIBUTE_WARN_UNUSED_RET int _sha224_update(hash_context * hctx, const unsigned char *chunk, u32 c… in _sha224_update()
159 ATTRIBUTE_WARN_UNUSED_RET int _sha224_final(hash_context * hctx, unsigned char *output) in _sha224_final()
165 ATTRIBUTE_WARN_UNUSED_RET int _sha256_init(hash_context * hctx) in _sha256_init()
169 ATTRIBUTE_WARN_UNUSED_RET int _sha256_update(hash_context * hctx, const unsigned char *chunk, u32 c… in _sha256_update()
173 ATTRIBUTE_WARN_UNUSED_RET int _sha256_final(hash_context * hctx, unsigned char *output) in _sha256_final()
179 ATTRIBUTE_WARN_UNUSED_RET int _sha384_init(hash_context * hctx) in _sha384_init()
183 ATTRIBUTE_WARN_UNUSED_RET int _sha384_update(hash_context * hctx, const unsigned char *chunk, u32 c… in _sha384_update()
187 ATTRIBUTE_WARN_UNUSED_RET int _sha384_final(hash_context * hctx, unsigned char *output) in _sha384_final()
193 ATTRIBUTE_WARN_UNUSED_RET int _sha512_init(hash_context * hctx) in _sha512_init()
[all …]
H A Dhmac.c49 hash_context tmp_ctx; in hmac_init()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dhash_algs.h113 } hash_context; typedef
115 typedef int (*_hfunc_init) (hash_context * hctx);
116 typedef int (*_hfunc_update) (hash_context * hctx,
118 typedef int (*_hfunc_finalize) (hash_context * hctx, unsigned char *output);
127 ATTRIBUTE_WARN_UNUSED_RET int _sha224_init(hash_context * hctx);
128 ATTRIBUTE_WARN_UNUSED_RET int _sha224_update(hash_context * hctx, const unsigned char *chunk, u32 c…
129 ATTRIBUTE_WARN_UNUSED_RET int _sha224_final(hash_context * hctx, unsigned char *output);
132 ATTRIBUTE_WARN_UNUSED_RET int _sha256_init(hash_context * hctx);
133 ATTRIBUTE_WARN_UNUSED_RET int _sha256_update(hash_context * hctx, const unsigned char *chunk, u32 c…
134 ATTRIBUTE_WARN_UNUSED_RET int _sha256_final(hash_context * hctx, unsigned char *output);
[all …]
H A Dhmac.h20 hash_context in_ctx;
21 hash_context out_ctx;
/freebsd/crypto/libecc/include/libecc/sig/
H A Deddsa.h72 hash_context h_ctx;
99 hash_context h_ctx;
100 hash_context h_ctx_pre_hash;
H A Decrdsa.h54 hash_context h_ctx;
68 hash_context h_ctx;
H A Decgdsa.h54 hash_context h_ctx;
68 hash_context h_ctx;
H A Deckcdsa.h53 hash_context h_ctx;
67 hash_context h_ctx;
H A Dsm2.h46 hash_context h_ctx;
68 hash_context h_ctx;
H A Decsdsa.h53 hash_context h_ctx;
66 hash_context h_ctx;
H A Decdsa_common.h49 hash_context h_ctx;
69 hash_context h_ctx;
H A Decfsdsa.h51 hash_context h_ctx;
72 hash_context h_ctx;
H A Dbign_common.h65 hash_context h_ctx;
86 hash_context h_ctx;
H A Dbip0340.h53 hash_context h_ctx;
/freebsd/crypto/libecc/src/examples/hash/
H A Dhash.h82 hash_context hctx;
/freebsd/crypto/libecc/src/sig/
H A Deckcdsa.c305 hash_context r_ctx; in _eckcdsa_sign_finalize()
414 ret = local_memset(&r_ctx, 0, sizeof(hash_context)); EG(ret, err); in _eckcdsa_sign_finalize()
702 hash_context r_prime_ctx; in _eckcdsa_verify_finalize()
786 ret = local_memset(&r_prime_ctx, 0, sizeof(hash_context)); EG(ret, err); in _eckcdsa_verify_finalize()
H A Deddsa.c61 hash_context *h_ctx, u8 dom_type){ in dom()
103 hash_context *h_ctx){ in dom2()
119 hash_context *h_ctx){ in dom4()
1058 hash_context hash_ctx;
1581 hash_context h_ctx;
1934 hash_context *h_ctx;
1935 hash_context *h_ctx_pre_hash;
2079 hash_context *h_ctx;
2080 hash_context *h_ctx_pre_hash;
2141 hash_context *h_ctx;
[all …]
H A Dbip0340.c47 const hash_mapping *hm, hash_context *h_ctx) in _bip0340_hash()
176 hash_context h_ctx; in _bip0340_sign()
765 hash_context h_ctx; in _bip0340_compute_batch_csprng_seed()
823 hash_context h_ctx; in _bip0340_verify_batch_no_memory()
1043 hash_context h_ctx; in _bip0340_verify_batch()
H A Decfsdsa.c670 hash_context h_ctx; in _ecfsdsa_verify_batch_no_memory()
853 hash_context h_ctx; in _ecfsdsa_verify_batch()
H A Dsm2.c143 hash_context hctx; in sm2_compute_Z()