Home
last modified time | relevance | path

Searched refs:s2n (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/openssl/crypto/ct/
H A Dct_oct.c190 s2n(sct->sig_len, p); in i2o_SCT_signature()
240 s2n(sct->ext_len, p); in i2o_SCT()
349 s2n(sct_len, p2); in i2o_SCT_LIST()
362 s2n(len2 - 2, p); in i2o_SCT_LIST()
H A Dct_vfy.c56 s2n(sct->entry_type, p); in sct_ctx_update()
86 s2n(sct->ext_len, p); in sct_ctx_update()
H A Dct_local.h31 #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ macro
/freebsd/crypto/openssl/crypto/idea/
H A Didea_local.h77 #undef s2n
78 #define s2n(l,c) (*((c)++)=(unsigned char)(((l) )&0xff), \ macro
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c285 s2n(msg_hdr->seq, p); in dtls1_do_write()
368 s2n(msg_hdr->seq, p); in dtls_get_message()
1296 s2n(msg_hdr->seq, p); in dtls1_write_message_header()
/freebsd/crypto/openssl/ssl/record/
H A Drec_layer_d1.c958 s2n(s->rlayer.d->w_epoch, pseq); in do_dtls1_write()
962 s2n(SSL3_RECORD_get_length(&wr), pseq); in do_dtls1_write()
H A Dssl3_record.c1095 s2n(sending ? DTLS_RECORD_LAYER_get_w_epoch(&s->rlayer) : in tls1_enc()
1398 s2n(rec->length, p); in n_ssl3_mac()
1469 s2n(sending ? DTLS_RECORD_LAYER_get_w_epoch(&ssl->rlayer) : in tls1_mac()
/freebsd/crypto/openssl/ssl/
H A Ds3_lib.c4623 s2n(pmslen, t); in ssl_generate_master_secret()
4629 s2n(psklen, t); in ssl_generate_master_secret()
H A Dssl_local.h123 # define s2n(s,c) (((c)[0]=(unsigned char)(((s)>> 8)&0xff), \ macro