Searched refs:sighash (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | ssh-ecdsa-sk.c | 63 u_char msghash[32], apphash[32], sighash[32]; in ssh_ecdsa_sk_verify() local 159 sighash, sizeof(sighash))) != 0) in ssh_ecdsa_sk_verify() 171 sshbuf_dump_data(sighash, sizeof(sighash), stderr); in ssh_ecdsa_sk_verify() 175 switch (ECDSA_do_verify(sighash, sizeof(sighash), sig, key->ecdsa)) { in ssh_ecdsa_sk_verify() 195 explicit_bzero(sighash, sizeof(msghash)); in ssh_ecdsa_sk_verify()
|
/external/openssh/regress/misc/sk-dummy/ |
D | sk-dummy.c | 311 uint8_t sighash[SHA256_DIGEST_LENGTH]; in sig_ecdsa() local 354 SHA256_Final(sighash, &ctx); in sig_ecdsa() 355 dump("sighash", sighash, sizeof(sighash)); in sig_ecdsa() 357 if ((sig = ECDSA_do_sign(sighash, sizeof(sighash), ec)) == NULL) { in sig_ecdsa() 375 explicit_bzero(&sighash, sizeof(sighash)); in sig_ecdsa()
|