| /netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | symmetric.c | 94 std_set_iv(pgp_crypt_t *crypt, const uint8_t *iv) in std_set_iv() argument 96 (void) memcpy(crypt->iv, iv, crypt->blocksize); in std_set_iv() 97 crypt->num = 0; in std_set_iv() 101 std_set_key(pgp_crypt_t *crypt, const uint8_t *key) in std_set_key() argument 103 (void) memcpy(crypt->key, key, crypt->keysize); in std_set_key() 121 std_finish(pgp_crypt_t *crypt) in std_finish() argument 123 if (crypt->encrypt_key) { in std_finish() 124 free(crypt->encrypt_key); in std_finish() 125 crypt->encrypt_key = NULL; in std_finish() 127 if (crypt->decrypt_key) { in std_finish() [all …]
|
| H A D | writer.c | 923 pgp_crypt_t *crypt; member 946 if (!pgp_is_sa_supported(pgp_encrypt->crypt->alg)) { in encrypt_writer() 954 pgp_encrypt->crypt->cfb_encrypt(pgp_encrypt->crypt, encbuf, in encrypt_writer() 982 free(pgp_encrypt->crypt); in encrypt_destroyer() 1002 pgp_encrypt->crypt = pgp_crypt; in pgp_push_enc_crypt() 1013 pgp_crypt_t *crypt; member 1065 se_ip->crypt = encrypted; in pgp_push_enc_se_ip() 1109 se_ip->crypt); in encrypt_se_ip_writer() 1133 free(se_ip->crypt); in encrypt_se_ip_destroyer() 1385 pgp_crypt_t *crypt; member [all …]
|
| /netbsd-src/external/bsd/file/dist/magic/magdir/ |
| H A D | gringotts | 10 >3 string 1 v.1, MCRYPT S2K, SERPENT crypt, SHA-256 hash, ZLib lvl.9 13 >>8 byte&0x70 0x00 RIJNDAEL-128 crypt, 14 >>8 byte&0x70 0x10 SERPENT crypt, 15 >>8 byte&0x70 0x20 TWOFISH crypt, 16 >>8 byte&0x70 0x30 CAST-256 crypt, 17 >>8 byte&0x70 0x40 SAFER+ crypt, 18 >>8 byte&0x70 0x50 LOKI97 crypt, 19 >>8 byte&0x70 0x60 3DES crypt, 20 >>8 byte&0x70 0x70 RIJNDAEL-256 crypt, 31 >>8 byte&0x70 0x00 RIJNDAEL-128 crypt, [all …]
|
| H A D | mcrypt | 13 !:mime application/x-crypt-nc 23 !:mime application/x-crypt-nc
|
| /netbsd-src/external/bsd/wpa/dist/src/crypto/ |
| H A D | crypto_internal-cipher.c | 104 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 110 if (plain != crypt) in crypto_cipher_encrypt() 111 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 113 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE); in crypto_cipher_encrypt() 127 crypt += AES_BLOCK_SIZE; in crypto_cipher_encrypt() 139 os_memcpy(crypt, ctx->u.des3.cbc, 8); in crypto_cipher_encrypt() 141 crypt += 8; in crypto_cipher_encrypt() 153 os_memcpy(crypt, ctx->u.des.cbc, 8); in crypto_cipher_encrypt() 155 crypt += 8; in crypto_cipher_encrypt() [all …]
|
| H A D | des-internal.c | 435 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt() argument 441 WPA_PUT_BE32(crypt, work[0]); in des_block_encrypt() 442 WPA_PUT_BE32(crypt + 4, work[1]); in des_block_encrypt() 446 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) in des_block_decrypt() argument 449 work[0] = WPA_GET_BE32(crypt); in des_block_decrypt() 450 work[1] = WPA_GET_BE32(crypt + 4); in des_block_decrypt() 469 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) in des3_encrypt() argument 478 WPA_PUT_BE32(crypt, work[0]); in des3_encrypt() 479 WPA_PUT_BE32(crypt + 4, work[1]); in des3_encrypt() 483 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain) in des3_decrypt() argument [all …]
|
| H A D | des_i.h | 18 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt); 19 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain); 22 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt); 23 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
|
| H A D | aes-gcm.c | 230 const u8 *crypt, size_t crypt_len, u8 *S) in aes_gcm_ghash() argument 242 ghash(H, crypt, crypt_len, S); in aes_gcm_ghash() 256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) in aes_gcm_ae() argument 270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt); in aes_gcm_ae() 272 aes_gcm_ghash(H, aad, aad_len, crypt, plain_len, S); in aes_gcm_ae() 289 const u8 *crypt, size_t crypt_len, in aes_gcm_ad() argument 304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain); in aes_gcm_ad() 306 aes_gcm_ghash(H, aad, aad_len, crypt, crypt_len, S); in aes_gcm_ad()
|
| H A D | aes_wrap.h | 56 u8 *crypt, u8 *tag); 59 const u8 *crypt, size_t crypt_len, 67 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth); 69 size_t M, const u8 *crypt, size_t crypt_len,
|
| H A D | aes.h | 15 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 18 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
|
| H A D | aes-ccm.c | 150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae() argument 168 aes_ccm_encr(aes, L, plain, plain_len, crypt, a); in aes_ccm_ae() 179 size_t M, const u8 *crypt, size_t crypt_len, in aes_ccm_ad() argument 199 aes_ccm_encr(aes, L, crypt, crypt_len, plain, a); in aes_ccm_ad()
|
| H A D | aes-internal-enc.c | 119 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 122 rijndaelEncrypt(ctx, rk[AES_PRIV_NR_POS], plain, crypt); in aes_encrypt()
|
| H A D | aes-internal-dec.c | 151 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 154 rijndaelDecrypt(ctx, rk[AES_PRIV_NR_POS], crypt, plain); in aes_decrypt()
|
| /netbsd-src/lib/libcrypt/ |
| H A D | Makefile | 13 LIB= crypt 15 SRCS= crypt.c md5crypt.c bcrypt.c crypt-sha1.c util.c pw_gensalt.c 27 SRCS+= crypt-argon2.c 37 MAN= crypt.3 pw_gensalt.3 38 MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3 42 COPTS.crypt.c+= ${CC_WNO_STRINGOP_OVERFLOW}
|
| /netbsd-src/external/bsd/unbound/dist/dnscrypt/testdata/ |
| H A D | gencert.sh | 17 dnscrypt-wrapper --gen-crypt-keypair \ 18 --crypt-secretkey-file="${i}.key" \ 33 --crypt-secretkey-file="${i}.key" \
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/ |
| H A D | passwd.pod | 12 [B<-crypt>] 43 =item B<-crypt> 45 Use the B<crypt> algorithm (default). 64 See L<https://www.akkadia.org/drepper/SHA-crypt.txt>. 109 % openssl passwd -crypt -salt xx password
|
| /netbsd-src/external/bsd/libpcap/dist/testprogs/fuzz/ |
| H A D | CMakeLists.txt | 31 check_function_exists(crypt HAVE_CRYPT_IN_SYSTEM_LIBRARIES) 35 set(PCAP_LINK_LIBRARIES ${PCAP_LINK_LIBRARIES} crypt)
|
| /netbsd-src/usr.bin/passwd/ |
| H A D | local_passwd.c | 73 strcmp(crypt(getpass("Old password:"), pw->pw_passwd), in getnewpasswd() 118 return(crypt(buf, salt)); in getnewpasswd()
|
| /netbsd-src/external/bsd/openldap/dist/include/ac/ |
| H A D | crypt.h | 28 extern char *(crypt)();
|
| /netbsd-src/crypto/external/bsd/openssl/lib/libdes/ |
| H A D | des.pod | 106 char *crypt(const char *buf, const char *salt); 273 des_fcrypt() is a fast version of the Unix crypt(3) function. This 275 crypt() implementations. This is different to the normal crypt in 278 is thread safe, unlike the normal crypt. 280 des_crypt() is a faster replacement for the normal system crypt(). 283 of crypt(3). 348 crypt(3), L<des_modes(7)|des_modes(7)>, L<evp(3)|evp(3)>, L<rand(3)|rand(3)>
|
| /netbsd-src/crypto/external/bsd/openssl.old/lib/libdes/ |
| H A D | des.pod | 106 char *crypt(const char *buf, const char *salt); 273 des_fcrypt() is a fast version of the Unix crypt(3) function. This 275 crypt() implementations. This is different to the normal crypt in 278 is thread safe, unlike the normal crypt. 280 des_crypt() is a faster replacement for the normal system crypt(). 283 of crypt(3). 348 crypt(3), L<des_modes(7)|des_modes(7)>, L<evp(3)|evp(3)>, L<rand(3)|rand(3)>
|
| /netbsd-src/lib/libpam/modules/pam_group/ |
| H A D | Makefile | 15 crypt ${.CURDIR}/../../../libcrypt
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | verify.c | 57 if(strcmp(crypt(password, pw->pw_passwd), pw->pw_passwd) == 0) in unix_verify_user()
|
| /netbsd-src/crypto/external/bsd/openssh/bin/ |
| H A D | Makefile.inc | 10 crypt ${NETBSDSRCDIR}/lib/libcrypt \
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/tests/ |
| H A D | testsuite.at | 12 m4_include([crypt.at])
|