HomeSort by: relevance | last modified time | path
    Searched defs:ciph (Results 1 - 25 of 31) sorted by relevancy

1 2

  /src/crypto/external/bsd/openssl.old/dist/test/
cipher_overhead_test.c 27 const SSL_CIPHER *ciph; local
31 ciph = ssl3_get_cipher(i);
32 if (!ciph->min_dtls)
34 if (!TEST_true(ssl_cipher_get_overhead(ciph, &mac, &in, &blk, &ex))) {
35 TEST_info("Failed getting %s", ciph->name);
39 ciph->name, mac, in, blk, ex);
tls13encryptiontest.c 321 const EVP_CIPHER *ciph = EVP_aes_128_gcm(); local
361 ivlen = EVP_CIPHER_iv_length(ciph);
374 if (EVP_CipherInit_ex(s->enc_write_ctx, ciph, NULL, key, NULL, 1) <= 0
375 || EVP_CipherInit_ex(s->enc_read_ctx, ciph, NULL, key, NULL, 0)
ssltest_old.c 774 const SSL_CIPHER *ciph; local
779 ciph = SSL_get_current_cipher(c_ssl);
783 SSL_CIPHER_get_version(ciph), SSL_CIPHER_get_name(ciph));
  /src/crypto/external/apache2/openssl/dist/test/
cipher_overhead_test.c 14 static int cipher_enabled(const SSL_CIPHER *ciph)
20 if ((ciph->algorithm_mac & SSL_AEAD) != 0)
23 if (ciph->algorithm_enc != SSL_eNULL
24 && EVP_get_cipherbynid(SSL_CIPHER_get_cipher_nid(ciph)) == NULL)
27 if (EVP_get_digestbynid(SSL_CIPHER_get_digest_nid(ciph)) == NULL)
36 const SSL_CIPHER *ciph; local
40 ciph = ssl3_get_cipher(i);
41 if (!ciph->min_dtls)
43 if (!cipher_enabled(ciph)) {
44 TEST_skip("Skipping disabled cipher %s", ciph->name)
    [all...]
tls13encryptiontest.c 285 const EVP_CIPHER *ciph = EVP_aes_128_gcm(); local
302 ivlen = EVP_CIPHER_get_iv_length(ciph);
ssl_old_test.c 775 const SSL_CIPHER *ciph; local
780 ciph = SSL_get_current_cipher(c_ssl);
784 SSL_CIPHER_get_version(ciph), SSL_CIPHER_get_name(ciph));
threadstest.c 850 EVP_CIPHER *ciph = EVP_CIPHER_fetch(multi_libctx, "AES-128-CBC", NULL); local
874 || !TEST_ptr(ciph))
885 if (!TEST_true(EVP_EncryptInit_ex(cipherctx, ciph, NULL, key, iv))
907 EVP_CIPHER_free(ciph);
  /src/crypto/external/bsd/openssl/dist/test/
cipher_overhead_test.c 14 static int cipher_enabled(const SSL_CIPHER *ciph)
20 if ((ciph->algorithm_mac & SSL_AEAD) != 0)
23 if (ciph->algorithm_enc != SSL_eNULL
24 && EVP_get_cipherbynid(SSL_CIPHER_get_cipher_nid(ciph)) == NULL)
27 if (EVP_get_digestbynid(SSL_CIPHER_get_digest_nid(ciph)) == NULL)
36 const SSL_CIPHER *ciph; local
40 ciph = ssl3_get_cipher(i);
41 if (!ciph->min_dtls)
43 if (!cipher_enabled(ciph)) {
44 TEST_skip("Skipping disabled cipher %s", ciph->name)
    [all...]
tls13encryptiontest.c 310 const EVP_CIPHER *ciph = EVP_aes_128_gcm(); local
350 ivlen = EVP_CIPHER_get_iv_length(ciph);
363 if (EVP_CipherInit_ex(s->enc_write_ctx, ciph, NULL, key, NULL, 1) <= 0
364 || EVP_CipherInit_ex(s->enc_read_ctx, ciph, NULL, key, NULL, 0)
threadstest.c 313 EVP_CIPHER *ciph = EVP_CIPHER_fetch(multi_libctx, "AES-128-CBC", NULL); local
337 || !TEST_ptr(ciph))
348 if (!TEST_true(EVP_EncryptInit_ex(cipherctx, ciph, NULL, key, iv))
370 EVP_CIPHER_free(ciph);
ssl_old_test.c 769 const SSL_CIPHER *ciph; local
774 ciph = SSL_get_current_cipher(c_ssl);
778 SSL_CIPHER_get_version(ciph), SSL_CIPHER_get_name(ciph));
  /src/crypto/external/bsd/openssl.old/dist/crypto/cms/
cms_enc.c 27 const EVP_CIPHER *ciph; local
48 ciph = ec->cipher;
55 ciph = EVP_get_cipherbyobj(calg->algorithm);
57 if (!ciph) {
63 if (EVP_CipherInit_ex(ctx, ciph, NULL, NULL, NULL, enc) <= 0) {
188 int CMS_EncryptedData_set1_key(CMS_ContentInfo *cms, const EVP_CIPHER *ciph,
196 if (ciph) {
209 return cms_EncryptedContent_init(ec, ciph, key, keylen);
cms_env.c 378 const EVP_CIPHER *ciph = EVP_get_cipherbyobj(calg->algorithm); local
380 if (ciph == NULL) {
385 fixlen = EVP_CIPHER_key_length(ciph);
  /src/usr.sbin/fwctl/
fwmpegts.c 143 struct ciphdr *ciph; local
202 ciph = (struct ciphdr *)(ptr + 1); /* skip iso header */
203 if (ciph->fmt != CIP_FMT_MPEG)
206 ciph->fmt);
207 if (ciph->fn != 3) {
211 __func__, ciph->fn);
213 ptr = (uint32_t *) (ciph + 1); /* skip cip header */
226 ciph->len, ciph->len * 4);
229 ciph->fn, (1<<ciph->fn) )
    [all...]
fwdv.c 98 struct ciphdr *ciph; local
180 ciph = (struct ciphdr *)(ptr + 1); /* skip iso header */
181 if (ciph->fmt != CIP_FMT_DVCR)
183 __func__, ciph->fmt);
184 ptr = (uint32_t *) (ciph + 1); /* skip cip header */
186 if (ciph->fdf.dv.cyc != 0xffff && k == 0)
187 fprintf(stderr, "0x%04x\n", ntohs(ciph->fdf.dv.cyc));
193 (char *)dv < (char *)(ptr + ciph->len);
201 lsystem = ciph->fdf.dv.fs;
281 struct ciphdr *ciph; local
    [all...]
fwcontrol.c 661 struct ciphdr *ciph; local
698 ciph = (struct ciphdr *)(ptr + 1);
700 switch (ciph->fmt) {
712 ciph->fmt);
  /src/crypto/external/apache2/openssl/dist/ssl/
s3_enc.c 96 const EVP_CIPHER *ciph; local
104 ciph = s->s3.tmp.new_sym_enc;
122 key_len = EVP_CIPHER_get_key_length(ciph);
123 iv_len = EVP_CIPHER_get_iv_length(ciph);
151 md_len, ciph, 0, NID_undef, md, comp, NULL)) {
d1_lib.c 927 const SSL_CIPHER *ciph = SSL_get_current_cipher(ssl); local
936 if (ciph == NULL)
939 if (!ssl_cipher_get_overhead(ciph, &mac_overhead, &int_overhead,
  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
rand-fortuna.c 114 CIPH_CTX ciph; member in struct:fortuna_state
205 ciph_encrypt(&st->ciph, st->counter, dst);
287 ciph_init(&st->ciph, st->key, BLOCK);
352 ciph_init(&st->ciph, st->key, BLOCK);
  /src/crypto/external/bsd/openssl/dist/ssl/
d1_lib.c 946 const SSL_CIPHER *ciph = SSL_get_current_cipher(s); local
949 if (ciph == NULL)
952 if (!ssl_cipher_get_overhead(ciph, &mac_overhead, &int_overhead,
ssl_lib.c 5968 const EVP_CIPHER *ciph; local
5970 ciph = tls_get_cipher_from_engine(nid);
5971 if (ciph != NULL)
5972 return ciph;
5979 ciph = EVP_CIPHER_fetch(libctx, OBJ_nid2sn(nid), properties);
5981 return ciph;
  /src/crypto/external/bsd/openssl.old/dist/ssl/
d1_lib.c 936 const SSL_CIPHER *ciph = SSL_get_current_cipher(s); local
939 if (ciph == NULL)
942 if (!ssl_cipher_get_overhead(ciph, &mac_overhead, &int_overhead,
  /src/crypto/external/apache2/openssl/dist/include/crypto/
evp.h 84 } ciph; member in union:evp_pkey_ctx_st::__anon396
  /src/crypto/external/bsd/openssl/dist/include/crypto/
evp.h 74 } ciph; member in union:evp_pkey_ctx_st::__anon1490
  /src/crypto/external/apache2/openssl/dist/ssl/quic/
quic_impl.c 5080 const SSL_CIPHER *ciph = ssl3_get_cipher_by_char(p); local
5082 if (ciph == NULL)
5084 if ((ciph->algorithm2 & SSL_QUIC) == 0)
5087 return ciph;

Completed in 57 milliseconds

1 2