Home
last modified time | relevance | path

Searched refs:cryptkey (Results 1 – 25 of 200) sorted by relevance

12345678

/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Tools/SaveTool/
H A Dencrypt.c58 unsigned char *data = NULL, *cryptkey = NULL, *hash = NULL; in encrypt_file() local
92 if ((cryptkey = (unsigned char *) memalign(0x10, 0x10)) == NULL) { in encrypt_file()
116 memcpy(cryptkey, gamekey, 0x10); in encrypt_file()
124 gamekey ? cryptkey : NULL)) < 0) { in encrypt_file()
170 if(cryptkey) free(cryptkey); in encrypt_file()
188 unsigned char *cryptkey) in encrypt_data() argument
203 if (sceChnnlsv_ABFDFC8B_(&ctx2, mode, 1, data, cryptkey) < 0) in encrypt_data()
224 if (sceChnnlsv_C4C494F8_(&ctx1, hash, cryptkey) < 0) in encrypt_data()
H A Ddecrypt.c35 unsigned char *data, *cryptkey; in decrypt_file() local
63 if ((cryptkey = (unsigned char *) memalign(0x10, 0x10)) == NULL) { in decrypt_file()
71 memcpy(cryptkey, gamekey, 0x10); in decrypt_file()
83 gamekey ? cryptkey : NULL)) < 0) { in decrypt_file()
105 free(cryptkey); in decrypt_file()
123 unsigned char *cryptkey) in decrypt_data() argument
141 if (sceChnnlsv_ABFDFC8B_(&ctx2, mode, 2, data, cryptkey) < 0) in decrypt_data()
H A Dhash.c110 unsigned char *cryptkey) in build_hash() argument
124 if (sceChnnlsv_C4C494F8_(&ctx1, output, cryptkey) < 0) in build_hash()
/dports/emulators/ppsspp/ppsspp-1.12.3/Tools/SaveTool/
H A Dencrypt.c58 unsigned char *data = NULL, *cryptkey = NULL, *hash = NULL; in encrypt_file() local
92 if ((cryptkey = (unsigned char *) memalign(0x10, 0x10)) == NULL) { in encrypt_file()
116 memcpy(cryptkey, gamekey, 0x10); in encrypt_file()
124 gamekey ? cryptkey : NULL)) < 0) { in encrypt_file()
170 if(cryptkey) free(cryptkey); in encrypt_file()
188 unsigned char *cryptkey) in encrypt_data() argument
203 if (sceChnnlsv_ABFDFC8B_(&ctx2, mode, 1, data, cryptkey) < 0) in encrypt_data()
224 if (sceChnnlsv_C4C494F8_(&ctx1, hash, cryptkey) < 0) in encrypt_data()
H A Ddecrypt.c35 unsigned char *data, *cryptkey; in decrypt_file() local
63 if ((cryptkey = (unsigned char *) memalign(0x10, 0x10)) == NULL) { in decrypt_file()
71 memcpy(cryptkey, gamekey, 0x10); in decrypt_file()
83 gamekey ? cryptkey : NULL)) < 0) { in decrypt_file()
105 free(cryptkey); in decrypt_file()
123 unsigned char *cryptkey) in decrypt_data() argument
141 if (sceChnnlsv_ABFDFC8B_(&ctx2, mode, 2, data, cryptkey) < 0) in decrypt_data()
H A Dhash.c110 unsigned char *cryptkey) in build_hash() argument
124 if (sceChnnlsv_C4C494F8_(&ctx1, output, cryptkey) < 0) in build_hash()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Tools/SaveTool/
H A Dencrypt.c58 unsigned char *data = NULL, *cryptkey = NULL, *hash = NULL; in encrypt_file() local
92 if ((cryptkey = (unsigned char *) memalign(0x10, 0x10)) == NULL) { in encrypt_file()
116 memcpy(cryptkey, gamekey, 0x10); in encrypt_file()
124 gamekey ? cryptkey : NULL)) < 0) { in encrypt_file()
170 if(cryptkey) free(cryptkey); in encrypt_file()
188 unsigned char *cryptkey) in encrypt_data() argument
203 if (sceChnnlsv_ABFDFC8B_(&ctx2, mode, 1, data, cryptkey) < 0) in encrypt_data()
224 if (sceChnnlsv_C4C494F8_(&ctx1, hash, cryptkey) < 0) in encrypt_data()
H A Ddecrypt.c35 unsigned char *data, *cryptkey; in decrypt_file() local
63 if ((cryptkey = (unsigned char *) memalign(0x10, 0x10)) == NULL) { in decrypt_file()
71 memcpy(cryptkey, gamekey, 0x10); in decrypt_file()
83 gamekey ? cryptkey : NULL)) < 0) { in decrypt_file()
105 free(cryptkey); in decrypt_file()
123 unsigned char *cryptkey) in decrypt_data() argument
141 if (sceChnnlsv_ABFDFC8B_(&ctx2, mode, 2, data, cryptkey) < 0) in decrypt_data()
H A Dhash.c110 unsigned char *cryptkey) in build_hash() argument
124 if (sceChnnlsv_C4C494F8_(&ctx1, output, cryptkey) < 0) in build_hash()
/dports/security/openvas/openvas-scanner-21.4.3/nasl/
H A Dnasl_crypto.c613 char *cryptkey = (char *) get_str_var_by_name (lexic, "cryptkey"); in nasl_ntlmv2_response() local
657 char *cryptkey = (char *) get_str_var_by_name (lexic, "cryptkey"); in nasl_ntlm2_response() local
663 if (!cryptkey || !password || !nt_hash || hash_len < 16) in nasl_ntlm2_response()
676 session_key, cryptkey, nt_hash); in nasl_ntlm2_response()
692 char *cryptkey = (char *) get_str_var_by_name (lexic, "cryptkey"); in nasl_ntlm_response() local
713 session_key, cryptkey, nt_hash, neg_flags); in nasl_ntlm_response()
730 char *cryptkey = (char *) get_str_var_by_name (lexic, "cryptkey"); in nasl_keyexchg() local
735 if (cryptkey == NULL || session_key == NULL || nt_hash == NULL) in nasl_keyexchg()
746 session_key, cryptkey, nt_hash, (uint8_t *) &new_sess_key); in nasl_keyexchg()
767 if (cryptkey == NULL || password == NULL) in nasl_ntlmv1_hash()
[all …]
/dports/misc/mc-nox11/mc-4.8.27/src/vfs/smbfs/helpers/libsmb/
H A Dpwd_cache.c225 pwd_make_lm_nt_owf (struct pwd_info *pwd, uchar cryptkey[8]) in pwd_make_lm_nt_owf()
231 dump_data (100, (char *) cryptkey, 8); in pwd_make_lm_nt_owf()
234 SMBOWFencrypt (pwd->smb_nt_pwd, cryptkey, pwd->smb_nt_owf); in pwd_make_lm_nt_owf()
243 SMBOWFencrypt (pwd->smb_lm_pwd, cryptkey, pwd->smb_lm_owf); in pwd_make_lm_nt_owf()
/dports/misc/mc/mc-4.8.27/src/vfs/smbfs/helpers/libsmb/
H A Dpwd_cache.c225 pwd_make_lm_nt_owf (struct pwd_info *pwd, uchar cryptkey[8]) in pwd_make_lm_nt_owf()
231 dump_data (100, (char *) cryptkey, 8); in pwd_make_lm_nt_owf()
234 SMBOWFencrypt (pwd->smb_nt_pwd, cryptkey, pwd->smb_nt_owf); in pwd_make_lm_nt_owf()
243 SMBOWFencrypt (pwd->smb_lm_pwd, cryptkey, pwd->smb_lm_owf); in pwd_make_lm_nt_owf()
/dports/games/omega/omega/tools/
H A Dcrypt.c3 char cryptkey(fname) in cryptkey() function
25 key = cryptkey(args[1]); in main()
H A Ddecrypt.c3 char cryptkey(fname) in cryptkey() function
25 key = cryptkey(args[1]); in main()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Core/HLE/
H A DsceChnnlsv.cpp404 u8* cryptkey = Memory::GetPointer(cryptkeyAddr); in sceSdCreateList() local
406 int res = sceSdCreateList_(ctx2, mode, unkwn, data, cryptkey); in sceSdCreateList()
413 int sceSdCreateList_(pspChnnlsvContext2& ctx2, int mode, int uknw, u8* data, u8* cryptkey) in sceSdCreateList_() argument
420 if (cryptkey) in sceSdCreateList_()
421 memxor(ctx2.cryptedData, cryptkey, 16); in sceSdCreateList_()
460 if (cryptkey) in sceSdCreateList_()
461 memxor(ctx2.cryptedData, cryptkey, 16); in sceSdCreateList_()
/dports/emulators/ppsspp/ppsspp-1.12.3/Core/HLE/
H A DsceChnnlsv.cpp404 u8* cryptkey = Memory::GetPointer(cryptkeyAddr); in sceSdCreateList() local
406 int res = sceSdCreateList_(ctx2, mode, unkwn, data, cryptkey); in sceSdCreateList()
413 int sceSdCreateList_(pspChnnlsvContext2& ctx2, int mode, int uknw, u8* data, u8* cryptkey) in sceSdCreateList_() argument
420 if (cryptkey) in sceSdCreateList_()
421 memxor(ctx2.cryptedData, cryptkey, 16); in sceSdCreateList_()
460 if (cryptkey) in sceSdCreateList_()
461 memxor(ctx2.cryptedData, cryptkey, 16); in sceSdCreateList_()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/HLE/
H A DsceChnnlsv.cpp404 u8* cryptkey = Memory::GetPointer(cryptkeyAddr); in sceSdCreateList() local
406 int res = sceSdCreateList_(ctx2, mode, unkwn, data, cryptkey); in sceSdCreateList()
413 int sceSdCreateList_(pspChnnlsvContext2& ctx2, int mode, int uknw, u8* data, u8* cryptkey) in sceSdCreateList_() argument
420 if (cryptkey) in sceSdCreateList_()
421 memxor(ctx2.cryptedData, cryptkey, 16); in sceSdCreateList_()
460 if (cryptkey) in sceSdCreateList_()
461 memxor(ctx2.cryptedData, cryptkey, 16); in sceSdCreateList_()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/postscript/misc/
H A Dpscrypt.c50 int cryptkey = 0; /* encryption key set with -e */ variable
119 sscanf(optarg, "%8x", &cryptkey); in options()
278 val = (cryptkey >> (inoffset*8)) & 0xFF; in nextbyte()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Tools/SaveTool/kernelcall/
H A Dkernelcall.c43 unsigned char *hash, unsigned char *cryptkey) in sceChnnlsv_C4C494F8_() argument
46 int res = sceChnnlsv_C4C494F8(ctx,hash,cryptkey); in sceChnnlsv_C4C494F8_()
/dports/emulators/ppsspp/ppsspp-1.12.3/Tools/SaveTool/kernelcall/
H A Dkernelcall.c43 unsigned char *hash, unsigned char *cryptkey) in sceChnnlsv_C4C494F8_() argument
46 int res = sceChnnlsv_C4C494F8(ctx,hash,cryptkey); in sceChnnlsv_C4C494F8_()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Tools/SaveTool/kernelcall/
H A Dkernelcall.c43 unsigned char *hash, unsigned char *cryptkey) in sceChnnlsv_C4C494F8_() argument
46 int res = sceChnnlsv_C4C494F8(ctx,hash,cryptkey); in sceChnnlsv_C4C494F8_()
/dports/devel/gwenhywfar-gtk3/gwenhywfar-5.6.0/src/crypt3/
H A DMakefile.am18 cryptkey.h \
46 cryptkey.c \
/dports/devel/gwenhywfar-gtk2/gwenhywfar-5.6.0/src/crypt3/
H A DMakefile.am18 cryptkey.h \
46 cryptkey.c \
/dports/devel/gwenhywfar-fox16/gwenhywfar-5.6.0/src/crypt3/
H A DMakefile.am18 cryptkey.h \
46 cryptkey.c \
/dports/devel/gwenhywfar-qt5/gwenhywfar-5.6.0/src/crypt3/
H A DMakefile.am18 cryptkey.h \
46 cryptkey.c \

12345678