Home
last modified time | relevance | path

Searched refs:MD_DIGEST_LENGTH (Results 1 – 3 of 3) sorted by relevance

/external/openssl/crypto/rand/
Dmd_rand.c140 static unsigned char state[STATE_SIZE+MD_DIGEST_LENGTH];
141 static unsigned char md[MD_DIGEST_LENGTH];
185 OPENSSL_cleanse(md,MD_DIGEST_LENGTH); in ssleay_rand_cleanup()
196 unsigned char local_md[MD_DIGEST_LENGTH]; in ssleay_rand_add()
260 md_count[1] += (num / MD_DIGEST_LENGTH) + (num % MD_DIGEST_LENGTH > 0); in ssleay_rand_add()
265 for (i=0; i<num; i+=MD_DIGEST_LENGTH) in ssleay_rand_add()
268 j=(j > MD_DIGEST_LENGTH)?MD_DIGEST_LENGTH:j; in ssleay_rand_add()
271 MD_Update(&m,local_md,MD_DIGEST_LENGTH); in ssleay_rand_add()
343 unsigned char local_md[MD_DIGEST_LENGTH]; in ssleay_rand_bytes()
366 num_ceil = (1 + (num-1)/(MD_DIGEST_LENGTH/2)) * (MD_DIGEST_LENGTH/2); in ssleay_rand_bytes()
[all …]
Drand_lcl.h137 #define MD_DIGEST_LENGTH MD5_DIGEST_LENGTH macro
142 #define MD_DIGEST_LENGTH SHA_DIGEST_LENGTH macro
147 #define MD_DIGEST_LENGTH MDC2_DIGEST_LENGTH macro
152 #define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH macro
Drand_win.c779 unsigned char md[MD_DIGEST_LENGTH]; in readscreen()
791 RAND_add(md, MD_DIGEST_LENGTH, 0); in readscreen()