Lines Matching refs:KEY_LEN
107 uint8_t mySecret[KEY_LEN];
327 char outbuf[ KEY_LEN + PadA_MAXLEN ], *walk=outbuf;
331 assert( len == KEY_LEN );
402 uint8_t yb[KEY_LEN];
412 needlen = KEY_LEN;
431 evbuffer_remove( inbuf, yb, KEY_LEN );
433 memcpy( handshake->mySecret, secret, KEY_LEN );
442 tr_sha1( req1, "req1", 4, secret, KEY_LEN, NULL );
455 tr_sha1( req3, "req3", 4, secret, KEY_LEN, NULL );
741 uint8_t ya[KEY_LEN];
742 uint8_t * walk, outbuf[KEY_LEN + PadB_MAXLEN];
747 KEY_LEN, evbuffer_get_length( inbuf ) );
748 if( evbuffer_get_length( inbuf ) < KEY_LEN )
752 evbuffer_remove( inbuf, ya, KEY_LEN );
754 memcpy( handshake->mySecret, secret, KEY_LEN );
755 tr_sha1( handshake->myReq1, "req1", 4, secret, KEY_LEN, NULL );
827 tr_sha1( req3, "req3", 4, handshake->mySecret, KEY_LEN, NULL );