Searched refs:crypt (Results 1 - 25 of 75) sorted by relevance

123

/freebsd-9.3-release/usr.bin/enigma/
H A DMakefile5 LINKS= ${BINDIR}/enigma ${BINDIR}/crypt
6 MLINKS= enigma.1 crypt.1
/freebsd-9.3-release/lib/libcrypt/
H A DMakefile10 LIB= crypt
13 SRCS= crypt.c misc.c \
14 crypt-md5.c md5c.c \
15 crypt-nthash.c md4c.c \
16 crypt-sha256.c sha256c.c \
17 crypt-sha512.c sha512c.c
18 MAN= crypt.3
19 MLINKS= crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
25 SRCS+= crypt
[all...]
H A Dcrypt.c37 #include "crypt.h"
40 * List of supported crypt(3) formats.
45 * bottom for the algorithm guessing logic in crypt(3) to work correctly,
85 * Selects the format to use for subsequent crypt(3) invocations.
107 crypt(const char *passwd, const char *salt) function
/freebsd-9.3-release/usr.sbin/keyserv/
H A DMakefile5 SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h
16 CLEANFILES= crypt_svc.c crypt.h
20 crypt_svc.c: ${RPCDIR}/crypt.x
21 ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
23 crypt.h: ${RPCDIR}/crypt.x
24 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Ddes_i.h24 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt);
25 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain);
28 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt);
29 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain);
H A Daes.h21 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
24 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
H A Dcrypto_internal-cipher.c116 u8 *crypt, size_t len)
122 if (plain != crypt)
123 os_memcpy(crypt, plain, len);
125 ctx->u.rc4.used_bytes, crypt, len);
137 os_memcpy(crypt, ctx->u.aes.cbc,
140 crypt += ctx->u.aes.block_size;
152 os_memcpy(crypt, ctx->u.des3.cbc, 8);
154 crypt += 8;
166 os_memcpy(crypt, ctx->u.des.cbc, 8);
168 crypt
115 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
179 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Dcrypto.h123 * @crypt: Buffer for the encrypted data (16 bytes)
125 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt);
144 * @crypt: Encrypted data (16 bytes)
147 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain);
238 * @crypt: Resulting ciphertext
247 const u8 *plain, u8 *crypt, size_t len);
252 * @crypt: Ciphertext to decrypt
262 const u8 *crypt, u8 *plain, size_t len);
400 * @crypt: Encrypted signature data (using the private key)
407 struct crypto_public_key *key, const u8 *crypt, size_
[all...]
H A Dcrypto_nss.c150 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
166 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
198 u8 *crypt, size_t len)
204 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
197 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Dcrypto_gnutls.c116 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
119 gcry_cipher_encrypt(hd, crypt, 16, plain, 16);
146 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
149 gcry_cipher_decrypt(hd, plain, 16, crypt, 16);
281 u8 *crypt, size_t len)
283 if (gcry_cipher_encrypt(ctx->enc, crypt, len, plain, len) !=
290 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
293 if (gcry_cipher_decrypt(ctx->dec, plain, len, crypt, len) !=
280 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
H A Dcrypto_internal-rsa.c110 const u8 *crypt, size_t crypt_len,
114 crypt, crypt_len, plain, plain_len);
109 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
H A Dcrypto_libtomcrypt.c105 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
108 aes_ecb_encrypt(plain, crypt, skey);
134 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
137 aes_ecb_encrypt(plain, (u8 *) crypt, skey);
357 u8 *crypt, size_t len)
362 if (plain != crypt)
363 os_memcpy(crypt, plain, len);
365 ctx->u.rc4.used_bytes, crypt, len);
370 res = cbc_encrypt(plain, crypt, len, &ctx->u.cbc);
380 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
356 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
617 crypto_public_key_decrypt_pkcs1(struct crypto_public_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
[all...]
H A Dcrypto_cryptoapi.c297 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
302 os_memcpy(crypt, plain, 16);
304 if (!CryptEncrypt(akey->ckey, 0, FALSE, 0, crypt, &dlen, 16)) {
307 os_memset(crypt, 0, 16);
329 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
334 os_memcpy(plain, crypt, 16);
597 u8 *crypt, size_t len)
601 os_memcpy(crypt, plain, len);
603 if (!CryptEncrypt(ctx->key, 0, FALSE, 0, crypt, &dlen, len)) {
605 os_memset(crypt,
596 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
613 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Ddes-internal.c440 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) argument
446 WPA_PUT_BE32(crypt, work[0]);
447 WPA_PUT_BE32(crypt + 4, work[1]);
451 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain) argument
454 work[0] = WPA_GET_BE32(crypt);
455 work[1] = WPA_GET_BE32(crypt + 4);
474 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt) argument
483 WPA_PUT_BE32(crypt, work[0]);
484 WPA_PUT_BE32(crypt + 4, work[1]);
488 void des3_decrypt(const u8 *crypt, cons argument
[all...]
H A Daes-internal-enc.c111 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
113 rijndaelEncrypt(ctx, plain, crypt);
H A Daes-internal-dec.c141 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
143 rijndaelDecrypt(ctx, crypt, plain);
H A Dcrypto_openssl.c224 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
226 AES_encrypt(plain, crypt, ctx);
250 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
252 AES_decrypt(crypt, plain, ctx);
385 u8 *crypt, size_t len)
388 if (!EVP_EncryptUpdate(&ctx->enc, crypt, &outl, plain, len))
394 int crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, argument
399 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len))
384 crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, u8 *crypt, size_t len) argument
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dverify.c44 #include <crypt.h>
58 if(strcmp(crypt(password, pw->pw_passwd), pw->pw_passwd) == 0)
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dxcrypt.c32 # include <crypt.h>
62 # define crypt DES_crypt macro
74 crypted = crypt(password, salt);
79 crypted = crypt(password, salt);
83 crypted = crypt(password, salt);
H A Dport-uw.c31 # include <crypt.h>
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dpkcs1.h25 const u8 *crypt, size_t crypt_len,
H A Dpkcs1.c134 const u8 *crypt, size_t crypt_len,
141 if (crypto_rsa_exptmod(crypt, crypt_len, plain, &len, key, 0) < 0)
133 pkcs1_decrypt_public_key(struct crypto_rsa_key *key, const u8 *crypt, size_t crypt_len, u8 *plain, size_t *plain_len) argument
/freebsd-9.3-release/include/rpcsvc/
H A DMakefile11 bootparam_prot.h crypt.h
15 nis_callback.x crypt.x
/freebsd-9.3-release/contrib/openpam/modules/pam_unix/
H A Dpam_unix.c51 # include <crypt.h>
123 (crypt_password = crypt(password, pwd->pw_passwd)) == NULL ||
/freebsd-9.3-release/lib/libc/rpc/
H A DMakefile.inc27 SRCS+= crypt_clnt.c crypt_xdr.c crypt.h
34 CLEANFILES+= crypt_clnt.c crypt_xdr.c crypt.h
39 crypt_clnt.c: ${RPCDIR}/crypt.x crypt.h
40 ${RPCGEN} -l -o ${.TARGET} ${RPCDIR}/crypt.x
42 crypt_xdr.c: ${RPCDIR}/crypt.x crypt.h
43 ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/crypt.x
45 crypt.h: ${RPCDIR}/crypt
[all...]

Completed in 215 milliseconds

123