Home
last modified time | relevance | path

Searched refs:keybuf (Results 1 – 3 of 3) sorted by relevance

/openssl/crypto/hashtable/
H A Dhashtable.c532 PREFETCH(a->keybuf); in match_key()
533 PREFETCH(b->keybuf); in match_key()
534 if (a->keybuf != NULL && b->keybuf != NULL && a->keysize == b->keysize) in match_key()
535 return !memcmp(a->keybuf, b->keybuf, a->keysize); in match_key()
623 tmp->value.key.keybuf = NULL; in alloc_new_value()
625 tmp->value.key.keybuf = (uint8_t *)(tmp + 1); in alloc_new_value()
627 memcpy(tmp->value.key.keybuf, key->keybuf, key->keysize); in alloc_new_value()
657 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); in ossl_ht_insert()
686 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); in ossl_ht_get()
735 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); in ossl_ht_delete()
/openssl/crypto/pem/
H A Dpvkfmt.c845 unsigned char keybuf[20]; in do_PVK_body_key() local
875 if (!derive_pvk_key(keybuf, sizeof(keybuf), p, saltlen, in do_PVK_body_key()
890 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key()
899 memset(keybuf + 5, 0, 11); in do_PVK_body_key()
900 if (!EVP_DecryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in do_PVK_body_key()
926 OPENSSL_cleanse(keybuf, sizeof(keybuf)); in do_PVK_body_key()
1067 unsigned char keybuf[20]; in i2b_PVK() local
1077 if (!derive_pvk_key(keybuf, sizeof(keybuf), salt, PVK_SALTLEN, in i2b_PVK()
1083 memset(keybuf + 5, 0, 11); in i2b_PVK()
1085 if (!EVP_EncryptInit_ex(cctx, rc4, NULL, keybuf, NULL)) in i2b_PVK()
[all …]
/openssl/include/internal/
H A Dhashtable.h27 uint8_t *keybuf; member
110 (key)->key_header.keybuf = (((uint8_t *)key) + sizeof(HT_KEY)); \
116 #define HT_KEY_RESET(key) memset((key)->key_header.keybuf, 0, (key)->key_header.keysize)

Completed in 18 milliseconds