Lines Matching refs:pad_mode

131     int pad_mode;  member
180 switch (prsactx->pad_mode) { in rsa_check_padding()
211 if (prsactx->pad_mode == RSA_PKCS1_PSS_PADDING) { in rsa_check_parameters()
324 switch (ctx->pad_mode) { in rsa_generate_signature_aid()
358 ctx->pad_mode); in rsa_generate_signature_aid()
538 prsactx->pad_mode = RSA_PKCS1_PADDING; in rsa_signverify_init()
541 prsactx->pad_mode = RSA_PKCS1_PSS_PADDING; in rsa_signverify_init()
708 if (prsactx->pad_mode != RSA_PKCS1_PADDING) { in rsa_sign_directly()
724 switch (prsactx->pad_mode) { in rsa_sign_directly()
815 prsactx->pad_mode); in rsa_sign_directly()
949 switch (prsactx->pad_mode) { in rsa_verify_recover()
1004 prsactx->pad_mode); in rsa_verify_recover()
1037 switch (prsactx->pad_mode) { in rsa_verify_directly()
1104 prsactx->pad_mode); in rsa_verify_directly()
1410 if (!OSSL_PARAM_set_int(p, prsactx->pad_mode)) in rsa_get_ctx_params()
1419 if (prsactx->pad_mode == (int)padding_item[i].id) { in rsa_get_ctx_params()
1536 int pad_mode; in rsa_set_ctx_params() local
1564 pad_mode = prsactx->pad_mode; in rsa_set_ctx_params()
1591 if (!OSSL_PARAM_get_int(p, &pad_mode)) in rsa_set_ctx_params()
1603 pad_mode = padding_item[i].id; in rsa_set_ctx_params()
1613 switch (pad_mode) { in rsa_set_ctx_params()
1668 if (pad_mode != RSA_PKCS1_PSS_PADDING) { in rsa_set_ctx_params()
1758 if (pad_mode != RSA_PKCS1_PSS_PADDING) { in rsa_set_ctx_params()
1765 prsactx->pad_mode = pad_mode; in rsa_set_ctx_params()
1768 && pad_mode == RSA_PKCS1_PSS_PADDING) in rsa_set_ctx_params()
1922 int operation, int pad_mode, in rsa_sigalg_signverify_init() argument
1935 if (prsactx->pad_mode == RSA_PKCS1_PSS_PADDING) { in rsa_sigalg_signverify_init()
1943 prsactx->pad_mode = pad_mode; in rsa_sigalg_signverify_init()