/external/openssl/crypto/bf/ |
H A D | bf_ecb.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 81 void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, argument 86 n2l(in, [all...] |
H A D | bf_enc.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 224 void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, argument 239 n2l(in,tin [all...] |
H A D | bf_ofb64.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 64 * 64bit block we have used is contained in *num; 66 void BF_ofb64_encrypt(const unsigned char *in, unsigne argument [all...] |
H A D | bf_skey.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 76 BF_LONG *p,ri,in[2]; local 107 in[ [all...] |
/external/openssl/crypto/bio/ |
H A D | bf_buff.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 159 * We have nothing in the buffer. 197 static int buffer_write(BIO *b, const char *in, in argument [all...] |
H A D | bf_lbuf.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 102 int obuf_len; /* how many bytes are in it */ 148 static int linebuffer_write(BIO *b, const char *in, in argument [all...] |
H A D | bf_nbio.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 159 static int nbiof_write(BIO *b, const char *in, int inl) argument 166 if ((in [all...] |
H A D | bf_null.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 123 static int nullf_write(BIO *b, const char *in, int inl) argument 127 if ((in [all...] |
H A D | bio_lib.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 222 int BIO_write(BIO *b, const void *in, int inl) argument 238 ((i=(int)cb(b,BIO_CB_WRITE,in,in 257 BIO_puts(BIO *b, const char *in) argument 290 BIO_gets(BIO *b, char *in, int inl) argument 522 BIO_dup_chain(BIO *in) argument [all...] |
H A D | bss_acpt.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 74 /* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */ 322 static int acpt_write(BIO *b, const char *in, in argument [all...] |
H A D | bss_conn.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 74 /* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */ 92 /* int socket; this will be kept in bi 429 conn_write(BIO *b, const char *in, int inl) argument [all...] |
H A D | bss_dgram.c | 9 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in 24 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 32 * nor may "OpenSSL" appear in their names without prior written 38 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 369 * See commentary in b_sock.c. <appro> 414 static int dgram_write(BIO *b, const char *in, int inl) argument 421 ret=writesocket(b->num,in,inl); 433 ret=sendto(b->num, (char *)in, in 1222 dgram_sctp_write(BIO *b, const char *in, int inl) argument [all...] |
H A D | bss_fd.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 71 * As for unconditional usage of "UPLINK" interface in this module. 73 * in kerne 162 fd_write(BIO *b, const char *in, int inl) argument [all...] |
H A D | bss_file.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 132 * characters that are meaningful in current system locale. 137 * ERROR_NO_UNICODE_TRANSLATION, in whic 253 file_write(BIO *b, const char *in, int inl) argument [all...] |
H A D | bss_log.c | 5 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in 20 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 28 * nor may "OpenSSL" appear in their names without prior written 34 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 168 static int MS_CALLBACK slg_write(BIO *b, const char *in, int inl) argument 207 strncpy(buf, in, inl);
|
H A D | bss_mem.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 169 static int mem_write(BIO *b, const char *in, int inl) argument 176 if (in [all...] |
H A D | bss_null.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 109 static int null_write(BIO *b, const char *in, int inl) argument
|
H A D | bss_sock.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 153 static int sock_write(BIO *b, const char *in, int inl) argument 158 ret=writesocket(b->num,in,in [all...] |
/external/openssl/crypto/bn/ |
H A D | bn_gcd.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 61 * Redistribution and use in source and binary forms, with or without 68 * 2. Redistributions in binar 209 BN_mod_inverse(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) argument 507 BN_mod_inverse_no_branch(BIGNUM *in, const BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) argument [all...] |
H A D | bn_sqrt.c | 7 * Redistribution and use in source and binary forms, with or without 14 * 2. Redistributions in binary form must reproduce the above copyright 15 * notice, this list of conditions and the following disclaimer in 22 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 30 * nor may "OpenSSL" appear in their names without prior written 36 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 62 BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) argument 66 * in Algebraic Computational Number Theory", algorithm 1.5.1). 70 BIGNUM *ret = in; 86 if (ret != in) [all...] |
/external/openssl/crypto/buffer/ |
H A D | buffer.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 64 * function is applied in several functions in thi 182 BUF_reverse(unsigned char *out, const unsigned char *in, size_t size) argument [all...] |
/external/openssl/crypto/cmac/ |
H A D | cmac.c | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 75 /* Number of bytes in last block: -1 means context not initialised */ 136 int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in) argument 139 if (in->nlast_block == -1) 141 if (!EVP_CIPHER_CTX_copy(&out->cctx, &in 215 CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen) argument [all...] |
/external/openssl/crypto/cms/ |
H A D | cms.h | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 134 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags); 135 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags); 150 CMS_ContentInfo *CMS_data_create(BIO *in, unsigned int flags); 154 CMS_ContentInfo *CMS_digest_create(BIO *in, cons 177 CMS_ContentInfo *CMS_encrypt(STACK_OF(X509) *certs, BIO *in, variable [all...] |
H A D | cms_io.c | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 100 int i2d_CMS_bio_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) argument 102 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)cms, in, flags, 106 int PEM_write_bio_CMS_stream(BIO *out, CMS_ContentInfo *cms, BIO *in, int flags) argument 108 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *) cms, in, flag [all...] |
H A D | cms_pwri.c | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 221 /* This is an implementation of the key wrapping mechanism in RFC3211, 226 const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) 244 in + inlen - 2 * blocklen, blocklen * 2); 252 EVP_DecryptUpdate(ctx, tmp, &outl, in, inle 225 kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) argument 279 kek_wrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) argument [all...] |