Home
last modified time | relevance | path

Searched refs:cypher (Results 1 – 11 of 11) sorted by relevance

/hostap-3.6.0/src/crypto/
Dms_funcs.c497 const u8 *block, u8 *cypher) in nt_password_hash_encrypted_with_block() argument
499 if (des_encrypt(password_hash, block, cypher) < 0 || in nt_password_hash_encrypted_with_block()
500 des_encrypt(password_hash + 8, block + 7, cypher + 8) < 0) in nt_password_hash_encrypted_with_block()
Ddes-internal.c399 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
419 WPA_PUT_BE32(cypher, work[0]); in des_encrypt()
420 WPA_PUT_BE32(cypher + 4, work[1]); in des_encrypt()
Dcrypto_none.c21 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
Dms_funcs.h54 const u8 *block, u8 *cypher);
Dcrypto_nettle.c29 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
45 nettle_des_encrypt(&ctx, DES_BLOCK_SIZE, cypher, clear); in des_encrypt()
Dcrypto_gnutls.c48 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
65 gcry_cipher_encrypt(hd, cypher, 8, clear, 8); in des_encrypt()
Dcrypto_libtomcrypt.c38 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
54 des_ecb_encrypt(clear, cypher, &skey); in des_encrypt()
Dcrypto_linux.c607 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
655 ret = read(skcipher->t, cypher, 8); in des_encrypt()
Dcrypto.h111 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher);
Dcrypto_wolfssl.c285 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
301 wc_Des_EcbEncrypt(&des, cypher, clear, DES_BLOCK_SIZE); in des_encrypt()
Dcrypto_openssl.c255 int des_encrypt(const u8 *clear, const u8 *key, u8 *cypher) in des_encrypt() argument
276 EVP_EncryptUpdate(ctx, cypher, &plen, clear, 8) == 1 && in des_encrypt()
277 EVP_EncryptFinal_ex(ctx, &cypher[plen], &plen) == 1) in des_encrypt()