Home
last modified time | relevance | path

Searched refs:ciph (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/usr.sbin/fwcontrol/
H A Dfwmpegts.c156 struct ciphdr *ciph; in mpegtsrecv() local
215 ciph = (struct ciphdr *)(ptr + 1); /* skip iso header */ in mpegtsrecv()
216 if (ciph->fmt != CIP_FMT_MPEG) in mpegtsrecv()
217 errx(1, "unknown format 0x%x", ciph->fmt); in mpegtsrecv()
218 if (ciph->fn != 3) { in mpegtsrecv()
221 ciph->fn); in mpegtsrecv()
223 ptr = (uint32_t *) (ciph + 1); /* skip cip header */ in mpegtsrecv()
236 ciph->len, ciph->len * 4); in mpegtsrecv()
239 ciph->fn, (1<<ciph->fn) ); in mpegtsrecv()
240 fprintf(stderr, "QCP (CIP header): %d\n", ciph->qpc ); in mpegtsrecv()
[all …]
H A Dfwdv.c102 struct ciphdr *ciph; in dvrecv() local
178 if (ciph->fmt != CIP_FMT_DVCR) in dvrecv()
198 system = ciph->fdf.dv.fs; in dvrecv()
269 struct ciphdr *ciph; in dvsend() local
308 ciph->src = 0; /* XXX */ in dvsend()
309 ciph->len = 120; in dvsend()
310 ciph->dbc = 0; in dvsend()
311 ciph->eoh1 = 1; in dvsend()
312 ciph->fdf.dv.cyc = 0xffff; in dvsend()
378 ciph->fdf.dv.cyc = 0xffff; in dvsend()
[all …]
H A Dfwcontrol.c674 struct ciphdr *ciph; in detect_recv_fn() local
711 ciph = (struct ciphdr *)(ptr + 1); in detect_recv_fn()
713 switch(ciph->fmt) { in detect_recv_fn()
723 errx(1, "Unsupported format for receiving: fmt=0x%x", ciph->fmt); in detect_recv_fn()
/freebsd-12.1/crypto/openssl/crypto/cms/
H A Dcms_enc.c27 const EVP_CIPHER *ciph; in cms_EncryptedContent_init_bio() local
48 ciph = ec->cipher; in cms_EncryptedContent_init_bio()
55 ciph = EVP_get_cipherbyobj(calg->algorithm); in cms_EncryptedContent_init_bio()
57 if (!ciph) { in cms_EncryptedContent_init_bio()
63 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0) { in cms_EncryptedContent_init_bio()
183 int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph, in CMS_EncryptedData_set1_key() argument
191 if (ciph) { in CMS_EncryptedData_set1_key()
204 return cms_EncryptedContent_init(ec, ciph, key, keylen); in CMS_EncryptedData_set1_key()
H A Dcms_env.c378 const EVP_CIPHER *ciph = EVP_get_cipherbyobj(calg->algorithm); in cms_RecipientInfo_ktri_decrypt() local
380 if (ciph == NULL) { in cms_RecipientInfo_ktri_decrypt()
385 fixlen = EVP_CIPHER_key_length(ciph); in cms_RecipientInfo_ktri_decrypt()
/freebsd-12.1/crypto/openssl/crypto/evp/
H A Dnames.c99 void (*fn) (const EVP_CIPHER *ciph,
112 void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph, in EVP_CIPHER_do_all() argument
126 void EVP_CIPHER_do_all_sorted(void (*fn) (const EVP_CIPHER *ciph, in EVP_CIPHER_do_all_sorted() argument
142 void (*fn) (const EVP_MD *ciph,
/freebsd-12.1/crypto/openssl/ssl/
H A Dtls13_enc.c361 const EVP_CIPHER *ciph, in derive_secret_key_and_iv() argument
388 keylen = EVP_CIPHER_key_length(ciph); in derive_secret_key_and_iv()
389 if (EVP_CIPHER_mode(ciph) == EVP_CIPH_CCM_MODE) { in derive_secret_key_and_iv()
404 ivlen = EVP_CIPHER_iv_length(ciph); in derive_secret_key_and_iv()
414 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, sending) <= 0 in derive_secret_key_and_iv()
H A Dd1_lib.c936 const SSL_CIPHER *ciph = SSL_get_current_cipher(s); in DTLS_get_data_mtu() local
939 if (ciph == NULL) in DTLS_get_data_mtu()
942 if (!ssl_cipher_get_overhead(ciph, &mac_overhead, &int_overhead, in DTLS_get_data_mtu()
/freebsd-12.1/crypto/openssl/include/openssl/
H A Devp.h971 void EVP_CIPHER_do_all(void (*fn) (const EVP_CIPHER *ciph,
975 (const EVP_CIPHER *ciph, const char *from,
978 void EVP_MD_do_all(void (*fn) (const EVP_MD *ciph,
982 (const EVP_MD *ciph, const char *from,
H A Dcms.h127 int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,
/freebsd-12.1/share/doc/IPv6/
H A DIMPLEMENTATION1967 HMAC SHA2-256 with 96bit crypto checksum (draft-ietf-ipsec-ciph-sha-256-00.txt)
1975 (draft-ietf-ipsec-ciph-des-derived-01.txt, draft expired)