Lines Matching refs:flen
131 static int capi_rsa_priv_enc(int flen, const unsigned char *from,
133 static int capi_rsa_priv_dec(int flen, const unsigned char *from,
842 int capi_rsa_priv_enc(int flen, const unsigned char *from, in capi_rsa_priv_enc() argument
944 int capi_rsa_priv_dec(int flen, const unsigned char *from, in capi_rsa_priv_dec() argument
954 if (flen <= 0) in capi_rsa_priv_dec()
955 return flen; in capi_rsa_priv_dec()
987 if ((tmpbuf = OPENSSL_malloc(flen)) == NULL) in capi_rsa_priv_dec()
989 for (i = 0; i < flen; i++) in capi_rsa_priv_dec()
990 tmpbuf[flen - i - 1] = from[i]; in capi_rsa_priv_dec()
993 dlen = flen; in capi_rsa_priv_dec()
1001 memcpy(to, tmpbuf, (flen = (int)dlen)); in capi_rsa_priv_dec()
1003 OPENSSL_cleanse(tmpbuf, flen); in capi_rsa_priv_dec()
1006 return flen; in capi_rsa_priv_dec()