/freebsd-10.0-release/crypto/openssl/crypto/rsa/ |
H A D | 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); 65 RSA_padding_add_none(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 84 RSA_padding_check_none(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
|
H A D | rsa_pk1.c | 68 const unsigned char *from, int flen) 73 if (flen > (tlen-RSA_PKCS1_PADDING_SIZE)) 85 j=tlen-3-flen; 89 memcpy(p,from,(unsigned int)flen); 94 const unsigned char *from, int flen, int num) 100 if ((num != (flen+1)) || (*(p++) != 01)) 107 j=flen-1; /* one for type. */ 146 const unsigned char *from, int flen) 151 if (flen > (tlen-11)) 163 j=tlen-3-flen; 67 RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 93 RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument 145 RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 183 RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument [all...] |
H A D | 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, argument 114 static int RSA_null_private_encrypt(int flen, const unsigned char *from, argument 121 static int RSA_null_private_decrypt(int flen, const unsigned char *from, argument 128 static int RSA_null_public_decrypt(int flen, const unsigned char *from, argument
|
H A D | 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 */ 65 RSA_padding_add_SSLv23(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 105 RSA_padding_check_SSLv23(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
|
H A D | 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; 66 RSA_padding_add_X931(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 105 RSA_padding_check_X931(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
|
H A D | rsa_oaep.c | 36 const unsigned char *from, int flen, 43 if (flen > emlen - 2 * SHA_DIGEST_LENGTH - 1) 63 emlen - flen - 2 * SHA_DIGEST_LENGTH - 1); 64 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01; 65 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen); 96 const unsigned char *from, int flen, int num, 107 if (tlen <= 0 || flen <= 0) 111 * |num| is the length of the modulus; |flen| is the length of the 113 * decrypting a ciphertext, we must have |flen| < 35 RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, const unsigned char *from, int flen, const unsigned char *param, int plen) argument 95 RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, const unsigned char *from, int flen, int num, const unsigned char *param, int plen) argument [all...] |
H A D | rsa_crpt.c | 75 int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, argument 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, argument 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, argument 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, argument 128 return(rsa->meth->rsa_pub_dec(flen, from, to, rsa, padding));
|
H A D | rsa_eay.c | 120 static int RSA_eay_public_encrypt(int flen, const unsigned char *from, 122 static int RSA_eay_private_encrypt(int flen, const unsigned char *from, 124 static int RSA_eay_public_decrypt(int flen, const unsigned char *from, 126 static int RSA_eay_private_decrypt(int flen, const unsigned char *from, 153 static int RSA_eay_public_encrypt(int flen, const unsigned char *from, argument 198 i=RSA_padding_add_PKCS1_type_2(buf,num,from,flen); 202 i=RSA_padding_add_PKCS1_OAEP(buf,num,from,flen,NULL,0); 206 i=RSA_padding_add_SSLv23(buf,num,from,flen); 209 i=RSA_padding_add_none(buf,num,from,flen); 350 static int RSA_eay_private_encrypt(int flen, cons argument 492 RSA_eay_private_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding) argument 633 RSA_eay_public_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding) argument [all...] |
H A D | rsa.h | 88 int (*rsa_pub_enc)(int flen,const unsigned char *from, 91 int (*rsa_pub_dec)(int flen,const unsigned char *from, 94 int (*rsa_priv_enc)(int flen,const unsigned char *from, 97 int (*rsa_priv_dec)(int flen,const unsigned char *from, 296 int RSA_public_encrypt(int flen, const unsigned char *from, 298 int RSA_private_encrypt(int flen, const unsigned char *from, 300 int RSA_public_decrypt(int flen, const unsigned char *from, 302 int RSA_private_decrypt(int flen, const unsigned char *from,
|
/freebsd-10.0-release/contrib/libarchive/libarchive/test/ |
H A D | test_ustar_filenames.c | 33 test_filename(const char *prefix, int dlen, int flen) argument 54 for (; i < dlen + flen + separator; i++) 73 failure("dlen=%d, flen=%d", dlen, flen); 74 if (flen > 100) { 87 failure("dlen=%d, flen=%d", dlen, flen); 88 if (flen >= 100) { 104 failure("dlen=%d, flen=%d", dlen, flen); 161 int dlen, flen; local [all...] |
H A D | test_tar_filenames.c | 35 test_filename(const char *prefix, int dlen, int flen) argument 56 for (i = 0; i < flen; i++) 75 failure("Pathname %d/%d", dlen, flen); 85 failure("Dirname %d/%d", dlen, flen); 98 failure("Dirname %d/%d", dlen, flen); 143 int dlen, flen; local 147 for (flen = 45; flen < 55; flen++) { 148 test_filename(NULL, dlen, flen); [all...] |
/freebsd-10.0-release/contrib/ngatm/sscop/ |
H A D | common.c | 123 u_int32_t flen; local 127 if ((size = read(sscop_fd, &flen, 4)) == -1) 135 if ((m = uni_msg_alloc(flen)) == NULL) 137 for (got = 0; got < flen; got += (size_t)size) { 138 size = read(sscop_fd, m->b_rptr + got, flen - got); 185 u_int32_t flen; local 189 if ((size = read(user_fd, &flen, 4)) == -1) 197 if ((m = uni_msg_alloc(flen)) == NULL) 199 for (got = 0; got < flen; got++) { 200 size = read(user_fd, m->b_rptr + got, flen 249 u_int32_t flen; local 295 u_int32_t flen; local [all...] |
/freebsd-10.0-release/crypto/openssl/engines/vendor_defns/ |
H A D | sureware.h | 169 * in param flen : byte size of from and to 179 typedef int SureWareHook_Rsa_Priv_Dec_t(char*const msg,int flen,unsigned char *from, 190 * in param flen : byte size of from and to 200 typedef int SureWareHook_Rsa_Sign_t(char*const msg,int flen,unsigned char *from, 211 * in param flen : byte size of from and to 217 typedef int SureWareHook_Dsa_Sign_t(char*const msg,int flen,const unsigned char *from,
|
/freebsd-10.0-release/games/number/ |
H A D | number.c | 125 int flen, len, rval; local 128 flen = 0; 159 (fraction != NULL && ((flen = strlen(fraction)) > MAXNUM))) 169 if (fraction != NULL && flen != 0) 176 if (unit(flen, fraction)) { 179 pfract(flen);
|
/freebsd-10.0-release/contrib/ntp/libopts/ |
H A D | usage.c | 203 int flen = setGnuOptFmts( pOptions, &pOptTitle ); local 204 sprintf( zOptFmtLine, zFmtFmt, flen ); 208 int flen = setStdOptFmts( pOptions, &pOptTitle ); local 209 sprintf( zOptFmtLine, zFmtFmt, flen ); 652 int flen = 22; local 676 flen = 8; 680 return flen; 690 int flen = 0; local 709 flen = 19; 715 flen [all...] |
/freebsd-10.0-release/contrib/ntp/sntp/libopts/ |
H A D | usage.c | 203 int flen = setGnuOptFmts( pOptions, &pOptTitle ); local 204 sprintf( zOptFmtLine, zFmtFmt, flen ); 208 int flen = setStdOptFmts( pOptions, &pOptTitle ); local 209 sprintf( zOptFmtLine, zFmtFmt, flen ); 652 int flen = 22; local 676 flen = 8; 680 return flen; 690 int flen = 0; local 709 flen = 19; 715 flen [all...] |
/freebsd-10.0-release/contrib/nvi/ex/ |
H A D | ex_mkexrc.c | 46 size_t flen; local 54 fname, flen);
|
H A D | ex_write.c | 297 size_t flen; local 351 INT2FILE(sp, p, len, f, flen); 352 if (fwrite(f, 1, flen, fp) != flen)
|
/freebsd-10.0-release/usr.sbin/rip6query/ |
H A D | rip6query.c | 79 socklen_t flen; local 152 flen = sizeof(fsock); 154 (struct sockaddr *)&fsock, &flen)) < 0) {
|
/freebsd-10.0-release/contrib/gcclibs/libcpp/ |
H A D | charset.c | 457 iconv_t cd, const uchar *from, size_t flen, struct _cpp_strbuf *to) 465 inbytesleft = flen; 498 bool (*)(iconv_t cd, const uchar *from, size_t flen, struct _cpp_strbuf *to); 506 convert_utf8_utf16 (iconv_t cd, const uchar *from, size_t flen, argument 509 return conversion_loop (one_utf8_to_utf16, cd, from, flen, to); 513 convert_utf8_utf32 (iconv_t cd, const uchar *from, size_t flen, argument 516 return conversion_loop (one_utf8_to_utf32, cd, from, flen, to); 520 convert_utf16_utf8 (iconv_t cd, const uchar *from, size_t flen, argument 523 return conversion_loop (one_utf16_to_utf8, cd, from, flen, to); 527 convert_utf32_utf8 (iconv_t cd, const uchar *from, size_t flen, argument 455 conversion_loop(int (*const one_conversion)(iconv_t, const uchar **, size_t *, uchar **, size_t *), iconv_t cd, const uchar *from, size_t flen, struct _cpp_strbuf *to) argument 535 convert_no_conversion(iconv_t cd ATTRIBUTE_UNUSED, const uchar *from, size_t flen, struct _cpp_strbuf *to) argument 552 convert_using_iconv(iconv_t cd, const uchar *from, size_t flen, struct _cpp_strbuf *to) argument [all...] |
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | fsm.c | 470 int plen, flen; local 476 flen = ntohs(lhp->length) - sizeof *lhp; 477 if (plen < flen) { 478 log_Printf(LogWARN, "%s: FsmRecvConfigReq: plen (%d) < flen (%d)\n", 479 fp->link->name, plen, flen); 494 (*fp->fn->DecodeConfig)(fp, cp, cp + flen, MODE_REQ, &dec); 495 if (flen < (int)sizeof(struct fsm_opt_hdr)) 613 int plen, flen; local 617 flen = ntohs(lhp->length) - sizeof *lhp; 618 if (plen < flen) { 676 int plen, flen; local 807 int flen; local [all...] |
/freebsd-10.0-release/contrib/nvi/common/ |
H A D | line.c | 281 size_t flen; local 293 INT2FILE(sp, p, len, fp, flen); 299 data.size = flen; 358 size_t flen; local 371 INT2FILE(sp, p, len, fp, flen); 377 data.size = flen; 427 size_t flen; local 442 INT2FILE(sp, p, len, fp, flen); 448 data.size = flen;
|
/freebsd-10.0-release/crypto/heimdal/lib/hx509/ |
H A D | ks_keychain.c | 83 kc_rsa_public_encrypt(int flen, argument 93 kc_rsa_public_decrypt(int flen, argument 104 kc_rsa_private_encrypt(int flen, argument 140 in.Length = flen; 159 kc_rsa_private_decrypt(int flen, const unsigned char *from, unsigned char *to, argument 199 in.Length = flen;
|
/freebsd-10.0-release/bin/ls/ |
H A D | ls.c | 583 size_t flen, ulen, glen; local 592 flen = 0; 744 flen = strlen(flags); 745 if (flen > (size_t)maxflags) 746 maxflags = flen; 748 flen = 0; 805 ulen + glen + flen + 4)) == NULL) 828 + (f_flags ? flen + 1 : 0)];
|
/freebsd-10.0-release/sys/kern/ |
H A D | tty_inq.c | 159 size_t rlen, size_t flen) 186 MPASS(clen >= flen); 226 clen - flen, uio); 237 memcpy(ob, tib->tib_data + cbegin, clen - flen); 243 error = uiomove(ob, clen - flen, uio); 158 ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio, size_t rlen, size_t flen) argument
|