p_rsa.c | 79 int pad_mode; member in struct:__anon5820 103 rctx->pad_mode = RSA_PKCS1_PADDING; 126 dctx->pad_mode = sctx->pad_mode; 194 switch (rctx->pad_mode) { 217 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); 229 switch (rctx->pad_mode) { 250 rctx->pad_mode) || 275 if (rctx->pad_mode == RSA_PKCS1_OAEP_PADDING) { 287 return RSA_encrypt(rsa, outlen, out, *outlen, in, inlen, rctx->pad_mode); [all...] |