HomeSort by relevance Sort by last modified time
    Searched refs:flen (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/chromium_org/third_party/openssl/openssl/crypto/rsa/
rsa_none.c 66 const unsigned char *from, int flen)
68 if (flen > tlen)
74 if (flen < tlen)
80 memcpy(to,from,(unsigned int)flen);
85 const unsigned char *from, int flen, int num)
88 if (flen > tlen)
94 memset(to,0,tlen-flen);
95 memcpy(to+tlen-flen,from,flen);
rsa_null.c 72 static int RSA_null_public_encrypt(int flen, const unsigned char *from,
74 static int RSA_null_private_encrypt(int flen, const unsigned char *from,
76 static int RSA_null_public_decrypt(int flen, const unsigned char *from,
78 static int RSA_null_private_decrypt(int flen, const unsigned char *from,
107 static int RSA_null_public_encrypt(int flen, const unsigned char *from,
114 static int RSA_null_private_encrypt(int flen, const unsigned char *from,
121 static int RSA_null_private_decrypt(int flen, const unsigned char *from,
128 static int RSA_null_public_decrypt(int flen, const unsigned char *from,
rsa_ssl.c 66 const unsigned char *from, int flen)
71 if (flen > (tlen-11))
83 j=tlen-3-8-flen;
101 memcpy(p,from,(unsigned int)flen);
106 const unsigned char *from, int flen, int num)
112 if (flen < 10)
117 if ((num != (flen+1)) || (*(p++) != 02))
124 j=flen-1; /* one for type */
rsa_x931.c 67 const unsigned char *from, int flen)
76 j = tlen - flen - 2;
99 memcpy(p,from,(unsigned int)flen);
100 p += flen;
106 const unsigned char *from, int flen, int num)
112 if ((num != flen) || ((*p != 0x6A) && (*p != 0x6B)))
120 j=flen-3;
143 else j = flen - 2;
rsa_pk1.c 66 const unsigned char *from, int flen)
71 if (flen > (tlen-RSA_PKCS1_PADDING_SIZE))
83 j=tlen-3-flen;
87 memcpy(p,from,(unsigned int)flen);
92 const unsigned char *from, int flen, int num)
98 if ((num != (flen+1)) || (*(p++) != 01))
105 j=flen-1; /* one for type. */
144 const unsigned char *from, int flen)
149 if (flen > (tlen-11))
161 j=tlen-3-flen;
    [all...]
rsa_oaep.c 35 const unsigned char *from, int flen,
42 if (flen > emlen - 2 * SHA_DIGEST_LENGTH - 1)
62 emlen - flen - 2 * SHA_DIGEST_LENGTH - 1);
63 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01;
64 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen);
95 const unsigned char *from, int flen, int num,
110 lzero = num - flen;
120 flen = num; /* don't overflow the memcpy to padded_from */
135 memcpy(padded_from + lzero, from, flen);
    [all...]
rsa_crpt.c 75 int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
86 return(rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding));
89 int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
100 return(rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding));
103 int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
114 return(rsa->meth->rsa_priv_dec(flen, from, to, rsa, padding));
117 int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
128 return(rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding));
  /external/openssl/crypto/rsa/
rsa_none.c 66 const unsigned char *from, int flen)
68 if (flen > tlen)
74 if (flen < tlen)
80 memcpy(to,from,(unsigned int)flen);
85 const unsigned char *from, int flen, int num)
88 if (flen > tlen)
94 memset(to,0,tlen-flen);
95 memcpy(to+tlen-flen,from,flen);
rsa_null.c 72 static int RSA_null_public_encrypt(int flen, const unsigned char *from,
74 static int RSA_null_private_encrypt(int flen, const unsigned char *from,
76 static int RSA_null_public_decrypt(int flen, const unsigned char *from,
78 static int RSA_null_private_decrypt(int flen, const unsigned char *from,
107 static int RSA_null_public_encrypt(int flen, const unsigned char *from,
114 static int RSA_null_private_encrypt(int flen, const unsigned char *from,
121 static int RSA_null_private_decrypt(int flen, const unsigned char *from,
128 static int RSA_null_public_decrypt(int flen, const unsigned char *from,
rsa_ssl.c 66 const unsigned char *from, int flen)
71 if (flen > (tlen-11))
83 j=tlen-3-8-flen;
101 memcpy(p,from,(unsigned int)flen);
106 const unsigned char *from, int flen, int num)
112 if (flen < 10)
117 if ((num != (flen+1)) || (*(p++) != 02))
124 j=flen-1; /* one for type */
rsa_x931.c 67 const unsigned char *from, int flen)
76 j = tlen - flen - 2;
99 memcpy(p,from,(unsigned int)flen);
100 p += flen;
106 const unsigned char *from, int flen, int num)
112 if ((num != flen) || ((*p != 0x6A) && (*p != 0x6B)))
120 j=flen-3;
143 else j = flen - 2;
rsa_pk1.c 66 const unsigned char *from, int flen)
71 if (flen > (tlen-RSA_PKCS1_PADDING_SIZE))
83 j=tlen-3-flen;
87 memcpy(p,from,(unsigned int)flen);
92 const unsigned char *from, int flen, int num)
98 if ((num != (flen+1)) || (*(p++) != 01))
105 j=flen-1; /* one for type. */
144 const unsigned char *from, int flen)
149 if (flen > (tlen-11))
161 j=tlen-3-flen;
    [all...]
rsa_oaep.c 35 const unsigned char *from, int flen,
42 if (flen > emlen - 2 * SHA_DIGEST_LENGTH - 1)
62 emlen - flen - 2 * SHA_DIGEST_LENGTH - 1);
63 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01;
64 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen);
95 const unsigned char *from, int flen, int num,
110 lzero = num - flen;
120 flen = num; /* don't overflow the memcpy to padded_from */
135 memcpy(padded_from + lzero, from, flen);
    [all...]
rsa_crpt.c 75 int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to,
86 return(rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding));
89 int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to,
100 return(rsa->meth->rsa_priv_enc(flen, from, to, rsa, padding));
103 int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to,
114 return(rsa->meth->rsa_priv_dec(flen, from, to, rsa, padding));
117 int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
128 return(rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding));
  /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
bc-incbin.c 137 unsigned long start = 0, maxlen = 0xFFFFFFFFUL, flen; local
179 flen = (unsigned long)ftell(f);
183 if (start > flen) {
187 start = flen;
189 flen -= start;
191 if (maxlen < flen)
192 flen = maxlen;
193 bc->len += flen;
  /system/security/keystore-engine/
rsa_meth.cpp 44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa,
46 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
57 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
62 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
67 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {
116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa,
118 ALOGV("keystore_rsa_priv_dec(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
140 flen, &reply, &replyLen);
  /external/dropbear/
compat.c 238 int flen; local
265 flen = statb.st_size;
266 while (fgets(cp, flen - (cp - strings), fp) != NULL) {
  /bionic/libc/kernel/common/linux/nfsd/
xdr.h 69 int flen; member in struct:nfsd_renameargs
91 int flen; member in struct:nfsd_symlinkargs
  /development/ndk/platforms/android-3/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs
  /prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs
  /prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs
  /prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/nfsd/
xdr.h 60 int flen; member in struct:nfsd_renameargs
81 int flen; member in struct:nfsd_symlinkargs

Completed in 447 milliseconds

1 2 3 4 5