Searched refs:hash_ctx (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/crypto/openssl/engines/ccgost/
H A Dgost2001_keyx.c31 gost_hash_ctx hash_ctx; local
57 init_gost_hash_ctx(&hash_ctx, &GostR3411_94_CryptoProParamSet);
58 start_hash(&hash_ctx);
59 hash_block(&hash_ctx, hashbuf, 64);
60 finish_hash(&hash_ctx, shared_key);
61 done_gost_hash_ctx(&hash_ctx);
H A Dgost94_keyx.c55 gost_hash_ctx hash_ctx; local
70 init_gost_hash_ctx(&hash_ctx, &GostR3411_94_CryptoProParamSet);
71 start_hash(&hash_ctx);
72 hash_block(&hash_ctx, dh_key, 128);
73 finish_hash(&hash_ctx, shared_key);
74 done_gost_hash_ctx(&hash_ctx);

Completed in 103 milliseconds