Searched refs:tkey (Results 1 - 7 of 7) sorted by relevance

/openbsd-current/lib/libcrypto/cms/
H A Dcms_enc.c81 unsigned char *tkey = NULL; local
135 tkey = malloc(tkeylen);
136 if (tkey == NULL) {
140 if (EVP_CIPHER_CTX_rand_key(ctx, tkey) <= 0)
145 ec->key = tkey;
147 tkey = NULL;
168 ec->key = tkey;
170 tkey = NULL;
203 freezero(tkey, tkeylen);
/openbsd-current/usr.bin/dig/lib/dns/
H A Dtsig.c134 dns_tsigkey_t *tkey; local
143 tkey = (dns_tsigkey_t *) malloc(sizeof(dns_tsigkey_t));
144 if (tkey == NULL)
147 dns_name_init(&tkey->name, NULL);
148 ret = dns_name_dup(name, &tkey->name);
151 (void)dns_name_downcase(&tkey->name, &tkey->name, NULL);
154 tkey->algorithm = DNS_TSIG_HMACSHA1_NAME;
160 tkey->algorithm = DNS_TSIG_HMACSHA224_NAME;
167 tkey
[all...]
H A Dmessage.c342 m->tkey = 0;
958 msg->tkey = 1;
1120 if (msg->opcode != dns_opcode_update && !msg->tkey &&
/openbsd-current/lib/libc/db/btree/
H A Dbt_put.c64 DBT tkey, tdata; local
119 tkey.data = kb;
120 tkey.size = NOVFLSIZE;
126 key = &tkey;
/openbsd-current/lib/libcrypto/pkcs7/
H A Dpk7_doit.c438 unsigned char *ek = NULL, *tkey = NULL; local
568 tkey = malloc(tkeylen);
569 if (!tkey)
571 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0)
574 ek = tkey;
576 tkey = NULL;
587 ek = tkey;
589 tkey = NULL;
599 freezero(tkey, tkeylen);
600 tkey
[all...]
/openbsd-current/sys/crypto/
H A Daes.c772 uint32_t tkey[60]; local
774 r = aes_keysched_base(tkey, key, len);
781 w = tkey[u];
843 uint32_t tkey[60]; local
849 r = AES_KeySetup_Encrypt(tkey, key, len);
858 memcpy(skey + (r << 2), tkey, 4 * sizeof(uint32_t));
859 memcpy(skey, tkey + (r << 2), 4 * sizeof(uint32_t));
864 sk = tkey[u];
/openbsd-current/usr.bin/dig/lib/dns/include/dns/
H A Dmessage.h196 unsigned int tkey : 1; member in struct:dns_message

Completed in 200 milliseconds