Home
last modified time | relevance | path

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

/external/tlsdate/src/
Dtlsdate-helper-plan9.c265 uint32_t key_bits; in get_certificate_keybits() local
270 key_bits = BN_num_bits(public_key->pkey.rsa->n); in get_certificate_keybits()
274 key_bits = BN_num_bits(public_key->pkey.rsa->n); in get_certificate_keybits()
278 key_bits = BN_num_bits(public_key->pkey.dsa->p); in get_certificate_keybits()
282 key_bits = BN_num_bits(public_key->pkey.dsa->p); in get_certificate_keybits()
286 key_bits = BN_num_bits(public_key->pkey.dsa->p); in get_certificate_keybits()
290 key_bits = BN_num_bits(public_key->pkey.dsa->p); in get_certificate_keybits()
294 key_bits = BN_num_bits(public_key->pkey.dsa->p); in get_certificate_keybits()
298 key_bits = BN_num_bits(public_key->pkey.dh->pub_key); in get_certificate_keybits()
302 key_bits = EVP_PKEY_bits(public_key); in get_certificate_keybits()
[all …]
Dtlsdate-helper.c435 uint32_t key_bits; in get_certificate_keybits() local
444 key_bits = EVP_PKEY_bits(public_key); in get_certificate_keybits()
445 if (0 == key_bits) in get_certificate_keybits()
447 verb ("V: keybits: %d", key_bits); in get_certificate_keybits()
448 return key_bits; in get_certificate_keybits()
828 uint32_t key_bits; in check_key_length() local
849 key_bits = mpi_msb (&public_key->N); in check_key_length()
850 if (MIN_PUB_KEY_LEN >= key_bits) in check_key_length()
852 die ("Unsafe public key size: %d bits", key_bits); in check_key_length()
861 uint32_t key_bits; in check_key_length() local
[all …]
/external/harfbuzz_ng/src/
Dhb-cache-private.hh35 template <unsigned int key_bits, unsigned int value_bits, unsigned int cache_bits>
38 ASSERT_STATIC (key_bits >= cache_bits);
39 ASSERT_STATIC (key_bits + value_bits - cache_bits < 8 * sizeof (unsigned int));
58 if (unlikely ((key >> key_bits) || (value >> value_bits))) in set()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
DEventHelpers.cpp132 unsigned char key_bits[1 + KEY_MAX/8/sizeof(unsigned char)]; in getComponentInfo() local
133 memset( key_bits, 0, sizeof(key_bits) ); in getComponentInfo()
140 if (ioctl(deviceID, EVIOCGBIT(i, sizeof(key_bits)), key_bits) == -1) in getComponentInfo()
145 if( isBitSet(key_bits, j) ) in getComponentInfo()
/external/boringssl/src/crypto/cipher/
De_rc2.c362 int key_bits; /* effective key bits */ member
370 rc2_key->key_bits); in rc2_init_key()
396 key->key_bits = EVP_CIPHER_CTX_key_length(ctx) * 8; in rc2_ctrl()
401 key->key_bits = arg; in rc2_ctrl()
De_aes.c1065 const size_t key_bits = key_len * 8; in aead_aes_gcm_init() local
1067 if (key_bits != 128 && key_bits != 256) { in aead_aes_gcm_init()
1234 unsigned key_bits; member
1240 const size_t key_bits = key_len * 8; in aead_aes_key_wrap_init() local
1242 if (key_bits != 128 && key_bits != 256) { in aead_aes_key_wrap_init()
1263 kw_ctx->key_bits = key_bits; in aead_aes_key_wrap_init()
1341 if (AES_set_encrypt_key(kw_ctx->key, kw_ctx->key_bits, &ks.ks) < 0) { in aead_aes_key_wrap_seal()
1425 if (AES_set_decrypt_key(kw_ctx->key, kw_ctx->key_bits, &ks.ks) < 0) { in aead_aes_key_wrap_open()
/external/wpa_supplicant_8/src/wps/
Dwps_common.c27 u8 i_buf[4], key_bits[4]; in wps_kdf() local
34 WPA_PUT_BE32(key_bits, res_len * 8); in wps_kdf()
42 addr[3] = key_bits; in wps_kdf()
43 len[3] = sizeof(key_bits); in wps_kdf()
/external/openssh/
DPROTOCOL.agent302 uint32 key_bits
306 Note that key_bits is strictly redundant, as it may be inferred by the