Home
last modified time | relevance | path

Searched refs:ekey (Results 1 – 10 of 10) sorted by relevance

/third_party/libsnd/regtest/
Ddatabase.c69 static int get_filename_pathname_by_ekey (REGTEST_DB * db, int ekey) ;
70 static int check_file_by_ekey (REGTEST_DB * db, int ekey) ;
224 int ekey ; in db_check_file() local
233 ekey = get_ekey_from_filename (db, filepath) ; in db_check_file()
235 return check_file_by_ekey (db, ekey) ; in db_check_file()
245 int err, ekey ; in db_check_all() local
259 for (ekey = 1 ; ekey <= db->ekey_max ; ekey++) in db_check_all()
260 if (get_filename_pathname_by_ekey (db, ekey) != 0) in db_check_all()
261 check_file_by_ekey (db, ekey) ; in db_check_all()
287 int err, ekey = 0, rows, cols ; in get_ekey_from_filename() local
[all …]
/third_party/musl/src/crypt/
Dcrypt_des.c693 void __des_setkey(const unsigned char *key, struct expanded_key *ekey) in __des_setkey() argument
746 ekey->l[round] = kl; in __des_setkey()
747 ekey->r[round] = kr; in __des_setkey()
756 uint32_t count, uint32_t saltbits, const struct expanded_key *ekey) in __do_des() argument
779 const uint32_t *kl = ekey->l; in __do_des()
780 const uint32_t *kr = ekey->r; in __do_des()
848 uint32_t count, uint32_t saltbits, const struct expanded_key *ekey) in des_cipher() argument
863 __do_des(rawl, rawr, &l_out, &r_out, count, saltbits, ekey); in des_cipher()
879 struct expanded_key ekey; in _crypt_extended_r_uut() local
895 __des_setkey(keybuf, &ekey); in _crypt_extended_r_uut()
[all …]
/third_party/libwebsockets/lib/jose/jwe/
Djwe-rsa-aescbc.c51 char ekey[LWS_GENHASH_LARGEST]; in lws_jwe_encrypt_rsa_aes_cbc_hs() local
112 memcpy(ekey, jwe->jws.map.buf[LJWE_EKEY], (unsigned int)hlen); in lws_jwe_encrypt_rsa_aes_cbc_hs()
114 n = lws_genrsa_public_encrypt(&rsactx, (uint8_t *)ekey, (unsigned int)hlen, in lws_jwe_encrypt_rsa_aes_cbc_hs()
117 lws_explicit_bzero(ekey, (unsigned int)hlen); /* cleanse the temp CEK copy */ in lws_jwe_encrypt_rsa_aes_cbc_hs()
/third_party/openssl/crypto/cms/
Dcms_kari.c287 EVP_PKEY *ekey = NULL; in cms_kari_create_ephemeral_key() local
298 if (EVP_PKEY_keygen(pctx, &ekey) <= 0) in cms_kari_create_ephemeral_key()
301 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, ekey, propq); in cms_kari_create_ephemeral_key()
311 EVP_PKEY_free(ekey); in cms_kari_create_ephemeral_key()
/third_party/node/deps/openssl/openssl/crypto/cms/
Dcms_kari.c287 EVP_PKEY *ekey = NULL; in cms_kari_create_ephemeral_key() local
298 if (EVP_PKEY_keygen(pctx, &ekey) <= 0) in cms_kari_create_ephemeral_key()
301 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, ekey, propq); in cms_kari_create_ephemeral_key()
311 EVP_PKEY_free(ekey); in cms_kari_create_ephemeral_key()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_1x.c149 u8 *buf, *ekey; in ieee802_1x_tx_key_one() local
209 ekey = os_malloc(ekey_len); in ieee802_1x_tx_key_one()
210 if (!ekey) { in ieee802_1x_tx_key_one()
215 os_memcpy(ekey, key->key_iv, sizeof(key->key_iv)); in ieee802_1x_tx_key_one()
216 os_memcpy(ekey + sizeof(key->key_iv), sm->eap_if->eapKeyData, 32); in ieee802_1x_tx_key_one()
217 rc4_skip(ekey, ekey_len, 0, (u8 *) (key + 1), key_len); in ieee802_1x_tx_key_one()
218 os_free(ekey); in ieee802_1x_tx_key_one()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dieee802_1x.c149 u8 *buf, *ekey; in ieee802_1x_tx_key_one() local
209 ekey = os_malloc(ekey_len); in ieee802_1x_tx_key_one()
210 if (ekey == NULL) { in ieee802_1x_tx_key_one()
215 os_memcpy(ekey, key->key_iv, sizeof(key->key_iv)); in ieee802_1x_tx_key_one()
216 os_memcpy(ekey + sizeof(key->key_iv), sm->eap_if->eapKeyData, 32); in ieee802_1x_tx_key_one()
217 rc4_skip(ekey, ekey_len, 0, (u8 *) (key + 1), key_len); in ieee802_1x_tx_key_one()
218 os_free(ekey); in ieee802_1x_tx_key_one()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/
Deapol_supp_sm.c702 u8 ekey[IEEE8021X_KEY_IV_LEN + IEEE8021X_ENCR_KEY_LEN]; in eapol_sm_processKey() local
804 os_memcpy(ekey, key->key_iv, IEEE8021X_KEY_IV_LEN); in eapol_sm_processKey()
805 os_memcpy(ekey + IEEE8021X_KEY_IV_LEN, keydata.encr_key, in eapol_sm_processKey()
808 rc4_skip(ekey, IEEE8021X_KEY_IV_LEN + encr_key_len, 0, in eapol_sm_processKey()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/
Deapol_supp_sm.c687 u8 ekey[IEEE8021X_KEY_IV_LEN + IEEE8021X_ENCR_KEY_LEN]; in eapol_sm_processKey() local
789 os_memcpy(ekey, key->key_iv, IEEE8021X_KEY_IV_LEN); in eapol_sm_processKey()
790 os_memcpy(ekey + IEEE8021X_KEY_IV_LEN, keydata.encr_key, in eapol_sm_processKey()
793 rc4_skip(ekey, IEEE8021X_KEY_IV_LEN + encr_key_len, 0, in eapol_sm_processKey()
/third_party/pulseaudio/src/pulsecore/
Dprotocol-esound.c336 uint32_t ekey; in esd_proto_connect() local
363 memcpy(&ekey, data, sizeof(uint32_t)); in esd_proto_connect()
364 if (ekey == ESD_ENDIAN_KEY) in esd_proto_connect()
366 else if (ekey == ESD_SWAP_ENDIAN_KEY) in esd_proto_connect()