Lines Matching defs:uselock
249 int pk11_destroy_rsa_object_pub(PK11_SESSION *sp, CK_BBOOL uselock);
250 int pk11_destroy_rsa_object_priv(PK11_SESSION *sp, CK_BBOOL uselock);
254 int pk11_destroy_dsa_object_pub(PK11_SESSION *sp, CK_BBOOL uselock);
255 int pk11_destroy_dsa_object_priv(PK11_SESSION *sp, CK_BBOOL uselock);
259 int pk11_destroy_dh_object(PK11_SESSION *session, CK_BBOOL uselock);
324 #define TRY_OBJ_DESTROY(sp, obj_hdl, retval, uselock, alg_type) \
325 if (uselock) { \
332 if (uselock) { \
1886 pk11_destroy_rsa_object_pub(PK11_SESSION *sp, CK_BBOOL uselock)
1892 ret, uselock, OP_RSA);
1903 pk11_destroy_rsa_object_priv(PK11_SESSION *sp, CK_BBOOL uselock)
1909 ret, uselock, OP_RSA);
1928 CK_BBOOL uselock = CK_TRUE;
1935 uselock = CK_FALSE;
1948 if (pk11_destroy_rsa_object_pub(sp, uselock) == 0) {
1952 if (pk11_destroy_rsa_object_priv(sp, uselock) == 0) {
1969 pk11_destroy_dsa_object_pub(PK11_SESSION *sp, CK_BBOOL uselock)
1975 ret, uselock, OP_DSA);
1989 pk11_destroy_dsa_object_priv(PK11_SESSION *sp, CK_BBOOL uselock)
1995 ret, uselock, OP_DSA);
2017 CK_BBOOL uselock = CK_TRUE;
2024 uselock = CK_FALSE;
2037 if (pk11_destroy_dsa_object_pub(sp, uselock) == 0) {
2041 if (pk11_destroy_dsa_object_priv(sp, uselock) == 0) {
2058 pk11_destroy_dh_object(PK11_SESSION *sp, CK_BBOOL uselock)
2064 ret, uselock, OP_DH);
2088 CK_BBOOL uselock = CK_TRUE;
2095 uselock = CK_FALSE;
2105 if (pk11_destroy_dh_object(sp, uselock) == 0) {