/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ktls.c | 183 crypto_info->gcm128.info.cipher_type = TLS_CIPHER_AES_GCM_128; in ktls_configure_crypto() 198 crypto_info->gcm256.info.cipher_type = TLS_CIPHER_AES_GCM_256; in ktls_configure_crypto() 213 crypto_info->ccm128.info.cipher_type = TLS_CIPHER_AES_CCM_128; in ktls_configure_crypto() 228 crypto_info->chacha20poly1305.info.cipher_type = TLS_CIPHER_CHACHA20_POLY1305; in ktls_configure_crypto()
|
/third_party/openssl/ssl/ |
H A D | ktls.c | 183 crypto_info->gcm128.info.cipher_type = TLS_CIPHER_AES_GCM_128; in ktls_configure_crypto() 198 crypto_info->gcm256.info.cipher_type = TLS_CIPHER_AES_GCM_256; in ktls_configure_crypto() 213 crypto_info->ccm128.info.cipher_type = TLS_CIPHER_AES_CCM_128; in ktls_configure_crypto() 228 crypto_info->chacha20poly1305.info.cipher_type = TLS_CIPHER_CHACHA20_POLY1305; in ktls_configure_crypto()
|
/third_party/mbedtls/library/ |
H A D | pkcs12.c | 124 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, 133 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe() 144 return mbedtls_pkcs12_pbe_ext(pbe_params, mode, cipher_type, md_type, in mbedtls_pkcs12_pbe() 151 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe_ext() 170 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in mbedtls_pkcs12_pbe_ext() 132 mbedtls_pkcs12_pbe(mbedtls_asn1_buf *pbe_params, int mode, mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, const unsigned char *pwd, size_t pwdlen, const unsigned char *data, size_t len, unsigned char *output) mbedtls_pkcs12_pbe() argument 150 mbedtls_pkcs12_pbe_ext(mbedtls_asn1_buf *pbe_params, int mode, mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, const unsigned char *pwd, size_t pwdlen, const unsigned char *data, size_t len, unsigned char *output, size_t output_size, size_t *output_len) mbedtls_pkcs12_pbe_ext() argument
|
H A D | cmac.c | 734 mbedtls_cipher_type_t cipher_type, in cmac_test_subkeys() 744 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in cmac_test_subkeys() 773 cipher_type == MBEDTLS_CIPHER_AES_192_ECB) { in cmac_test_subkeys() 830 mbedtls_cipher_type_t cipher_type, in cmac_test_wth_cipher() 838 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in cmac_test_wth_cipher() 858 (cipher_type == MBEDTLS_CIPHER_AES_192_ECB || in cmac_test_wth_cipher() 859 cipher_type == MBEDTLS_CIPHER_DES_EDE3_ECB)) { in cmac_test_wth_cipher() 729 cmac_test_subkeys(int verbose, const char *testname, const unsigned char *key, int keybits, const unsigned char *subkeys, mbedtls_cipher_type_t cipher_type, int block_size, int num_tests) cmac_test_subkeys() argument 823 cmac_test_wth_cipher(int verbose, const char *testname, const unsigned char *key, int keybits, const unsigned char *messages, const unsigned int message_lengths[4], const unsigned char *expected_result, mbedtls_cipher_type_t cipher_type, int block_size, int num_tests) cmac_test_wth_cipher() argument
|
H A D | cipher.c | 86 const mbedtls_cipher_type_t cipher_type) in mbedtls_cipher_info_from_type() 91 if (def->type == cipher_type) { in mbedtls_cipher_info_from_type() 85 mbedtls_cipher_info_from_type( const mbedtls_cipher_type_t cipher_type) mbedtls_cipher_info_from_type() argument
|
/third_party/node/src/crypto/ |
H A D | crypto_cipher.cc | 367 void CipherBase::CommonInit(const char* cipher_type, in CommonInit() argument 390 if (!InitAuthenticated(cipher_type, iv_len, auth_tag_len)) in CommonInit() 405 void CipherBase::Init(const char* cipher_type, in Init() argument 419 const EVP_CIPHER* const cipher = EVP_get_cipherbyname(cipher_type); in Init() 444 cipher_type); in Init() local 447 CommonInit(cipher_type, cipher, key, key_len, iv, in Init() 458 const Utf8Value cipher_type(args.GetIsolate(), args[0]); in Init() 473 cipher->Init(*cipher_type, key_buf, auth_tag_len); in Init() 476 void CipherBase::InitIv(const char* cipher_type, in Init() argument 483 const EVP_CIPHER* const cipher = EVP_get_cipherbyname(cipher_type); in Init() 559 InitAuthenticated( const char* cipher_type, int iv_len, unsigned int auth_tag_len) Init() argument 598 env(), "authTagLength required for %s", cipher_type); Init() local [all...] |
H A D | crypto_cipher.h | 46 void CommonInit(const char* cipher_type, 53 void Init(const char* cipher_type, 56 void InitIv(const char* cipher_type, 60 bool InitAuthenticated(const char* cipher_type, int iv_len,
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 23 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len) in EVP_CIPHER_meth_new() argument 28 cipher->nid = cipher_type; in EVP_CIPHER_meth_new()
|
/third_party/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 23 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len) in EVP_CIPHER_meth_new() argument 28 cipher->nid = cipher_type; in EVP_CIPHER_meth_new()
|
/third_party/mbedtls/include/mbedtls/ |
H A D | pkcs12.h | 62 * \param cipher_type the cipher used 74 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
H A D | cipher.h | 402 * \param cipher_type Type of the cipher to search for. 405 * given \p cipher_type. 408 const mbedtls_cipher_info_t *mbedtls_cipher_info_from_type(const mbedtls_cipher_type_t cipher_type);
|
/third_party/mbedtls/programs/test/ |
H A D | benchmark.c | 888 mbedtls_cipher_type_t cipher_type; in main() local 891 for (keysize = 128, cipher_type = MBEDTLS_CIPHER_AES_128_ECB; in main() 893 keysize += 64, cipher_type++) { in main() 899 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in main()
|
/third_party/mbedtls/tests/src/test_helpers/ |
H A D | ssl_helpers.c | 1133 static void mbedtls_test_ssl_cipher_info_from_type(mbedtls_cipher_type_t cipher_type, in mbedtls_test_ssl_cipher_info_from_type() argument 1137 switch (cipher_type) { in mbedtls_test_ssl_cipher_info_from_type() 1252 int cipher_type, int hash_id, in mbedtls_test_ssl_build_transforms() 1288 mbedtls_test_ssl_cipher_info_from_type((mbedtls_cipher_type_t) cipher_type, in mbedtls_test_ssl_build_transforms() 1303 cipher_info = mbedtls_cipher_info_from_type((mbedtls_cipher_type_t) cipher_type); in mbedtls_test_ssl_build_transforms() 1537 status = mbedtls_ssl_cipher_to_psa(cipher_type, in mbedtls_test_ssl_build_transforms() 1250 mbedtls_test_ssl_build_transforms(mbedtls_ssl_transform *t_in, mbedtls_ssl_transform *t_out, int cipher_type, int hash_id, int etm, int tag_mode, mbedtls_ssl_protocol_version tls_version, size_t cid0_len, size_t cid1_len) mbedtls_test_ssl_build_transforms() argument
|
/third_party/mbedtls/tests/include/test/ |
H A D | ssl_helpers.h | 517 int cipher_type, int hash_id,
|
/third_party/libcoap/src/ |
H A D | coap_mbedtls.c | 2724 mbedtls_cipher_type_t cipher_type; member 2735 return ciphers[idx].cipher_type; 2792 mbedtls_cipher_type_t cipher_type; local 2798 if ((cipher_type = get_cipher_alg(coap_alg)) == 0) { 2803 cipher_info = mbedtls_cipher_info_from_type(cipher_type);
|
H A D | coap_tinydtls.c | 1514 u_int cipher_type; member 1525 return ciphers[idx].cipher_type; in get_cipher_alg()
|
H A D | coap_gnutls.c | 3014 gnutls_cipher_algorithm_t cipher_type; member 3025 return ciphers[idx].cipher_type; in get_cipher_alg()
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | evp.h | 185 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | evp.h | 234 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|
/third_party/openssl/include/openssl/ |
H A D | evp.h | 232 EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len);
|