| /freebsd/crypto/openssh/ |
| H A D | dispatch.c | 91 uint32_t seqnr; in ssh_dispatch_run() local 95 r = ssh_packet_read_seqnr(ssh, &type, &seqnr); in ssh_dispatch_run() 99 r = ssh_packet_read_poll_seqnr(ssh, &type, &seqnr); in ssh_dispatch_run() 112 r = (*ssh->dispatch[type])(type, seqnr, ssh); in ssh_dispatch_run()
|
| H A D | cipher-chachapoly.c | 69 chachapoly_crypt(struct chachapoly_ctx *ctx, u_int seqnr, u_char *dest, in chachapoly_crypt() argument 82 POKE_U64(seqbuf, seqnr); in chachapoly_crypt() 125 u_int *plenp, u_int seqnr, const u_char *cp, u_int len) in chachapoly_get_length() argument 131 POKE_U64(seqbuf, seqnr); in chachapoly_get_length()
|
| H A D | cipher-chachapoly-libcrypto.c | 83 chachapoly_crypt(struct chachapoly_ctx *ctx, u_int seqnr, u_char *dest, in chachapoly_crypt() argument 95 POKE_U64(seqbuf + 8, seqnr); in chachapoly_crypt() 148 u_int *plenp, u_int seqnr, const u_char *cp, u_int len) in chachapoly_get_length() argument 155 POKE_U64(seqbuf + 8, seqnr); in chachapoly_get_length()
|
| H A D | cipher-chachapoly.h | 33 int chachapoly_crypt(struct chachapoly_ctx *cpctx, u_int seqnr, 37 u_int *plenp, u_int seqnr, const u_char *cp, u_int len)
|
| H A D | packet.c | 102 uint32_t seqnr; member 401 state->p_read.seqnr, in ssh_packet_stop_discard() 1326 if ((r = mac_compute(mac, state->p_send.seqnr, in ssh_packet_send2_wrapped() 1330 DBG(debug("done calc MAC out #%d", state->p_send.seqnr)); in ssh_packet_send2_wrapped() 1336 if ((r = cipher_crypt(state->send_context, state->p_send.seqnr, cp, in ssh_packet_send2_wrapped() 1344 if ((r = mac_compute(mac, state->p_send.seqnr, in ssh_packet_send2_wrapped() 1348 state->p_send.seqnr)); in ssh_packet_send2_wrapped() 1358 if (++state->p_send.seqnr == 0) { in ssh_packet_send2_wrapped() 1372 debug_f("resetting send seqnr %u", state->p_send.seqnr); in ssh_packet_send2_wrapped() 1373 state->p_send.seqnr = 0; in ssh_packet_send2_wrapped() [all …]
|
| H A D | cipher.c | 335 cipher_crypt(struct sshcipher_ctx *cc, u_int seqnr, u_char *dest, in cipher_crypt() argument 339 return chachapoly_crypt(cc->cp_ctx, seqnr, dest, src, in cipher_crypt() 398 cipher_get_length(struct sshcipher_ctx *cc, u_int *plenp, u_int seqnr, in cipher_get_length() argument 402 return chachapoly_get_length(cc->cp_ctx, plenp, seqnr, in cipher_get_length()
|
| H A D | ssh_api.c | 258 uint32_t seqnr; in ssh_packet_next() local 281 if ((r = ssh_packet_read_poll2(ssh, &type, &seqnr)) != 0) in ssh_packet_next() 286 if ((r = (*ssh->dispatch[type])(type, seqnr, ssh)) != 0) in ssh_packet_next()
|
| H A D | sshconnect2.c | 1076 input_userauth_passwd_changereq(int type, uint32_t seqnr, struct ssh *ssh) in input_userauth_passwd_changereq() argument
|
| /freebsd/sys/kern/ |
| H A D | kern_dump.c | 173 dumpsys_cb_dumpdata(struct dump_pa *mdp, int seqnr, void *arg) in dumpsys_cb_dumpdata() argument 192 printf(" chunk %d: %juMB (%ju pages)", seqnr, (uintmax_t)PG2MB(pgs), in dumpsys_cb_dumpdata() 232 int error, seqnr; in dumpsys_foreach_chunk() local 234 seqnr = 0; in dumpsys_foreach_chunk() 237 error = (*cb)(mdp, seqnr++, arg); in dumpsys_foreach_chunk() 242 return (seqnr); in dumpsys_foreach_chunk() 248 cb_dumphdr(struct dump_pa *mdp, int seqnr, void *arg) in cb_dumphdr() argument 277 cb_size(struct dump_pa *mdp, int seqnr, void *arg) in cb_size() argument
|
| /freebsd/crypto/openssl/test/ |
| H A D | bad_dtls_test.c | 469 static int send_record(BIO *rbio, unsigned char type, uint64_t seqnr, in send_record() argument 488 seq[0] = (seqnr >> 40) & 0xff; in send_record() 489 seq[1] = (seqnr >> 32) & 0xff; in send_record() 490 seq[2] = (seqnr >> 24) & 0xff; in send_record() 491 seq[3] = (seqnr >> 16) & 0xff; in send_record() 492 seq[4] = (seqnr >> 8) & 0xff; in send_record() 493 seq[5] = seqnr & 0xff; in send_record()
|