| /src/external/mpl/bind/dist/bin/confgen/ |
| keygen.c | 71 * Return default keysize for a given algorithm type. 94 * Generate a key of size 'keysize' and place it in 'key_txtbuffer' 97 generate_key(isc_mem_t *mctx, dns_secalg_t alg, int keysize, 110 if (keysize < 1 || keysize > 512) { 111 fatal("keysize %d out of range (must be 1-512)\n", 112 keysize); 117 if (keysize < 1 || keysize > 1024) { 118 fatal("keysize %d out of range (must be 1-1024)\n" [all...] |
| keygen.h | 29 generate_key(isc_mem_t *mctx, dns_secalg_t alg, int keysize,
|
| rndc-confgen.c | 103 int keysize = -1; local 142 keysize = strtol(isc_commandline_argument, &p, 10); 143 if (*p != '\0' || keysize < 0) { 224 if (keysize < 0) { 225 keysize = alg_bits(alg); 232 generate_key(mctx, alg, keysize, &key_txtbuffer);
|
| tsig-keygen.c | 98 int keysize = 256; local 140 keysize = alg_bits(alg); 237 generate_key(mctx, alg, keysize, &key_txtbuffer);
|
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| ht.h | 58 * Add a node to hashtable, pointed by binary key 'key' of size 'keysize'; 71 isc_ht_add(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize, 75 * Find a node matching 'key'/'keysize' in hashtable 'ht'; 90 const uint32_t keysize, void **valuep); 104 isc_ht_delete(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize); 175 * Set 'key' and 'keysize to the current key and keysize for the value 181 *\li 'keysize' is non NULL. 184 isc_ht_iter_currentkey(isc_ht_iter_t *it, unsigned char **key, size_t *keysize);
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
| ht.h | 58 * Add a node to hashtable, pointed by binary key 'key' of size 'keysize'; 71 isc_ht_add(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize, 75 * Find a node matching 'key'/'keysize' in hashtable 'ht'; 90 const uint32_t keysize, void **valuep); 104 isc_ht_delete(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize); 175 * Set 'key' and 'keysize to the current key and keysize for the value 181 *\li 'keysize' is non NULL. 184 isc_ht_iter_currentkey(isc_ht_iter_t *it, unsigned char **key, size_t *keysize);
|
| /src/external/mpl/bind/dist/lib/isc/ |
| ht.c | 49 size_t keysize; member in struct:isc_ht_node 74 const uint32_t keysize, const uint32_t hashval, const uint8_t idx); 76 isc__ht_add(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize, 79 isc__ht_delete(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize, 101 const uint8_t *key, uint32_t keysize, bool case_sensitive) { 102 return node->hashval == hashval && node->keysize == keysize && 104 ? (memcmp(node->key, key, keysize) == 0) 105 : (isc_ascii_lowerequal(node->key, key, keysize))); 227 sizeof(*node) + node->keysize); [all...] |
| /src/sys/opencrypto/ |
| xform.c | 205 .keysize = 0, 214 .keysize = 16, 223 .keysize = 20, 232 .keysize = 20, 241 .keysize = 16, 250 .keysize = 20, 259 .keysize = 20, 268 .keysize = 0, 277 .keysize = 0, 286 .keysize = 0 [all...] |
| xform.h | 33 uint16_t keysize; member in struct:auth_hash
|
| /src/crypto/external/apache2/openssl/dist/fuzz/ |
| slh-dsa.c | 53 * @param keysize The desired key size in bits. 61 static EVP_PKEY *slh_dsa_gen_key(const char *name, uint32_t keysize, 101 * @param keysize Pointer to a variable where the determined key size 107 static const char *select_keytype(uint8_t selector, uint32_t *keysize) 112 *keysize = 0; 124 * Select a keysize, values taken from 132 *keysize = 16; 138 *keysize = 24; 144 *keysize = 32; 148 *keysize = 0 173 uint32_t keysize; local 210 uint32_t keysize; local [all...] |
| ml-dsa.c | 85 uint16_t keysize; local 92 *buf = (uint8_t *)OPENSSL_load_u16_le(&keysize, *buf); 110 switch (keysize % modulus) { 131 *buf = (uint8_t *)OPENSSL_load_u16_le(&keysize, *buf); 133 *keylen = (size_t)keysize;
|
| ml-kem.c | 65 uint16_t keysize; local 72 *buf = (uint8_t *)OPENSSL_load_u16_le(&keysize, *buf); 91 switch (keysize % modulus) { 112 *buf = (uint8_t *)OPENSSL_load_u16_le(&keysize, *buf); 114 *keylen = (size_t)keysize;
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| ht.c | 48 size_t keysize; member in struct:isc_ht_node 73 const uint32_t keysize, const uint32_t hashval, const uint8_t idx); 75 isc__ht_add(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize, 78 isc__ht_delete(isc_ht_t *ht, const unsigned char *key, const uint32_t keysize, 142 const uint8_t *key, uint32_t keysize, bool case_sensitive) { 143 return (node->hashval == hashval && node->keysize == keysize && 144 (case_sensitive ? (memcmp(node->key, key, keysize) == 0) 145 : (memcasecmp(node->key, key, keysize) == 0))); 272 sizeof(*node) + node->keysize); [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| validate.c | 47 size_t keysize; member in struct:tests 233 EVP_CIPHER_CTX_set_key_length(&ectx, t->keysize); 234 EVP_CIPHER_CTX_set_key_length(&dctx, t->keysize);
|
| /src/external/bsd/unbound/dist/sldns/ |
| keyraw.h | 36 * \return the keysize in bits, or 0 on error 44 * \param[in] keysize length of key data. 47 uint16_t sldns_calc_keytag_raw(uint8_t* key, size_t keysize);
|
| /src/external/bsd/unbound/dist/validator/ |
| validator.h | 120 * This array contains the maximum iteration count for the keysize 121 * in the keysize array. 287 * @param keysize: returns malloced key size array on success. 289 * @param keyiter_count: returns size of keysize and maxiter arrays. 292 int val_env_parse_key_iter(char* val_nsec3_key_iterations, size_t** keysize, 299 * @param keysize: nsec3 key size array. 301 * @param keyiter_count: size of keysize and maxiter arrays. 304 size_t* keysize, size_t* maxiter, int keyiter_count);
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| rsautl.c | 100 int keyformat = FORMAT_UNDEF, keysize, ret = 1, rv; local 232 keysize = EVP_PKEY_get_size(pkey); 234 rsa_in = app_malloc(keysize * 2, "hold rsa key"); 235 rsa_out = app_malloc(keysize, "output rsa key"); 236 rsa_outlen = keysize; 239 rv = BIO_read(in, rsa_in, keysize * 2);
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| rsautl.c | 84 int keyformat = FORMAT_UNDEF, keysize, ret = 1, rv; local 217 keysize = EVP_PKEY_get_size(pkey); 219 rsa_in = app_malloc(keysize * 2, "hold rsa key"); 220 rsa_out = app_malloc(keysize, "output rsa key"); 221 rsa_outlen = keysize; 224 rv = BIO_read(in, rsa_in, keysize * 2);
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| rsautl.c | 76 int rsa_inlen, keyformat = FORMAT_PEM, keysize, ret = 1; local 212 keysize = RSA_size(rsa); 214 rsa_in = app_malloc(keysize * 2, "hold rsa key"); 215 rsa_out = app_malloc(keysize, "output rsa key"); 218 rsa_inlen = BIO_read(in, rsa_in, keysize * 2);
|
| /src/lib/libresolv/ |
| support.c | 103 dst_s_id_calc(const u_char *key, const int keysize) 107 int size = keysize; 109 if (!key || (keysize <= 0))
|
| /src/crypto/external/bsd/heimdal/dist/kadmin/ |
| check.c | 87 size_t keysize; local 90 &keysize); 91 if (ret == 0 && keysize != (size_t)princ.key_data[i].key_data_length[0]) {
|
| /src/external/bsd/libbind/dist/dst/ |
| support.c | 100 dst_s_id_calc(const u_char *key, const int keysize) 104 int size = keysize; 106 if (!key || (keysize <= 0))
|
| /src/external/apache2/mDNSResponder/dist/mDNSShared/ |
| dnssd_clientlib.c | 208 unsigned long keysize, keyvalsize; local 211 keysize = (unsigned long)(k - key); 212 keyvalsize = 1 + keysize + (value ? (1 + valueSize) : 0); 213 if (keysize < 1 || keyvalsize > 255) return(kDNSServiceErr_Invalid); 230 memcpy(p, key, keysize); 231 p += keysize;
|
| /src/crypto/external/bsd/heimdal/dist/lib/hx509/ |
| ks_keychain.c | 83 size_t keysize; member in struct:kc_rsa 148 sig.Length = kc->keysize; 207 out.Length = kc->keysize; 297 kc->keysize = (size + 7) / 8; 299 data = malloc(kc->keysize); 300 memset(data, 0xe0, kc->keysize); 301 BN_bin2bn(data, kc->keysize, rsa->n);
|
| /src/crypto/external/apache2/openssl/dist/crypto/hashtable/ |
| hashtable.c | 548 if (a->keybuf != NULL && b->keybuf != NULL && a->keysize == b->keysize) 549 return !memcmp(a->keybuf, b->keybuf, a->keysize); 630 nvsize += key->keysize; 643 tmp->value.key.keysize = key->keysize; 644 memcpy(tmp->value.key.keybuf, key->keybuf, key->keysize); 673 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); 702 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); 751 hash = h->config.ht_hash_fn(key->keybuf, key->keysize); [all...] |