HomeSort by relevance Sort by last modified time
    Searched refs:SHA1_HASH_SIZE (Results 1 - 12 of 12) sorted by null

  /external/dropbear/
dss.c 167 unsigned char msghash[SHA1_HASH_SIZE];
184 if (stringlen != 2*SHA1_HASH_SIZE) {
196 bytes_to_mp(&val1, &string[SHA1_HASH_SIZE], SHA1_HASH_SIZE);
209 bytes_to_mp(&val1, msghash, SHA1_HASH_SIZE);
218 bytes_to_mp(&val1, &string[0], SHA1_HASH_SIZE);
298 unsigned char msghash[SHA1_HASH_SIZE];
338 sha512_process(&hs, msghash, SHA1_HASH_SIZE);
354 bytes_to_mp(&dss_m, msghash, SHA1_HASH_SIZE);
385 buf_putint(buf, 2*SHA1_HASH_SIZE);
    [all...]
dss.h 33 #define DSS_SIGNATURE_SIZE 4+SSH_SIGNKEY_DSS_LEN+4+2*SHA1_HASH_SIZE
common-kex.c 219 * out must have at least min(SHA1_HASH_SIZE, outlen) bytes allocated.
221 * outlen <= 2*SHA1_HASH_SIZE for all known hashes.
228 unsigned char k2[SHA1_HASH_SIZE]; /* used to extending */
232 sha1_process(&hs2, ses.session_id, SHA1_HASH_SIZE);
234 if (SHA1_HASH_SIZE < outlen) {
237 sha1_process(&hs2, out, SHA1_HASH_SIZE);
239 memcpy(&out[SHA1_HASH_SIZE], k2, outlen - SHA1_HASH_SIZE);
272 sha1_process(&hs, ses.hash, SHA1_HASH_SIZE);
273 m_burn(ses.hash, SHA1_HASH_SIZE);
    [all...]
random.c 37 static unsigned char hashpool[SHA1_HASH_SIZE];
182 unsigned char hash[SHA1_HASH_SIZE];
200 copylen = MIN(len, SHA1_HASH_SIZE);
options.h 292 #define SHA1_HASH_SIZE 20
299 #define MAX_MAC_LEN SHA1_HASH_SIZE
304 and >= SHA1_HASH_SIZE */
svr-kex.c 99 ses.newkeys->algo_hostkey, ses.hash, SHA1_HASH_SIZE);
cli-authpubkey.c 161 sigbuf = buf_new(4 + SHA1_HASH_SIZE + ses.writepayload->len);
162 buf_putstring(sigbuf, ses.session_id, SHA1_HASH_SIZE);
rsa.c 401 while(rsa_EM->pos != rsa_EM->size - RSA_ASN1_MAGIC_LEN - SHA1_HASH_SIZE) {
412 sha1_done(&hs, buf_getwriteptr(rsa_EM, SHA1_HASH_SIZE));
413 buf_incrwritepos(rsa_EM, SHA1_HASH_SIZE);
signkey.c 316 unsigned char hash[SHA1_HASH_SIZE];
328 buflen = 5 + 3*SHA1_HASH_SIZE;
333 for (i = 0; i < SHA1_HASH_SIZE; i++) {
session.h 136 unsigned char hash[SHA1_HASH_SIZE]; /* the hash*/
svr-authpubkey.c 97 signbuf = buf_new(ses.payload->pos + 4 + SHA1_HASH_SIZE);
98 buf_putstring(signbuf, ses.session_id, SHA1_HASH_SIZE);
cli-kex.c 102 if (buf_verify(ses.payload, hostkey, ses.hash, SHA1_HASH_SIZE)

Completed in 252 milliseconds