Home
last modified time | relevance | path

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

/external/javasqlite/src/main/java/SQLite/
DDatabase.java813 public void key(byte[] ekey) throws SQLite.Exception { in key() argument
815 _key(ekey); in key()
829 byte ekey[] = null; in key()
831 ekey = new byte[skey.length()]; in key()
834 ekey[i] = (byte) ((c & 0xff) ^ (c >> 8)); in key()
837 _key(ekey); in key()
841 private native void _key(byte[] ekey); in _key() argument
851 public void rekey(byte[] ekey) throws SQLite.Exception { in rekey() argument
853 _rekey(ekey); in rekey()
867 byte ekey[] = null; in rekey()
[all …]
/external/python/rsa/rsa/
Dcore.py29 def encrypt_int(message: int, ekey: int, n: int) -> int:
33 assert_int(ekey, 'ekey')
42 return pow(message, ekey, n)
/external/grpc-grpc/test/core/transport/chttp2/
Dhpack_parser_test.cc38 const char *ekey, *evalue; in onhdr() local
40 ekey = va_arg(chk->args, char*); in onhdr()
41 GPR_ASSERT(ekey); in onhdr()
44 GPR_ASSERT(grpc_slice_str_cmp(GRPC_MDKEY(md), ekey) == 0); in onhdr()
/external/libwebsockets/lib/jose/jwe/
Djwe-rsa-aescbc.c50 char ekey[LWS_GENHASH_LARGEST]; in lws_jwe_encrypt_rsa_aes_cbc_hs() local
111 memcpy(ekey, jwe->jws.map.buf[LJWE_EKEY], hlen); in lws_jwe_encrypt_rsa_aes_cbc_hs()
113 n = lws_genrsa_public_encrypt(&rsactx, (uint8_t *)ekey, hlen, in lws_jwe_encrypt_rsa_aes_cbc_hs()
116 lws_explicit_bzero(ekey, hlen); /* cleanse the temp CEK copy */ in lws_jwe_encrypt_rsa_aes_cbc_hs()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp360 ByteString ekey = m_pEncryptDict->GetStringFor(bOwner ? "OE" : "UE"); in AES256_CheckPassword() local
361 if (ekey.GetLength() < 32) in AES256_CheckPassword()
368 CRYPT_AESDecrypt(&aes, m_EncryptKey, ekey.raw_str(), 32); in AES256_CheckPassword()
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/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()