Searched refs:hash_context (Results 1 – 20 of 20) sorted by relevance
/freebsd/crypto/libecc/src/hash/ |
H A D | hash_algs.c | 151 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 D | hmac.c | 49 hash_context tmp_ctx; in hmac_init()
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | hash_algs.h | 113 } 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 D | hmac.h | 20 hash_context in_ctx; 21 hash_context out_ctx;
|
/freebsd/crypto/libecc/include/libecc/sig/ |
H A D | eddsa.h | 72 hash_context h_ctx; 99 hash_context h_ctx; 100 hash_context h_ctx_pre_hash;
|
H A D | ecrdsa.h | 54 hash_context h_ctx; 68 hash_context h_ctx;
|
H A D | ecgdsa.h | 54 hash_context h_ctx; 68 hash_context h_ctx;
|
H A D | eckcdsa.h | 53 hash_context h_ctx; 67 hash_context h_ctx;
|
H A D | sm2.h | 46 hash_context h_ctx; 68 hash_context h_ctx;
|
H A D | ecsdsa.h | 53 hash_context h_ctx; 66 hash_context h_ctx;
|
H A D | ecdsa_common.h | 49 hash_context h_ctx; 69 hash_context h_ctx;
|
H A D | ecfsdsa.h | 51 hash_context h_ctx; 72 hash_context h_ctx;
|
H A D | bign_common.h | 65 hash_context h_ctx; 86 hash_context h_ctx;
|
H A D | bip0340.h | 53 hash_context h_ctx;
|
/freebsd/crypto/libecc/src/examples/hash/ |
H A D | hash.h | 82 hash_context hctx;
|
/freebsd/crypto/libecc/src/sig/ |
H A D | eckcdsa.c | 305 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 D | eddsa.c | 61 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 D | bip0340.c | 47 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 D | ecfsdsa.c | 670 hash_context h_ctx; in _ecfsdsa_verify_batch_no_memory() 853 hash_context h_ctx; in _ecfsdsa_verify_batch()
|
H A D | sm2.c | 143 hash_context hctx; in sm2_compute_Z()
|