Home
last modified time | relevance | path

Searched refs:signbuf (Results 1 – 2 of 2) sorted by relevance

/external/dropbear/
Dsvr-authpubkey.c58 buffer * signbuf = NULL; in svr_auth_pubkey() local
97 signbuf = buf_new(ses.payload->pos + 4 + SHA1_HASH_SIZE); in svr_auth_pubkey()
98 buf_putstring(signbuf, ses.session_id, SHA1_HASH_SIZE); in svr_auth_pubkey()
99 buf_putbytes(signbuf, ses.payload->data, ses.payload->pos); in svr_auth_pubkey()
100 buf_setpos(signbuf, 0); in svr_auth_pubkey()
104 if (buf_verify(ses.payload, key, buf_getptr(signbuf, signbuf->len), in svr_auth_pubkey()
105 signbuf->len) == DROPBEAR_SUCCESS) { in svr_auth_pubkey()
120 if (signbuf) { in svr_auth_pubkey()
121 buf_free(signbuf); in svr_auth_pubkey()
/external/openssl/ssl/
Ds3_clnt.c3104 unsigned char signbuf[64]; in ssl3_send_client_verify() local
3110 if (EVP_PKEY_sign(pctx, signbuf, &sigsize, data, 32) <= 0) { in ssl3_send_client_verify()
3116 p[2+j]=signbuf[i]; in ssl3_send_client_verify()