Searched refs:apphash (Results 1 – 3 of 3) sorted by relevance
/freebsd/crypto/openssh/regress/misc/sk-dummy/ |
H A D | sk-dummy.c | 321 uint8_t apphash[SHA256_DIGEST_LENGTH]; in sig_ecdsa() local 352 SHA256Final(apphash, &ctx); in sig_ecdsa() 353 dump("apphash", apphash, sizeof(apphash)); in sig_ecdsa() 361 SHA256Update(&ctx, apphash, sizeof(apphash)); in sig_ecdsa() 385 explicit_bzero(&apphash, sizeof(apphash)); in sig_ecdsa() 412 uint8_t apphash[SHA256_DIGEST_LENGTH]; in sig_ed25519() local 413 uint8_t signbuf[sizeof(apphash) + sizeof(flags) + in sig_ed25519() 431 SHA256Final(apphash, &ctx); in sig_ed25519() 432 dump("apphash", apphash, sizeof(apphash)); in sig_ed25519() 434 memcpy(signbuf, apphash, sizeof(apphash)); in sig_ed25519() [all …]
|
/freebsd/crypto/openssh/ |
H A D | ssh-ed25519-sk.c | 136 u_char apphash[32]; in ssh_ed25519_sk_verify() local 185 strlen(key->sk_application), apphash, sizeof(apphash)) != 0 || in ssh_ed25519_sk_verify() 193 sshbuf_dump_data(apphash, sizeof(apphash), stderr); in ssh_ed25519_sk_verify() 208 sshbuf_put(encoded, apphash, sizeof(apphash)) != 0 || in ssh_ed25519_sk_verify()
|
H A D | ssh-ecdsa-sk.c | 242 u_char msghash[32], apphash[32], sighash[32]; in ssh_ecdsa_sk_verify() local 351 strlen(key->sk_application), apphash, sizeof(apphash))) != 0) in ssh_ecdsa_sk_verify() 355 sshbuf_dump_data(apphash, sizeof(apphash), stderr); in ssh_ecdsa_sk_verify() 360 apphash, sizeof(apphash))) != 0 || in ssh_ecdsa_sk_verify() 401 explicit_bzero(apphash, sizeof(apphash)); in ssh_ecdsa_sk_verify()
|