Searched refs:plain (Results 26 - 50 of 53) sorted by relevance

123

/freebsd-10.0-release/crypto/openssl/crypto/idea/
H A Dideatest.c91 static unsigned char plain[CFB_TEST_SIZE]= variable
188 idea_cfb64_encrypt(plain,cfb_buf1,(long)12,&eks,
190 idea_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),
207 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)
/freebsd-10.0-release/crypto/openssl/crypto/rc2/
H A Drc2test.c120 static unsigned char plain[CFB_TEST_SIZE]= variable
225 idea_cfb64_encrypt(plain,cfb_buf1,(long)12,&eks,
227 idea_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),
244 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)
/freebsd-10.0-release/contrib/wpa/src/crypto/
H A Dcrypto_cryptoapi.c291 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
296 os_memcpy(crypt, plain, 16);
323 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
328 os_memcpy(plain, crypt, 16);
331 if (!CryptDecrypt(akey->ckey, 0, FALSE, 0, plain, &dlen)) {
590 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, argument
595 os_memcpy(crypt, plain, len);
608 u8 *plain, size_t len)
612 os_memcpy(plain, crypt, len);
614 if (!CryptDecrypt(ctx->key, 0, FALSE, 0, plain,
607 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
[all...]
H A Daes-internal-enc.c115 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
118 rijndaelEncrypt(ctx, rk[AES_PRIV_NR_POS], plain, crypt);
H A Daes-gcm.c255 const u8 *plain, size_t plain_len,
270 aes_gcm_gctr(aes, J0, plain, plain_len, crypt);
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain)
304 aes_gcm_gctr(aes, J0, crypt, crypt_len, plain);
254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) argument
288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) argument
H A Daes-internal-dec.c150 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
153 rijndaelDecrypt(ctx, rk[AES_PRIV_NR_POS], crypt, plain);
H A Dcrypto_openssl.c229 void aes_encrypt(void *ctx, const u8 *plain, u8 *crypt) argument
233 if (EVP_EncryptUpdate(c, crypt, &clen, plain, 16) != 1) {
280 void aes_decrypt(void *ctx, const u8 *crypt, u8 *plain) argument
284 if (EVP_DecryptUpdate(c, plain, &plen, crypt, 16) != 1) {
431 int crypto_cipher_encrypt(struct crypto_cipher *ctx, const u8 *plain, argument
435 if (!EVP_EncryptUpdate(&ctx->enc, crypt, &outl, plain, len))
442 u8 *plain, size_t len)
446 if (!EVP_DecryptUpdate(&ctx->dec, plain, &outl, crypt, len))
441 crypto_cipher_decrypt(struct crypto_cipher *ctx, const u8 *crypt, u8 *plain, size_t len) argument
/freebsd-10.0-release/contrib/wpa/src/wps/
H A Dwps_attr_build.c322 struct wpabuf *plain)
331 pad_len = block_size - wpabuf_len(plain) % block_size;
332 os_memset(wpabuf_put(plain, pad_len), pad_len, pad_len);
335 wpabuf_put_be16(msg, block_size + wpabuf_len(plain));
342 wpabuf_put_buf(msg, plain);
343 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain)))
321 wps_build_encr_settings(struct wps_data *wps, struct wpabuf *msg, struct wpabuf *plain) argument
H A Dwps_common.c330 struct wpabuf *plain; local
332 plain = wpabuf_alloc(500);
333 if (plain == NULL) {
343 if (wps_build_version(plain) ||
344 wps_build_cred(&data, plain) ||
345 wps_build_wfa_ext(plain, 0, NULL, 0)) {
346 wpabuf_free(plain);
350 return plain;
H A Dwps_registrar.c1741 struct wpabuf *msg, *plain; local
1747 plain = wpabuf_alloc(200);
1748 if (plain == NULL) {
1753 if (wps_build_ap_settings(wps, plain)) {
1754 wpabuf_free(plain);
1760 wpabuf_put_be16(msg, wpabuf_len(plain));
1761 wpabuf_put_buf(msg, plain);
1762 wpabuf_free(plain);
1852 struct wpabuf *msg, *plain; local
1858 plain
1890 struct wpabuf *msg, *plain; local
1926 struct wpabuf *msg, *plain; local
[all...]
H A Dwps_i.h154 struct wpabuf *plain);
/freebsd-10.0-release/contrib/wpa/src/eap_common/
H A Dikev2_common.h286 const u8 *plain, u8 *crypt, size_t len);
288 const u8 *crypt, u8 *plain, size_t len);
331 struct wpabuf *plain, u8 next_payload);
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Daes-test.c481 krb5_data *plain)
488 p = plain->data;
489 len = plain->length;
595 krb5_data cipher, plain; local
608 plain.length = krbencs[i].plen;
609 plain.data = krbencs[i].pdata;
611 ret = krb_enc(context, crypto, krbencs[i].usage, &cipher, &plain);
616 ret = krb_enc_iov(context, crypto, krbencs[i].usage, &cipher, &plain);
621 cipher.length, &plain);
625 ret = krb_checksum_iov(context, crypto, krbencs[i].usage, &plain);
478 krb_checksum_iov(krb5_context context, krb5_crypto crypto, unsigned usage, krb5_data *plain) argument
[all...]
H A Drd_req.c44 krb5_data plain; local
55 &plain);
60 ret = decode_EncTicketPart(plain.data, plain.length, decr_part, &len);
65 krb5_data_free (&plain);
77 krb5_data plain; local
88 &plain);
95 &plain);
100 ret = decode_Authenticator(plain.data, plain
[all...]
/freebsd-10.0-release/contrib/wpa/src/radius/
H A Dradius.c949 u8 *plain, *ppos, *res; local
970 ppos = plain = os_malloc(plen);
971 if (plain == NULL)
973 plain[0] = 0;
998 if (plain[0] == 0 || plain[0] > plen - 1) {
1000 os_free(plain);
1004 res = os_malloc(plain[0]);
1006 os_free(plain);
1009 os_memcpy(res, plain
[all...]
/freebsd-10.0-release/lib/libc/iconv/
H A Dcitrus_lookup.c65 } plain; member in union:_citrus_lookup::__anon5378
72 #define cl_plainr u.plain.r
73 #define cl_plainms u.plain.ms
/freebsd-10.0-release/contrib/wpa/src/eap_server/
H A Dikev2.c1127 struct wpabuf *msg, *plain; local
1164 plain = wpabuf_alloc(data->IDr_len + 1000);
1165 if (plain == NULL) {
1170 if (ikev2_build_idi(data, plain, IKEV2_PAYLOAD_AUTHENTICATION) ||
1171 ikev2_build_auth(data, plain, IKEV2_PAYLOAD_NO_NEXT_PAYLOAD) ||
1173 &data->keys, 1, msg, plain,
1175 wpabuf_free(plain);
1179 wpabuf_free(plain);
H A Deap_server_tls_common.c360 const struct wpabuf *plain)
365 plain);
358 eap_server_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *plain) argument
H A Deap_server_fast.c813 struct wpabuf *plain, int piggyback)
818 plain);
819 encr = eap_server_tls_encrypt(sm, &data->ssl, plain);
820 wpabuf_free(plain);
811 eap_fast_encrypt_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *plain, int piggyback) argument
/freebsd-10.0-release/contrib/bmake/mk/
H A Dauto.obj.mk23 # If we get to the end of the loop, a plain mkdir will issue an error.
H A Dsys.mk162 # If we get to the end of the loop, a plain mkdir will issue an error.
/freebsd-10.0-release/crypto/openssl/crypto/rc5/
H A Drc5test.c337 idea_cfb64_encrypt(plain,cfb_buf1,(long)12,&eks,
339 idea_cfb64_encrypt(&(plain[12]),&(cfb_buf1[12]),
356 if (memcmp(plain,cfb_buf2,CFB_TEST_SIZE) != 0)
/freebsd-10.0-release/crypto/openssl/crypto/cast/
H A Dcasttest.c116 static unsigned char plain[CFB_TEST_SIZE]=
/freebsd-10.0-release/contrib/amd/doc/
H A Dtexinfo.tex3 % Load plain if necessary, i.e., if running under initex.
4 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
73 % We never want plain's \outer definition of \+ in Texinfo.
77 % Save some plain tex macros whose names we will redefine.
255 % add check for \lastpenalty to plain's definitions. If the last thing
336 % The \baselineskip=24pt in plain's \makefootline has no effect.
582 % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
608 % The \TeX{} logo, as in plain, but resetting the spacing so that a
1040 % FYI, plain.tex uses \\ as a temporary control sequence (why?), but
1412 % Texinfo sort of supports the sans serif font style, which plain Te
[all...]
/freebsd-10.0-release/contrib/gcc/doc/include/
H A Dtexinfo.tex3 % Load plain if necessary, i.e., if running under initex.
4 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
73 % We never want plain's \outer definition of \+ in Texinfo.
77 % Save some plain tex macros whose names we will redefine.
264 % add check for \lastpenalty to plain's definitions. If the last thing
345 % The \baselineskip=24pt in plain's \makefootline has no effect.
591 % Others are defined by plain TeX: @` @' @" @^ @~ @= @u @v @H.
617 % The \TeX{} logo, as in plain, but resetting the spacing so that a
1064 % FYI, plain.tex uses \\ as a temporary control sequence (why?), but
1479 % Texinfo sort of supports the sans serif font style, which plain Te
[all...]

Completed in 1684 milliseconds

123