Searched refs:CRYPTO_BYTES2BITS (Results 1 – 14 of 14) sorted by relevance
152 k.prime_bits = CRYPTO_BYTES2BITS(plen); in local_dsa_sign()154 k.subprime_bits = CRYPTO_BYTES2BITS(qlen); in local_dsa_sign()157 k.private_x_bits = CRYPTO_BYTES2BITS(xlen); in local_dsa_sign()202 k.prime_bits = CRYPTO_BYTES2BITS(plen); in local_dsa_verify()204 k.subprime_bits = CRYPTO_BYTES2BITS(qlen); in local_dsa_verify()207 k.public_y_bits = CRYPTO_BYTES2BITS(ylen); in local_dsa_verify()505 k.prime_bits = CRYPTO_BYTES2BITS(prime_len); in soft_dsa_genkey_pair()507 k.subprime_bits = CRYPTO_BYTES2BITS(subprime_len); in soft_dsa_genkey_pair()515 k.public_y_bits = CRYPTO_BYTES2BITS(pubvalue_len); in soft_dsa_genkey_pair()517 k.private_x_bits = CRYPTO_BYTES2BITS(privalue_len); in soft_dsa_genkey_pair()
149 k.prime_bits = CRYPTO_BYTES2BITS(prime_len); in soft_dh_genkey_pair()233 k.prime_bits = CRYPTO_BYTES2BITS(privateprimelen); in soft_dh_key_derive()234 k.value_bits = CRYPTO_BYTES2BITS(privatevaluelen); in soft_dh_key_derive()
74 k.modulus_bits = CRYPTO_BYTES2BITS(modulus_len); in soft_rsa_encrypt()164 k.modulus_bits = CRYPTO_BYTES2BITS(modulus_len); in soft_rsa_decrypt()
364 entropy_bits -= CRYPTO_BYTES2BITS(bytes); in swrand_get_entropy()365 BUMP_SWRAND_STATS(ss_entOut, CRYPTO_BYTES2BITS(bytes)); in swrand_get_entropy()528 if (entropy_bits > CRYPTO_BYTES2BITS(RNDPOOLSIZE)) in swrand_mix_pool()529 entropy_bits = CRYPTO_BYTES2BITS(RNDPOOLSIZE); in swrand_mix_pool()601 i = CRYPTO_BYTES2BITS(MEMBLOCKSIZE); in physmem_ent_init()675 if (entropy_bits + ent >= CRYPTO_BYTES2BITS(RNDPOOLSIZE)) { in physmem_ent_gen()
683 k.modulus_bits = CRYPTO_BYTES2BITS(modulus_len); in core_rsa_encrypt()826 k.modulus_bits = CRYPTO_BYTES2BITS(modulus_len); in core_rsa_decrypt()
186 CRYPTO_BYTES2BITS(DSA_MIN_KEY_LEN),187 CRYPTO_BYTES2BITS(DSA_MAX_KEY_LEN),198 CRYPTO_BYTES2BITS(RSA_MIN_KEY_LEN),199 CRYPTO_BYTES2BITS(RSA_MAX_KEY_LEN),208 CRYPTO_BYTES2BITS(RSA_MIN_KEY_LEN),209 CRYPTO_BYTES2BITS(RSA_MAX_KEY_LEN),
8849 len = CRYPTO_BYTES2BITS(len); in dprov_key_value_secret()8910 len = CRYPTO_BYTES2BITS(len); in dprov_key_value_secret()
2375 (CRYPTO_BYTES2BITS(crypto_max_buffer_len))) { in copyin_key()
304 htonll(CRYPTO_BYTES2BITS(ctx->gcm_processed_data_len)); in gcm_encrypt_final()465 ctx->gcm_len_a_len_c[1] = htonll(CRYPTO_BYTES2BITS(pt_len)); in gcm_decrypt_final()551 len_a_len_c[1] = htonll(CRYPTO_BYTES2BITS(iv_len)); in gcm_format_initial_blocks()634 = htonll(CRYPTO_BYTES2BITS(gcm_param->ulAADLen)); in gcm_init_ctx()669 = htonll(CRYPTO_BYTES2BITS(gmac_param->ulAADLen)); in gmac_init_ctx()
238 bkey->public_y_bits = CRYPTO_BYTES2BITS(prime_bytes); in dsa_genkey_pair()241 bkey->private_x_bits = CRYPTO_BYTES2BITS(DSA_SUBPRIME_BYTES); in dsa_genkey_pair()
580 if (RSA_key_init(&rsakey, CRYPTO_BYTES2BITS(bkey->prime2_bytes), in rsa_decrypt()581 CRYPTO_BYTES2BITS(bkey->prime1_bytes)) != BIG_OK) { in rsa_decrypt()
392 #define CRYPTO_BYTES2BITS(n) ((n) << 3) macro
561 uint_t bitsleft = CRYPTO_BYTES2BITS(dst_len_bytes); in bitrepeat()
138 keylen = CRYPTO_BYTES2BITS(attr_len); in kcf_check_prov_mech_keylen()147 keylen = CRYPTO_BYTES2BITS(attr_len); in kcf_check_prov_mech_keylen()