Home
last modified time | relevance | path

Searched refs:vkey (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/heimdal/lib/roken/
H A Dtsearch.c40 rk_tsearch(const void *vkey, void **vrootp, in rk_tsearch() argument
52 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ in rk_tsearch()
64 q->key = __DECONST(void *, vkey); /* initialize new node */ in rk_tsearch()
116 rk_tdelete(const void * vkey, void ** vrootp, in rk_tdelete() argument
126 while ((cmp = (*compar)(vkey, (*rootp)->key)) != 0) { in rk_tdelete()
162 rk_tfind(const void *vkey, void * const *vrootp, in rk_tfind() argument
173 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ in rk_tfind()
/freebsd/crypto/openssl/test/
H A Dtls-provider.c248 static int xor_init(void *vpxorctx, void *vkey, in xor_init()
253 if (pxorctx == NULL || vkey == NULL) in xor_set_peer()
255 pxorctx->key = vkey; in xor_set_peer()
470 static int xor_has(const void *vkey, int selection) in xor_has()
472 const XORKEY *key = vkey; in xor_has()
519 static ossl_inline int xor_get_params(void *vkey, OSSL_PARAM params[]) in xor_get_params()
521 XORKEY *key = vkey; in xor_get_params()
556 static int xor_set_params(void *vkey, const OSSL_PARAM params[]) in xor_set_params()
558 XORKEY *key = vkey; in xor_set_params()
664 static int xor_import(void *vkey, in in xor_import()
242 xor_init(void * vpxorctx,void * vkey,ossl_unused const OSSL_PARAM params[]) xor_init() argument
464 xor_has(const void * vkey,int selection) xor_has() argument
513 xor_get_params(void * vkey,OSSL_PARAM params[]) xor_get_params() argument
550 xor_set_params(void * vkey,const OSSL_PARAM params[]) xor_set_params() argument
658 xor_import(void * vkey,int select,const OSSL_PARAM params[]) xor_import() argument
697 xor_export(void * vkey,int select,OSSL_CALLBACK * param_cb,void * cbarg) xor_export() argument
[all...]
/freebsd/crypto/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c98 static int mac_digest_sign_init(void *vpmacctx, const char *mdname, void *vkey, in mac_digest_sign_init() argument
108 if (pmacctx->key == NULL && vkey == NULL) { in mac_digest_sign_init()
113 if (vkey != NULL) { in mac_digest_sign_init()
114 if (!ossl_mac_key_up_ref(vkey)) in mac_digest_sign_init()
117 pmacctx->key = vkey; in mac_digest_sign_init()
/freebsd/crypto/openssl/providers/implementations/exchange/
H A Decx_exch.c72 static int ecx_init(void *vecxctx, void *vkey, in ecx_init() argument
76 ECX_KEY *key = vkey; in ecx_init()
95 static int ecx_set_peer(void *vecxctx, void *vkey) in ecx_set_peer() argument
98 ECX_KEY *key = vkey; in ecx_set_peer()
/freebsd/crypto/openssl/providers/implementations/asymciphers/
H A Dsm2_enc.c59 static int sm2_init(void *vpsm2ctx, void *vkey, const OSSL_PARAM params[]) in sm2_init() argument
63 if (psm2ctx == NULL || vkey == NULL || !EC_KEY_up_ref(vkey)) in sm2_init()
66 psm2ctx->key = vkey; in sm2_init()
/freebsd/lib/libc/stdlib/
H A Dtfind.c29 tfind(const void *vkey, posix_tnode * const *rootp, in tfind() argument
39 if ((r = (*compar)(vkey, (*rootp)->key)) == 0) /* T2: */ in tfind()