Searched refs:SHA1_HASH_SIZE (Results 1 - 12 of 12) sorted by relevance
/external/dropbear/ |
H A D | 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...] |
H A D | dss.h | 33 #define DSS_SIGNATURE_SIZE 4+SSH_SIGNKEY_DSS_LEN+4+2*SHA1_HASH_SIZE
|
H A D | 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...] |
H A D | random.c | 37 static unsigned char hashpool[SHA1_HASH_SIZE]; 182 unsigned char hash[SHA1_HASH_SIZE]; 200 copylen = MIN(len, SHA1_HASH_SIZE);
|
H A D | options.h | 292 #define SHA1_HASH_SIZE 20 macro 299 #define MAX_MAC_LEN SHA1_HASH_SIZE 304 and >= SHA1_HASH_SIZE */
|
H A D | svr-kex.c | 99 ses.newkeys->algo_hostkey, ses.hash, SHA1_HASH_SIZE);
|
H A D | cli-authpubkey.c | 161 sigbuf = buf_new(4 + SHA1_HASH_SIZE + ses.writepayload->len); 162 buf_putstring(sigbuf, ses.session_id, SHA1_HASH_SIZE);
|
H A D | 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);
|
H A D | 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++) {
|
H A D | session.h | 136 unsigned char hash[SHA1_HASH_SIZE]; /* the hash*/
|
H A D | svr-authpubkey.c | 97 signbuf = buf_new(ses.payload->pos + 4 + SHA1_HASH_SIZE); 98 buf_putstring(signbuf, ses.session_id, SHA1_HASH_SIZE);
|
H A D | cli-kex.c | 102 if (buf_verify(ses.payload, hostkey, ses.hash, SHA1_HASH_SIZE)
|
Completed in 126 milliseconds