| /freebsd-12.1/contrib/file/magic/Magdir/ |
| H A D | gringotts | 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, 32 >>8 byte&0x70 0x10 SERPENT crypt, 33 >>8 byte&0x70 0x20 TWOFISH crypt, 35 >>8 byte&0x70 0x40 SAFER+ crypt, 36 >>8 byte&0x70 0x50 LOKI97 crypt, [all …]
|
| /freebsd-12.1/lib/libcrypt/ |
| H A D | Makefile | 11 LIB= crypt 14 SRCS= crypt.c misc.c \ 15 crypt-md5.c md5c.c \ 16 crypt-nthash.c md4c.c \ 17 crypt-sha256.c sha256c.c \ 18 crypt-sha512.c sha512c.c 19 MAN= crypt.3 20 MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_r.3 \ 21 crypt.3 crypt_set_format.3 28 SRCS+= crypt-des.c crypt-blowfish.c blowfish.c
|
| /freebsd-12.1/contrib/wpa/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() 127 crypt += AES_BLOCK_SIZE; in crypto_cipher_encrypt() 141 crypt += 8; in crypto_cipher_encrypt() 155 crypt += 8; in crypto_cipher_encrypt() 174 if (plain != crypt) in crypto_cipher_decrypt() 191 crypt += AES_BLOCK_SIZE; in crypto_cipher_decrypt() 199 os_memcpy(tmp, crypt, 8); in crypto_cipher_decrypt() 205 crypt += 8; in crypto_cipher_decrypt() 213 os_memcpy(tmp, crypt, 8); in crypto_cipher_decrypt() [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() 487 work[0] = WPA_GET_BE32(crypt); in des3_decrypt() [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 | crypto_libtomcrypt.c | 100 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 129 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 355 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 360 if (plain != crypt) in crypto_cipher_encrypt() 361 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 363 ctx->u.rc4.used_bytes, crypt, len); in crypto_cipher_encrypt() 368 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc); in crypto_cipher_encrypt() 384 if (plain != crypt) in crypto_cipher_decrypt() 385 os_memcpy(plain, crypt, len); in crypto_cipher_decrypt() 392 res = cbc_decrypt(crypt, plain, len, &ctx->u.cbc); in crypto_cipher_decrypt() [all …]
|
| 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 | crypto_nettle.c | 261 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 264 nettle_aes_encrypt(actx, AES_BLOCK_SIZE, crypt, plain); in aes_encrypt() 292 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 295 nettle_aes_decrypt(actx, AES_BLOCK_SIZE, plain, crypt); in aes_decrypt() 437 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 441 nettle_arcfour_crypt(&ctx->u.arcfour_ctx, len, crypt, plain); in crypto_cipher_encrypt() 451 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument 456 nettle_arcfour_crypt(&ctx->u.arcfour_ctx, len, plain, crypt); in crypto_cipher_decrypt()
|
| H A D | crypto_gnutls.c | 237 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 240 gcry_cipher_encrypt(hd, crypt, 16, plain, 16); in aes_encrypt() 271 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 274 gcry_cipher_decrypt(hd, plain, 16, crypt, 16); in aes_decrypt() 482 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 484 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) != in crypto_cipher_encrypt() 491 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, in crypto_cipher_decrypt() argument 494 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) != in crypto_cipher_decrypt()
|
| 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 | crypto.h | 128 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt); 151 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain); 253 const u8 *plain, u8 *crypt, size_t len); 268 const u8 *crypt, u8 *plain, size_t len); 417 struct crypto_public_key *key, const u8 *crypt, size_t crypt_len,
|
| 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 | crypto_internal-rsa.c | 112 const u8 *crypt, size_t crypt_len, in crypto_public_key_decrypt_pkcs1() argument 116 crypt, crypt_len, plain, plain_len); in crypto_public_key_decrypt_pkcs1()
|
| H A D | crypto_wolfssl.c | 328 int aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) in aes_encrypt() argument 330 wc_AesEncryptDirect(ctx, crypt, plain); in aes_encrypt() 361 int aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) in aes_decrypt() argument 363 wc_AesDecryptDirect(ctx, plain, crypt); in aes_decrypt() 545 u8 *crypt, size_t len) in crypto_cipher_encrypt() argument 551 wc_Arc4Process(&ctx->enc.arc4, crypt, plain, len); in crypto_cipher_encrypt() 557 if (wc_AesCbcEncrypt(&ctx->enc.aes, crypt, plain, len) != 0) in crypto_cipher_encrypt() 563 if (wc_Des3_CbcEncrypt(&ctx->enc.des3, crypt, plain, len) != 0) in crypto_cipher_encrypt() 581 wc_Arc4Process(&ctx->dec.arc4, plain, crypt, len); in crypto_cipher_decrypt() 587 if (wc_AesCbcDecrypt(&ctx->dec.aes, plain, crypt, len) != 0) in crypto_cipher_decrypt() [all …]
|
| /freebsd-12.1/usr.sbin/keyserv/ |
| H A D | Makefile | 5 SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h 15 CLEANFILES= crypt_svc.c crypt.h 19 crypt_svc.c: ${RPCDIR}/crypt.x 20 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x 22 crypt.h: ${RPCDIR}/crypt.x 23 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
|
| /freebsd-12.1/lib/libc/rpc/ |
| H A D | Makefile.inc | 28 SRCS+= crypt_clnt.c crypt_xdr.c crypt.h 35 CLEANFILES+= crypt_clnt.c crypt_xdr.c crypt.h 40 crypt_clnt.c: ${RPCDIR}/crypt.x crypt.h 41 ${RPCGEN} -l -o ${.TARGET} ${RPCDIR}/crypt.x 43 crypt_xdr.c: ${RPCDIR}/crypt.x crypt.h 44 ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/crypt.x 46 crypt.h: ${RPCDIR}/crypt.x 47 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
|
| /freebsd-12.1/usr.bin/enigma/ |
| H A D | Makefile | 5 LINKS= ${BINDIR}/enigma ${BINDIR}/crypt 6 MLINKS= enigma.1 crypt.1 8 LIBADD= crypt
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | xcrypt.c | 63 # define crypt DES_crypt macro 114 crypted = crypt(password, salt); in xcrypt() 119 crypted = crypt(password, salt); in xcrypt() 123 crypted = crypt(password, salt); in xcrypt()
|
| /freebsd-12.1/crypto/openssl/doc/man1/ |
| H A D | passwd.pod | 12 [B<-crypt>] 34 The Unix standard algorithm B<crypt> and the MD5-based BSD password 45 =item B<-crypt> 47 Use the B<crypt> algorithm (default). 66 See L<https://www.akkadia.org/drepper/SHA-crypt.txt>. 111 % openssl passwd -crypt -salt xx password
|
| /freebsd-12.1/usr.sbin/pw/tests/ |
| H A D | Makefile | 7 PROGS+= crypt 9 LIBADD+= crypt
|
| /freebsd-12.1/lib/libcrypt/tests/ |
| H A D | crypt_tests.c | 24 pw = crypt(LEET, want); in ATF_TC_BODY() 40 pw = crypt(LEET, want); in ATF_TC_BODY()
|
| /freebsd-12.1/include/rpcsvc/ |
| H A D | Makefile | 11 bootparam_prot.h crypt.h 15 nis_callback.x crypt.x
|
| /freebsd-12.1/contrib/apr-util/ |
| H A D | CHANGES | 62 *) Use heap memory for crypt in apr_password_validate(), to reduce stack 65 *) Fix password validation failure for all crypt and crypt_r based 98 such as FreeBSD where the crypt() function is used. 121 more than 9999 rounds with sha512-crypt. PR 53410. [Stefan Fritsch] 123 *) Fix segfaults in crypt() and crypt_r() failure modes.
|
| /freebsd-12.1/contrib/openpam/ |
| H A D | configure.ac | 88 AC_CHECK_HEADERS([crypt.h]) 105 AC_CHECK_LIB([crypt], [crypt])
|