Home
last modified time | relevance | path

Searched refs:key_ctx (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c731 crwr->key_ctx.ctx_hdr = s->blkcipher.key_ctx_hdr; in ccr_blkcipher()
735 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, in ccr_blkcipher()
738 memcpy(crwr->key_ctx.key, s->blkcipher.deckey, in ccr_blkcipher()
742 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, in ccr_blkcipher()
750 memcpy(crwr->key_ctx.key + key_half, in ccr_blkcipher()
753 memcpy(crwr->key_ctx.key + key_half, in ccr_blkcipher()
1043 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, in ccr_eta()
1046 memcpy(crwr->key_ctx.key, s->blkcipher.deckey, in ccr_eta()
1050 memcpy(crwr->key_ctx.key, s->blkcipher.enckey, in ccr_eta()
1058 memcpy(crwr->key_ctx.key + key_half, in ccr_eta()
[all …]
H A Dt4_crypto.h53 struct _key_ctx key_ctx; member
/freebsd-13.1/contrib/libucl/src/
H A Ducl_util.c942 EVP_PKEY_CTX *key_ctx; local
948 key_ctx = EVP_PKEY_CTX_new (key->key, NULL);
949 if (key_ctx != NULL) {
950 if (EVP_PKEY_verify_init (key_ctx) <= 0) {
951 EVP_PKEY_CTX_free (key_ctx);
955 EVP_PKEY_CTX_free (key_ctx);
958 if (EVP_PKEY_CTX_set_signature_md (key_ctx, EVP_sha256 ()) <= 0) {
959 EVP_PKEY_CTX_free (key_ctx);
966 if (EVP_PKEY_verify (key_ctx, sig, siglen, dig, diglen) == 1) {
968 EVP_PKEY_CTX_free (key_ctx);
[all …]
/freebsd-13.1/sys/dev/cxgbe/tom/
H A Dt4_tls.h299 union key_ctx { union