Home
last modified time | relevance | path

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

/openssl/providers/implementations/exchange/
H A Decx_exch.c71 static int ecx_init(void *vecxctx, void *vkey, const char *algname) in ecx_init() argument
74 ECX_KEY *key = vkey; in ecx_init()
97 static int x25519_init(void *vecxctx, void *vkey, in x25519_init() argument
100 return ecx_init(vecxctx, vkey, "X25519"); in x25519_init()
103 static int x448_init(void *vecxctx, void *vkey, in x448_init() argument
106 return ecx_init(vecxctx, vkey, "X448"); in x448_init()
109 static int ecx_set_peer(void *vecxctx, void *vkey) in ecx_set_peer() argument
112 ECX_KEY *key = vkey; in ecx_set_peer()
/openssl/providers/implementations/kem/
H A Dtemplate_kem.c81 static int template_init(void *vctx, int operation, void *vkey, void *vauth, in template_init() argument
86 debug_print("init %p / %p\n", ctx, vkey); in template_init()
96 static int template_encapsulate_init(void *vctx, void *vkey, in template_encapsulate_init() argument
99 return template_init(vctx, EVP_PKEY_OP_ENCAPSULATE, vkey, NULL, params); in template_encapsulate_init()
102 static int template_decapsulate_init(void *vctx, void *vkey, in template_decapsulate_init() argument
105 return template_init(vctx, EVP_PKEY_OP_DECAPSULATE, vkey, NULL, params); in template_decapsulate_init()
/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c96 static int mac_digest_sign_init(void *vpmacctx, const char *mdname, void *vkey, in mac_digest_sign_init() argument
106 if (pmacctx->key == NULL && vkey == NULL) { in mac_digest_sign_init()
111 if (vkey != NULL) { in mac_digest_sign_init()
112 if (!ossl_mac_key_up_ref(vkey)) in mac_digest_sign_init()
115 pmacctx->key = vkey; in mac_digest_sign_init()
/openssl/providers/implementations/asymciphers/
H A Dsm2_enc.c60 static int sm2_init(void *vpsm2ctx, void *vkey, const OSSL_PARAM params[]) in sm2_init() argument
64 if (psm2ctx == NULL || vkey == NULL || !EC_KEY_up_ref(vkey)) in sm2_init()
67 psm2ctx->key = vkey; in sm2_init()
/openssl/providers/implementations/keymgmt/
H A Dtemplate_kmgmt.c85 static void template_free(void *vkey) in template_free() argument
87 debug_print("free key %p\n", vkey); in template_free()
88 if (vkey == NULL) in template_free()
93 OPENSSL_free(vkey); in template_free()
/openssl/crypto/sm4/asm/
H A Dvpsm4-armv8.pl584 my ($vkey,$vfk,$vmap)=("v5","v6","v7");
590 ld1 {$vkey.4s},[$key]
593 &rev32($vkey,$vkey);
599 eor $vkey.16b,$vkey.16b,$vfk.16b
606 mov $wtmp,$vkey.s[1]
609 mov $wtmp,$vkey.s[2]
611 mov $wtmp,$vkey.s[3]
625 mov $wtmp,$vkey.s[0]
627 mov $vkey.s[0],$roundkey
634 tbl $vkey.16b,{$vkey.16b},$vmap.16b
H A Dvpsm4_ex-armv8.pl575 my ($vkey,$vfk,$vmap)=("v5","v6","v7");
581 ld1 {$vkey.4s},[$key]
584 &rev32($vkey,$vkey);
590 eor $vkey.16b,$vkey.16b,$vfk.16b
597 mov $wtmp,$vkey.s[1]
600 mov $wtmp,$vkey.s[2]
602 mov $wtmp,$vkey.s[3]
618 mov $wtmp,$vkey.s[0]
620 mov $vkey.s[0],$roundkey
627 tbl $vkey.16b,{$vkey.16b},$vmap.16b
/openssl/test/
H A Dtls-provider.c477 static int xor_init(void *vpxorctx, void *vkey, in xor_init() argument
482 if (pxorctx == NULL || vkey == NULL) in xor_init()
484 pxorctx->key = vkey; in xor_init()
738 static int xor_has(const void *vkey, int selection) in xor_has() argument
740 const XORKEY *key = vkey; in xor_has()
789 static ossl_inline int xor_get_params(void *vkey, OSSL_PARAM params[]) in xor_get_params() argument
791 XORKEY *key = vkey; in xor_get_params()
826 static int xor_set_params(void *vkey, const OSSL_PARAM params[]) in xor_set_params() argument
828 XORKEY *key = vkey; in xor_set_params()
1001 XORKEY *key = vkey; in xor_import()
[all …]

Completed in 30 milliseconds