| /third_party/openssl/crypto/evp/ |
| 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() 58 void EVP_CIPHER_meth_free(EVP_CIPHER *cipher) in EVP_CIPHER_meth_free() 66 int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len) in EVP_CIPHER_meth_set_iv_length() 75 int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags) in EVP_CIPHER_meth_set_flags() 84 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size) in EVP_CIPHER_meth_set_impl_ctx_size() 93 int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_init() 106 int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_do_cipher() 119 int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_cleanup() 129 int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher, in EVP_CIPHER_meth_set_set_asn1_params() [all …]
|
| D | asymcipher.c | 25 EVP_ASYM_CIPHER *cipher = NULL; in evp_pkey_asym_cipher_init() local 304 EVP_ASYM_CIPHER *cipher = OPENSSL_zalloc(sizeof(EVP_ASYM_CIPHER)); in evp_asym_cipher_new() local 329 EVP_ASYM_CIPHER *cipher = NULL; in evp_asym_cipher_from_algorithm() local 441 void EVP_ASYM_CIPHER_free(EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_free() 456 int EVP_ASYM_CIPHER_up_ref(EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_up_ref() 464 OSSL_PROVIDER *EVP_ASYM_CIPHER_get0_provider(const EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_get0_provider() 489 int EVP_ASYM_CIPHER_is_a(const EVP_ASYM_CIPHER *cipher, const char *name) in EVP_ASYM_CIPHER_is_a() 494 int evp_asym_cipher_get_number(const EVP_ASYM_CIPHER *cipher) in evp_asym_cipher_get_number() 499 const char *EVP_ASYM_CIPHER_get0_name(const EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_get0_name() 504 const char *EVP_ASYM_CIPHER_get0_description(const EVP_ASYM_CIPHER *cipher) in EVP_ASYM_CIPHER_get0_description() [all …]
|
| D | evp_enc.c | 83 const EVP_CIPHER *cipher, in evp_cipher_init_internal() 429 int EVP_CipherInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex2() 436 int EVP_CipherInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit() 444 int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_CipherInit_ex() 476 int EVP_EncryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit() 482 int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex() 489 int EVP_EncryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_EncryptInit_ex2() 496 int EVP_DecryptInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit() 502 int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex() 509 int EVP_DecryptInit_ex2(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in EVP_DecryptInit_ex2() [all …]
|
| D | evp_lib.c | 84 const EVP_CIPHER *cipher = c->cipher; in evp_cipher_param_to_asn1_ex() local 175 const EVP_CIPHER *cipher = c->cipher; in evp_cipher_asn1_to_param_ex() local 276 int EVP_CIPHER_get_type(const EVP_CIPHER *cipher) in EVP_CIPHER_get_type() 341 int evp_cipher_cache_constants(EVP_CIPHER *cipher) in evp_cipher_cache_constants() 388 int EVP_CIPHER_get_block_size(const EVP_CIPHER *cipher) in EVP_CIPHER_get_block_size() 455 EVP_CIPHER *cipher; in EVP_CIPHER_CTX_get1_cipher() local 470 unsigned long EVP_CIPHER_get_flags(const EVP_CIPHER *cipher) in EVP_CIPHER_get_flags() 500 int EVP_CIPHER_get_iv_length(const EVP_CIPHER *cipher) in EVP_CIPHER_get_iv_length() 648 int EVP_CIPHER_get_key_length(const EVP_CIPHER *cipher) in EVP_CIPHER_get_key_length() 665 int EVP_CIPHER_get_nid(const EVP_CIPHER *cipher) in EVP_CIPHER_get_nid() [all …]
|
| D | p5_crpt.c | 27 ASN1_TYPE *param, const EVP_CIPHER *cipher, in PKCS5_PBE_keyivgen_ex() 114 ASN1_TYPE *param, const EVP_CIPHER *cipher, in PKCS5_PBE_keyivgen()
|
| /third_party/openhitls/tls/config/src/ |
| D | cipher_suite.c | 1938 int32_t HITLS_CFG_GetCipherId(const HITLS_Cipher *cipher, HITLS_CipherAlgo *cipherAlg) in HITLS_CFG_GetCipherId() 1957 int32_t HITLS_CFG_GetHashId(const HITLS_Cipher *cipher, HITLS_HashAlgo *hashAlg) in HITLS_CFG_GetHashId() 1976 int32_t HITLS_CFG_GetMacId(const HITLS_Cipher *cipher, HITLS_MacAlgo *macAlg) in HITLS_CFG_GetMacId() 1995 int32_t HITLS_CFG_GetAuthId(const HITLS_Cipher *cipher, HITLS_AuthAlgo *authAlg) in HITLS_CFG_GetAuthId() 2013 int32_t HITLS_CFG_GetKeyExchId(const HITLS_Cipher *cipher, HITLS_KeyExchAlgo *kxAlg) in HITLS_CFG_GetKeyExchId() 2030 const uint8_t* HITLS_CFG_GetCipherSuiteName(const HITLS_Cipher *cipher) in HITLS_CFG_GetCipherSuiteName() 2046 const uint8_t* HITLS_CFG_GetCipherSuiteStdName(const HITLS_Cipher *cipher) in HITLS_CFG_GetCipherSuiteStdName() 2088 int32_t HITLS_CFG_GetCipherVersion(const HITLS_Cipher *cipher, int32_t *version) in HITLS_CFG_GetCipherVersion() 2108 int32_t HITLS_CFG_GetDescription(const HITLS_Cipher *cipher, uint8_t *buf, int32_t len) in HITLS_CFG_GetDescription() 2121 int32_t HITLS_CIPHER_IsAead(const HITLS_Cipher *cipher, uint8_t *isAead) in HITLS_CIPHER_IsAead() [all …]
|
| /third_party/openhitls/tls/feature/session/src/ |
| D | session_ticket.c | 46 …c void SetCipherInfo(const TLS_SessionMgr *sessMgr, Ticket *ticket, HITLS_CipherParameters *cipher) in SetCipherInfo() 59 …ptInfo(TLS_Ctx *ctx, const TLS_SessionMgr *sessMgr, Ticket *ticket, HITLS_CipherParameters *cipher) in GetSessEncryptInfo() 123 …const HITLS_Session *sess, HITLS_CipherParameters *cipher, uint8_t *data, uint32_t len, uint32_t *… in PackEncryptTicket() 188 HITLS_CipherParameters *cipher, uint8_t *data, uint32_t len, uint32_t offset, in PackTicketHmac() 218 static uint8_t *NewTicketBuf(const HITLS_Session *sess, HITLS_CipherParameters *cipher, uint32_t *t… in NewTicketBuf() 258 HITLS_CipherParameters cipher = {0}; in SESSMGR_EncryptSessionTicket() local 352 …t GetSessDecryptInfo(const TLS_SessionMgr *sessMgr, Ticket *ticket, HITLS_CipherParameters *cipher) in GetSessDecryptInfo() 371 HITLS_CipherParameters *cipher, Ticket *ticket, const uint8_t *data, uint32_t len, bool *isPass) in CheckTicketHmac() 404 HITLS_CipherParameters *cipher, Ticket *ticket, uint32_t ticketBufSize, HITLS_Session **sess) in GenerateSessFromTicket() 491 HITLS_CipherParameters cipher = {0}; in SESSMGR_DecryptSessionTicket() local
|
| /third_party/FreeBSD/sys/crypto/rijndael/ |
| D | rijndael-api-fst.c | 70 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { in rijndael_cipherInit() 84 int rijndael_blockEncrypt(cipherInstance *cipher, keyInstance *key, in rijndael_blockEncrypt() 200 int rijndael_padEncrypt(cipherInstance *cipher, keyInstance *key, in rijndael_padEncrypt() 264 int rijndael_blockDecrypt(cipherInstance *cipher, keyInstance *key, in rijndael_blockDecrypt() 364 int rijndael_padDecrypt(cipherInstance *cipher, keyInstance *key, in rijndael_padDecrypt()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
| D | ptksa_cache.c | 138 const u8 *addr, u32 cipher) in ptksa_cache_get() 233 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush() 278 const u8 *addr, u32 cipher, in ptksa_cache_add() 362 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_get() 376 u32 cipher, u32 life_time, const struct wpa_ptk *ptk, in ptksa_cache_add() 383 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher) in ptksa_cache_flush()
|
| D | wpa_common.c | 404 struct wpa_ptk *ptk, int akmp, int cipher, in wpa_pmk_to_ptk() 677 u8 *ick, size_t *ick_len, int akmp, int cipher, in fils_pmk_to_ptk() 1446 bool pasn_use_sha384(int akmp, int cipher) in pasn_use_sha384() 1472 struct wpa_ptk *ptk, int akmp, int cipher, in pasn_pmk_to_ptk() 1571 u8 pasn_mic_len(int akmp, int cipher) in pasn_mic_len() 1587 int wpa_ltf_keyseed(struct wpa_ptk *ptk, int akmp, int cipher) in wpa_ltf_keyseed() 1656 int pasn_mic(const u8 *kck, int akmp, int cipher, in pasn_mic() 1732 int pasn_auth_frame_hash(int akmp, int cipher, const u8 *data, size_t len, in pasn_auth_frame_hash() 1839 int wpa_cipher_valid_group(int cipher) in wpa_cipher_valid_group() 1846 int wpa_cipher_valid_mgmt_group(int cipher) in wpa_cipher_valid_mgmt_group() [all …]
|
| /third_party/openhitls/crypto/eal/src/ |
| D | eal_pkey_kem.c | 68 int32_t CRYPT_EAL_PkeyEncaps(const CRYPT_EAL_PkeyCtx *pkey, uint8_t *cipher, uint32_t *cipherLen, u… in CRYPT_EAL_PkeyEncaps() 84 int32_t CRYPT_EAL_PkeyDecaps(const CRYPT_EAL_PkeyCtx *pkey, uint8_t *cipher, uint32_t cipherLen, ui… in CRYPT_EAL_PkeyDecaps()
|
| /third_party/openhitls/testcode/sdv/testcase/crypto/sm2/ |
| D | test_suite_sdv_eal_sm2_crypt.c | 256 void SDV_CRYPTO_SM2_ENC_FUNC_TC001(Hex *pubKey, Hex *plain, Hex *k, Hex *cipher, int isProvider) in SDV_CRYPTO_SM2_ENC_FUNC_TC001() 316 void SDV_CRYPTO_SM2_DEC_FUNC_TC001(Hex *prvKey, Hex *plain, Hex *cipher, int isProvider) in SDV_CRYPTO_SM2_DEC_FUNC_TC001() 365 void SDV_CRYPTO_SM2_DECOCDE_Sm2CipherText(Hex *cipher) in SDV_CRYPTO_SM2_DECOCDE_Sm2CipherText() 415 void SDV_CRYPTO_SM2_DEC_FUNC_TC002(Hex *prvKey, Hex *cipher, int isProvider) in SDV_CRYPTO_SM2_DEC_FUNC_TC002() 585 void SDV_CRYPTO_SM2_ENC_DECODE_FUNC_TC001(Hex *cipher) in SDV_CRYPTO_SM2_ENC_DECODE_FUNC_TC001()
|
| /third_party/openssl/demos/cipher/ |
| D | aeskeywrap.c | 60 EVP_CIPHER *cipher = NULL; in aes_wrap_encrypt() local 118 EVP_CIPHER *cipher = NULL; in aes_wrap_decrypt() local
|
| D | ariacbc.c | 59 EVP_CIPHER *cipher = NULL; in aria_cbc_encrypt() local 117 EVP_CIPHER *cipher = NULL; in aria_cbc_decrypt() local
|
| D | aesgcm.c | 74 EVP_CIPHER *cipher = NULL; in aes_gcm_encrypt() local 151 EVP_CIPHER *cipher = NULL; in aes_gcm_decrypt() local
|
| D | aesccm.c | 75 EVP_CIPHER *cipher = NULL; in aes_ccm_encrypt() local 162 EVP_CIPHER *cipher = NULL; in aes_ccm_decrypt() local
|
| /third_party/openhitls/testcode/sdv/testcase/tls/interface_tlcp/ |
| D | test_suite_sdv_hlt_config_interface.c | 399 const HITLS_Cipher* cipher = HITLS_CFG_GetCipherByID(HITLS_AES_128_GCM_SHA256); in SDV_TLS_CFG_GET_CIPHERBYID_FUNC_TC001() local 423 HITLS_Cipher *cipher = (HITLS_Cipher *)malloc(sizeof(HITLS_Cipher)); in SDV_TLS_CFG_GET_AUTHID_FUNC_TC001() local 449 const HITLS_Cipher* cipher = HITLS_CFG_GetCipherByID(HITLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256); in SDV_TLS_CFG_GET_CIPHERSUITENAME_FUNC_TC001() local 478 const HITLS_Cipher *cipher = HITLS_CFG_GetCipherByID(HITLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256); in SDV_TLS_CFG_GET_CIPHERVERSION_FUNC_TC001() local 511 const HITLS_Cipher* cipher = HITLS_CFG_GetCipherByID(HITLS_AES_128_GCM_SHA256); in SDV_TLS_CFG_GET_CIPHERSUITE_FUNC_TC001() local
|
| /third_party/openssl/crypto/pkcs12/ |
| 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()
|
| 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()
|
| /third_party/openssl/providers/implementations/kdfs/ |
| D | krb5kdf.c | 52 PROV_CIPHER cipher; member 109 const EVP_CIPHER *cipher; in krb5kdf_derive() local 174 const EVP_CIPHER *cipher; in krb5kdf_get_ctx_params() local 327 const EVP_CIPHER *cipher, ENGINE *engine, in cipher_init() 355 static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine, in KRB5KDF()
|
| /third_party/openssl/test/ |
| D | afalgtest.c | 31 const EVP_CIPHER *cipher; in test_afalg_aes_cbc() local 115 const EVP_CIPHER * cipher; in test_pr16743() local
|
| /third_party/openhitls/testcode/sdv/testcase/crypto/chacha-poly/ |
| D | test_suite_sdv_eal_chachapoly.c | 649 …O_CHACHA20POLY1305_UPDATE_FUNC_TC001(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC001() 720 …O_CHACHA20POLY1305_UPDATE_FUNC_TC002(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC002() 784 …O_CHACHA20POLY1305_UPDATE_FUNC_TC003(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC003() 837 …O_CHACHA20POLY1305_UPDATE_FUNC_TC004(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC004() 925 …O_CHACHA20POLY1305_UPDATE_FUNC_TC006(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC006() 970 …O_CHACHA20POLY1305_UPDATE_FUNC_TC007(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC007() 1089 …O_CHACHA20POLY1305_UPDATE_FUNC_TC009(Hex *key, Hex *iv, Hex *aad, Hex *data, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC009() 1165 …UPDATE_FUNC_TC010(Hex *key, Hex *iv, Hex *aad, Hex *pt1, Hex *pt2, Hex *pt3, Hex *cipher, Hex *tag) in SDV_CRYPTO_CHACHA20POLY1305_UPDATE_FUNC_TC010()
|
| /third_party/openhitls/testcode/sdv/testcase/crypto/encode/ |
| D | test_suite_sdv_encode.c | 178 void SDV_ENCODE_SM2_ENCRYPT_DATA_FUNC_TC001(Hex *x, Hex *y, Hex *hash, Hex *cipher, Hex *expect, in… in SDV_ENCODE_SM2_ENCRYPT_DATA_FUNC_TC001() 205 void SDV_ENCODE_SM2_ENCRYPT_DATA_API_TC001(Hex *x, Hex *y, Hex *hash, Hex *cipher) in SDV_ENCODE_SM2_ENCRYPT_DATA_API_TC001() 308 uint8_t cipher; in SDV_DECODE_SM2_ENCRYPT_DATA_API_TC001() local 466 void SDV_ENCODE_DECODE_SM2_ENCRYPT_COMBO_TC001(Hex *x, Hex *y, Hex *hash, Hex *cipher) in SDV_ENCODE_DECODE_SM2_ENCRYPT_COMBO_TC001()
|
| /third_party/openssl/crypto/cms/ |
| D | cms_enc.c | 30 const EVP_CIPHER *cipher = NULL; in ossl_cms_EncryptedContent_init_bio() local 207 const EVP_CIPHER *cipher, in ossl_cms_EncryptedContent_init()
|
| /third_party/openssl/crypto/asn1/ |
| D | p5_pbev2.c | 148 X509_ALGOR *PKCS5_pbe2_set_iv(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set_iv() 156 X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, in PKCS5_pbe2_set()
|