Lines Matching refs:sk
237 ad->sk = NULL; in ossl_crypto_new_ex_data_ex()
285 if (from->sk == NULL) in CRYPTO_dup_ex_data()
298 j = sk_void_num(from->sk); in CRYPTO_dup_ex_data()
414 sk_void_free(ad->sk); in CRYPTO_free_ex_data()
415 ad->sk = NULL; in CRYPTO_free_ex_data()
473 if (ad->sk == NULL) { in CRYPTO_set_ex_data()
474 if ((ad->sk = sk_void_new_null()) == NULL) { in CRYPTO_set_ex_data()
480 for (i = sk_void_num(ad->sk); i <= idx; ++i) { in CRYPTO_set_ex_data()
481 if (!sk_void_push(ad->sk, NULL)) { in CRYPTO_set_ex_data()
486 if (sk_void_set(ad->sk, idx, val) != val) { in CRYPTO_set_ex_data()
500 if (ad->sk == NULL || idx >= sk_void_num(ad->sk)) in CRYPTO_get_ex_data()
502 return sk_void_value(ad->sk, idx); in CRYPTO_get_ex_data()