| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | cmeth_lib.c | 25 EVP_CIPHER *cipher = evp_cipher_new(); in EVP_CIPHER_meth_new() local 36 EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher) in EVP_CIPHER_meth_dup() 59 void EVP_CIPHER_meth_free(EVP_CIPHER *cipher) in EVP_CIPHER_meth_free() 67 int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len) in EVP_CIPHER_meth_set_iv_length() 76 int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags) in EVP_CIPHER_meth_set_flags() 85 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size) in EVP_CIPHER_meth_set_impl_ctx_size() 94 int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_init() 107 int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_do_cipher() 120 int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_cleanup() 130 int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_set_asn1_params() [all …]
|
| H A D | asymcipher.c | 35 EVP_ASYM_CIPHER *cipher = NULL; in evp_pkey_asym_cipher_init() local 246 EVP_ASYM_CIPHER *cipher; in EVP_PKEY_encrypt() local 295 EVP_ASYM_CIPHER *cipher; in EVP_PKEY_decrypt() local 352 EVP_ASYM_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_ASYM_CIPHER)); in evp_asym_cipher_new() local 373 EVP_ASYM_CIPHER *cipher = NULL; in evp_asym_cipher_from_algorithm() local 485 void EVP_ASYM_CIPHER_free(EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_free() 500 int EVP_ASYM_CIPHER_up_ref(EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_up_ref() 508 OSSL_PROVIDER *EVP_ASYM_CIPHER_get0_provider(const EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_get0_provider() 533 int EVP_ASYM_CIPHER_is_a(const EVP_ASYM_CIPHER *cipher, const char *name) in EVP_ASYM_CIPHER_is_a() 538 int evp_asym_cipher_get_number(const EVP_ASYM_CIPHER *cipher) in evp_asym_cipher_get_number() [all …]
|
| H A D | evp_enc.c | 93 const EVP_CIPHER *cipher, in evp_cipher_init_internal() 482 const EVP_CIPHER *cipher, in evp_cipher_init_skey_internal() 627 int EVP_CipherInit_SKEY(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_SKEY() 634 int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex2() 641 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() 649 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() 656 int EVP_CipherPipelineEncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherPipelineEncryptInit() 686 int EVP_CipherPipelineDecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherPipelineDecryptInit() 809 int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit() 815 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() [all …]
|
| H A D | evp_lib.c | 85 const EVP_CIPHER *cipher; in evp_cipher_param_to_asn1_ex() local 156 const EVP_CIPHER *cipher; in evp_cipher_asn1_to_param_ex() local 254 int EVP_CIPHER_get_type(const EVP_CIPHER *cipher) in EVP_CIPHER_get_type() 319 int evp_cipher_cache_constants(EVP_CIPHER *cipher) in evp_cipher_cache_constants() 366 int EVP_CIPHER_get_block_size(const EVP_CIPHER *cipher) in EVP_CIPHER_get_block_size() 440 EVP_CIPHER *cipher; in EVP_CIPHER_CTX_get1_cipher() local 455 unsigned long EVP_CIPHER_get_flags(const EVP_CIPHER *cipher) in EVP_CIPHER_get_flags() 485 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher) in EVP_CIPHER_get_iv_length() 632 int EVP_CIPHER_get_key_length(const EVP_CIPHER *cipher) in EVP_CIPHER_get_key_length() 666 int EVP_CIPHER_get_nid(const EVP_CIPHER *cipher) in EVP_CIPHER_get_nid() [all …]
|
| H A D | p5_crpt.c | 27 ASN1_TYPE *param, const EVP_CIPHER *cipher, in PKCS5_PBE_keyivgen_ex() 113 ASN1_TYPE *param, const EVP_CIPHER *cipher, in PKCS5_PBE_keyivgen()
|
| /freebsd/contrib/wpa/src/nan/ |
| H A D | nan_crypto.c | 29 static size_t nan_crypto_cipher_kck_len(enum nan_cipher_suite_id cipher) in nan_crypto_cipher_kck_len() 44 static size_t nan_crypto_cipher_kek_len(enum nan_cipher_suite_id cipher) in nan_crypto_cipher_kek_len() 59 static size_t nan_cipher_key_len(enum nan_cipher_suite_id cipher) in nan_cipher_key_len() 112 enum nan_cipher_suite_id cipher) in nan_crypto_pmk_to_ptk() 180 enum nan_cipher_suite_id cipher, u8 *pmkid) in nan_crypto_calc_pmkid() 229 int nan_crypto_calc_auth_token(enum nan_cipher_suite_id cipher, in nan_crypto_calc_auth_token() 267 size_t kck_len, u8 cipher, u8 *mic) in nan_crypto_key_mic() 399 enum nan_cipher_suite_id cipher, in nan_crypto_derive_from_kdk() 475 enum nan_cipher_suite_id cipher, in nan_crypto_derive_npk() 509 enum nan_cipher_suite_id cipher, in nan_crypto_derive_kek() [all …]
|
| /freebsd/sys/crypto/rijndael/ |
| H A D | rijndael-api-fst.c | 67 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { in rijndael_cipherInit() 81 int rijndael_blockEncrypt(cipherInstance *cipher, keyInstance *key, in rijndael_blockEncrypt() 197 int rijndael_padEncrypt(cipherInstance *cipher, keyInstance *key, in rijndael_padEncrypt() 261 int rijndael_blockDecrypt(cipherInstance *cipher, keyInstance *key, in rijndael_blockDecrypt() 361 int rijndael_padDecrypt(cipherInstance *cipher, keyInstance *key, in rijndael_padDecrypt()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | ptksa_cache.c | 154 const u8 *addr, u32 cipher) in ptksa_cache_get() 249 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush() 295 const u8 *addr, u32 cipher, in ptksa_cache_add() 380 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() 394 u32 cipher, u32 life_time, const struct wpa_ptk *ptk, in ptksa_cache_add() 402 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush()
|
| H A D | wpa_common.c | 145 int rsn_cipher_suite_to_wpa_cipher(u32 cipher) in rsn_cipher_suite_to_wpa_cipher() 510 struct wpa_ptk *ptk, int akmp, int cipher, in wpa_pmk_to_ptk() 801 u8 *ick, size_t *ick_len, int akmp, int cipher, in fils_pmk_to_ptk() 1571 static bool pasn_use_sha384(int akmp, int cipher) in pasn_use_sha384() 1594 static enum rsn_hash_alg pasn_select_hash_alg(int akmp, int cipher, in pasn_select_hash_alg() 1638 struct wpa_ptk *ptk, int akmp, int cipher, in pasn_pmk_to_ptk() 1799 int wpa_ltf_keyseed(struct wpa_ptk *ptk, int akmp, int cipher) in wpa_ltf_keyseed() 1852 int akmp, int cipher, const u8 *dhss, in wpa_auth_802_1x_pmk_to_ptk() 2113 int wpa_cipher_valid_group(int cipher) in wpa_cipher_valid_group() 2120 int wpa_cipher_valid_mgmt_group(int cipher) in wpa_cipher_valid_mgmt_group() [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | bio_enc_test.c | 38 static int do_bio_cipher(const EVP_CIPHER *cipher, const unsigned char *key, in do_bio_cipher() 224 static int do_test_bio_cipher(const EVP_CIPHER *cipher, int idx) in do_test_bio_cipher() 274 const EVP_CIPHER *cipher = EVP_aes_256_gcm(); in test_bio_enc_eof_read_flush() local
|
| H A D | afalgtest.c | 31 const EVP_CIPHER *cipher; in test_afalg_aes_cbc() local 109 const EVP_CIPHER *cipher; in test_pr16743() local
|
| /freebsd/crypto/openssl/providers/implementations/kdfs/ |
| H A D | krb5kdf.c | 53 PROV_CIPHER cipher; member 129 const EVP_CIPHER *cipher; in krb5kdf_derive() local 194 const EVP_CIPHER *cipher; in krb5kdf_get_ctx_params() local 347 const EVP_CIPHER *cipher, ENGINE *engine, in cipher_init() 378 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine, in KRB5KDF()
|
| /freebsd/crypto/openssl/demos/cipher/ |
| H A D | aeskeywrap.c | 62 EVP_CIPHER *cipher = NULL; in aes_wrap_encrypt() local 120 EVP_CIPHER *cipher = NULL; in aes_wrap_decrypt() local
|
| H A D | ariacbc.c | 59 EVP_CIPHER *cipher = NULL; in aria_cbc_encrypt() local 115 EVP_CIPHER *cipher = NULL; in aria_cbc_decrypt() local
|
| H A D | aesgcm.c | 74 EVP_CIPHER *cipher = NULL; in aes_gcm_encrypt() local 151 EVP_CIPHER *cipher = NULL; in aes_gcm_decrypt() local
|
| H A D | aesccm.c | 74 EVP_CIPHER *cipher = NULL; in aes_ccm_encrypt() local 161 EVP_CIPHER *cipher = NULL; in aes_ccm_decrypt() local
|
| /freebsd/crypto/openssl/crypto/pkcs12/ |
| H A D | p12_crpt.c | 24 ASN1_TYPE *param, const EVP_CIPHER *cipher, in PKCS12_PBE_keyivgen_ex() 79 ASN1_TYPE *param, const EVP_CIPHER *cipher, in PKCS12_PBE_keyivgen()
|
| H A D | p12_p8e.c | 16 X509_SIG *PKCS8_encrypt_ex(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt_ex() 60 X509_SIG *PKCS8_encrypt(int pbe_nid, const EVP_CIPHER *cipher, in PKCS8_encrypt()
|
| /freebsd/sys/dev/rtwn/ |
| H A D | if_rtwn_tx.c | 86 uint8_t cipher; in rtwn_get_cipher() local 148 u_int cipher; in rtwn_tx_data() local 234 u_int cipher; in rtwn_tx_raw() local
|
| /freebsd/tools/tools/crypto/ |
| H A D | cryptocheck.c | 166 int cipher; member 287 build_eta(const struct alg *cipher, const struct alg *mac) in build_eta() 315 const struct alg *cipher, *mac; in build_eta_name() local 713 openssl_cipher(const struct alg *alg, const EVP_CIPHER *cipher, const char *key, in openssl_cipher() 797 const EVP_CIPHER *cipher; in run_cipher_test() local 957 const EVP_CIPHER *cipher; in run_eta_test() local 1108 openssl_gmac(const struct alg *alg, const EVP_CIPHER *cipher, const char *key, in openssl_gmac() 1189 const EVP_CIPHER *cipher; in run_gmac_test() local 1323 openssl_aead_encrypt(const struct alg *alg, const EVP_CIPHER *cipher, in openssl_aead_encrypt() 1397 openssl_aead_decrypt(const struct alg *alg, const EVP_CIPHER *cipher, in openssl_aead_decrypt() [all …]
|
| /freebsd/sys/crypto/openssl/ |
| H A D | ossl.h | 71 struct ossl_cipher *cipher; member 75 struct ossl_session_cipher cipher; member
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | p5_pbev2.c | 165 X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set_iv() 173 X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set()
|
| /freebsd/crypto/openssl/crypto/cms/ |
| H A D | cms_enc.c | 31 const EVP_CIPHER *cipher = NULL; in ossl_cms_EncryptedContent_init_bio() local 212 const EVP_CIPHER *cipher, in ossl_cms_EncryptedContent_init()
|
| /freebsd/crypto/krb5/src/lib/crypto/openssl/ |
| H A D | kdf.c | 131 char *cipher; in k5_sp800_108_feedback_cmac() local 190 char *cipher; in k5_derive_random_rfc3961() local
|
| /freebsd/crypto/openssl/providers/implementations/macs/ |
| H A D | cmac_prov.c | 52 PROV_CIPHER cipher; member 134 const EVP_CIPHER *cipher = ossl_prov_cipher_cipher(&macctx->cipher); in tdes_check_param() local 272 const EVP_CIPHER *cipher = ossl_prov_cipher_cipher(&macctx->cipher); in cmac_set_ctx_params() local
|